forked from Mirror/ollama4j
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:
@@ -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>
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user