类class
agentscope.app.channelChannelTypeSchema
class ChannelTypeSchema(BaseModel)
源码Source
agentscope/app/channel/_registry.py:22–38渠道类型模式,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包。
Generated from a channel class. credentials_schema /
config_schema are JSON Schemas the frontend renders as forms.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
channel_type | str | 渠道类型字段。 | — |
display_name | str | 展示名称字段。 | — |
description | str | `description` 字段。 | '' |
icon_url | str | `icon_url` 字段。 | '' |
credentials_schema | dict | 凭证模式字段。 | — |
config_schema | dict | 配置模式字段。 | — |
platform_bot_id_field | str | `platform_bot_id_field` 字段。 | — |
supports_credential_binding | bool | 支持凭证绑定字段。 | False |
属性详情Attribute Detail
channel_type
str渠道类型字段。声明为 str。
The channel type field.
源码Source
agentscope/app/channel/_registry.py:29display_name
str展示名称字段。声明为 str。
The display name field.
源码Source
agentscope/app/channel/_registry.py:30description
str = ''description 字段。声明为 str。
The description field.
源码Source
agentscope/app/channel/_registry.py:31icon_url
str = ''icon_url 字段。声明为 str。
The icon url field.
源码Source
agentscope/app/channel/_registry.py:32credentials_schema
dict凭证模式字段。声明为 dict。
The credentials schema field.
源码Source
agentscope/app/channel/_registry.py:33config_schema
dict配置模式字段。声明为 dict。
The config schema field.
源码Source
agentscope/app/channel/_registry.py:34platform_bot_id_field
strplatform_bot_id_field 字段。声明为 str。
The platform bot id field field.
源码Source
agentscope/app/channel/_registry.py:35supports_credential_binding
bool = False支持凭证绑定字段。声明为 bool。
The supports credential binding field.
源码Source
agentscope/app/channel/_registry.py:36