Class FunctionCallbackWrapper.Builder<I,O>
java.lang.Object
org.springframework.ai.model.function.FunctionCallbackWrapper.Builder<I,O>
- Enclosing class:
FunctionCallbackWrapper<I,
O>
-
Nested Class Summary
-
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)
-
Constructor Details
-
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(FunctionCallbackWrapper.Builder.SchemaType schemaType) -
build
-