forked from Mirror/ollama4j
Fixed javadoc
This commit is contained in:
parent
c8d7cbbc2c
commit
14d18d731f
@ -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() {
|
public String getResponse() {
|
||||||
return result;
|
return result;
|
||||||
|
@ -13,9 +13,9 @@ import lombok.Getter;
|
|||||||
public class OllamaResult {
|
public class OllamaResult {
|
||||||
/**
|
/**
|
||||||
* -- GETTER --
|
* -- GETTER --
|
||||||
* Get the response text
|
* Get the completion/response text
|
||||||
*
|
*
|
||||||
* @return String - response text
|
* @return String completion/response text
|
||||||
*/
|
*/
|
||||||
private final String response;
|
private final String response;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user