Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

additionalModels() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns the value of the additionalModels record component.
additionalModels(List<String>) - Method in class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
ALWAYS - Enum constant in enum class org.springframework.ai.ollama.management.PullModelStrategy
Always pull the model, even if it's already available.
arguments() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Returns the value of the arguments record component.
ASSISTANT - Enum constant in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
Assistant message type.

B

baseUrl(String) - Method in class org.springframework.ai.ollama.api.OllamaApi.Builder
 
build() - Method in class org.springframework.ai.ollama.api.OllamaApi.Builder
 
build() - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
build() - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
build() - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
build() - Method in class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
build() - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
build() - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel.Builder
 
builder() - Static method in class org.springframework.ai.ollama.api.OllamaApi
 
builder() - Static method in class org.springframework.ai.ollama.api.OllamaOptions
 
builder() - Static method in record class org.springframework.ai.ollama.management.ModelManagementOptions
 
builder() - Static method in class org.springframework.ai.ollama.OllamaChatModel
 
builder() - Static method in class org.springframework.ai.ollama.OllamaEmbeddingModel
 
builder(String) - Static method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
 
builder(OllamaApi.Message.Role) - Static method in record class org.springframework.ai.ollama.api.OllamaApi.Message
 
Builder() - Constructor for class org.springframework.ai.ollama.api.OllamaApi.Builder
 
Builder() - Constructor for class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
Builder() - Constructor for class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
Builder(String) - Constructor for class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
Builder(OllamaApi.Message.Role) - Constructor for class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 

C

call(Prompt) - Method in class org.springframework.ai.ollama.OllamaChatModel
 
call(EmbeddingRequest) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel
 
