类class
agentscope.app.accessResourceKind
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:22AGENT
= 'agent'智能体字段。
The AGENT field.
源码Source
agentscope/app/access/_policy.py:25KNOWLEDGE_BASE
= 'knowledge_base'知识库字段。
The KNOWLEDGE BASE field.
源码Source
agentscope/app/access/_policy.py:28