类class
agentscope.app.storageSOPOrigin
class SOPOrigin(BaseModel)
源码Source
agentscope/app/storage/_model/_session.py:82–91SOP 来源,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。
A session a SOP run opened to hold one of its conversations. Declared in agentscope.app.storage.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal['sop'] | 类型字段。 | 'sop' |
sop_run_id | str | SOP 运行标识字段。 | — |
session_key | str | 会话键字段。 | — |
属性详情Attribute Detail
type
Literal['sop'] = 'sop'类型字段。声明为 Literal['sop']。
The type field.
源码Source
agentscope/app/storage/_model/_session.py:85sop_run_id
strSOP 运行标识字段。声明为 str。
The sop run id field.
源码Source
agentscope/app/storage/_model/_session.py:87session_key
str会话键字段。声明为 str。
The session key field.
源码Source
agentscope/app/storage/_model/_session.py:90