Reference documentation and code samples for the Discovery Engine V1 API module Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::ViolationSource.
If the assist call was skipped due to a policy violation, this contains the source of the violation.
Constants
VIOLATION_SOURCE_UNSPECIFIED
value: 0
Unknown value.
SYSTEM
value: 1
Violation found in the system response.
PROMPT
value: 2
Violation found in the user prompt.
ATTACHMENT
value: 3
Violation found in the user attachment.