This repository contains a simple Chat interface based on voila, OpenAI and llama-index that allows you to query information from documents using human language.
After installation (see below) you can start the chat using this terminal command:
voila chat-with-docs.ipynb
The cods in this repository is derived from the tutorial here.
Create an OpenAI API Key and add it to your environment variables as explained on this page.
You can install everything necessary using pip. It is recommended to install it into via conda/mamba environment. If you have never used conda before, please read this guide first.
mamba create --name simple-chat python=3.11 git
mamba activate simple-chat
git clone https://github.com/haesleinhuepf/simple-chat-with-docs
cd simple-chat-with-docs
pip install -r requirements.txt
