Replies: 1 comment
-
@jaytoday Great question. When using it with the Outerbase API source token we do also pass in the database schema under the hood without other users having to be worried about doing that lift themselves. So we'll pass in both the natural language request such as:
And on the backend side of our service we'll pass in what the schema of the database kind of looks like.
And with all of that context it will construct the appropriate SQL statement that can be executed. The TLDR; of this is that if you sign up with an Outerbase account and connect your database to it, we do the rest. |
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
-
In the example in the README, a SQL query is generated:
How does the agent know to use table
ultimate_question
and columnanswer
? Are these just guesses or has it omitted a step where a database schema is provided for context?Beta Was this translation helpful? Give feedback.
All reactions