Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
io.github.ollama4j.models.generate.OllamaGenerateRequest Class Reference
Inheritance diagram for io.github.ollama4j.models.generate.OllamaGenerateRequest:
io.github.ollama4j.models.request.OllamaCommonRequest io.github.ollama4j.utils.OllamaRequestBody

Public Member Functions

 OllamaGenerateRequest ()
 
 OllamaGenerateRequest (String model, String prompt)
 
 OllamaGenerateRequest (String model, String prompt, List< String > images)
 
boolean equals (Object o)
 
- Public Member Functions inherited from io.github.ollama4j.models.request.OllamaCommonRequest
String toString ()
 
- Public Member Functions inherited from io.github.ollama4j.utils.OllamaRequestBody
default BodyPublisher getBodyPublisher ()
 

Additional Inherited Members

- Protected Attributes inherited from io.github.ollama4j.models.request.OllamaCommonRequest
String model
 
Boolean returnFormatJson
 
Map< String, Object > options
 
String template
 
boolean stream
 
String keepAlive
 

Detailed Description

Definition at line 14 of file OllamaGenerateRequest.java.

Constructor & Destructor Documentation

◆ OllamaGenerateRequest() [1/3]

io.github.ollama4j.models.generate.OllamaGenerateRequest.OllamaGenerateRequest ( )

Definition at line 23 of file OllamaGenerateRequest.java.

◆ OllamaGenerateRequest() [2/3]

io.github.ollama4j.models.generate.OllamaGenerateRequest.OllamaGenerateRequest ( String model,
String prompt )

Definition at line 26 of file OllamaGenerateRequest.java.

◆ OllamaGenerateRequest() [3/3]

io.github.ollama4j.models.generate.OllamaGenerateRequest.OllamaGenerateRequest ( String model,
String prompt,
List< String > images )

Definition at line 31 of file OllamaGenerateRequest.java.

Member Function Documentation

◆ equals()

boolean io.github.ollama4j.models.generate.OllamaGenerateRequest.equals ( Object o)

Definition at line 38 of file OllamaGenerateRequest.java.


The documentation for this class was generated from the following file: