Chat with your CSV files using AI. Upload a CSV, ask questions, and get instant, code-backed answers and visualizations.
- Frontend: Next.js, Typescript, Tailwind CSS, Shadcn UI
- Together AI LLM: Generates Python code to answer questions and visualize data
- Together Code Interpreter: Executes Python code and returns results
- User uploads a CSV file
- The app analyzes the CSV headers and suggests insightful questions
- User asks a question about the data
- Together.ai generates Python code to answer the question, runs it, and returns results (including charts) using Together Code Interpreter
- All chats and results are stored in Upstash Redis for fast retrieval
- Fork or clone the repo
- Create accounts at Together.ai and Upstash for LLM and Redis
- Create a
.envfile and add your API keys:TOGETHER_API_KEYUPSTASH_REDIS_REST_URLUPSTASH_REDIS_REST_TOKEN
- Run
pnpm installandpnpm run devto install dependencies and start the app locally
Open http://localhost:3000 to use CSV2Chat.