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

io.agentscope.extensions.model.anthropic.formatter

package io.agentscope.extensions.model.anthropic.formatter

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

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

类Classes

类型Type种类Kind说明Description
AnthropicBaseFormatter类class
Anthropic 基类格式化器,与模型服务通信并返回生成或向量化结果。
Abstract base formatter for Anthropic API with shared logic for handling Anthropic-specific requirements.
AnthropicChatFormatter类class
Anthropic 聊天格式化器,与模型服务通信并返回生成或向量化结果。
Formatter for Anthropic Messages API.
AnthropicConversationMerger类class
Anthropic 会话 Merger,与模型服务通信并返回生成或向量化结果。
Merges multi-agent conversation messages into a formatted conversation history for Anthropic API.
AnthropicMediaConverter类class
Anthropic Media 转换器,与模型服务通信并返回生成或向量化结果。
Handles media content conversion for Anthropic API.
AnthropicMessageConverter类class
Anthropic 消息转换器,与模型服务通信并返回生成或向量化结果。
Converts AgentScope Msg objects to Anthropic SDK MessageParam types.
AnthropicMultiAgentFormatter类class
Anthropic Multi 智能体格式化器,与模型服务通信并返回生成或向量化结果。
Multi-agent formatter for Anthropic Messages API.
AnthropicResponseParser类class
Anthropic 响应解析器,与模型服务通信并返回生成或向量化结果。
Parses Anthropic API responses (both streaming and non-streaming) into AgentScope ChatResponse objects.
AnthropicToolsHelper类class
Anthropic 工具 Helper,与模型服务通信并返回生成或向量化结果。
Helper class for tool registration and option application for Anthropic API.
基于官方固定版本源码静态生成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.