Skip to content

Chat with your dataset! This project demonstrates a web-based application to query a dataset through natural language.

Notifications You must be signed in to change notification settings

worldline/streamlit-pandasai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat with your Dataset

This project demonstrates a web-based application to query a dataset through natural language.

For this purpose, it uses:

Download dataset

Download the dataset into the data folder at the root of the project.

Run the project

If you don't have a Python environment available, you can use the conda package manager which comes with the Anaconda distribution to manage a clean Python environment.

Create a new environment and activate it:

conda create -n streamlit-pandasai python=3.9
conda activate streamlit-pandasai

Install Python dependencies in the activate Python environment:

pip install -r requirements.txt

Create a new API key and set it to the OPENAI_API_KEY environment variable beforehand.

On Windows:

set OPENAI_API_KEY="sk-..."

On Unix:

export OPENAI_API_KEY="sk-..."

Run the Streamlit project:

streamlit run streamlit_app.py

About

Chat with your dataset! This project demonstrates a web-based application to query a dataset through natural language.

Resources

Stars

Watchers

Forks

Languages