This Streamlit web application allows users to ask questions about their CSV files using natural language processing (NLP) powered by OpenAI's language models.
This application provides a user-friendly interface for uploading CSV files and querying them using natural language. It utilizes the Streamlit framework for building interactive web applications and integrates with OpenAI's language models for processing user queries.
To use the application, follow these steps:
-
Upload your CSV file: Click on the "Upload your CSV file" button to select and upload your CSV file.
-
Ask your question about your CSV file: Enter your question about the CSV file in the text input field provided.
-
View the response: Once you've entered your question, the application will process it using OpenAI's language model and provide you with the response.
Ensure you have the following dependencies installed to run the application:
- Python 3.x
- Streamlit
- LangChain (langchain)
- LangChain Experimental (langchain_experimental)
- LangChain OpenAI (langchain_openai)
- dotenv
Install the dependencies using pip:
pip install streamlit langchain langchain_experimental langchain_openai python-dotenv
To run the application, execute the following command in your terminal:
streamlit run app.py
This command will start a local server hosting the web application. You can access the application in your web browser by navigating to the provided URL.
The application uses environment variables for configuration. Ensure you have a .env
file in the project directory with the required variables.
This project is maintained by me. Feel free to contribute by submitting bug reports, feature requests, or pull requests.
This project is licensed under the MIT License.