holoviz-topics / panel-chat-examples

Examples of Chat Bots using Panels chat features: Traditional, LLMs, AI Agents, LangChain, OpenAI etc
https://holoviz-topics.github.io/panel-chat-examples/
MIT License
105 stars 31 forks source link

openai hvplot example cannot handle anything but small dataframes #51

Closed MarcSkovMadsen closed 10 months ago

MarcSkovMadsen commented 10 months ago

If I use for example https://raw.githubusercontent.com/mwaskom/seaborn-data/master/penguins.csv I get

image

An extra issue is that the full csv file is inserted in the chat directly

image

A much better user experience would be that only a part (.head, .describe) was inserted. Or that some card or modal was used such that the user could optionally explore the dataframe.

ahuang11 commented 10 months ago

I think you're supposed to use upload instead of pasting

If you upload the CSV, it does not hit the limit.

image