PDF sample data
🤔 Ask questions and 🤖 get concise answers based on your own data context
-
Clone repo
git clone https://github.com/domainio/llm-byod.git cd llm-byod
-
Create a Python virtual env
python -m venv .venv source .venv/bin/activate
-
Install the required dependencies
pip install -r requirements.txt
-
Create an OpenAI API key and put it in the
.env
file asOPENAI_API_KEY=<your API key>
-
Run the app
streamlit run main.py
- Enhance the prompts engineering for better accurate QA.
- Add a history element to the chat with LLM.