microsoft / lida

Automatic Generation of Visualizations and Infographics using Large Language Models
https://microsoft.github.io/lida/
MIT License
2.66k stars 282 forks source link

Adding better handling of errors when generating goals #17

Closed 0xaaiden closed 1 year ago

0xaaiden commented 1 year ago

Improved error handling for 'context length' errors

Linked Issue:

Resolves #16.

Changes:

Testing:

image

Please provide feedback.

victordibia commented 1 year ago

Thanks! There is some work to support better automatic field selection and context management! The added error message is a big nice step in that direction!!