AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.storage

AgentRecord

class AgentRecord(_RecordBase)
源码Source agentscope/app/storage/_model/_agent.py:185–203

智能体 ORM 模型。位于 agentscope.app.storage 包,继承自 _RecordBase。

The agent ORM model. Declared in agentscope.app.storage. Extends _RecordBase.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
user_idstr
用户标识字段。
—
sourceLiteral['user', 'team']
来源字段。
'user'
dataAgentData
数据字段。
—

属性详情Attribute Detail

user_id

str

用户标识字段。声明为 str。

The user id field.

源码Source agentscope/app/storage/_model/_agent.py:188

source

Literal['user', 'team'] = 'user'

来源字段。声明为 Literal['user', 'team']。

The source field.

源码Source agentscope/app/storage/_model/_agent.py:191

data

AgentData

数据字段。声明为 AgentData。

The data field.

源码Source agentscope/app/storage/_model/_agent.py:202
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.