Uses of Interface
org.springframework.ai.model.function.FunctionCallback.Builder
Packages that use FunctionCallback.Builder
-
Uses of FunctionCallback.Builder in org.springframework.ai.model.function
Classes in org.springframework.ai.model.function that implement FunctionCallback.BuilderMethods in org.springframework.ai.model.function that return FunctionCallback.BuilderModifier and TypeMethodDescriptionstatic FunctionCallback.BuilderFunctionCallback.builder()Creates a newFunctionCallback.Builderinstance used to build a defaultFunctionCallbackinstance.DefaultFunctionCallbackBuilder.description(String description) FunctionCallback.Builder.description(String description) Function description.DefaultFunctionCallbackBuilder.inputTypeSchema(String inputTypeSchema) FunctionCallback.Builder.inputTypeSchema(String inputTypeSchema) You can provide the Input Type Schema directly.DefaultFunctionCallbackBuilder.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) FunctionCallback.Builder.objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Custom object mapper for JSON operations.DefaultFunctionCallbackBuilder.responseConverter(Function<Object, String> responseConverter) FunctionCallback.Builder.responseConverter(Function<Object, String> responseConverter) Function response converter.DefaultFunctionCallbackBuilder.schemaType(FunctionCallbackContext.SchemaType schemaType) FunctionCallback.Builder.schemaType(FunctionCallbackContext.SchemaType schemaType) Specifies whatFunctionCallbackContext.SchemaTypeis used by the AI model to validate the function input arguments.