AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.core.formatter

io.agentscope.core.formatter

package io.agentscope.core.formatter

io.agentscope.core.formatter 属于消息·事件·格式化,统一消息模型与协议转换。 该包共收录 8 个公开类型。

io.agentscope.core.formatter belongs to the Messages, events & formatting layer and contains 8 public types.

所属构件Artifacts agentscope-core

接口Interfaces

类型Type种类Kind说明Description
Formatter接口interface
请求与响应格式转换器
Formatter interface for converting between AgentScope and provider-specific formats.

类Classes

类型Type种类Kind说明Description
AbstractBaseFormatter类class
抽象基类格式化器,在智能体、模型与前端之间传递结构化消息和事件。
Abstract base formatter providing common functionality for all formatter implementations.
FormatterException类class
格式化器异常,表示执行过程中的错误。
Exception thrown when formatter encounters an error during message formatting or response parsing.
JsonSchema类class
JSON 模式,在智能体、模型与前端之间传递结构化消息和事件。
JSON Schema definition for structured outputs.
MediaUtils类class
Media Utils,在智能体、模型与前端之间传递结构化消息和事件。
Utility class for handling media files in multimodal content.
ResponseFormat类class
用于模型 APIs的响应格式配置。
Response format configuration for model APIs.
基于官方固定版本源码静态生成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.