An interactive tool leveraging LangChain for dynamic question-answering from CSV datasets, featuring a Streamlit interface for ease of use and accessibility.
This repository hosts the code for a question-answering system that utilizes large language models (LLMs) to provide answers based on the uploaded CSV data. The system integrates LangChain to leverage the power of LLMs and Streamlit for a user-friendly interface, allowing users to upload data and ask questions dynamically.
- CSV File Upload: Users can upload their own CSV files to be processed.
- Data Inquiry: After uploading, users can ask natural language questions regarding their data.
- LLM Integration: The system utilizes powerful language models to generate accurate and relevant answers.
- Streamlit Interface: A Streamlit-based web interface provides an easy-to-use platform for all interactions.
Before running the application, ensure you have Python installed. Then, install the required dependencies:
pip install -r requirements.txt
git clone https://github.com/mayankbaluni/LLM-Streamlit-Data-Converser.git
cd LLM-Streamlit-Data-Converser
streamlit run stream-app.py
# End of script
exit 0
To interact with the question-answering system, follow these simple steps:
- Navigate to the hosted Streamlit app: Access the application through your web browser.
- Upload CSV Data: Utilize the file uploader within the app to upload your dataset in CSV format.
- Ask Your Question: Input your question regarding the data in the text field provided.
- Receive the Answer: Submit your question and the system will utilize the underlying LLM to generate an answer based on your data.
- LangChain: A powerful framework used to integrate Large Language Models (LLMs) for advanced data processing and answering capabilities.
- Streamlit: An open-source app framework that is the cornerstone of our interactive web interface, simplifying the deployment of data applications.
- Pandas: An essential data analysis and manipulation library for Python, utilized here for efficient handling of CSV files and dataset operations.
For any queries or suggestions, feel free to contact me at [mayankbaluni@gmail.com]