类class
agentscope.app.storageSOPAgentRef
class SOPAgentRef(BaseModel)
源码Source
agentscope/app/storage/_model/_sop.py:25–35SOP 智能体引用,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。
Which agent does something, and in which conversation. Declared in agentscope.app.storage.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
agent_id | str | 智能体标识字段。 | Field(description='The agent that does the work.') |
session_key | str | 会话键字段。 | Field(description='Which conversation it does it in; references sharing a key share one session.') |
属性详情Attribute Detail
agent_id
str = Field(description='The agent that does the work.')智能体标识字段。声明为 str。
The agent that does the work.
源码Source
agentscope/app/storage/_model/_sop.py:28session_key
str = Field(description='Which conversation it does it in; references sharing a key share one session.')会话键字段。声明为 str。
Which conversation it does it in; references sharing a key share one session.
源码Source
agentscope/app/storage/_model/_sop.py:30