类的使用
io.agentscope.core.formatter.AbstractBaseFormatter
使用AbstractBaseFormatter的程序包
程序包
说明
-
io.agentscope.core.formatter.anthropic中AbstractBaseFormatter的使用
修饰符和类型类说明classAbstract base formatter for Anthropic API with shared logic for handling Anthropic-specific requirements.classFormatter for Anthropic Messages API.classMulti-agent formatter for Anthropic Messages API. -
io.agentscope.core.formatter.dashscope中AbstractBaseFormatter的使用
修饰符和类型类说明classFormatter for DashScope Conversation/Generation APIs.classDashScope formatter for multi-agent conversations. -
io.agentscope.core.formatter.gemini中AbstractBaseFormatter的使用
修饰符和类型类说明classFormatter for Gemini Content Generation API.classGemini formatter for multi-agent conversations. -
io.agentscope.core.formatter.ollama中AbstractBaseFormatter的使用
修饰符和类型类说明classFormatter for Ollama Chat API.classOllama formatter for multi-agent conversations. -
io.agentscope.core.formatter.openai中AbstractBaseFormatter的使用
修饰符和类型类说明classFormatter for DeepSeek Chat models (deepseek-chat, deepseek-coder).classMulti-agent formatter for DeepSeek Chat models.classFormatter for Zhipu GLM models (glm-4, glm-3-turbo, etc.).classMulti-agent formatter for Zhipu GLM models.classBase formatter for OpenAI Chat Completion HTTP API.classFormatter for OpenAI Chat Completion HTTP API.classMulti-agent formatter for OpenAI Chat Completion HTTP API. -
io.agentscope.core.tracing中AbstractBaseFormatter的使用
修饰符和类型方法说明default <TReq,TResp, TParams>
List<TReq> Tracer.callFormat(AbstractBaseFormatter<TReq, TResp, TParams> formatter, List<Msg> msgs, Supplier<List<TReq>> formatCall)