Skip to content

sanskarprasad/natural_language_to_SQL_agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL-Agent---LangGraph

Demo Video

Screen.Recording.2025-06-08.at.12.55.22.AM.mov

Project Structure

sql_agent/
│
├── 📁 app/                        # Streamlit frontend interface
│   └── main.py                   # Streamlit app for uploading CSVs and querying DB
│
├── 📁 api/                        # FastAPI server
│   ├── main.py                   # FastAPI entrypoint
│   ├── routes.py                 # API routes for uploading CSVs, querying
│   └── schemas.py                # Pydantic models for requests/responses
│
├── 📁 core/                       # Core logic
│   ├── db.py                     # SQLite connection and setup
│   ├── ingest.py                 # CSV ingestion into SQLite
│   ├── llm_config.py             # LLM and tool configuration
│   └── graph.py                  # LangGraph workflow and logic
│
├── 📁 utils/                      # Utilities
│   └── logger.py                 # Logging setup
│
├── 📁 data/                       # Uploaded CSVs
│   └── sample.csv                # (Example)
│
├── requirements.txt              # Required packages
└── README.md                     # Project overview

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published