You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
983 B
48 lines
983 B
|
1 month ago
|
# mem0 Integration Configuration
|
||
|
1 month ago
|
# 复制此文件为 config.yaml 并填入真实 API keys
|
||
|
1 month ago
|
|
||
|
|
# 本地 Qdrant 配置
|
||
|
|
local:
|
||
|
|
vector_store:
|
||
|
|
provider: qdrant
|
||
|
|
config:
|
||
|
|
host: localhost
|
||
|
|
port: 6333
|
||
|
1 month ago
|
collection_name: mem0_v4_local
|
||
|
1 month ago
|
|
||
|
|
llm:
|
||
|
|
provider: openai
|
||
|
|
config:
|
||
|
|
model: qwen-plus
|
||
|
|
api_base: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
1 month ago
|
api_key: ${DASHSCOPE_API_KEY} # 从环境变量读取
|
||
|
1 month ago
|
|
||
|
|
embedder:
|
||
|
|
provider: openai
|
||
|
|
config:
|
||
|
1 month ago
|
model: text-embedding-v4
|
||
|
1 month ago
|
api_base: https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
1 month ago
|
api_key: ${DASHSCOPE_API_KEY} # 从环境变量读取
|
||
|
1 month ago
|
|
||
|
|
# 中心 Qdrant 配置(共享记忆)
|
||
|
|
master:
|
||
|
|
vector_store:
|
||
|
|
provider: qdrant
|
||
|
|
config:
|
||
|
|
host: 100.115.94.1
|
||
|
|
port: 6333
|
||
|
1 month ago
|
collection_name: mem0_v4_shared
|
||
|
1 month ago
|
|
||
|
|
# 同步配置
|
||
|
|
sync:
|
||
|
|
enabled: true
|
||
|
|
interval: 300
|
||
|
|
batch_size: 50
|
||
|
|
retry_attempts: 3
|
||
|
|
|
||
|
|
# 缓存配置
|
||
|
|
cache:
|
||
|
|
enabled: true
|
||
|
|
ttl: 300
|
||
|
|
max_size: 1000
|