Uses of Class
io.agentscope.extensions.model.ollama.dto.OllamaResponse
Packages that use OllamaResponse
Package
Description
-
Uses of OllamaResponse in io.agentscope.extensions.model.ollama
Methods in io.agentscope.extensions.model.ollama that return OllamaResponseModifier and TypeMethodDescriptionMake a synchronous API call to specific endpoint.OllamaHttpClient.chat(OllamaRequest request) Make a synchronous Chat API call.Methods in io.agentscope.extensions.model.ollama that return types with arguments of type OllamaResponseModifier and TypeMethodDescriptionreactor.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 OllamaResponseModifier 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 OllamaResponseModifierConstructorDescriptionOllamaChatModel(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 OllamaResponse in io.agentscope.extensions.model.ollama.formatter
Methods in io.agentscope.extensions.model.ollama.formatter with parameters of type OllamaResponseModifier and TypeMethodDescriptionio.agentscope.core.model.ChatResponseOllamaChatFormatter.parseResponse(OllamaResponse result, Instant startTime) io.agentscope.core.model.ChatResponseOllamaMultiAgentFormatter.parseResponse(OllamaResponse result, Instant startTime) io.agentscope.core.model.ChatResponseOllamaResponseParser.parseResponse(OllamaResponse response) Parses an OllamaResponse object into a ChatResponse object.