Gemini Enterprise for Customer Experience V1BETA API - Module Google::Cloud::Ces::V1beta::Guardrail::LlmPolicy::PolicyScope (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API module Google::Cloud::Ces::V1beta::Guardrail::LlmPolicy::PolicyScope.

Defines when to apply the policy check during the conversation.

Constants

POLICY_SCOPE_UNSPECIFIED

value: 0
Policy scope is not specified.

USER_QUERY

value: 1
Policy check is triggered on user input.

AGENT_RESPONSE

value: 2
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

value: 3
Policy check is triggered on both user input and agent response. Applying this policy scope will introduce additional latency before the agent can respond.