![]() |
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 28 of file OllamaStructuredResult.java.
| io.github.ollama4j.models.response.OllamaStructuredResult.OllamaStructuredResult | ( | String | response, |
| long | responseTime, | ||
| int | httpStatusCode ) |
Definition at line 46 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 66 of file OllamaStructuredResult.java.
| String io.github.ollama4j.models.response.OllamaStructuredResult.toString | ( | ) |
Definition at line 53 of file OllamaStructuredResult.java.