接口的使用
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的使用
修饰符和类型方法说明ModelRegistry.ContextModelFactory.create(String modelId, ModelCreationContext context) static ModelResolves aModelfor the given id: named registration first, then cached factory-created instance, then user factories (newest first), then SPI providers.static ModelModelRegistry.resolve(String modelId, ModelCreationContext context) Resolves aModelfor the given id and creation context: named registration first, then cache when enabled, then user factories (newest first), then SPI providers.参数类型为Model的io.agentscope.core.model中的方法 -
io.agentscope.core.model.spi中Model的使用