Uses of Interface
org.springframework.ai.model.function.FunctionCallback.Builder
-
Uses of FunctionCallback.Builder in org.springframework.ai.model.function
Modifier and TypeMethodDescriptionstatic FunctionCallback.Builder
FunctionCallback.builder()
Creates a newFunctionCallback.Builder
instance used to build a defaultFunctionCallback
instance.DefaultFunctionCallbackBuilder.description
(String description) FunctionCallback.Builder.description
(String description) Function description.DefaultFunctionCallbackBuilder.inputTypeSchema
(String inputTypeSchema) FunctionCallback.Builder.inputTypeSchema
(String inputTypeSchema) You can provide the Input Type Schema directly.DefaultFunctionCallbackBuilder.objectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) FunctionCallback.Builder.objectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Custom object mapper for JSON operations.DefaultFunctionCallbackBuilder.responseConverter
(Function<Object, String> responseConverter) FunctionCallback.Builder.responseConverter
(Function<Object, String> responseConverter) Function response converter.DefaultFunctionCallbackBuilder.schemaType
(FunctionCallbackContext.SchemaType schemaType) FunctionCallback.Builder.schemaType
(FunctionCallbackContext.SchemaType schemaType) Specifies whatFunctionCallbackContext.SchemaType
is used by the AI model to validate the function input arguments.