Extend the knowledge of your LLM with TXT document. Upload any TXT and start asking questions related to that TXT file. Using this project you can train your LLM to any new data and then ask questions related to that. LLM would be able to fetch insights or answers from that document and make meaning ful answers from that.
- Create
.env
file in root.
OPENAI_API_KEY="OPEN-AI-KEY"
- Set up new virtual environment.
python3 -m venv .venv
- Activate virtual environment.
source .venv/bin/activate
- Download all required dependencies.
pip -r requirements.txt
python3 server.py
- This project uses OPEN AI as LLM model , so calling its api would cost you money.