Package org.springframework.ai.model.function
package org.springframework.ai.model.function
-
ClassDescriptionDefault implementation of the
FunctionCallback.Builder.Represents a model function call handler.Builder for creating aFunctionCallbackinstance.Functioninvoking builder interface.Method invoking builder interface.A SpringApplicationContextAwareimplementation that provides a way to retrieve aFunctionfrom the Spring context and wrap it into aFunctionCallback.Deprecated.Deprecated.in favor ofDefaultFunctionCallbackBuilderHelper class that reuses theAbstractToolCallSupportto implement the function call handling logic on the client side.Helper used to provide only the function definition, without the actual function call implementation.FunctionCallingOptions is a set of options that can be used to configure the function calling behavior of the ChatModel.Builder forFunctionCallingOptions.Note that the underlying function is responsible for converting the output into format that can be consumed by the Model.AFunctionCallbackthat 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 forToolContextparameters Automatically infers the input parameters JSON schema from method's argument types.A utility class that provides methods for resolving types and classes related to functions.
FunctionCallbackWrapper.Builder