Class FunctionCallbackWrapper.Builder<I,O>
java.lang.Object
org.springframework.ai.model.function.FunctionCallbackWrapper.Builder<I,O>
- Type Parameters:
I
- the input typeO
- the output type
- Enclosing class:
- FunctionCallbackWrapper<I,
O>
Deprecated.
Builder for
FunctionCallbackWrapper
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.withDescription
(String description) Deprecated.withInputType
(Class<?> inputType) Deprecated.withInputTypeSchema
(String inputTypeSchema) Deprecated.Deprecated.withObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated.withResponseConverter
(Function<O, String> responseConverter) Deprecated.withSchemaType
(FunctionCallback.SchemaType schemaType) Deprecated.
-
Method Details
-
withName
Deprecated. -
withDescription
Deprecated. -
withInputType
Deprecated. -
withResponseConverter
public FunctionCallbackWrapper.Builder<I,O> withResponseConverter(Function<O, String> responseConverter) Deprecated. -
withInputTypeSchema
Deprecated. -
withObjectMapper
public FunctionCallbackWrapper.Builder<I,O> withObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Deprecated. -
withSchemaType
Deprecated. -
build
Deprecated.
-
DefaultFunctionCallbackBuilder