Interface GuardrailParams
- All Known Implementing Classes:
InputGuardrail.InputGuardrailParams
,OutputGuardrail.OutputGuardrailParams
public interface GuardrailParams
Represents the parameter passed to
Guardrail.validate(GuardrailParams)
} in order to validate an interaction between a
user and the LLM.-
Method Summary
Modifier and TypeMethodDescriptiondev.langchain4j.rag.AugmentationResult
dev.langchain4j.memory.ChatMemory
memory()
-
Method Details
-
memory
dev.langchain4j.memory.ChatMemory memory()- Returns:
- the memory, can be
null
or empty
-
augmentationResult
dev.langchain4j.rag.AugmentationResult augmentationResult()- Returns:
- the augmentation result, can be
null
-