Package org.springframework.ai.ollama.api
package org.springframework.ai.ollama.api
-
ClassDescriptionJava Client for the Ollama API.Chat request object.Represents a tool the model may call.Function definition.Create a tool of type 'function' and the given function definition.Ollama chat response object.Generate embeddings from a model.The response object returned from the /embedding endpoint.Chat message object.The role of the message in the conversation.The relevant tool call.The function definition.Helper class for creating strongly-typed Ollama options.Helper class for creating strongly-typed Ollama options.Helper class for common Ollama models.Represents the thinking option for Ollama models.Boolean-style think option for models that support simple enable/disable.String-level think option for the GPT-OSS model which requires explicit levels.Deserializer that reads boolean or string values into ThinkOption instances.Serializer that writes ThinkOption as raw boolean or string values.