Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 700 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 700 Bytes

Natural Language to SQL Demo

This example demonstrates how to query our SQL database using natural language by leveraging the LLM OpenAI and LlamaIndex. It was adapted from this example by Jerry Liu to add support for multiple tables and foreign keys.

Demo Video

I recorded a demo video here if you don't feel like reading the code.

Requirements

You'll need an API key from OpenAI and to install LlamaIndex pip install llama-index