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