Package dev.langchain4j.service.guardrail
@Experimental
package dev.langchain4j.service.guardrail
-
ClassDescriptionResponsible for managing and applying input and output guardrails to methods of a specified AI service class.Defines a service for executing guardrails associated with methods in an AI service.An annotation to apply input guardrails to the input of the model using the declarative
AiServices
approach.An annotation to apply guardrails to the output of the model using the declarativeAiServices
approach.