Uses of Interface
org.springframework.ai.model.function.FunctionCallback
Packages that use FunctionCallback
Package
Description
Chat client.
Provides the API for chat client advisors.
-
Uses of FunctionCallback in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.anthropic with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAnthropicChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
AnthropicChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) AnthropicChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in org.springframework.ai.anthropic with type arguments of type FunctionCallbackModifierConstructorDescriptionAnthropicChatModel
(AnthropicApi anthropicApi, AnthropicChatOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks) Construct a newAnthropicChatModel
instance.AnthropicChatModel
(AnthropicApi anthropicApi, AnthropicChatOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry) Construct a newAnthropicChatModel
instance. -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.anthropic
Method parameters in org.springframework.ai.autoconfigure.anthropic with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAnthropicAutoConfiguration.anthropicChatModel
(AnthropicApi anthropicApi, AnthropicChatProperties chatProperties, org.springframework.retry.support.RetryTemplate retryTemplate, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.azure.openai
Method parameters in org.springframework.ai.autoconfigure.azure.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAzureOpenAiAutoConfiguration.azureOpenAiChatModel
(com.azure.ai.openai.OpenAIClientBuilder openAIClientBuilder, AzureOpenAiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.bedrock.converse
Method parameters in org.springframework.ai.autoconfigure.bedrock.converse with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionBedrockConverseProxyChatAutoConfiguration.bedrockProxyChatModel
(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider, software.amazon.awssdk.regions.providers.AwsRegionProvider regionProvider, BedrockAwsConnectionProperties connectionProperties, BedrockConverseProxyChatProperties chatProperties, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention, org.springframework.beans.factory.ObjectProvider<software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient> bedrockRuntimeClient, org.springframework.beans.factory.ObjectProvider<software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient> bedrockRuntimeAsyncClient) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.minimax
Method parameters in org.springframework.ai.autoconfigure.minimax with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMiniMaxAutoConfiguration.miniMaxChatModel
(MiniMaxConnectionProperties commonProperties, MiniMaxChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.mistralai
Method parameters in org.springframework.ai.autoconfigure.mistralai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMistralAiAutoConfiguration.mistralAiChatModel
(MistralAiCommonProperties commonProperties, MistralAiChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.moonshot
Method parameters in org.springframework.ai.autoconfigure.moonshot with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMoonshotAutoConfiguration.moonshotChatModel
(MoonshotCommonProperties commonProperties, MoonshotChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.ollama
Method parameters in org.springframework.ai.autoconfigure.ollama with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOllamaAutoConfiguration.ollamaChatModel
(OllamaApi ollamaApi, OllamaChatProperties properties, OllamaInitializationProperties initProperties, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.openai
Method parameters in org.springframework.ai.autoconfigure.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOpenAiAutoConfiguration.openAiChatModel
(OpenAiConnectionProperties commonProperties, OpenAiChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.web.reactive.function.client.WebClient.Builder> webClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.vertexai.gemini
Method parameters in org.springframework.ai.autoconfigure.vertexai.gemini with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionVertexAiGeminiAutoConfiguration.vertexAiGeminiChat
(com.google.cloud.vertexai.VertexAI vertexAi, VertexAiGeminiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, org.springframework.context.ApplicationContext context, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.zhipuai
Method parameters in org.springframework.ai.autoconfigure.zhipuai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionZhiPuAiAutoConfiguration.zhiPuAiChatModel
(ZhiPuAiConnectionProperties commonProperties, ZhiPuAiChatProperties chatProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.web.client.RestClient.Builder> restClientBuilderProvider, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackResolver functionCallbackResolver, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler, org.springframework.beans.factory.ObjectProvider<io.micrometer.observation.ObservationRegistry> observationRegistry, org.springframework.beans.factory.ObjectProvider<ChatModelObservationConvention> observationConvention) -
Uses of FunctionCallback in org.springframework.ai.azure.openai
Methods in org.springframework.ai.azure.openai that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.azure.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAzureOpenAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
AzureOpenAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) AzureOpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in org.springframework.ai.azure.openai with type arguments of type FunctionCallbackModifierConstructorDescriptionAzureOpenAiChatModel
(com.azure.ai.openai.OpenAIClientBuilder openAIClientBuilder, AzureOpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks) AzureOpenAiChatModel
(com.azure.ai.openai.OpenAIClientBuilder openAIClientBuilder, AzureOpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of FunctionCallback in org.springframework.ai.bedrock.converse
Method parameters in org.springframework.ai.bedrock.converse with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionBedrockProxyChatModel.Builder.withToolFunctionCallbacks
(List<FunctionCallback> toolFunctionCallbacks) Constructor parameters in org.springframework.ai.bedrock.converse with type arguments of type FunctionCallbackModifierConstructorDescriptionBedrockProxyChatModel
(software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeClient bedrockRuntimeClient, software.amazon.awssdk.services.bedrockruntime.BedrockRuntimeAsyncClient bedrockRuntimeAsyncClient, FunctionCallingOptions defaultOptions, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of FunctionCallback in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultChatClient.DefaultChatClientRequestSpec.getFunctionCallbacks()
Methods in org.springframework.ai.chat.client with parameters of type FunctionCallbackModifier and TypeMethodDescriptionChatClient.Builder.defaultFunctions
(FunctionCallback... functionCallbacks) DefaultChatClientBuilder.defaultFunctions
(FunctionCallback... functionCallbacks) ChatClient.ChatClientRequestSpec.functions
(FunctionCallback... functionCallbacks) DefaultChatClient.DefaultChatClientRequestSpec.functions
(FunctionCallback... functionCallbacks) Constructor parameters in org.springframework.ai.chat.client with type arguments of type FunctionCallbackModifierConstructorDescriptionDefaultChatClientRequestSpec
(ChatModel chatModel, String userText, Map<String, Object> userParams, String systemText, Map<String, Object> systemParams, List<FunctionCallback> functionCallbacks, List<Message> messages, List<String> functionNames, List<Media> media, ChatOptions chatOptions, List<Advisor> advisors, Map<String, Object> advisorParams, io.micrometer.observation.ObservationRegistry observationRegistry, ChatClientObservationConvention customObservationConvention, Map<String, Object> toolContext) -
Uses of FunctionCallback in org.springframework.ai.chat.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionAdvisedRequest.functionCallbacks()
Returns the value of thefunctionCallbacks
record component.Method parameters in org.springframework.ai.chat.client.advisor.api with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAdvisedRequest.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) Set the function callbacks.AdvisedRequest.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useAdvisedRequest.Builder.functionCallbacks(List)
instead. -
Uses of FunctionCallback in org.springframework.ai.chat.model
Fields in org.springframework.ai.chat.model with type parameters of type FunctionCallbackModifier and TypeFieldDescriptionprotected final Map<String,
FunctionCallback> AbstractToolCallSupport.functionCallbackRegister
The function callback register is used to resolve the function callbacks by name.Methods in org.springframework.ai.chat.model that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionAbstractToolCallSupport.getFunctionCallbackRegister()
protected List<FunctionCallback>
AbstractToolCallSupport.resolveFunctionCallbacks
(Set<String> functionNames) Resolve the function callbacks by name.Constructor parameters in org.springframework.ai.chat.model with type arguments of type FunctionCallbackModifierConstructorDescriptionprotected
AbstractToolCallSupport
(FunctionCallbackResolver functionCallbackResolver, FunctionCallingOptions functionCallingOptions, List<FunctionCallback> toolFunctionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.minimax
Methods in org.springframework.ai.minimax that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.minimax with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMiniMaxChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
MiniMaxChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) MiniMaxChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useMiniMaxChatOptions.Builder.functionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.minimax with type arguments of type FunctionCallbackModifierConstructorDescriptionMiniMaxChatModel
(MiniMaxApi miniMaxApi, MiniMaxChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MiniMaxChatModel. -
Uses of FunctionCallback in org.springframework.ai.mistralai
Methods in org.springframework.ai.mistralai that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.mistralai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMistralAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
MistralAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) MistralAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useMistralAiChatOptions.Builder.functionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.mistralai with type arguments of type FunctionCallbackModifierConstructorDescriptionMistralAiChatModel
(MistralAiApi mistralAiApi, MistralAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate) MistralAiChatModel
(MistralAiApi mistralAiApi, MistralAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of FunctionCallback in org.springframework.ai.model.function
Classes in org.springframework.ai.model.function that implement FunctionCallbackModifier and TypeClassDescriptionfinal class
Deprecated.in favor ofFunctionCallbackWrapper.Builder
static final record
Helper used to provide only the function definition, without the actual function call implementation.final class
Note that the underlying function is responsible for converting the output into format that can be consumed by the Model.class
AFunctionCallback
that invokes methods on objects via reflection, supporting: Static and non-static methods Any number of parameters (including none) Any parameter/return types (primitives, objects, collections) Special handling forToolContext
parameters Automatically infers the input parameters JSON schema from method's argument types.Methods in org.springframework.ai.model.function that return FunctionCallbackModifier and TypeMethodDescriptionFunctionCallback.FunctionInvokingSpec.build()
Builds theFunctionCallback
instance.FunctionCallback.MethodInvokingSpec.build()
Builds theFunctionCallback
instance.Resolve theFunctionCallback
instance by its name.Methods in org.springframework.ai.model.function that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptions.getFunctionCallbacks()
FunctionCallingOptions.getFunctionCallbacks()
Function Callbacks to be registered with the ChatModel.FunctionCallingOptionsBuilder.PortableFunctionCallingOptions.getFunctionCallbacks()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.ai.model.function with parameters of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks
(FunctionCallback... functionCallbacks) FunctionCallingOptions.Builder.functionCallbacks
(FunctionCallback... functionCallbacks) The Function Callbacks to be registered with the Chat model.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunctionCallbacks
(FunctionCallback... functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.FunctionCallingOptionsBuilder.withFunctionCallbacks
(FunctionCallback... functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.springframework.ai.model.function with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks
(List<FunctionCallback> functionCallbacks) FunctionCallingOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) The list of Function Callbacks to be registered with the Chat model.void
DefaultFunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) void
FunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Set the Function Callbacks to be registered with the ChatModel.void
FunctionCallingOptionsBuilder.PortableFunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.default FunctionCallingOptions.Builder
FunctionCallingOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.FunctionCallingOptionsBuilder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in org.springframework.ai.model.function with type arguments of type FunctionCallbackModifierConstructorDescriptionFunctionCallingHelper
(FunctionCallbackResolver functionCallbackResolver, FunctionCallingOptions functionCallingOptions, List<FunctionCallback> toolFunctionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.moonshot
Methods in org.springframework.ai.moonshot that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.moonshot with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMoonshotChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
MoonshotChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) MoonshotChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useMoonshotChatOptions.Builder.functionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.moonshot with type arguments of type FunctionCallbackModifierConstructorDescriptionMoonshotChatModel
(MoonshotApi moonshotApi, MoonshotChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the MoonshotChatModel. -
Uses of FunctionCallback in org.springframework.ai.ollama
Method parameters in org.springframework.ai.ollama with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOllamaChatModel.Builder.toolFunctionCallbacks
(List<FunctionCallback> toolFunctionCallbacks) OllamaChatModel.Builder.withToolFunctionCallbacks
(List<FunctionCallback> toolFunctionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useOllamaChatModel.Builder.toolFunctionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.ollama with type arguments of type FunctionCallbackModifierConstructorDescriptionOllamaChatModel
(OllamaApi ollamaApi, OllamaOptions defaultOptions, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry, ModelManagementOptions modelManagementOptions) -
Uses of FunctionCallback in org.springframework.ai.ollama.api
Methods in org.springframework.ai.ollama.api that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.ollama.api with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOllamaOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
OllamaOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) OllamaOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useOllamaOptions.Builder.functionCallbacks(List)
instead.OllamaOptions.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useOllamaOptions.Builder.functionCallbacks(List)
instead. -
Uses of FunctionCallback in org.springframework.ai.openai
Methods in org.springframework.ai.openai that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOpenAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
OpenAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) OpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useOpenAiChatOptions.Builder.functionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.openai with type arguments of type FunctionCallbackModifierConstructorDescriptionOpenAiChatModel
(OpenAiApi openAiApi, OpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate) Initializes a new instance of the OpenAiChatModel.OpenAiChatModel
(OpenAiApi openAiApi, OpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the OpenAiChatModel. -
Uses of FunctionCallback in org.springframework.ai.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.vertexai.gemini with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionVertexAiGeminiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
VertexAiGeminiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) VertexAiGeminiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.Constructor parameters in org.springframework.ai.vertexai.gemini with type arguments of type FunctionCallbackModifierConstructorDescriptionVertexAiGeminiChatModel
(com.google.cloud.vertexai.VertexAI vertexAI, VertexAiGeminiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks) VertexAiGeminiChatModel
(com.google.cloud.vertexai.VertexAI vertexAI, VertexAiGeminiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate) VertexAiGeminiChatModel
(com.google.cloud.vertexai.VertexAI vertexAI, VertexAiGeminiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) -
Uses of FunctionCallback in org.springframework.ai.zhipuai
Methods in org.springframework.ai.zhipuai that return types with arguments of type FunctionCallbackMethod parameters in org.springframework.ai.zhipuai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionZhiPuAiChatOptions.Builder.functionCallbacks
(List<FunctionCallback> functionCallbacks) void
ZhiPuAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) ZhiPuAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Deprecated, for removal: This API element is subject to removal in a future version.useZhiPuAiChatOptions.Builder.functionCallbacks(List)
instead.Constructor parameters in org.springframework.ai.zhipuai with type arguments of type FunctionCallbackModifierConstructorDescriptionZhiPuAiChatModel
(ZhiPuAiApi zhiPuAiApi, ZhiPuAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Initializes a new instance of the ZhiPuAiChatModel.
AnthropicChatOptions.Builder.functionCallbacks(List)
instead.