Using Youtu-RAG Locally
Guide on how to deploy and use Youtu-RAG on your local machine.
This document provides a step-by-step guide on how to deploy and use Youtu-RAG on your local machine. Specifically, it covers setting up the Youtu Embedding, HiChunk, Youtu Parsing backend services and integrating them with Youtu-RAG.
Alternatively, you may consider deploying the backend services on TencentCloud Ti-one platform. See Deploying with TencentCloud Ti-one for more details.
Step 1: Deploy Youtu Embedding Service
Follow the instructions in Deploying Youtu Embedding Locally or Deploying Youtu Embedding with Docker to set up the Youtu Embedding service. Then add the following configuration to your .env file:
Step 2: Deploy Youtu HiChunk Service
Follow the instructions in Deploying Youtu HiChunk Locally or Deploying Youtu HiChunk with Docker to set up the HiChunk service. Then add the following configuration to your .env file:
You will also need to set the chunking parameters in your RAG configuration file to true in configs/rag/file_management.yaml:
Step 3: Deploy Youtu Parsing Service
Follow the instructions in Deploying Youtu Parsing Locally or Deploying Youtu Parsing with Docker to set up the Youtu Parsing service. Then add the following configuration to your .env file:
Final Step: Running Youtu-RAG Locally
With all backend services deployed and configured, you can now run Youtu-RAG locally. Ensure that your .env file contains the correct host and port information for each service you have deployed.
