Uses of Class
io.agentscope.extensions.model.ollama.dto.OllamaRequest
Packages that use OllamaRequest
Package
Description
-
Uses of OllamaRequest in io.agentscope.extensions.model.ollama
Methods in io.agentscope.extensions.model.ollama with parameters of type OllamaRequestModifier and TypeMethodDescriptionOllamaHttpClient.chat(OllamaRequest request) Make a synchronous Chat API call.reactor.core.publisher.Flux<OllamaResponse>OllamaHttpClient.stream(OllamaRequest request) Make a streaming Chat API call.Method parameters in io.agentscope.extensions.model.ollama with type arguments of type OllamaRequestModifier and TypeMethodDescriptionOllamaChatModel.Builder.formatter(io.agentscope.core.formatter.Formatter<OllamaMessage, OllamaResponse, OllamaRequest> formatter) Constructor parameters in io.agentscope.extensions.model.ollama with type arguments of type OllamaRequestModifierConstructorDescriptionOllamaChatModel(String modelName, String baseUrl, OllamaOptions defaultOptions, io.agentscope.core.formatter.Formatter<OllamaMessage, OllamaResponse, OllamaRequest> formatter, io.agentscope.core.model.transport.HttpTransport httpTransport) Creates a new OllamaChatModel.OllamaChatModel(String modelName, String baseUrl, OllamaOptions defaultOptions, io.agentscope.core.formatter.Formatter<OllamaMessage, OllamaResponse, OllamaRequest> formatter, io.agentscope.core.model.transport.HttpTransport httpTransport, boolean stream) Creates a new OllamaChatModel with an explicit streaming mode. -
Uses of OllamaRequest in io.agentscope.extensions.model.ollama.dto
Methods in io.agentscope.extensions.model.ollama.dto that return OllamaRequest -
Uses of OllamaRequest in io.agentscope.extensions.model.ollama.formatter
Methods in io.agentscope.extensions.model.ollama.formatter that return OllamaRequestModifier and TypeMethodDescriptionOllamaChatFormatter.buildRequest(String model, List<OllamaMessage> messages, boolean stream, OllamaOptions options, OllamaOptions defaultOptions, List<io.agentscope.core.model.ToolSchema> tools, io.agentscope.core.model.ToolChoice toolChoice) Build a complete OllamaRequest for the API call.OllamaMultiAgentFormatter.buildRequest(String model, List<OllamaMessage> messages, boolean stream, OllamaOptions options, OllamaOptions defaultOptions, List<io.agentscope.core.model.ToolSchema> tools, io.agentscope.core.model.ToolChoice toolChoice) Build a complete OllamaRequest for the API call.Methods in io.agentscope.extensions.model.ollama.formatter with parameters of type OllamaRequestModifier and TypeMethodDescriptionvoidOllamaChatFormatter.applyOptions(OllamaRequest request, io.agentscope.core.model.GenerateOptions options, io.agentscope.core.model.GenerateOptions defaultOptions) voidOllamaChatFormatter.applyOptions(OllamaRequest request, OllamaOptions options, OllamaOptions defaultOptions) Apply OllamaOptions to the request.voidOllamaMultiAgentFormatter.applyOptions(OllamaRequest request, io.agentscope.core.model.GenerateOptions options, io.agentscope.core.model.GenerateOptions defaultOptions) voidOllamaMultiAgentFormatter.applyOptions(OllamaRequest request, OllamaOptions options, OllamaOptions defaultOptions) Apply OllamaOptions to the request.voidOllamaToolsHelper.applyOptions(OllamaRequest request, io.agentscope.core.model.GenerateOptions options, io.agentscope.core.model.GenerateOptions defaultOptions) Apply GenerateOptions to OllamaRequest.voidOllamaToolsHelper.applyOptions(OllamaRequest request, OllamaOptions options, OllamaOptions defaultOptions) Apply OllamaOptions to OllamaRequest.voidOllamaChatFormatter.applyToolChoice(OllamaRequest request, io.agentscope.core.model.ToolChoice toolChoice) voidOllamaMultiAgentFormatter.applyToolChoice(OllamaRequest request, io.agentscope.core.model.ToolChoice toolChoice) voidOllamaToolsHelper.applyToolChoice(OllamaRequest request, io.agentscope.core.model.ToolChoice toolChoice) Apply tool choice configuration to OllamaRequest.voidOllamaChatFormatter.applyTools(OllamaRequest request, List<io.agentscope.core.model.ToolSchema> tools) voidOllamaMultiAgentFormatter.applyTools(OllamaRequest request, List<io.agentscope.core.model.ToolSchema> tools) voidOllamaToolsHelper.applyTools(OllamaRequest request, List<io.agentscope.core.model.ToolSchema> tools) Apply tools to OllamaRequest.