Skip to content

Commit

Permalink
Use ChatAgent for single table (#779)
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Maloney <[email protected]>
  • Loading branch information
ahuang11 and amaloney authored Nov 26, 2024
1 parent 7119217 commit 0da3f49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lumen/ai/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ class ChatAgent(Agent):
statistics about the data, and continuing the conversation.
Is capable of providing suggestions to get started or comment on interesting tidbits.
If data is available, it can also talk about the data itself.""")
It can talk about the data, if available.
Use this instead of TableListAgent if there is only one table available.
""")

prompt_templates = param.Dict(
default={
Expand Down

0 comments on commit 0da3f49

Please sign in to comment.