类class
agentscope.app.storageHumanVerifier
class HumanVerifier(BaseModel)
源码Source
agentscope/app/storage/_model/_sop.py:54–63人工校验器,在多次调用之间保存和恢复会话与记忆数据。位于 agentscope.app.storage 包。
A verifier that asks a person and waits for the answer. Declared in agentscope.app.storage.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | Literal['human'] | 类型字段。 | 'human' |
question | str | 问题字段。 | Field(default='Does this meet what the step had to prove?', description='What the person is asked.', json_schema_extra={'format': 'textarea'}) |
属性详情Attribute Detail
type
Literal['human'] = 'human'类型字段。声明为 Literal['human']。
The type field.
源码Source
agentscope/app/storage/_model/_sop.py:57question
str = Field(default='Does this meet what the step had to prove?', description='What the person is asked.', json_schema_extra={'format': 'textarea'})问题字段。声明为 str。
What the person is asked.
源码Source
agentscope/app/storage/_model/_sop.py:59