This project is designed to use Ollama locally, run it with RAG (Retrieval-Augmented Generation), and use Chainlit for a UI chatbot.
- Chromadb: Used as a Vectorstore.
- gpt4all: Utilized for text embeddings.
- langchain: A framework that facilitates application development using LLMs (Language Learning Models).
- chainlit: Used to build a ChatGPT-like interface.
Before you begin, ensure you have met the following requirements:
- Install Ollama. You can download it from the official website.
- Install the necessary Python dependencies by running the following command in your terminal:
pip install -r requirements.txt
- create folder for data and vector store:
mkdir data
mkdir vectorstores/db
Follow these steps to get the project up and running:
Run the following command to load your data into the VectorStore:
python3 load_data_vdb.py
You can start the chatbot by running the following command:
chainlit run bot.py -w
This will start the chatbot with a web interface.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.