From 14d18d731f8429d35e62c8431ebd91e7ee217dc8 Mon Sep 17 00:00:00 2001 From: Amith Koujalgi Date: Sat, 30 Dec 2023 14:17:36 +0530 Subject: [PATCH] Fixed javadoc --- .../ollama4j/core/models/OllamaAsyncResultCallback.java | 4 ++-- .../amithkoujalgi/ollama4j/core/models/OllamaResult.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaAsyncResultCallback.java b/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaAsyncResultCallback.java index b412f31..74b8c49 100644 --- a/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaAsyncResultCallback.java +++ b/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaAsyncResultCallback.java @@ -123,9 +123,9 @@ public class OllamaAsyncResultCallback extends Thread { } /** - * Returns the final response when the execution completes. Does not return intermediate results. + * Returns the final completion/response when the execution completes. Does not return intermediate results. * - * @return String - response text + * @return String completion/response text */ public String getResponse() { return result; diff --git a/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaResult.java b/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaResult.java index 831dd3d..1276f5f 100644 --- a/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaResult.java +++ b/src/main/java/io/github/amithkoujalgi/ollama4j/core/models/OllamaResult.java @@ -13,9 +13,9 @@ import lombok.Getter; public class OllamaResult { /** * -- GETTER -- - * Get the response text + * Get the completion/response text * - * @return String - response text + * @return String completion/response text */ private final String response;