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

Add Langchain Pandas DataFrame Agent #83

Closed MarcSkovMadsen closed 10 months ago

MarcSkovMadsen commented 10 months ago

Addresses #79

Todo

Won't do now. Maybe one day someone will.

Related issues

https://github.com/holoviz-topics/panel-chat-examples/assets/42288570/63f53cec-319b-4376-a962-7b13716d66b8

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2b801a4) 78.88% compared to head (8903405) 78.88%. Report is 8 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #83 +/- ## ======================================= Coverage 78.88% 78.88% ======================================= Files 5 5 Lines 161 161 ======================================= Hits 127 127 Misses 34 34 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

MarcSkovMadsen commented 10 months ago

Thanks for the feedback @ahuang11 . I've implemented the changes. Let me know if there is more I should do?

ahuang11 commented 10 months ago

I encounter some issues (duplicates using show chain of thought) using https://github.com/holoviz/panel/pull/5710/files; I'm not sure if it's related to the branch or this.

image
MarcSkovMadsen commented 10 months ago

I encounter some issues (duplicates using show chain of thought) using https://github.com/holoviz/panel/pull/5710/files; I'm not sure if it's related to the branch or this.

image

How can I reproduce this? I see the exception at the top, but does not know the steps you applied to get to that?

ahuang11 commented 10 months ago

Thanks for adding this example!

ahuang11 commented 10 months ago

I encounter some issues (duplicates using show chain of thought) using https://github.com/holoviz/panel/pull/5710/files; I'm not sure if it's related to the branch or this.

image

How can I reproduce this? I see the exception at the top, but does not know the steps you applied to get to that?

I believe I just copied the text from the sample query provided.