Skip to content

RajMandaliya/data-chat-agent

Repository files navigation

🤖 Data Chat Agent

Upload any CSV and talk to your data in plain English. No SQL, no code — just questions.

Python LangChain Streamlit Tests License

What it does

Upload a CSV file, ask questions in plain English, get back charts and insights instantly.

Features

  • Natural language queries — no SQL needed
  • Auto chart generation — bar, line, scatter, pie, heatmap and more
  • Statistical analysis — outliers, distributions, trends, correlations
  • Conversation memory — follow-up questions work naturally
  • Works on any CSV — no hardcoding
  • Sample dataset included — 800-row sales data

Tech Stack

  • UI: Streamlit
  • AI Agent: LangChain ReAct
  • LLM: GPT-4o mini (swappable to Gemini / Groq / Ollama)
  • Data: Pandas
  • Charts: Plotly
  • Testing: Pytest — 56 tests passing

Run Locally

pip install -r requirements.txt

streamlit run app.py

Tests

pytest tests/ -v 56 passed ✅

Author

Raj Mandaliya — github.com/RajMandaliya

About

Upload any CSV and ask questions in plain English — LangChain ReAct agent with Pandas, Plotly charts, and statistical analysis powered by GPT-4o mini

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors