Uses of Class
org.bsc.spring.agentexecutor.function.AgentFunctionCallbackWrapper.Builder
-
Uses of AgentFunctionCallbackWrapper.Builder in org.bsc.spring.agentexecutor.function
Modifier and TypeMethodDescriptionstatic <I,
O> AgentFunctionCallbackWrapper.Builder<I, O> AgentFunctionCallbackWrapper.builder
(BiFunction<I, org.springframework.ai.chat.model.ToolContext, O> biFunction) Creates a builder for an agent function callback.static <I,
O> AgentFunctionCallbackWrapper.Builder<I, O> Creates a builder for anAgentFunctionCallbackWrapper
.AgentFunctionCallbackWrapper.Builder.withDescription
(String description) Sets the description for the builder.AgentFunctionCallbackWrapper.Builder.withInputType
(Class<I> inputType) Sets the input type for this builder.AgentFunctionCallbackWrapper.Builder.withInputTypeSchema
(String inputTypeSchema) Sets the input type schema for the builder.Sets the name for the current builder.AgentFunctionCallbackWrapper.Builder.withObjectMapper
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the objectMapper for the builder.AgentFunctionCallbackWrapper.Builder.withResponseConverter
(Function<O, String> responseConverter) Sets the response converter for the builder.AgentFunctionCallbackWrapper.Builder.withSchemaType
(org.springframework.ai.model.function.FunctionCallbackContext.SchemaType schemaType) Sets the schema type for the builder.