mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-11-04 02:20:50 +01: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:
		@@ -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.
 | 
			
		||||
     *
 | 
			
		||||
 
 | 
			
		||||
@@ -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>
 | 
			
		||||
 */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user