Package dev.langchain4j.guardrails
package dev.langchain4j.guardrails
-
ClassesClassDescriptionAn
OutputGuardrailthat will check whether or not a response can be successfully deserialized to an object of typeTfrom JSONAnInputGuardrailthat validates user messages using aModerationModelto detect potentially harmful, inappropriate, or policy-violating content.