# mem0 Integration Configuration # 复制此文件为 config.yaml 并填入真实 API keys # 本地 Qdrant 配置 local: vector_store: provider: qdrant config: host: localhost port: 6333 collection_name: mem0_v4_local llm: provider: openai config: model: qwen-plus api_base: https://dashscope.aliyuncs.com/compatible-mode/v1 api_key: ${DASHSCOPE_API_KEY} # 从环境变量读取 embedder: provider: openai config: model: text-embedding-v4 api_base: https://dashscope.aliyuncs.com/compatible-mode/v1 api_key: ${DASHSCOPE_API_KEY} # 从环境变量读取 # 中心 Qdrant 配置(共享记忆) master: vector_store: provider: qdrant config: host: 100.115.94.1 port: 6333 collection_name: mem0_v4_shared # 同步配置 sync: enabled: true interval: 300 batch_size: 50 retry_attempts: 3 # 缓存配置 cache: enabled: true ttl: 300 max_size: 1000