A personalised chatbot based on Meta Llama3.1, using RAG to get personal data.
-
Download Ollama: https://ollama.com/download
-
Open a new terminal window and start Ollama
ollama serveYou can check if Ollama is running on: http://localhost:11434
- Open a new terminal window and pull the model from Ollama
ollama pull llama3.1This will download the llama3.1:latest:8b model (4.7GB)
- Clone and enter the repository
git clone https://github.com/ToBeAss/Larry-Llama.git
cd Larry-Llama- Create a virtual environment in python
python -m venv venv- Activate the virtual environment
Windows
venv\Scripts\activate.batMacOS
source venv/bin/activate- Download the required packages
pip install -r requirements.txt- Run the program
python main.pyhttps://github.com/liahra/kvRAG/blob/main/query_data.py
https://ollama.com/blog/embedding-models
https://python.langchain.com/docs/integrations/vectorstores/chroma/
https://python.langchain.com/docs/tutorials/rag/