mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-06 08:16:00 +00:00
84 lines
No EOL
2.4 KiB
JSON
84 lines
No EOL
2.4 KiB
JSON
{
|
|
"global_config": {
|
|
"language": "en",
|
|
"max_workers": 5,
|
|
"dash_scope_apikey": null,
|
|
"open_ai_apikey": null
|
|
},
|
|
"memory_chat": {
|
|
"cli_memory_chat": {
|
|
"class": "chat.cli_memory_chat",
|
|
"memory_service": "memory_chat_service",
|
|
"generation_model": "dashscope_generation"
|
|
}
|
|
},
|
|
"memory_service": {
|
|
"memory_chat_service": {
|
|
"class": "memory.service.chat_memory_service",
|
|
"history_msg_count": 32,
|
|
"contextual_msg_count": 6,
|
|
"read_memory_key": "read_memory",
|
|
"memory_operations": {
|
|
"read_message": {
|
|
"class": "memory.operation.read_memory",
|
|
"workflow": "dummy_worker",
|
|
"description": "read session messages of the user"
|
|
},
|
|
"read_memory": {
|
|
"class": "memory.operation.read_memory",
|
|
"workflow": "dummy_worker",
|
|
"description": "read related memories of the user"
|
|
},
|
|
"list_memory": {
|
|
"class": "memory.operation.read_memory",
|
|
"workflow": "dummy_worker",
|
|
"description": "read all memories of the user"
|
|
},
|
|
"write_memory": {
|
|
"class": "memory.operation.write_memory",
|
|
"workflow": "dummy_worker",
|
|
"description": "write observation memories of the user",
|
|
"interval_time": 60
|
|
},
|
|
"summary_memory": {
|
|
"class": "memory.operation.summary_memory",
|
|
"workflow": "dummy_worker",
|
|
"description": "summary observation memories of the user",
|
|
"interval_time": 300
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"models": {
|
|
"dashscope_generation": {
|
|
"class": "models.llama_index_generation_model",
|
|
"module_name": "dashscope_generation",
|
|
"model_name": "qwen-max"
|
|
},
|
|
"dashscope_embedding": {
|
|
"class": "models.llama_index_embedding_model",
|
|
"module_name": "dashscope_embedding",
|
|
"model_name": "text-embedding-v2"
|
|
},
|
|
"dashscope_rank": {
|
|
"class": "models.llama_index_rank_model",
|
|
"module_name": "dashscope_rank",
|
|
"model_name": "gte-rerank"
|
|
}
|
|
},
|
|
"vector_store": {
|
|
"class": "storage.dummy_vector_store",
|
|
"embedding_model": "dashscope_embedding"
|
|
},
|
|
"monitor": {
|
|
"class": "storage.dummy_monitor"
|
|
},
|
|
"worker": {
|
|
"dummy_worker": {
|
|
"class": "memory.worker.dummy_worker",
|
|
"generation_model": "dashscope_generation",
|
|
"embedding_model": "dashscope_embedding",
|
|
"rank_model": "dashscope_rank"
|
|
}
|
|
}
|
|
} |