Skip to content

JavaAIDev/simple-text-to-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Text to SQL (No RAG)

build

See JavaAIDev article for more details.

Test data: Netflix data

How to run:

  1. Requires Java 21 to build and run.
  2. Start Postgres database using Docker Compose.
  3. Start the server and use Chat Agent UI to run query.

Sample query:

How many movies were produced in the United States?

Output:

The total number of movies produced in the United States is 2058.

See the screenshot below.

Chat Agent UI

Full Text-to-SQL Implementation

For a complete Text-to-SQL implementation, check out my course.

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Languages