-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathsettings.toml
More file actions
49 lines (42 loc) · 1.59 KB
/
Copy pathsettings.toml
File metadata and controls
49 lines (42 loc) · 1.59 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
[default]
debug = true
[default.logging]
level = "INFO"
file_enabled = true
console_enabled = false # 关闭控制台输出
max_file_size = 10485760 # 10MB
backup_count = 5
[default.openai]
debug_enabled = true
log_requests = true
log_responses = true
log_level = "DEBUG"
log_to_file = true
log_to_console = false # 关闭控制台输出
[default.llm]
base_url = "@format {env[LLM_BASE_URL]}"
api_key = "@format {env[LLM_API_KEY]}"
model = "@format {env[LLM_MODEL]}"
[default.jina]
api_key = "@format {env[JINA_API_KEY]}"
search_base_url = "https://s.jina.ai/"
web_base_url = "https://r.jina.ai/"
[default.multilingual]
# Default language for the system (en, zh, es, fr, ja)
default_language = "en"
# Enable automatic language detection from user input
auto_detect = true
# Fallback to default language when requested language is not supported
fallback_enabled = true
# Supported languages (can be customized to enable/disable specific languages)
supported_languages = ["en", "zh", "es", "fr", "ja"]
[default.vector_service]
# Vector service configuration for prefab recommendation
# These values will be overridden by environment variables if set
base_url = "http://localhost:8080" # Default fallback, override with VECTOR_SERVICE_BASE_URL
timeout = 30 # Override with VECTOR_SERVICE_TIMEOUT
# Index name for prefabs - override with VECTOR_SERVICE_INDEX_NAME
# Note: Index name must start with 'document_' prefix as required by vector service
prefabs_index_name = "document_gtplanner_prefabs"
# Vector field name for document embedding - override with VECTOR_SERVICE_VECTOR_FIELD
vector_field = "combined_text"