类class
agentscope.app.storageAgentVerifier
class AgentVerifier(BaseModel)
源码Source
agentscope/app/storage/_model/_sop.py:38–51智能体校验器,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。
A verifier that is itself an agent. Declared in agentscope.app.storage.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal['agent'] | 类型字段。 | 'agent' |
agent | SOPAgentRef | 智能体字段。 | Field(description='Who judges the work.') |
criteria | str | 标准字段。 | Field(default='', description="What to hold the work to, beyond the step's own description.", json_schema_extra={'format': 'textarea'}) |
属性详情Attribute Detail
type
Literal['agent'] = 'agent'类型字段。声明为 Literal['agent']。
The type field.
源码Source
agentscope/app/storage/_model/_sop.py:41agent
SOPAgentRef = Field(description='Who judges the work.')智能体字段。声明为 SOPAgentRef。
Who judges the work.
源码Source
agentscope/app/storage/_model/_sop.py:43criteria
str = Field(default='', description="What to hold the work to, beyond the step's own description.", json_schema_extra={'format': 'textarea'})标准字段。声明为 str。
What to hold the work to, beyond the step's own description.
源码Source
agentscope/app/storage/_model/_sop.py:45