This is a simple chat application that allows users to upload a CSV file and ask questions about its content. It utilizes Langchain to interpret the CSV file and ChatGPT API to answer the questions.
The project consists of two main components:
- Backend: A Flask application that handles file uploads and interfaces with Langchain and ChatGPT API to interpret and answer questions about the CSV data.
- Frontend: A React Native application that provides a simple UI for users to upload a CSV file and input a question.
- Python 3.x
- Node.js
- Yarn or npm
- Clone the repository
git clone https://github.com/Am0stafa/csv-chat.git
- Navigate into the backend directory and install Python dependencies
cd backend
pip install -r requirements.txt
3. **Add in the .env file with the openAI ket**
bash
OPENAI_API_KEY=your-openai-api-key
```
- Navigate into the frontend directory and install Node dependencies
cd frontend npm install ```