https://github.com/fanqingsong/talk-to-your-data
https://github.com/fanqingsong/talk-to-your-data
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fanqingsong/talk-to-your-data
- Owner: fanqingsong
- Created: 2024-07-26T16:05:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T15:24:30.000Z (11 months ago)
- Last Synced: 2025-01-14T13:34:30.666Z (5 months ago)
- Language: Python
- Size: 101 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
Feel free to go into `app.py` to customize the UI to how you want.