类class
agentscope.app.channelCredentials
class Credentials(BaseModel)
源码Source
agentscope/app/channel/_dingtalk/_channel.py:92–103凭证,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包。
DingTalk application credentials. Declared in agentscope.app.channel.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
client_id | str | 客户端标识字段。 | Field(title='Client ID', description='DingTalk application Client ID (AppKey)') |
client_secret | str | 客户端密钥字段。 | Field(title='Client Secret', description='DingTalk application Client Secret (AppSecret)', json_schema_extra={'format': 'password'}) |
属性详情Attribute Detail
client_id
str = Field(title='Client ID', description='DingTalk application Client ID (AppKey)')客户端标识字段。声明为 str。
DingTalk application Client ID (AppKey)
源码Source
agentscope/app/channel/_dingtalk/_channel.py:95client_secret
str = Field(title='Client Secret', description='DingTalk application Client Secret (AppSecret)', json_schema_extra={'format': 'password'})客户端密钥字段。声明为 str。
DingTalk application Client Secret (AppSecret)
源码Source
agentscope/app/channel/_dingtalk/_channel.py:99