Replies: 1 comment
-
|
We're clearing discussions and starting fresh. This discussion has not been acted upon. Please reopen the discussion, or start a new one if this question is still important. Thank you for your understanding. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to implement a text-2-sql style agent using the teams-ai library.
I want to allow users to ask questions to specific data sources, in this case a database. The difference being that the user input needs converting to SQL before seemingly calling an action that gets the data from the data source. I can see the samples talk about data sources. If I use the built in
DataSourceclass then it will add the output to the prompt. Therefore I'd need to:temp.inputthen somehow calls another prompt to get the SQL?The above doesn't seem like a simple way forward. I'm thinking this can be achieved using a mix of LLM calls/prompts and function calls but how that maps to code in the library I'm unsure. Can you help?
I'm a bit lost with the library in general:
Beta Was this translation helpful? Give feedback.
All reactions