Uses of Interface
org.springframework.ai.model.function.FunctionCallback
Packages that use FunctionCallback
Package
Description
Chat client.
Provides the API for chat client advisors.
Core support for Model Context Protocol (MCP) integration in Spring AI.
-
Uses of FunctionCallback in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionAnthropicChatOptions.getFunctionCallbacks()Deprecated.AnthropicChatOptions.getToolCallbacks()Methods in org.springframework.ai.anthropic with parameters of type FunctionCallbackModifier and TypeMethodDescriptionAnthropicChatOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.anthropic with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAnthropicChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidAnthropicChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidAnthropicChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) AnthropicChatModel.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) Deprecated.AnthropicChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) 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) Deprecated.AnthropicChatModel(AnthropicApi anthropicApi, AnthropicChatOptions defaultOptions, org.springframework.retry.support.RetryTemplate retryTemplate, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated. -
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.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.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 FunctionCallbackModifier and TypeMethodDescriptionAzureOpenAiChatOptions.getFunctionCallbacks()Deprecated.AzureOpenAiChatOptions.getToolCallbacks()Methods in org.springframework.ai.azure.openai with parameters of type FunctionCallbackModifier and TypeMethodDescriptionAzureOpenAiChatOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.azure.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionAzureOpenAiChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidAzureOpenAiChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidAzureOpenAiChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) AzureOpenAiChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) AzureOpenAiChatModel.Builder.toolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) Deprecated.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) Deprecated.AzureOpenAiChatModel(com.azure.ai.openai.OpenAIClientBuilder openAIClientBuilder, AzureOpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated. -
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) Deprecated.To be removed after M6Constructor 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) Deprecated, for removal: This API element is subject to removal in a future version. -
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) Deprecated.in favor ofChatClient.Builder.defaultTools(Object...)DefaultChatClientBuilder.defaultFunctions(FunctionCallback... functionCallbacks) Deprecated.ChatClient.Builder.defaultTools(FunctionCallback... toolCallbacks) DefaultChatClientBuilder.defaultTools(FunctionCallback... toolCallbacks) ChatClient.ChatClientRequestSpec.functions(FunctionCallback... functionCallbacks) Deprecated.DefaultChatClient.DefaultChatClientRequestSpec.functions(FunctionCallback... functionCallbacks) Deprecated.ChatClient.ChatClientRequestSpec.tools(FunctionCallback... toolCallbacks) DefaultChatClient.DefaultChatClientRequestSpec.tools(FunctionCallback... toolCallbacks) 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 thefunctionCallbacksrecord 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. -
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.functionCallbackRegisterDeprecated.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()Deprecated.protected List<FunctionCallback>AbstractToolCallSupport.resolveFunctionCallbacks(Set<String> functionNames) Deprecated.Constructor parameters in org.springframework.ai.chat.model with type arguments of type FunctionCallbackModifierConstructorDescriptionprotectedAbstractToolCallSupport(FunctionCallbackResolver functionCallbackResolver, FunctionCallingOptions functionCallingOptions, List<FunctionCallback> toolFunctionCallbacks) Deprecated. -
Uses of FunctionCallback in org.springframework.ai.mcp
Classes in org.springframework.ai.mcp that implement FunctionCallbackModifier and TypeClassDescriptionclassImplementation ofToolCallbackthat adapts MCP tools to Spring AI's tool interface with asynchronous execution support.classImplementation ofToolCallbackthat adapts MCP tools to Spring AI's tool interface. -
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) voidMiniMaxChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) 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 FunctionCallbackModifier and TypeMethodDescriptionMistralAiChatOptions.getFunctionCallbacks()Deprecated.MistralAiChatOptions.getToolCallbacks()Methods in org.springframework.ai.mistralai with parameters of type FunctionCallbackModifier and TypeMethodDescriptionMistralAiChatOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.mistralai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionMistralAiChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidMistralAiChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidMistralAiChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) MistralAiChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) MistralAiChatModel.Builder.toolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) Deprecated.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) Deprecated.MistralAiChatModel(MistralAiApi mistralAiApi, MistralAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated. -
Uses of FunctionCallback in org.springframework.ai.model.function
Classes in org.springframework.ai.model.function that implement FunctionCallbackModifier and TypeClassDescriptionstatic final recordDeprecated.Helper used to provide only the function definition, without the actual function call implementation.final classDeprecated.in favor ofFunctionToolCallback.classDeprecated.in favor ofMethodToolCallback.Methods in org.springframework.ai.model.function that return FunctionCallbackModifier and TypeMethodDescriptionFunctionCallback.FunctionInvokingSpec.build()Builds theFunctionCallbackinstance.FunctionCallback.MethodInvokingSpec.build()Builds theFunctionCallbackinstance.Deprecated.Deprecated.Resolve theFunctionCallbackinstance by its name.Methods in org.springframework.ai.model.function that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptions.getFunctionCallbacks()Deprecated.FunctionCallingOptions.getFunctionCallbacks()Deprecated.Function Callbacks to be registered with the ChatModel.Methods in org.springframework.ai.model.function with parameters of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks(FunctionCallback... functionCallbacks) Deprecated.FunctionCallingOptions.Builder.functionCallbacks(FunctionCallback... functionCallbacks) The Function Callbacks to be registered with the Chat model.Method parameters in org.springframework.ai.model.function with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultFunctionCallingOptionsBuilder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.FunctionCallingOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) The list of Function Callbacks to be registered with the Chat model.voidDefaultFunctionCallingOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidFunctionCallingOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.Set the Function Callbacks to be registered with the ChatModel.Constructor parameters in org.springframework.ai.model.function with type arguments of type FunctionCallbackModifierConstructorDescriptionFunctionCallingHelper(FunctionCallbackResolver functionCallbackResolver, FunctionCallingOptions functionCallingOptions, List<FunctionCallback> toolFunctionCallbacks) Deprecated. -
Uses of FunctionCallback in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultToolCallingChatOptions.getFunctionCallbacks()DefaultToolCallingChatOptions.getToolCallbacks()ToolCallingChatOptions.getToolCallbacks()ToolCallbacks to be registered with the ChatModel.static List<FunctionCallback>ToolCallingChatOptions.mergeToolCallbacks(List<FunctionCallback> runtimeToolCallbacks, List<FunctionCallback> defaultToolCallbacks) Methods in org.springframework.ai.model.tool with parameters of type FunctionCallbackModifier and TypeMethodDescriptionDefaultToolCallingChatOptions.Builder.functionCallbacks(FunctionCallback... functionCallbacks) Deprecated.ToolCallingChatOptions.Builder.functionCallbacks(FunctionCallback... functionCallbacks) Deprecated.DefaultToolCallingChatOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) ToolCallingChatOptions.Builder.toolCallbacks(FunctionCallback... functionCallbacks) ToolCallbacks to be registered with the ChatModel.Method parameters in org.springframework.ai.model.tool with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionDefaultToolCallingChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.LegacyToolCallingManager.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) ToolCallingChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.static List<FunctionCallback>ToolCallingChatOptions.mergeToolCallbacks(List<FunctionCallback> runtimeToolCallbacks, List<FunctionCallback> defaultToolCallbacks) voidDefaultToolCallingChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) voidDefaultToolCallingChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) voidToolCallingChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) Set the ToolCallbacks to be registered with the ChatModel.DefaultToolCallingChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) ToolCallingChatOptions.Builder.toolCallbacks(List<FunctionCallback> functionCallbacks) ToolCallbacks to be registered with the ChatModel.static voidToolCallingChatOptions.validateToolCallbacks(List<FunctionCallback> toolCallbacks) Constructor parameters in org.springframework.ai.model.tool with type arguments of type FunctionCallbackModifierConstructorDescriptionLegacyToolCallingManager(FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> functionCallbacks) Deprecated. -
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) voidMoonshotChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) 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) Deprecated.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) Deprecated. -
Uses of FunctionCallback in org.springframework.ai.ollama.api
Methods in org.springframework.ai.ollama.api that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionOllamaOptions.getFunctionCallbacks()Deprecated.OllamaOptions.getToolCallbacks()Methods in org.springframework.ai.ollama.api with parameters of type FunctionCallbackModifier and TypeMethodDescriptionOllamaOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.ollama.api with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOllamaOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidOllamaOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidOllamaOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) OllamaOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) -
Uses of FunctionCallback in org.springframework.ai.openai
Methods in org.springframework.ai.openai that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionOpenAiChatOptions.getFunctionCallbacks()Deprecated.OpenAiChatOptions.getToolCallbacks()Methods in org.springframework.ai.openai with parameters of type FunctionCallbackModifier and TypeMethodDescriptionOpenAiChatOptions.Builder.toolCallbacks(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.openai with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionOpenAiChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidOpenAiChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidOpenAiChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) OpenAiChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) OpenAiChatModel.Builder.toolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) Deprecated.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) Deprecated.Use OpenAiChatModel.Builder.OpenAiChatModel(OpenAiApi openAiApi, OpenAiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry) Deprecated.Use OpenAiChatModel.Builder or OpenAiChatModel(OpenAiApi, OpenAiChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry). -
Uses of FunctionCallback in org.springframework.ai.tool
Subinterfaces of FunctionCallback in org.springframework.ai.toolModifier and TypeInterfaceDescriptioninterfaceRepresents a tool whose execution can be triggered by an AI model.Methods in org.springframework.ai.tool that return FunctionCallbackModifier and TypeMethodDescriptionStaticToolCallbackProvider.getToolCallbacks()Returns the array of function callbacks held by this provider.ToolCallbackProvider.getToolCallbacks()Methods in org.springframework.ai.tool with parameters of type FunctionCallbackModifier and TypeMethodDescriptionstatic ToolCallbackProviderToolCallbackProvider.from(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.tool with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionstatic ToolCallbackProviderToolCallbackProvider.from(List<? extends FunctionCallback> toolCallbacks) Constructors in org.springframework.ai.tool with parameters of type FunctionCallbackModifierConstructorDescriptionStaticToolCallbackProvider(FunctionCallback... toolCallbacks) Constructs a new StaticToolCallbackProvider with the specified array of function callbacks.Constructor parameters in org.springframework.ai.tool with type arguments of type FunctionCallbackModifierConstructorDescriptionStaticToolCallbackProvider(List<? extends FunctionCallback> toolCallbacks) Constructs a new StaticToolCallbackProvider with the specified list of function callbacks. -
Uses of FunctionCallback in org.springframework.ai.tool.function
Classes in org.springframework.ai.tool.function that implement FunctionCallbackModifier and TypeClassDescriptionclassFunctionToolCallback<I,O> AToolCallbackimplementation to invoke functions as tools. -
Uses of FunctionCallback in org.springframework.ai.tool.method
Classes in org.springframework.ai.tool.method that implement FunctionCallback -
Uses of FunctionCallback in org.springframework.ai.tool.resolution
Methods in org.springframework.ai.tool.resolution that return FunctionCallbackConstructor parameters in org.springframework.ai.tool.resolution with type arguments of type FunctionCallback -
Uses of FunctionCallback in org.springframework.ai.tool.util
Methods in org.springframework.ai.tool.util with parameters of type FunctionCallbackModifier and TypeMethodDescriptionToolUtils.getDuplicateToolNames(FunctionCallback... toolCallbacks) Method parameters in org.springframework.ai.tool.util with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionToolUtils.getDuplicateToolNames(List<FunctionCallback> toolCallbacks) -
Uses of FunctionCallback in org.springframework.ai.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini that return types with arguments of type FunctionCallbackModifier and TypeMethodDescriptionVertexAiGeminiChatOptions.getFunctionCallbacks()Deprecated.VertexAiGeminiChatOptions.getToolCallbacks()Method parameters in org.springframework.ai.vertexai.gemini with type arguments of type FunctionCallbackModifier and TypeMethodDescriptionVertexAiGeminiChatOptions.Builder.functionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidVertexAiGeminiChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) Deprecated.voidVertexAiGeminiChatOptions.setToolCallbacks(List<FunctionCallback> toolCallbacks) VertexAiGeminiChatOptions.Builder.toolCallbacks(List<FunctionCallback> toolCallbacks) VertexAiGeminiChatModel.Builder.toolFunctionCallbacks(List<FunctionCallback> toolFunctionCallbacks) Deprecated.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) Deprecated.VertexAiGeminiChatModel(com.google.cloud.vertexai.VertexAI vertexAI, VertexAiGeminiChatOptions options, FunctionCallbackResolver functionCallbackResolver, List<FunctionCallback> toolFunctionCallbacks, org.springframework.retry.support.RetryTemplate retryTemplate) Deprecated.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) Deprecated. -
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) voidZhiPuAiChatOptions.setFunctionCallbacks(List<FunctionCallback> functionCallbacks) 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.
AnthropicChatModel.Builder.