接口的使用
io.agentscope.core.model.Model
使用Model的程序包
程序包
说明
Agent configuration value objects:
ModelConfig for
retry / fallback wiring and ReactConfig for
reasoning-loop bounds.-
io.agentscope.core中Model的使用
返回Model的io.agentscope.core中的方法参数类型为Model的io.agentscope.core中的方法修饰符和类型方法说明ReActAgent.Builder.fallbackModel(Model fallbackModel) Sets the fallback model invoked after the primary model exhausts its retry budget.Sets the language model for this agent. -
io.agentscope.core.agent.config中Model的使用
参数类型为Model的io.agentscope.core.agent.config中的构造器 -
io.agentscope.core.middleware中Model的使用
参数类型为Model的io.agentscope.core.middleware中的构造器限定符构造器说明ModelCallInput(List<Msg> messages, List<ToolSchema> tools, GenerateOptions options, Model model) 创建ModelCallInput记录类的实例。 -
io.agentscope.core.model中Model的使用
修饰符和类型类说明classAnthropic Chat Model implementation using the official Anthropic Java SDK.classAbstract base class for all models in the AgentScope framework.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.修饰符和类型方法说明static ModelResolves aModelfor the given id: named registration first, then cached factory-created instance, then user factories (newest first), then built-in factories.参数类型为Model的io.agentscope.core.model中的方法