capabilities() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the capabilities record component.
chat(OllamaApi.ChatRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Generate the next message in a chat with a provided model.
ChatRequest(String, List<OllamaApi.Message>, Boolean, Object, String, List<OllamaApi.ChatRequest.Tool>, Map<String, Object>, Boolean) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Creates an instance of a ChatRequest record class.
ChatResponse(String, Instant, OllamaApi.Message, String, Boolean, Long, Long, Integer, Long, Integer, Long) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Creates an instance of a ChatResponse record class.
CODELLAMA - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Code Llama is based on Llama 2 model
completed() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns the value of the completed record component.
content() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the content record component.
content(String) - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
copy() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
copyModel(OllamaApi.CopyModelRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Copy a model.
CopyModelRequest(String, String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Creates an instance of a CopyModelRequest record class.
createdAt() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the createdAt record component.

D

DEFAULT_BASE_URL - Static variable in class org.springframework.ai.ollama.api.common.OllamaApiConstants
 
defaultOptions(OllamaOptions) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
defaultOptions(OllamaOptions) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel.Builder
 
defaults() - Static method in record class org.springframework.ai.ollama.management.ModelManagementOptions
 
deleteModel(String) - Method in class org.springframework.ai.ollama.management.OllamaModelManager
 
deleteModel(OllamaApi.DeleteModelRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Delete a model and its data.
DeleteModelRequest(String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.DeleteModelRequest
Creates an instance of a DeleteModelRequest record class.
description() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Returns the value of the description record component.
destination() - Method in record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Returns the value of the destination record component.
details() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the details record component.
details() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the details record component.
Details(String, String, String, List<String>, String, String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Creates an instance of a Details record class.
digest() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the digest record component.
digest() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns the value of the digest record component.
DOLPHIN_PHI - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The 2.7B uncensored Dolphin model
done() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the done record component.
doneReason() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the doneReason record component.
DurationParser() - Constructor for class org.springframework.ai.ollama.OllamaEmbeddingModel.DurationParser
 

E

embed(Document) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel
 
embed(OllamaApi.EmbeddingsRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Generate embeddings from a model.
embeddings() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns the value of the embeddings record component.
EmbeddingsRequest(String, String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Shortcut constructor to create a EmbeddingRequest without options.
EmbeddingsRequest(String, List<String>, Duration, Map<String, Object>, Boolean) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Creates an instance of a EmbeddingsRequest record class.
EmbeddingsResponse(String, List<float[]>, Long, Long, Integer) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Creates an instance of a EmbeddingsResponse record class.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.DeleteModelRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ListModelResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCall
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
equals(Object) - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Indicates whether some other object is "equal to" this one.
evalCount() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the evalCount record component.
evalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the evalDuration record component.

F

f16KV(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
families() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the families record component.
family() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the family record component.
filterNonSupportedFields(Map<String, Object>) - Static method in class org.springframework.ai.ollama.api.OllamaOptions
Filter out the non-supported fields from the options.
format() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the format record component.
format() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the format record component.
format(Object) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
format(Object) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
frequencyPenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
fromOptions(OllamaOptions) - Static method in class org.springframework.ai.ollama.api.OllamaOptions
 
function() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Returns the value of the function record component.
function() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCall
Returns the value of the function record component.
Function(String, String, String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Create tool function definition.
Function(String, String, Map<String, Object>) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Creates an instance of a Function record class.
FUNCTION - Enum constant in enum class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Type
Function tool type.

G

GEMMA - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Gemma is a lightweight model with 2 billion and 7 billion
GEMMA3 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The current, most capable model that runs on a single GPU.
getDefaultOptions() - Method in class org.springframework.ai.ollama.OllamaChatModel
 
getDimensions() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getEvalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
 
getF16KV() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getFormat() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getFrequencyPenalty() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getInternalToolExecutionEnabled() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getKeepAlive() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getLoadDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
 
getLogitsAll() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getLowVRAM() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getMainGPU() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getMaxTokens() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getMinP() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getMirostat() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getMirostatEta() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getMirostatTau() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getModel() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getName() - Method in enum class org.springframework.ai.ollama.api.OllamaModel
 
getNumBatch() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getNumCtx() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getNumGPU() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getNumKeep() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getNumPredict() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getNumThread() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getPenalizeNewline() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getPresencePenalty() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getPromptEvalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
 
getRepeatLastN() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getRepeatPenalty() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getSeed() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getStop() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getStopSequences() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTemperature() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTfsZ() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getToolCallbacks() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getToolContext() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getToolNames() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTopK() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTopP() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTotalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
 
getTruncate() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getTypicalP() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getUseMLock() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getUseMMap() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
getUseNUMA() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
getVocabOnly() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.

H

hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.DeleteModelRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ListModelResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCall
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns a hash code value for this object.
hashCode() - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
hashCode() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns a hash code value for this object.

I

id() - Method in enum class org.springframework.ai.ollama.api.OllamaModel
 
images() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the images record component.
images(List<String>) - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
index() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Returns the value of the index record component.
input() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns the value of the input record component.
insecure() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns the value of the insecure record component.
internalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
isModelAvailable(String) - Method in class org.springframework.ai.ollama.management.OllamaModelManager
 
isStreamingDone(OllamaApi.ChatResponse) - Static method in class org.springframework.ai.ollama.api.OllamaApiHelper
 
isStreamingToolCall(OllamaApi.ChatResponse) - Static method in class org.springframework.ai.ollama.api.OllamaApiHelper
 

K

keepAlive() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the keepAlive record component.
keepAlive() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns the value of the keepAlive record component.
keepAlive(String) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
keepAlive(String) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 

L

license() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the license record component.
ListModelResponse(List<OllamaApi.Model>) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ListModelResponse
Creates an instance of a ListModelResponse record class.
listModels() - Method in class org.springframework.ai.ollama.api.OllamaApi
List models that are available locally on the machine where Ollama is running.
LLAMA2 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Llama 2 is a collection of language models ranging from 7B to 70B parameters.
LLAMA2_UNCENSORED - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Uncensored Llama 2 model
LLAMA3 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Llama 3 is a collection of language models ranging from 8B and 70B parameters.
LLAMA3_1 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The 8B language model from Meta.
LLAMA3_2 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Llama 3.2 3B language model from Meta.
LLAMA3_2_1B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Llama 3.2 1B language model from Meta.
LLAMA3_2_3B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Llama 3.2 3B language model from Meta.
LLAMA3_2_VISION_11b - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Llama 3.2 Vision 11B language model from Meta.
LLAMA3_2_VISION_90b - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Llama 3.2 Vision 90B language model from Meta.
LLAVA - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Llava is a Large Language and Vision Assistant model
loadDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the loadDuration record component.
loadDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns the value of the loadDuration record component.
logitsAll(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
lowVRAM(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.

M

mainGPU(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
maxRetries() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns the value of the maxRetries record component.
maxRetries(Integer) - Method in class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
merge(OllamaApi.ChatResponse, OllamaApi.ChatResponse) - Static method in class org.springframework.ai.ollama.api.OllamaApiHelper
 
message() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the message record component.
Message(OllamaApi.Message.Role, String, List<String>, List<OllamaApi.Message.ToolCall>, String, String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Message
Creates an instance of a Message record class.
messages() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the messages record component.
messages() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the messages record component.
messages(List<OllamaApi.Message>) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
minP(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
mirostat(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
mirostatEta(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
mirostatTau(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
MISTRAL - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The 7B parameters model
MISTRAL_NEMO - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
A 12B model with 128k context length, built by Mistral AI in collaboration with NVIDIA.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.DeleteModelRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns the value of the model record component.
model(String) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
model(OllamaModel) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
Model(String, String, Instant, Long, String, OllamaApi.Model.Details) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Model
Creates an instance of a Model record class.
modelfile() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the modelfile record component.
modelInfo() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the modelInfo record component.
modelManagementOptions(ModelManagementOptions) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
modelManagementOptions(ModelManagementOptions) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel.Builder
 
ModelManagementOptions - Record Class in org.springframework.ai.ollama.management
Options for managing models in Ollama.
ModelManagementOptions(PullModelStrategy, List<String>, Duration, Integer) - Constructor for record class org.springframework.ai.ollama.management.ModelManagementOptions
Creates an instance of a ModelManagementOptions record class.
ModelManagementOptions.Builder - Class in org.springframework.ai.ollama.management
 
models() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ListModelResponse
Returns the value of the models record component.
modifiedAt() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the modifiedAt record component.
modifiedAt() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the modifiedAt record component.
MOONDREAM - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
A small vision language model designed to run efficiently on edge devices.
MXBAI_EMBED_LARGE - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
State-of-the-art large embedding model from mixedbread.ai

N

name() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the name record component.
NEURAL_CHAT - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
A fine-tuned Mistral model
NEVER - Enum constant in enum class org.springframework.ai.ollama.management.PullModelStrategy
Never pull the model.
NOMIC_EMBED_TEXT - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
A high-performing open embedding model with a large token context window.
numBatch(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
numCtx(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
numGPU(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
numKeep(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
numPredict(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
numThread(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 

O

observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel.Builder
 
ollamaApi(OllamaApi) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
ollamaApi(OllamaApi) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel.Builder
 
OllamaApi - Class in org.springframework.ai.ollama.api
Java Client for the Ollama API.
OllamaApi.Builder - Class in org.springframework.ai.ollama.api
 
OllamaApi.ChatRequest - Record Class in org.springframework.ai.ollama.api
Chat request object.
OllamaApi.ChatRequest.Builder - Class in org.springframework.ai.ollama.api
 
OllamaApi.ChatRequest.Tool - Record Class in org.springframework.ai.ollama.api
Represents a tool the model may call.
OllamaApi.ChatRequest.Tool.Function - Record Class in org.springframework.ai.ollama.api
Function definition.
OllamaApi.ChatRequest.Tool.Type - Enum Class in org.springframework.ai.ollama.api
Create a tool of type 'function' and the given function definition.
OllamaApi.ChatResponse - Record Class in org.springframework.ai.ollama.api
Ollama chat response object.
OllamaApi.CopyModelRequest - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.DeleteModelRequest - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.EmbeddingsRequest - Record Class in org.springframework.ai.ollama.api
Generate embeddings from a model.
OllamaApi.EmbeddingsResponse - Record Class in org.springframework.ai.ollama.api
The response object returned from the /embedding endpoint.
OllamaApi.ListModelResponse - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.Message - Record Class in org.springframework.ai.ollama.api
Chat message object.
OllamaApi.Message.Builder - Class in org.springframework.ai.ollama.api
 
OllamaApi.Message.Role - Enum Class in org.springframework.ai.ollama.api
The role of the message in the conversation.
OllamaApi.Message.ToolCall - Record Class in org.springframework.ai.ollama.api
The relevant tool call.
OllamaApi.Message.ToolCallFunction - Record Class in org.springframework.ai.ollama.api
The function definition.
OllamaApi.Model - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.Model.Details - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.ProgressResponse - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.PullModelRequest - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.ShowModelRequest - Record Class in org.springframework.ai.ollama.api
 
OllamaApi.ShowModelResponse - Record Class in org.springframework.ai.ollama.api
 
OllamaApiConstants - Class in org.springframework.ai.ollama.api.common
Common value constants for Ollama api.
OllamaApiHelper - Class in org.springframework.ai.ollama.api
 
OllamaChatModel - Class in org.springframework.ai.ollama
ChatModel implementation for Ollama.
OllamaChatModel(OllamaApi, OllamaOptions, ToolCallingManager, ObservationRegistry, ModelManagementOptions) - Constructor for class org.springframework.ai.ollama.OllamaChatModel
 
OllamaChatModel(OllamaApi, OllamaOptions, ToolCallingManager, ObservationRegistry, ModelManagementOptions, ToolExecutionEligibilityPredicate, RetryTemplate) - Constructor for class org.springframework.ai.ollama.OllamaChatModel
 
OllamaChatModel.Builder - Class in org.springframework.ai.ollama
 
OllamaEmbeddingModel - Class in org.springframework.ai.ollama
EmbeddingModel implementation for Ollama.
OllamaEmbeddingModel(OllamaApi, OllamaOptions, ObservationRegistry, ModelManagementOptions) - Constructor for class org.springframework.ai.ollama.OllamaEmbeddingModel
 
OllamaEmbeddingModel.Builder - Class in org.springframework.ai.ollama
 
OllamaEmbeddingModel.DurationParser - Class in org.springframework.ai.ollama
 
OllamaModel - Enum Class in org.springframework.ai.ollama.api
Helper class for common Ollama models.
OllamaModelManager - Class in org.springframework.ai.ollama.management
Manage the lifecycle of models in Ollama.
OllamaModelManager(OllamaApi) - Constructor for class org.springframework.ai.ollama.management.OllamaModelManager
 
OllamaModelManager(OllamaApi, ModelManagementOptions) - Constructor for class org.springframework.ai.ollama.management.OllamaModelManager
 
OllamaOptions - Class in org.springframework.ai.ollama.api
Helper class for creating strongly-typed Ollama options.
OllamaOptions() - Constructor for class org.springframework.ai.ollama.api.OllamaOptions
 
OllamaOptions.Builder - Class in org.springframework.ai.ollama.api
 
OllamaRuntimeHints - Class in org.springframework.ai.ollama.aot
The OllamaRuntimeHints class is responsible for registering runtime hints for Ollama AI API classes.
OllamaRuntimeHints() - Constructor for class org.springframework.ai.ollama.aot.OllamaRuntimeHints
 
options() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the options record component.
options() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns the value of the options record component.
options() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns the value of the options record component.
options(Map<String, Object>) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
options(OllamaOptions) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
ORCA_MINI - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Orca Mini is based on Llama and Llama 2 ranging from 3 billion parameters to 70 billion
org.springframework.ai.ollama - package org.springframework.ai.ollama
 
org.springframework.ai.ollama.aot - package org.springframework.ai.ollama.aot
 
org.springframework.ai.ollama.api - package org.springframework.ai.ollama.api
 
org.springframework.ai.ollama.api.common - package org.springframework.ai.ollama.api.common
 
org.springframework.ai.ollama.management - package org.springframework.ai.ollama.management
Management support for Ollama.

P

parameters() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Returns the value of the parameters record component.
parameters() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the parameters record component.
parameterSize() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the parameterSize record component.
parentModel() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the parentModel record component.
parse(String) - Static method in class org.springframework.ai.ollama.OllamaEmbeddingModel.DurationParser
 
password() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns the value of the password record component.
penalizeNewline(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
PHI - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Phi-2 2.7B language model
PHI3 - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
The Phi-3 3.8B language model
presencePenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
ProgressResponse(String, String, Long, Long) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Creates an instance of a ProgressResponse record class.
projectorInfo() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the projectorInfo record component.
promptEvalCount() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the promptEvalCount record component.
promptEvalCount() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns the value of the promptEvalCount record component.
promptEvalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the promptEvalDuration record component.
PROVIDER_NAME - Static variable in class org.springframework.ai.ollama.api.common.OllamaApiConstants
 
pullModel(String) - Method in class org.springframework.ai.ollama.management.OllamaModelManager
 
pullModel(String, PullModelStrategy) - Method in class org.springframework.ai.ollama.management.OllamaModelManager
 
pullModel(OllamaApi.PullModelRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Download a model from the Ollama library.
PullModelRequest(String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
 
PullModelRequest(String, boolean, String, String, boolean) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Creates an instance of a PullModelRequest record class.
pullModelStrategy() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns the value of the pullModelStrategy record component.
pullModelStrategy(PullModelStrategy) - Method in class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
PullModelStrategy - Enum Class in org.springframework.ai.ollama.management
Strategy for pulling Ollama models.

Q

quantizationLevel() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns the value of the quantizationLevel record component.
QWEN_2_5_3B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
 
QWEN_2_5_7B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Qwen 2.5
QWEN2_5_VL - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Flagship vision-language model of Qwen and also a significant leap from the previous Qwen2-VL.
QWEN3_4B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Qwen3 4B
QWEN3_7B - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models.
QWQ - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
QwQ is the reasoning model of the Qwen series.

R

registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.ollama.aot.OllamaRuntimeHints
 
repeatLastN(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
repeatPenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
REQUEST_BODY_NULL_ERROR - Static variable in class org.springframework.ai.ollama.api.OllamaApi
 
responseErrorHandler(ResponseErrorHandler) - Method in class org.springframework.ai.ollama.api.OllamaApi.Builder
 
restClientBuilder(RestClient.Builder) - Method in class org.springframework.ai.ollama.api.OllamaApi.Builder
 
retryTemplate(RetryTemplate) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
role() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the role record component.

S

seed(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
setF16KV(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setFormat(Object) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setFrequencyPenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setKeepAlive(String) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setLogitsAll(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setLowVRAM(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setMainGPU(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setMaxTokens(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setMinP(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setMirostat(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setMirostatEta(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setMirostatTau(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setModel(String) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumBatch(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumCtx(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumGPU(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumKeep(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumPredict(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setNumThread(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.ollama.OllamaChatModel
Use the provided convention for reporting observation data
setObservationConvention(EmbeddingModelObservationConvention) - Method in class org.springframework.ai.ollama.OllamaEmbeddingModel
Use the provided convention for reporting observation data
setPenalizeNewline(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setPresencePenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setRepeatLastN(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setRepeatPenalty(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setSeed(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setStop(List<String>) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setStopSequences(List<String>) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTemperature(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTfsZ(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setToolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setToolContext(Map<String, Object>) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setToolNames(Set<String>) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTopK(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTopP(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTruncate(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setTypicalP(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setUseMLock(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setUseMMap(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
 
setUseNUMA(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
setVocabOnly(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions
Deprecated.
Not supported in Ollama anymore.
showModel(OllamaApi.ShowModelRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Show information about a model available locally on the machine where Ollama is running.
ShowModelRequest(String) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
 
ShowModelRequest(String, String, Boolean, Map<String, Object>) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Creates an instance of a ShowModelRequest record class.
ShowModelResponse(String, String, String, String, String, OllamaApi.Model.Details, List<OllamaApi.Message>, Map<String, Object>, Map<String, Object>, List<String>, Instant) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Creates an instance of a ShowModelResponse record class.
size() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns the value of the size record component.
source() - Method in record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Returns the value of the source record component.
STARLING_LM - Enum constant in enum class org.springframework.ai.ollama.api.OllamaModel
Starling-7B model
status() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns the value of the status record component.
stop(List<String>) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
stream() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the stream record component.
stream() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns the value of the stream record component.
stream(boolean) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
stream(Prompt) - Method in class org.springframework.ai.ollama.OllamaChatModel
 
streamingChat(OllamaApi.ChatRequest) - Method in class org.springframework.ai.ollama.api.OllamaApi
Streaming response for the chat completion request.
system() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns the value of the system record component.
system() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the system record component.
SYSTEM - Enum constant in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
System message type used as instructions to the model.

T

temperature(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
template() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns the value of the template record component.
tfsZ(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
think() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the think record component.
think(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
thinking() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the thinking record component.
thinking(String) - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
timeout() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns the value of the timeout record component.
timeout(Duration) - Method in class org.springframework.ai.ollama.management.ModelManagementOptions.Builder
 
toMap() - Method in class org.springframework.ai.ollama.api.OllamaOptions
Convert the OllamaOptions object to a Map of key/value pairs.
Tool(OllamaApi.ChatRequest.Tool.Function) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Create a tool of type 'function' and the given function definition.
Tool(OllamaApi.ChatRequest.Tool.Type, OllamaApi.ChatRequest.Tool.Function) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Creates an instance of a Tool record class.
TOOL - Enum constant in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
Tool message.
ToolCall(OllamaApi.Message.ToolCallFunction) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCall
Creates an instance of a ToolCall record class.
toolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
toolCallbacks(ToolCallback...) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
ToolCallFunction(String, Map<String, Object>) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
 
ToolCallFunction(String, Map<String, Object>, Integer) - Constructor for record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Creates an instance of a ToolCallFunction record class.
toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
toolCalls() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the toolCalls record component.
toolCalls(List<OllamaApi.Message.ToolCall>) - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
toolContext(Map<String, Object>) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.ollama.OllamaChatModel.Builder
 
toolName() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns the value of the toolName record component.
toolName(String) - Method in class org.springframework.ai.ollama.api.OllamaApi.Message.Builder
 
toolNames(String...) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
toolNames(Set<String>) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
tools() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns the value of the tools record component.
tools(List<OllamaApi.ChatRequest.Tool>) - Method in class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Builder
 
topK(Integer) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
topP(Double) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Function
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.CopyModelRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.DeleteModelRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ListModelResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCall
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message.ToolCallFunction
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Message
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model.Details
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.Model
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelResponse
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.ollama.management.ModelManagementOptions
Returns a string representation of this record class.
total() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ProgressResponse
Returns the value of the total record component.
totalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatResponse
Returns the value of the totalDuration record component.
totalDuration() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsResponse
Returns the value of the totalDuration record component.
truncate() - Method in record class org.springframework.ai.ollama.api.OllamaApi.EmbeddingsRequest
Returns the value of the truncate record component.
truncate(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
type() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool
Returns the value of the type record component.
typicalP(Float) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 

U

useMLock(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
useMMap(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
 
useNUMA(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.
USER - Enum constant in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
User message type.
username() - Method in record class org.springframework.ai.ollama.api.OllamaApi.PullModelRequest
Returns the value of the username record component.

V

valueOf(String) - Static method in enum class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.ollama.api.OllamaModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.ollama.management.PullModelStrategy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.ai.ollama.api.OllamaApi.ChatRequest.Tool.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.ollama.api.OllamaApi.Message.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.ollama.api.OllamaModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.ollama.management.PullModelStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
verbose() - Method in record class org.springframework.ai.ollama.api.OllamaApi.ShowModelRequest
Returns the value of the verbose record component.
vocabOnly(Boolean) - Method in class org.springframework.ai.ollama.api.OllamaOptions.Builder
Deprecated.
Not supported in Ollama anymore.

W

webClientBuilder(WebClient.Builder) - Method in class org.springframework.ai.ollama.api.OllamaApi.Builder
 
WHEN_MISSING - Enum constant in enum class org.springframework.ai.ollama.management.PullModelStrategy
Only pull the model if it's not already available.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values