Package org.springframework.ai.model.function
package org.springframework.ai.model.function
-
ClassDescriptionDefault implementation of the
FunctionCallback.Builder
.A SpringApplicationContextAware
implementation that provides a way to retrieve aFunction
from the Spring context and wrap it into aFunctionCallback
.Default implementation ofFunctionCallingOptions
.Default implementation ofFunctionCallingOptions.Builder
.Represents a model function call handler.Builder for creating aFunctionCallback
instance.FunctionCallback.CommonCallbackInvokingSpec<B extends FunctionCallback.CommonCallbackInvokingSpec<B>>Function
invoking builder interface.Method invoking builder interface.Describes the type of the schema used to describe the input parameters of the function.Strategy interface for resolvingFunctionCallback
instances.Deprecated.Deprecated.in favor ofDefaultFunctionCallbackBuilder
Helper class that reuses theAbstractToolCallSupport
to 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 for creatingFunctionCallingOptions
instance.Deprecated, for removal: This API element is subject to removal in a future version.UseFunctionCallingOptions.Builder
instead.Deprecated, for removal: This API element is subject to removal in a future version.useDefaultFunctionCallingOptions
instead.Note that the underlying function is responsible for converting the output into format that can be consumed by the Model.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.A utility class that provides methods for resolving types and classes related to functions.
FunctionCallbackWrapper.Builder