A simple demo of a chatbot that:
- Runs on Chainlit using LangChain and OpenAI's ChatGPT-4o.
- Uses custom data from a PDF loaded into a local Chroma vector store.
- Has a chat history context for conversation support.
The data loaded by this chatbot is a local PDF file in the data directory. The PDF file is a user guide for the Honda XL700V/VA (Transalp) motorbike.
Example:
Clone this repo and cd
into the root directory in your terminal.
Add you ChatGPT API Key to the .env
file. API Keys can be obtained here: https://platform.openai.com/organization/api-keys
poetry install --no-root
poetry run chainlit run src/app/app.py