Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.models.generate.OllamaGenerateStreamObserver Class Reference

Public Member Functions

 OllamaGenerateStreamObserver (OllamaStreamHandler streamHandler)
 
void notify (OllamaGenerateResponseModel currentResponsePart)
 

Protected Member Functions

void handleCurrentResponsePart (OllamaGenerateResponseModel currentResponsePart)
 

Detailed Description

Definition at line 6 of file OllamaGenerateStreamObserver.java.

Constructor & Destructor Documentation

◆ OllamaGenerateStreamObserver()

io.github.ollama4j.models.generate.OllamaGenerateStreamObserver.OllamaGenerateStreamObserver ( OllamaStreamHandler streamHandler)

Definition at line 14 of file OllamaGenerateStreamObserver.java.

Member Function Documentation

◆ handleCurrentResponsePart()

void io.github.ollama4j.models.generate.OllamaGenerateStreamObserver.handleCurrentResponsePart ( OllamaGenerateResponseModel currentResponsePart)
protected

Definition at line 23 of file OllamaGenerateStreamObserver.java.

◆ notify()

void io.github.ollama4j.models.generate.OllamaGenerateStreamObserver.notify ( OllamaGenerateResponseModel currentResponsePart)

Definition at line 18 of file OllamaGenerateStreamObserver.java.


The documentation for this class was generated from the following file: