Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from Nutlope/csvtochat

Chat with your CSVs easily & generate charts

License

ML4WEB/csvtochat

 
 

Repository files navigation

CSV2Chat

CSV2Chat

Chat with your CSV files using AI. Upload a CSV, ask questions, and get instant, code-backed answers and visualizations.

Tech Stack

How it works

  1. User uploads a CSV file
  2. The app analyzes the CSV headers and suggests insightful questions
  3. User asks a question about the data
  4. Together.ai generates Python code to answer the question, runs it, and returns results (including charts) using Together Code Interpreter
  5. All chats and results are stored in Upstash Redis for fast retrieval

Cloning & running

  1. Fork or clone the repo
  2. Create accounts at Together.ai and Upstash for LLM and Redis
  3. Create a .env file and add your API keys:
    • TOGETHER_API_KEY
    • UPSTASH_REDIS_REST_URL
    • UPSTASH_REDIS_REST_TOKEN
  4. Run pnpm install and pnpm run dev to install dependencies and start the app locally

Open http://localhost:3000 to use CSV2Chat.

About

Chat with your CSVs easily & generate charts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.5%
  • CSS 2.4%
  • JavaScript 0.1%