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.

47 lines
899 B

# mem0 Integration Configuration
# 本地 Qdrant 配置
local:
vector_store:
provider: qdrant
config:
host: localhost
port: 6333
collection_name: mem0_local
llm:
provider: openai
config:
model: qwen-plus
api_base: https://dashscope.aliyuncs.com/compatible-mode/v1
api_key: sk-c1715ee0479841399fd359c574647648
embedder:
provider: openai
config:
model: text-embedding-v3
api_base: https://dashscope.aliyuncs.com/compatible-mode/v1
api_key: sk-c1715ee0479841399fd359c574647648
# 中心 Qdrant 配置(共享记忆)
master:
vector_store:
provider: qdrant
config:
host: 100.115.94.1
port: 6333
collection_name: mem0_shared
# 同步配置
sync:
enabled: true
interval: 300
batch_size: 50
retry_attempts: 3
# 缓存配置
cache:
enabled: true
ttl: 300
max_size: 1000