mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-05 08:06:15 +00:00
rename op name
This commit is contained in:
parent
ea2d485241
commit
d2bd5e41a8
2 changed files with 8 additions and 8 deletions
|
|
@ -5,22 +5,22 @@ global_config:
|
|||
memory_chat:
|
||||
cli_memory_chat:
|
||||
class: chat.cli_memory_chat
|
||||
memory_service: chat_memory_service
|
||||
memory_service: memory_scope_service
|
||||
generation_model: dashscope_generation
|
||||
|
||||
memory_service:
|
||||
chat_memory_service:
|
||||
class: memory.service.chat_memory_service
|
||||
memory_scope_service:
|
||||
class: memory.service.memory_scope_service
|
||||
memory_operations:
|
||||
read_message:
|
||||
class: memory.operation.frontend_operation
|
||||
workflow: read_message
|
||||
description: "read short memory"
|
||||
|
||||
read_memory:
|
||||
retrieve_memory:
|
||||
class: memory.operation.frontend_operation
|
||||
workflow: set_query,[extract_time|retrieve_obs_ins,semantic_rank],fuse_rerank
|
||||
description: "read long-term memory"
|
||||
description: "retrieve long-term memory"
|
||||
|
||||
list_memory:
|
||||
class: memory.operation.frontend_operation
|
||||
|
|
@ -42,13 +42,13 @@ memory_service:
|
|||
workflow: add_memory
|
||||
description: "add a single observation"
|
||||
|
||||
write_memory:
|
||||
summary_observation_memory:
|
||||
class: memory.operation.write_memory_op
|
||||
workflow: info_filter,[get_observation|get_observation_with_time|load_today_memory],contra_repeat,store_memory
|
||||
description: "write observation memory of the user"
|
||||
interval_time: 1
|
||||
|
||||
summary_memory:
|
||||
summary_insight_memory:
|
||||
class: memory.operation.backend_operation
|
||||
workflow: load_obs_and_insight,get_reflection_subject,update_insight,long_contra_repeat,store_memory
|
||||
description: "summary observation memory of the user"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ from memory_scope.scheme.message import Message
|
|||
from memory_scope.utils.tool_functions import init_instance_by_config
|
||||
|
||||
|
||||
class ChatMemoryService(BaseMemoryService):
|
||||
class MemoryScopeService(BaseMemoryService):
|
||||
def __init__(self,
|
||||
history_msg_count: int = 100,
|
||||
contextual_msg_max_count: int = 20,
|
||||
Loading…
Add table
Reference in a new issue