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