Skip to content

Building chat with CSV file ChatBOT which uses latest advances in Generative AI with the help of PandasAI, a new library that helps you chat with your CSV Files.

Notifications You must be signed in to change notification settings

Arbaz123-git/Chat-with-CSV-using-Streamlit-Application-using-OpenAI-and-new-PandasAI-Library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

creating a Streamlit web application that allows users to upload a CSV file, query the data in the CSV file using the OpenAI GPT-3 model (LLM), and view the model's responses on the web page. It provides an interactive way to interact with and extract information from CSV data using natural language queries.

Building chat with CSV file ChatBOT which uses latest advances in Generative AI with the help of PandasAI, a new library that helps you chat with your CSV Files.

First create your new virtual environment using this command in your projects folder

python -m venv venv

You can give any name to your virtual environment I have given venv in my case

To make this project first install all the dependencies which I have mentioned in my requirements.txt file by typing in project folders command prompt

pip install -r reqirements.txt

After installing all the dependencies create two more files .env app.py to add your secret key OPenAI API Key in it and use it in your code

Then Start writing the your code in your app.py file

To run the Streamlit app write in your cmd this command

streamlit run app.py

About

Building chat with CSV file ChatBOT which uses latest advances in Generative AI with the help of PandasAI, a new library that helps you chat with your CSV Files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages