- Python 3.11 (https://www.python.org/downloads/release/python-31110/)
- Conda (https://www.anaconda.com/download)
- Ollama (https://ollama.com/)
- PyCharm (optional)
create a conda environment with the following command:
conda create -n rag python=3.11.10activate the environment:
conda activate raginstall the requirements:
pip install -r requirements.txtTo install ollama go to: https://ollama.com/
if you have to pull the ollama embedding model jina/jina-embeddings-v2-base-en:latest then run
ollama run jina/jina-embeddings-v2-base-en:latestfor llama3.2:3b run the following command:
ollama run llama3.2:3b