AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.extensions.model.openai.formatter

io.agentscope.extensions.model.openai.formatter

package io.agentscope.extensions.model.openai.formatter

io.agentscope.extensions.model.openai.formatter 属于模型与向量化,大模型接入、凭证与嵌入。 该包共收录 11 个公开类型。

io.agentscope.extensions.model.openai.formatter belongs to the Models & embeddings layer and contains 11 public types.

类Classes

类型Type种类Kind说明Description
DeepSeekFormatter类class
DeepSeek 格式化器,与模型服务通信并返回生成或向量化结果。
Formatter for DeepSeek Chat models (deepseek-chat, deepseek-coder).
DeepSeekMultiAgentFormatter类class
DeepSeek Multi 智能体格式化器,与模型服务通信并返回生成或向量化结果。
Multi-agent formatter for DeepSeek Chat models.
GLMFormatter类class
GLM 格式化器,与模型服务通信并返回生成或向量化结果。
Formatter for Zhipu GLM models (glm-4, glm-3-turbo, etc.).
GLMMultiAgentFormatter类class
GLM Multi 智能体格式化器,与模型服务通信并返回生成或向量化结果。
Multi-agent formatter for Zhipu GLM models.
OpenAIBaseFormatter类class
用于OpenAI 聊天补全 HTTP API的基类格式化器。
Base formatter for OpenAI Chat Completion HTTP API.
OpenAIChatFormatter类class
用于OpenAI 聊天补全 HTTP API的格式化器。
Formatter for OpenAI Chat Completion HTTP API.
OpenAIConversationMerger类class
OpenAI 会话 Merger,与模型服务通信并返回生成或向量化结果。
Merges multi-agent conversation messages for OpenAI HTTP API.
OpenAIConverterUtils类class
OpenAI 转换器 Utils,与模型服务通信并返回生成或向量化结果。
Utility class for OpenAI message and conversation conversion.
OpenAIMessageConverter类class
OpenAI 消息转换器,与模型服务通信并返回生成或向量化结果。
Converts AgentScope Msg objects to OpenAI DTO types (for HTTP API).
OpenAIMultiAgentFormatter类class
OpenAI Multi 智能体格式化器,与模型服务通信并返回生成或向量化结果。
Multi-agent formatter for OpenAI Chat Completion HTTP API.
OpenAIResponseParser类class
OpenAIResponse 解析器,与模型服务通信并返回生成或向量化结果。
Parses OpenAI HTTP API responses to AgentScope ChatResponse.
基于官方固定版本源码静态生成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.