Uses of Interface
org.springframework.ai.model.function.FunctionCallback
Package
Description
-
Uses of FunctionCallback in org.springframework.ai.autoconfigure.azure.openai
Modifier and TypeMethodDescriptionAzureOpenAiAutoConfiguration.azureOpenAiChatClient
(com.azure.ai.openai.OpenAIClient openAIClient, AzureOpenAiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackContext functionCallbackContext) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.mistralai
Modifier and TypeMethodDescriptionMistralAiAutoConfiguration.mistralAiChatClient
(MistralAiCommonProperties commonProperties, MistralAiChatProperties chatProperties, org.springframework.web.client.RestClient.Builder restClientBuilder, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackContext functionCallbackContext, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.openai
Modifier and TypeMethodDescriptionOpenAiAutoConfiguration.openAiChatClient
(OpenAiConnectionProperties commonProperties, OpenAiChatProperties chatProperties, org.springframework.web.client.RestClient.Builder restClientBuilder, List<FunctionCallback> toolFunctionCallbacks, FunctionCallbackContext functionCallbackContext, org.springframework.retry.support.RetryTemplate retryTemplate, org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
Uses of FunctionCallback in org.springframework.ai.autoconfigure.vertexai.gemini
Modifier and TypeMethodDescriptionVertexAiGeminiAutoConfiguration.vertexAiGeminiChat
(com.google.cloud.vertexai.VertexAI vertexAi, VertexAiGeminiChatProperties chatProperties, List<FunctionCallback> toolFunctionCallbacks, org.springframework.context.ApplicationContext context) -
Uses of FunctionCallback in org.springframework.ai.azure.openai
Modifier and TypeMethodDescriptionvoid
AzureOpenAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) AzureOpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.mistralai
Modifier and TypeMethodDescriptionvoid
MistralAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) MistralAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.model.function
Modifier and TypeClassDescriptionclass
Note that the underlying function is responsible for converting the output into format that can be consumed by the Model.Modifier and TypeFieldDescriptionprotected final Map
<String, FunctionCallback> AbstractFunctionCallSupport.functionCallbackRegister
The function callback register is used to resolve the function callbacks by name.Modifier and TypeMethodDescriptionFunctionCallbackContext.getFunctionCallback
(String beanName, String defaultDescription) Modifier and TypeMethodDescriptionAbstractFunctionCallSupport.getFunctionCallbackRegister()
FunctionCallingOptions.getFunctionCallbacks()
Function Callbacks to be registered with the ChatClient.FunctionCallingOptionsBuilder.PortableFunctionCallingOptions.getFunctionCallbacks()
protected List
<FunctionCallback> AbstractFunctionCallSupport.resolveFunctionCallbacks
(Set<String> functionNames) Resolve the function callbacks by name.Modifier and TypeMethodDescriptionFunctionCallingOptionsBuilder.withFunctionCallback
(FunctionCallback functionCallback) Modifier and TypeMethodDescriptionvoid
FunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) Set the Function Callbacks to be registered with the ChatClient.void
FunctionCallingOptionsBuilder.PortableFunctionCallingOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) FunctionCallingOptionsBuilder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.openai
Modifier and TypeMethodDescriptionvoid
OpenAiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) OpenAiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) -
Uses of FunctionCallback in org.springframework.ai.vertexai.gemini
Modifier and TypeMethodDescriptionvoid
VertexAiGeminiChatOptions.setFunctionCallbacks
(List<FunctionCallback> functionCallbacks) VertexAiGeminiChatOptions.Builder.withFunctionCallbacks
(List<FunctionCallback> functionCallbacks)