Uses of Class
io.agentscope.extensions.model.ollama.dto.OllamaMessage
Packages that use OllamaMessage
Package
Description
-
Uses of OllamaMessage in io.agentscope.extensions.model.ollama
Method parameters in io.agentscope.extensions.model.ollama with type arguments of type OllamaMessageModifier 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 OllamaMessageModifierConstructorDescriptionOllamaChatModel(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 OllamaMessage in io.agentscope.extensions.model.ollama.dto
Methods in io.agentscope.extensions.model.ollama.dto that return OllamaMessageMethods in io.agentscope.extensions.model.ollama.dto that return types with arguments of type OllamaMessageMethods in io.agentscope.extensions.model.ollama.dto with parameters of type OllamaMessageMethod parameters in io.agentscope.extensions.model.ollama.dto with type arguments of type OllamaMessageModifier and TypeMethodDescriptionOllamaRequest.Builder.messages(List<OllamaMessage> messages) voidOllamaRequest.setMessages(List<OllamaMessage> messages) -
Uses of OllamaMessage in io.agentscope.extensions.model.ollama.formatter
Methods in io.agentscope.extensions.model.ollama.formatter that return OllamaMessageModifier and TypeMethodDescriptionOllamaMessageConverter.convertMessage(io.agentscope.core.message.Msg msg) Converts an AgentScope Msg object to an OllamaMessage object.OllamaConversationMerger.mergeToMessage(List<io.agentscope.core.message.Msg> msgs, Function<io.agentscope.core.message.Msg, String> nameExtractor, Function<List<io.agentscope.core.message.ContentBlock>, String> toolResultConverter, String historyPrompt) Methods in io.agentscope.extensions.model.ollama.formatter that return types with arguments of type OllamaMessageMethod parameters in io.agentscope.extensions.model.ollama.formatter with type arguments of type OllamaMessageModifier 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.