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

ResourceKind

class ResourceKind(StrEnum)
源码Source agentscope/app/access/_policy.py:19–29

资源种类,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.access 包,继承自 StrEnum。

Resource kinds that can be resolved through the access policy. Declared in agentscope.app.access. Extends StrEnum.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
CREDENTIAL—
凭证字段。
'credential'
AGENT—
智能体字段。
'agent'
KNOWLEDGE_BASE—
知识库字段。
'knowledge_base'

属性详情Attribute Detail

CREDENTIAL

 = 'credential'

凭证字段。

The CREDENTIAL field.

源码Source agentscope/app/access/_policy.py:22

AGENT

 = 'agent'

智能体字段。

The AGENT field.

源码Source agentscope/app/access/_policy.py:25

KNOWLEDGE_BASE

 = 'knowledge_base'

知识库字段。

The KNOWLEDGE BASE field.

源码Source agentscope/app/access/_policy.py:28
基于官方固定版本源码静态生成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.