llmPolicy property

GuardrailLlmPolicy? llmPolicy
getter/setter pair

Guardrail that blocks the conversation if the LLM response is considered violating the policy based on the LLM classification.

Optional.

Implementation

GuardrailLlmPolicy? llmPolicy;