# rag-practice **Repository Path**: scotthui/rag-practice ## Basic Information - **Project Name**: rag-practice - **Description**: RAG 实践 - **Primary Language**: Python - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-12-16 - **Last Updated**: 2025-12-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RAG Practice ## Use uv and conda to manage dependencies conda create -n py310 python=3.10 -c conda-forge -y uv init rag-practice --python 3.10 cd rag-practice uv venv --python /base/envs/py310/bin/python ## Install dependencies uv add langchain langchain-community langchain-chroma langchain-ollama chromadb pypdf python-dotenv ## Ollama - Install Ollama from [official website](https://ollama.ai/download) - Run `ollama serve` to start the Ollama server - Pull the model you want to use, e.g. `ollama pull qwen3:0.6b` - Pull the embedding model you want to use, e.g. `ollama pull quentinz/bge-large-zh-v1.5:latest`