![]() |
Ollama4j
A Java library (wrapper/binding) for Ollama server.
|
Public Member Functions | |
OllamaStructuredResult (String response, long responseTime, int httpStatusCode) | |
String | toString () |
Map< String, Object > | getStructuredResponse () |
Definition at line 22 of file OllamaStructuredResult.java.
io.github.ollama4j.models.response.OllamaStructuredResult.OllamaStructuredResult | ( | String | response, |
long | responseTime, | ||
int | httpStatusCode ) |
Definition at line 31 of file OllamaStructuredResult.java.
Map< String, Object > io.github.ollama4j.models.response.OllamaStructuredResult.getStructuredResponse | ( | ) |
Get the structured response if the response is a JSON object.
Definition at line 51 of file OllamaStructuredResult.java.
String io.github.ollama4j.models.response.OllamaStructuredResult.toString | ( | ) |
Definition at line 38 of file OllamaStructuredResult.java.