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 aFunctionCallback
instance.Function
invoking builder interface.Method invoking builder interface.A SpringApplicationContextAware
implementation that provides a way to retrieve aFunction
from the Spring context and wrap it into aFunctionCallback
.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 forFunctionCallingOptions
.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