Uses of Package
io.quarkiverse.langchain4j.guardrails
Packages that use io.quarkiverse.langchain4j.guardrails
Package
Description
-
Classes in io.quarkiverse.langchain4j.guardrails used by io.quarkiverse.langchain4j.auditClassDescriptionA guardrail is a rule that is applied when interacting with an LLM either to the input (the user message) or to the output of the model to ensure that they are safe and meet the expectations of the model.Represents the parameter passed to
Guardrail.validate(GuardrailParams)
} in order to validate an interaction between a user and the LLM.The result of the validation of an interaction between a user and the LLM.An input guardrail is a rule that is applied to the input of the model to ensure that the input (the user message) is safe and meets the expectations of the model.Represents the parameter passed toInputGuardrail.validate(InputGuardrailParams)
.The result of the validation of anInputGuardrail
An output guardrail is a rule that is applied to the output of the model to ensure that the output is safe and meets the expectations.Represents the parameter passed toOutputGuardrail.validate(OutputGuardrailParams)
.The result of the validation of anOutputGuardrail
-
Classes in io.quarkiverse.langchain4j.guardrails used by io.quarkiverse.langchain4j.audit.internalClassDescriptionAn input guardrail is a rule that is applied to the input of the model to ensure that the input (the user message) is safe and meets the expectations of the model.Represents the parameter passed to
InputGuardrail.validate(InputGuardrailParams)
.The result of the validation of anInputGuardrail
An output guardrail is a rule that is applied to the output of the model to ensure that the output is safe and meets the expectations.Represents the parameter passed toOutputGuardrail.validate(OutputGuardrailParams)
.The result of the validation of anOutputGuardrail
-
Classes in io.quarkiverse.langchain4j.guardrails used by io.quarkiverse.langchain4j.guardrailsClassDescriptionA guardrail is a rule that is applied when interacting with an LLM either to the input (the user message) or to the output of the model to ensure that they are safe and meet the expectations of the model.Represents the parameter passed to
Guardrail.validate(GuardrailParams)
} in order to validate an interaction between a user and the LLM.The result of the validation of an interaction between a user and the LLM.The message and the cause of the failure of a single validation.The possible results of a guardrails validation.Represents the parameter passed toInputGuardrail.validate(InputGuardrailParams)
.The result of the validation of anInputGuardrail
An output guardrail is a rule that is applied to the output of the model to ensure that the output is safe and meets the expectations.Represents the parameter passed toOutputGuardrail.validate(OutputGuardrailParams)
.The result of the validation of anOutputGuardrail
-
Classes in io.quarkiverse.langchain4j.guardrails used by io.quarkiverse.langchain4j.runtime.aiserviceClassDescriptionAn input guardrail is a rule that is applied to the input of the model to ensure that the input (the user message) is safe and meets the expectations of the model.An output guardrail is a rule that is applied to the output of the model to ensure that the output is safe and meets the expectations.Represents the parameter passed to
OutputGuardrail.validate(OutputGuardrailParams)
.The result of the validation of anOutputGuardrail
Interface to accumulate tokens when output guardrails are applied on streamed responses.