NL-to-SQL Agent
Presentation @ Blue Yonder by Morgan
Brief in the speaker notes
Why?
Welcome Natural Language to SQL (NL-to-SQL)!
2 use cases
In this presentation, we will be looking at NL querying.
SQL co-pilots is the current working use case, it increases the data team scalability but does not fully solve the problem.
NL-to-SQL in practice
The features built on text-to-SQL are mediocre at best and annoying at worst.
It is at a point where some are questioning if users even want these features at all -> “AI washing” (https://techcrunch.com/2024/08/20/is-your-company-ai-washing-rippling-founder-parker-conrad-thinks-it-might-be/ )
There are few if any solutions that actually work…
Current problems
Elephant in the room: After only one failure, a user might doubt the technology or ignore it altogether
Current solutions
Demo time
http://qualid.morgangiraud.com:5000/
This is an example of a basic direct use of NL-to-SQL using an Open Source LLM
Remarks
Improving LLM performance
Generalized Chain-of-Thought
Structured output
LLM-modulo framework
Agent framework:
Second demo
http://qualid.morgangiraud.com:5000/
This is an example of a React agent using an Open Source LLM
Remarks
NL-to-SQL Agent
Presentation @ Blue Yonder by Morgan
Thanks for listening