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.
58 lines
1.2 KiB
58 lines
1.2 KiB
# mem0 Integration Configuration - 张大师专用 |
|
# Agent ID: life (生活与运程助手) |
|
|
|
# 本地 Qdrant 配置 |
|
local: |
|
vector_store: |
|
provider: qdrant |
|
config: |
|
host: localhost |
|
port: 6333 |
|
collection_name: mem0_v4_life # 张大师专用集合 |
|
|
|
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 # ✅ 统一共享 Collection(陈医生/张大师共用) |
|
|
|
# 同步配置 |
|
sync: |
|
enabled: true |
|
interval: 300 |
|
batch_size: 50 |
|
retry_attempts: 3 |
|
|
|
# 缓存配置 |
|
cache: |
|
enabled: true |
|
ttl: 300 |
|
max_size: 1000 |
|
|
|
# 元数据隔离 |
|
metadata: |
|
user_id: wang_yuanzhang |
|
agent_id: life |
|
user_profile: |
|
birthday: "1984-05-16" |
|
birth_time: "23:00-24:00" |
|
chinese_zodiac: "鼠" |
|
birth_hour: "子时" |
|
timezone: "Asia/Shanghai"
|
|
|