-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.env.example
More file actions
118 lines (95 loc) · 3.61 KB
/
Copy path.env.example
File metadata and controls
118 lines (95 loc) · 3.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
##################################################################################
# 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