This project enables users to interact with data stored in CSV files through natural language queries. It leverages the power of OpenAI's GPT-3.5 model to understand and respond to user queries by searching the CSV file for relevant information.
- Upload CSV: Users can upload their own CSV files.
- Query CSV: After uploading, users can ask questions related to the data in the CSV file.
- Immediate Responses: The system uses a language model to provide answers directly from the CSV content.
- Start the Application: Run the Streamlit application.
- Upload a CSV File: Use the file uploader to upload your CSV file.
- Ask Questions: Enter your questions in the text area provided.
- Get Answers: Press submit to see the answers extracted from the CSV.
- Clone the Repository: Clone this repository to your local machine.
- Install Dependencies: Run
pip install -r requirements.txt
to install the required Python packages. - Set Up Environment Variables: Ensure your
.env
file contains the necessary API keys. - Run the App: Execute
streamlit run app.py
to start the application.
- Python
- Streamlit
- OpenAI GPT-3.5
- LangChain
Ensure that the .env
file is set up with the following variable:
OPENAI_API_KEY
: Your OpenAI API key.