Uses of Record Class
io.quarkiverse.langchain4j.guardrails.OutputGuardrailParams
Packages that use OutputGuardrailParams
Package
Description
-
Uses of OutputGuardrailParams in io.quarkiverse.langchain4j.audit
Subinterfaces with type arguments of type OutputGuardrailParams in io.quarkiverse.langchain4j.audit -
Uses of OutputGuardrailParams in io.quarkiverse.langchain4j.audit.internal
Methods in io.quarkiverse.langchain4j.audit.internal that return OutputGuardrailParamsModifier and TypeMethodDescriptionDefaultOutputGuardrailExecutedEvent.params()Returns the value of theparamsrecord component.Constructors in io.quarkiverse.langchain4j.audit.internal with parameters of type OutputGuardrailParamsModifierConstructorDescriptionDefaultOutputGuardrailExecutedEvent(AuditSourceInfo sourceInfo, OutputGuardrailParams params, OutputGuardrailResult result, Class<OutputGuardrail> guardrailClass) Creates an instance of aDefaultOutputGuardrailExecutedEventrecord class. -
Uses of OutputGuardrailParams in io.quarkiverse.langchain4j.guardrails
Subinterfaces with type arguments of type OutputGuardrailParams in io.quarkiverse.langchain4j.guardrailsModifier and TypeInterfaceDescriptioninterfaceAn 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.Methods in io.quarkiverse.langchain4j.guardrails that return OutputGuardrailParamsModifier and TypeMethodDescriptionstatic OutputGuardrailParamsOutputGuardrailParams.from(dev.langchain4j.data.message.AiMessage responseFromLLM) static OutputGuardrailParamsOutputGuardrailParams.from(dev.langchain4j.data.message.AiMessage responseFromLLM, Map<String, Object> variables) Methods in io.quarkiverse.langchain4j.guardrails with parameters of type OutputGuardrailParamsModifier and TypeMethodDescriptiondefault OutputGuardrailResultOutputGuardrail.validate(OutputGuardrailParams params) Validates the response from the LLM. -
Uses of OutputGuardrailParams in io.quarkiverse.langchain4j.runtime.aiservice
Methods in io.quarkiverse.langchain4j.runtime.aiservice with parameters of type OutputGuardrailParamsModifier and TypeMethodDescriptionGuardrailsSupport.invokeOutputGuardrails(AiServiceMethodCreateInfo methodCreateInfo, dev.langchain4j.memory.ChatMemory chatMemory, dev.langchain4j.model.chat.ChatModel chatModel, dev.langchain4j.model.chat.response.ChatResponse response, List<dev.langchain4j.agent.tool.ToolSpecification> toolSpecifications, OutputGuardrailParams output, jakarta.enterprise.inject.spi.BeanManager beanManager, AuditSourceInfo auditSourceInfo) static OutputGuardrailResultGuardrailsSupport.invokeOutputGuardrailsForStream(AiServiceMethodCreateInfo methodCreateInfo, OutputGuardrailParams outputGuardrailParams, jakarta.enterprise.inject.spi.BeanManager beanManager, AuditSourceInfo auditSourceInfo)