mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-23 13:49:29 +02:00
Update Javadoc comments in Ollama and Agent classes to reflect correct method references for chat request construction and agent instantiation.
This commit is contained in:
parent
f0e5a9e172
commit
d55d1c0fd9
@ -862,7 +862,7 @@ public class Ollama {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sends a chat request to a model using an {@link OllamaChatRequest} and sets up streaming response.
|
* Sends a chat request to a model using an {@link OllamaChatRequest} and sets up streaming response.
|
||||||
* This can be constructed using an {@link OllamaChatRequestBuilder}.
|
* This can be constructed using an {@link OllamaChatRequest#builder()}.
|
||||||
*
|
*
|
||||||
* <p>Note: the OllamaChatRequestModel#getStream() property is not implemented.
|
* <p>Note: the OllamaChatRequestModel#getStream() property is not implemented.
|
||||||
*
|
*
|
||||||
|
@ -32,8 +32,8 @@ import lombok.*;
|
|||||||
* <h2>Usage</h2>
|
* <h2>Usage</h2>
|
||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Instantiate an Agent via {@link #fromYaml(String)} for YAML-based configuration.
|
* <li>Instantiate an Agent via {@link #load(String)} for YAML-based configuration.
|
||||||
* <li>Handle conversation turns via {@link #think(String)}.
|
* <li>Handle conversation turns via {@link #interact(String)}.
|
||||||
* <li>Use {@link #runInteractive()} for an interactive console-based session.
|
* <li>Use {@link #runInteractive()} for an interactive console-based session.
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user