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

ChatKind

class ChatKind(str, Enum)
源码Source agentscope/app/channel/_base.py:187–196

聊天种类,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.channel 包,继承自 str, Enum。

GROUP — many participants; PRIVATE — a 1:1 conversation. Unknown / not-applicable is represented by None at call sites, not an enum member.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
GROUP—
组字段。
'group'
PRIVATE—
PRIVATE字段。
'private'

属性详情Attribute Detail

GROUP

 = 'group'

组字段。

The GROUP field.

源码Source agentscope/app/channel/_base.py:195

PRIVATE

 = 'private'

PRIVATE字段。

The PRIVATE field.

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