mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-10-23 05:39:31 +02:00
Update Javadoc in Agent class to reflect changes in the interact method signature, now including an OllamaChatStreamObserver parameter for improved conversation handling.
This commit is contained in:
parent
fe43e87e1a
commit
7ce89a3e89
@ -33,7 +33,7 @@ import lombok.*;
|
|||||||
*
|
*
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>Instantiate an Agent via {@link #load(String)} for YAML-based configuration.
|
* <li>Instantiate an Agent via {@link #load(String)} for YAML-based configuration.
|
||||||
* <li>Handle conversation turns via {@link #interact(String)}.
|
* <li>Handle conversation turns via {@link #interact(String, OllamaChatStreamObserver)}.
|
||||||
* <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