Skip to content

NL2SQL "Best Practices" #3322

Closed Answered by crickman
Eddie-Hartman asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you Eddie for your enthusiasm, great write-up, and thoughtful approach.

Before provide a direct response, I do want to call out that other options are available for integrating SQL into cognitive use-cases. For instance, Azure Cognitive Search supports a SQL indexer.

It may also be worth emphasizing that using LLM for code-generation outside of design-time/co-pilot scenarios has inherit complexities and risks.

With regards to the approach you've outlined:

[1/2] I like your thinking here. I recently working on a different POC that used a similiar "glossary" approach (although not for query generation). For the NL2SQL demo, I didn't want to restrict to a single database or schema...so…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Eddie-Hartman
Comment options

Answer selected by Eddie-Hartman
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants