Training the SQL Agent with Example Queries #27611
Replies: 1 comment
-
Hey @feijoes! I'm here to help you with any bugs, questions, or becoming a contributor while you wait for a human maintainer. Let me know how I can assist you! I found a similar unsolved discussion on this topic: Training SQL Agent [1]. Regarding your question, the If you want to guide the SQL agent with specific examples, you might consider incorporating these examples into the prompt in a way that the language model can use them as context. However, this approach does not "train" the model in the traditional sense but rather provides it with context to generate queries. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, is there a way to train the SQL agent with specific question-to-query mappings? I tried adding them as text in the agent prefix, but around 60% of the time the agent responds with "I don't know" or "max iterations reached," even when I ask exactly the example question.
My Code
Beta Was this translation helpful? Give feedback.
All reactions