类class
agentscope.formatterMiniMaxChatFormatter
class MiniMaxChatFormatter(AnthropicChatFormatter)
源码Source
agentscope/formatter/_minimax_formatter.py:15–37MiniMax 聊天格式化器,在智能体、模型与前端之间传递结构化消息和事件。位于 agentscope.formatter 包,继承自 AnthropicChatFormatter。
The MiniMax formatter for chatbot scenario. Declared in agentscope.formatter. Extends AnthropicChatFormatter.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
input_types | list[str] | 输入类型字段。 | Field(default_factory=lambda: ['text/plain', 'image/*', 'video/*'], description='The supported input types. Defaults to ``["text/plain", "image/*", "video/*"]``.') |
属性详情Attribute Detail
input_types
list[str] = Field(default_factory=lambda: ['text/plain', 'image/*', 'video/*'], description='The supported input types. Defaults to ``["text/plain", "image/*", "video/*"]``.')输入类型字段。声明为 list[str]。
The supported input types.
源码Source
agentscope/formatter/_minimax_formatter.py:18