Uses of Interface
dev.langchain4j.guardrail.OutputGuardrail
Packages that use OutputGuardrail
Package
Description
-
Uses of OutputGuardrail in dev.langchain4j.agentic.agent
Methods in dev.langchain4j.agentic.agent with type parameters of type OutputGuardrailModifier and TypeMethodDescription<O extends OutputGuardrail>
AgentBuilder<T> AgentBuilder.outputGuardrailClasses(Class<? extends O>... outputGuardrailClasses) <O extends OutputGuardrail>
AgentBuilder<T> AgentBuilder.outputGuardrails(O... outputGuardrails) Methods in dev.langchain4j.agentic.agent with parameters of type OutputGuardrailModifier and TypeMethodDescription<O extends OutputGuardrail>
AgentBuilder<T> AgentBuilder.outputGuardrails(O... outputGuardrails) -
Uses of OutputGuardrail in dev.langchain4j.guardrail
Classes in dev.langchain4j.guardrail that implement OutputGuardrailModifier and TypeClassDescriptionclassAnOutputGuardrailthat will check whether or not a response can be successfully deserialized to an object of typeTfrom JSONSubclasses with type arguments of type OutputGuardrail in dev.langchain4j.guardrailModifier and TypeClassDescriptionclassTheGuardrailExecutorforOutputGuardrails.static classBuilder class for constructing instances ofOutputGuardrailExecutor.Constructor parameters in dev.langchain4j.guardrail with type arguments of type OutputGuardrailModifierConstructorDescriptionprotectedOutputGuardrailExecutor(OutputGuardrailsConfig config, List<OutputGuardrail> guardrails) -
Uses of OutputGuardrail in dev.langchain4j.observability.api.event
Subclasses with type arguments of type OutputGuardrail in dev.langchain4j.observability.api.eventModifier and TypeClassDescriptionstatic classBuilder forOutputGuardrailExecutedEventinstances.Subinterfaces with type arguments of type OutputGuardrail in dev.langchain4j.observability.api.eventModifier and TypeInterfaceDescriptioninterfaceRepresents an event executed during the output guardrail validation process. -
Uses of OutputGuardrail in dev.langchain4j.observability.api.listener
Subinterfaces with type arguments of type OutputGuardrail in dev.langchain4j.observability.api.listenerModifier and TypeInterfaceDescriptioninterfaceAn event listener specifically designed to handleOutputGuardrailExecutedEvent. -
Uses of OutputGuardrail in dev.langchain4j.observability.event
Subclasses with type arguments of type OutputGuardrail in dev.langchain4j.observability.event -
Uses of OutputGuardrail in dev.langchain4j.service
Methods in dev.langchain4j.service with type parameters of type OutputGuardrailModifier and TypeMethodDescription<O extends OutputGuardrail>
AiServices<T> AiServices.outputGuardrailClasses(Class<? extends O>... guardrailClasses) Sets the output guardrail classes to be used in the guardrail service.<O extends OutputGuardrail>
AiServices<T> AiServices.outputGuardrailClasses(List<Class<? extends O>> guardrailClasses) Configures the output guardrail classes for the AI services.<O extends OutputGuardrail>
AiServices<T> AiServices.outputGuardrails(List<O> guardrails) Configures the output guardrails for the AI service.<O extends OutputGuardrail>
AiServices<T> AiServices.outputGuardrails(O... guardrails) Configures output guardrails for the AI services.Methods in dev.langchain4j.service with parameters of type OutputGuardrailModifier and TypeMethodDescription<O extends OutputGuardrail>
AiServices<T> AiServices.outputGuardrails(O... guardrails) Configures output guardrails for the AI services. -
Uses of OutputGuardrail in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail with type parameters of type OutputGuardrailModifier and TypeMethodDescriptiondefault <O extends OutputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.outputGuardrailClasses(Class<? extends O>... guardrailClasses) Configures the classes of output guardrails for the Builder.<O extends OutputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.outputGuardrailClasses(List<Class<? extends O>> guardrailClasses) Configures the classes of output guardrails for the Builder.<O extends OutputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.outputGuardrails(List<O> guardrails) Sets the output guardrails for the Builder.default <O extends OutputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.outputGuardrails(O... guardrails) Configures the output guardrails for the Builder.Methods in dev.langchain4j.service.guardrail with parameters of type OutputGuardrailModifier and TypeMethodDescriptiondefault <O extends OutputGuardrail>
GuardrailService.BuilderGuardrailService.Builder.outputGuardrails(O... guardrails) Configures the output guardrails for the Builder. -
Uses of OutputGuardrail in dev.langchain4j.spi.guardrail
Subinterfaces with type arguments of type OutputGuardrail in dev.langchain4j.spi.guardrailModifier and TypeInterfaceDescriptioninterfaceRepresents a factory for creating instances ofOutputGuardrailExecutor.OutputGuardrailExecutorBuilder.