# Class PolicyScope (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    PolicyScope(value)

Defines when to apply the policy check during the
conversation.

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `POLICY_SCOPE_UNSPECIFIED` | Policy scope is not specified. |
| `USER_QUERY` | Policy check is triggered on user input. |
| `AGENT_RESPONSE` | Policy check is triggered on agent response. Applying this policy scope will introduce additional latency before the agent can respond. |
| `USER_QUERY_AND_AGENT_RESPONSE` | Policy check is triggered on both user input and agent response. Applying this policy scope will introduce additional latency before the agent can respond. |