类的使用
io.agentscope.core.model.ChatModelBase
使用ChatModelBase的程序包
-
io.agentscope.core.model中ChatModelBase的使用
修饰符和类型类说明classAnthropic Chat Model implementation using the official Anthropic Java SDK.classDashScope Chat Model using native HTTP API.classGemini Chat Model implementation using the official Google GenAI Java SDK.classAgentScope ChatModel implementation for Ollama.classOpenAI Chat Model using native HTTP API. -
io.agentscope.core.tracing中ChatModelBase的使用
参数类型为ChatModelBase的io.agentscope.core.tracing中的方法修饰符和类型方法说明default reactor.core.publisher.Flux<ChatResponse> Tracer.callModel(ChatModelBase instance, List<Msg> inputMessages, List<ToolSchema> toolSchemas, GenerateOptions options, Supplier<reactor.core.publisher.Flux<ChatResponse>> modelCall)