Talk2CSV is a Streamlit web application that allows users to interact with CSV data using natural language and generate SQL queries based on the provided data.
Visit the live app: Talk2CSV
Talk2CSV leverages Google's Generative AI models to understand user queries, analyze the provided CSV data, and generate responses or SQL queries accordingly. Users can upload their CSV files, chat with the assistant, ask questions about the data, and receive responses or SQL queries in real-time.
- CSV Data Interaction: Upload CSV files and view data interactively.
- Natural Language Queries: Chat with the assistant using natural language queries.
- SQL Query Generation: Generate SQL queries based on the provided CSV data.
- Customizable Configuration: Configure API keys, temperature, and model selection.
- LangChain
- Streamlit
- Google Generative AI
- Pandas
- Clone the repository:
git clone https://github.com/subhayudutta/Talk2CSV.git - Navigate to the project directory:
cd Talk2CSV - Install dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py - Access the app in your browser at
http://localhost:8501
- Upload your CSV file.
- Chat with the assistant to ask questions or request SQL queries.
- View the responses or generated SQL queries in real-time.
- Configuration
- Gemini API Key: Enter your Gemini API key for AI model access.
- Temperature: Adjust the temperature slider for response generation.
- Model Selection: Choose the appropriate AI model for data analysis.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the GPL-3.0 license. Feel free to customize the README according to your project's specifics!
