Installation
Prerequisites
Python 3.8 +
Virtual Environment
Steps to Install Dependencies
Clone the github repository:
git clone https://github.com/ChaimaeBLM/Doc_LLM_RAG
cd Doc_LLM_RAG
Set up a virtual environment:
python3 -m venv venv
source venv/bin/activate
# with anaconda
conda create -n env_name python
conda activate env_name
Download Ollama and run llama3 then Mistral
Ollama run llama3
Ollama run Mistral
Installing Dependencies
# Document loading, retrieval methods and text splitting
pip install -qU langchain langchain-community
# Local vector store via Chroma
Pip instal -qU langchain_chroma
# Local inference and embeddings via Ollama
pip install -qU langchain_Ollama
# Web Loader
pip install -qU beautifulsoup4