Skip to content

Repo for hosting ChainLit examples! SQL Agent and SQL RAG

Notifications You must be signed in to change notification settings

benjaminbascary/chainlit-sql-agents

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