Uses of Interface
io.github.amithkoujalgi.ollama4j.core.OllamaStreamHandler
Packages that use OllamaStreamHandler
Package
Description
-
Uses of OllamaStreamHandler in io.github.amithkoujalgi.ollama4j.core
Methods in io.github.amithkoujalgi.ollama4j.core with parameters of type OllamaStreamHandlerModifier and TypeMethodDescriptionOllamaAPI.chat
(OllamaChatRequestModel request, OllamaStreamHandler streamHandler) Ask a question to a model using anOllamaChatRequestModel
.OllamaAPI.generate
(String model, String prompt, Options options, OllamaStreamHandler streamHandler) Generate response for a question to a model running on Ollama server.OllamaAPI.generateWithImageFiles
(String model, String prompt, List<File> imageFiles, Options options, OllamaStreamHandler streamHandler) With one or more image files, ask a question to a model running on Ollama server.OllamaAPI.generateWithImageURLs
(String model, String prompt, List<String> imageURLs, Options options, OllamaStreamHandler streamHandler) With one or more image URLs, ask a question to a model running on Ollama server. -
Uses of OllamaStreamHandler in io.github.amithkoujalgi.ollama4j.core.impl
Classes in io.github.amithkoujalgi.ollama4j.core.impl that implement OllamaStreamHandler -
Uses of OllamaStreamHandler in io.github.amithkoujalgi.ollama4j.core.models.chat
Constructors in io.github.amithkoujalgi.ollama4j.core.models.chat with parameters of type OllamaStreamHandler -
Uses of OllamaStreamHandler in io.github.amithkoujalgi.ollama4j.core.models.generate
Constructors in io.github.amithkoujalgi.ollama4j.core.models.generate with parameters of type OllamaStreamHandler -
Uses of OllamaStreamHandler in io.github.amithkoujalgi.ollama4j.core.models.request
Methods in io.github.amithkoujalgi.ollama4j.core.models.request with parameters of type OllamaStreamHandlerModifier and TypeMethodDescriptionOllamaChatEndpointCaller.call
(OllamaRequestBody body, OllamaStreamHandler streamHandler) OllamaGenerateEndpointCaller.call
(OllamaRequestBody body, OllamaStreamHandler streamHandler)