Update config.yaml

添加Mem0本地化配置
This commit is contained in:
linqingping 2025-03-17 10:36:21 +08:00 committed by GitHub
parent 45f9f3a7d9
commit 686de2f742
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -109,6 +109,27 @@ Memory:
mem0_milvus: mem0_milvus:
  # 本地mem0记忆功能,通过mem0+milvus向量数据库,数据保存在本地,不会上传到服务器   # 本地mem0记忆功能,通过mem0+milvus向量数据库,数据保存在本地,不会上传到服务器
type: mem0_milvus type: mem0_milvus
llm:
provider: deepseek
config:
model: qwen-plus #模型可替换
deepseek_base_url: https://dashscope.aliyuncs.com/compatible-mode/v1 #API-URL 可替换
api_key: sk-xxxxxxx #填写API-key
temperature: 0.2
max_tokens: 2000
top_p: 1.0
embedder:
provider: huggingface
config:
model: /mnt/mem0/m3e-large #可以替换在线模型或者使用本地模型
vector_store:
provider: milvus #可以使用容器本地部署milvus向量数据库
config:
url: http://localhost:19530 #使用本地的milvus向量数据库
collection_name: mem0_collection
embedding_model_dims: 1024
ASR: ASR:
FunASR: FunASR: