Interface FunctionCallback.FunctionInvokingSpec<I,O>
- Type Parameters:
I
- Function input type.O
- Function output type.
- All Superinterfaces:
FunctionCallback.CommonCallbackInvokingSpec<FunctionCallback.FunctionInvokingSpec<I,
O>>
- Enclosing interface:
- FunctionCallback
public static interface FunctionCallback.FunctionInvokingSpec<I,O>
extends FunctionCallback.CommonCallbackInvokingSpec<FunctionCallback.FunctionInvokingSpec<I,O>>
Function
invoking builder interface.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theFunctionCallback
instance.Function input type.inputType
(org.springframework.core.ParameterizedTypeReference<?> inputType) Function input type retaining generic types.Methods inherited from interface org.springframework.ai.model.function.FunctionCallback.CommonCallbackInvokingSpec
description, inputTypeSchema, objectMapper, responseConverter, schemaType
-
Method Details
-
inputType
Function input type. The input type is used to validate the function input arguments.- See Also:
-
inputType
FunctionCallback.FunctionInvokingSpec<I,O> inputType(org.springframework.core.ParameterizedTypeReference<?> inputType) Function input type retaining generic types. The input type is used to validate the function input arguments. -
build
FunctionCallback build()Builds theFunctionCallback
instance.
-