In this short demo, you’ll see how Spice’s Text-to-SQL interface converts plain-English questions directly into SQL queries. We’ll cover how the Text-to-SQL endpoint works, how schema + sample data improve accuracy, and how to inspect the underlying SQL with Spice’s built-in observability tools.
You’ll learn how to:
- Ask questions using Spice Text-to-SQL in the CLI
- Call the Text-to-SQL HTTP API
- View execution traces and generated SQL
- Use advanced options like limiting tables, disabling sampling, or running a local LLM model
Follow along using the Cookbook recipe, and try it on your own data: https://github.com/spiceai/cookbook/blob/trunk/text-to-sql/README.md
Subscribe for more Spice.ai tutorials!
Download
0 formats
No download links available.
Getting Started with the Text-to-SQL Function | Spice.ai Demo | NatokHD