Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
OllamaStreamHandler.java
Go to the documentation of this file.
1
package
io.github.ollama4j.models.generate;
2
3
import
java.util.function.Consumer;
4
5
public
interface
OllamaStreamHandler
extends
Consumer<String> {
6
void
accept
(String message);
7
}
io.github.ollama4j.models.generate.OllamaStreamHandler
Definition
OllamaStreamHandler.java:5
io.github.ollama4j.models.generate.OllamaStreamHandler.accept
void accept(String message)
src
main
java
io
github
ollama4j
models
generate
OllamaStreamHandler.java
Generated by
1.12.0