microsoft / lida

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

ValidationError: 1 validation error for Goal visualization str type expected (type=type_error.str) #108

Open naivedyakhare opened 3 months ago

naivedyakhare commented 3 months ago

I am facing this error when I am working on a dataset consisting of clinical research data. This is the dummy data that I have been working on. I am getting error on this line.

goals = lida.goals(summary, n=2)

Screenshot (257)

I can't seem to pinpoint the exact reason for this error after I have tried a lot of things.

Any help will be appreciated.