Chat-Files is an AI chatbot built with Chainlit and LangChain. This app allows you ask questions about your local documents using the power of LLMs.
- support online models: OpenAI, HuggingFace
- support local models, ctransformers models, llama2 models
- support any type of files, markdown, pdf, txt, doc, html...
Install the necessary libraries
pip install -r requirements.txt
Create a .env file and input your OpenAI API Key or HuggingFace Hub API Key in the file or if you use local model, update the config file to your local model path.
chainlit run app.py -w