This example shows how to build a simple command-line chatbot that can answer questions from a document using LLMWare's built-in retrieval.
sample.txt: A small text file used for testing.document_qa_bot.py: Loads the document, indexes it, and runs a Q&A chatbot.
cd examples
cd Retrieval
python document_qa_bot.py