################################################################################## # we provide basic environment variables for Youtu-RAG here ################################################################################## # ============================================= # Server Configuration # ============================================= # Server host (0.0.0.0 to listen on all interfaces) SERVER_HOST=0.0.0.0 # Server port (frontend and backend use the same port) SERVER_PORT=8000 # ============================================= # LLM # ============================================= # setup your LLM config , ref https://api-docs.deepseek.com/ UTU_LLM_TYPE=chat.completions UTU_LLM_MODEL=deepseek-chat UTU_LLM_BASE_URL=https://api.deepseek.com/v1 UTU_LLM_API_KEY= # ============================================= # tools # ============================================= # --- search toolkit --- # For web search, ref https://serper.dev/playground SERPER_API_KEY= # For web content extraction, ref https://jina.ai/reader JINA_API_KEY= # ============================================= # OCR # ============================================= UTU_OCR_BASE_URL= UTU_OCR_MODEL=youtu-ocr # ============================================= # Embeddings # ============================================= # Option 1: # Set configs/rag/xx.yaml embedding type: "local" # Youtu-Embedding-2B (Local Service, 2048 dimensions) UTU_EMBEDDING_URL= UTU_EMBEDDING_MODEL=youtu-embedding-2B # Option 2: # Set configs/rag/xx.yaml embedding type: "api" # HunyuanEmbedding (OpenAI API Standard, 1024 dimensions) # API Documentation: https://cloud.tencent.com/document/product/1729/111007 # UTU_EMBEDDING_URL=https://api.hunyuan.cloud.tencent.com/v1 # UTU_EMBEDDING_API_KEY= # UTU_EMBEDDING_MODEL=hunyuan-embedding # ============================================= # Reranker # ============================================= # Reranker API # JINA API Documentation: https://jina.ai/reranker UTU_RERANKER_MODEL=jina-reranker-v3 UTU_RERANKER_URL=https://api.jina.ai/v1/rerank UTU_RERANKER_API_KEY= # ============================================= # RAG Storage Monitoring # ============================================= # Enable vector store monitoring ENABLE_VECTOR_MONITOR=true # ChromaDB vector store path VECTOR_STORE_PATH=./rag_data/vector_store # Enable MinIO object storage monitoring ENABLE_MINIO_MONITOR=true # MinIO endpoint MINIO_ENDPOINT=localhost:9000 # MinIO access credentials MINIO_ACCESS_KEY=minioadmin MINIO_SECRET_KEY=minioadmin # MinIO bucket name for RAG user file storage MINIO_BUCKET=ufile # MinIO bucket name for RAG system file storage MINIO_BUCKET_SYS=sysfile # Use secure connection (true for https, false for http) MINIO_SECURE=false MINIO_LOCAL_TMP_DIR=/tmp/minio # ============================================= # misc (Optional) # ============================================= # --- tracing --- # OTEL endpoint (Optional), ref https://arize.com/docs/phoenix if use Phoenix PHOENIX_ENDPOINT= PHOENIX_PROJECT_NAME=youtu_rag # additional key if use Phoenix's cloud service. https://app.phoenix.arize.com/s/_space_name_/settings/general PHOENIX_API_KEY= # --- relational database --- # database url. DB is used to system administration, store tracing and evaluation data # If you have a local SQLite database for RAG purposes, place it in the same directory. UTU_DB_URL=sqlite:///./rag_data/relational_database/rag_demo.sqlite # --- logging --- UTU_LOG_LEVEL=INFO # --- memory --- # Enable/disable memory feature (true/false) memoryEnabled=false # Memory store path (default: parent directory of VECTOR_STORE_PATH + '/memory_data') # MEMORY_STORE_PATH=./rag_data/memory_data