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:
Amith Koujalgi 2025-10-19 14:34:21 +05:30
parent f0e5a9e172
commit d55d1c0fd9
2 changed files with 3 additions and 3 deletions

View File

@ -862,7 +862,7 @@ public class Ollama {
/**
* 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.
*

View File

@ -32,8 +32,8 @@ import lombok.*;
* <h2>Usage</h2>
*
* <ul>
* <li>Instantiate an Agent via {@link #fromYaml(String)} for YAML-based configuration.
* <li>Handle conversation turns via {@link #think(String)}.
* <li>Instantiate an Agent via {@link #load(String)} for YAML-based configuration.
* <li>Handle conversation turns via {@link #interact(String)}.
* <li>Use {@link #runInteractive()} for an interactive console-based session.
* </ul>
*/