Skip to content

emmakodes/talk-to-your-data

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

talk-to-your-data project

This project aid you to build a talk-to-your-data chatbot using openai LLM, LangChain, and Streamlit. Basically:

  • You clone the project

    git clone https://github.com/emmakodes/talk-to-your-data.git

  • cd talk-to-your-data

  • create a new virtual environment called .venv

    python -m venv .venv

  • Activate the virtual environment

.venv\Scripts\activate

  • Install the project requirements

pip install -r requirements.txt

  • Add your document to mydocument directory and delete animalsinresearch.pdf already existing inside mydocument directory. animalsinresearch.pdf is my own document except you want to test with my own data

  • Delete the files in vector_index directory so as to hold the vectors of your own document.

  • Start the app using the following command:

streamlit run app.py

You will see a UI very similar to the following: animalinresearch1

Feel free to go into app.py to customize the UI to how you want.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages