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

Public Member Functions

String toString ()
 

Protected Attributes

String model
 
Object format
 
Map< String, Object > options
 
String template
 
boolean stream
 
String keepAlive
 

Detailed Description

Definition at line 20 of file OllamaCommonRequest.java.

Member Function Documentation

◆ toString()

String io.github.ollama4j.models.request.OllamaCommonRequest.toString ( )

Definition at line 40 of file OllamaCommonRequest.java.

Member Data Documentation

◆ format

Object io.github.ollama4j.models.request.OllamaCommonRequest.format
protected

The value can either be

json 

or

{"key1": "val1", "key2": "val2"} 

Definition at line 31 of file OllamaCommonRequest.java.

◆ keepAlive

String io.github.ollama4j.models.request.OllamaCommonRequest.keepAlive
protected

Definition at line 38 of file OllamaCommonRequest.java.

◆ model

String io.github.ollama4j.models.request.OllamaCommonRequest.model
protected

Definition at line 22 of file OllamaCommonRequest.java.

◆ options

Map<String, Object> io.github.ollama4j.models.request.OllamaCommonRequest.options
protected

Definition at line 33 of file OllamaCommonRequest.java.

◆ stream

boolean io.github.ollama4j.models.request.OllamaCommonRequest.stream
protected

Definition at line 35 of file OllamaCommonRequest.java.

◆ template

String io.github.ollama4j.models.request.OllamaCommonRequest.template
protected

Definition at line 34 of file OllamaCommonRequest.java.


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