Skip to content

Repo for hosting ChainLit examples! SQL Agent and SQL RAG

benjaminbascary/chainlit-sql-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SQL Agents AI-Hub! 🤖

Steps

  • Load your data dictionary in the data folder. Csv file with the following columns or similar:
['table_name','field_name','description']
  • pip install -r requirements.txt

  • Copy .env.example and rename it to .env

  • Fill the values (LangSmith is optional but recommended)

  • Run the app with

chainlit run agent.py

or

chainlit run rag_analyst.py

  • Wait for embeddings to be created and parsed into the Chroma database.

  • Open the bot at localhost:8000 and start asking questions!

About

Repo for hosting ChainLit examples! SQL Agent and SQL RAG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages