SAP AI SDK for JavaScript - v2.8.0
    Preparing search index...

    Interface AzureContentSafetyFilterOutputParameters

    Output Parameters for Azure content safety output filter.

    interface AzureContentSafetyFilterOutputParameters {
        hate?:
            | "ALLOW_SAFE"
            | "ALLOW_SAFE_LOW"
            | "ALLOW_SAFE_LOW_MEDIUM"
            | "ALLOW_ALL";
        protected_material_code?: boolean;
        self_harm?: | "ALLOW_SAFE"
        | "ALLOW_SAFE_LOW"
        | "ALLOW_SAFE_LOW_MEDIUM"
        | "ALLOW_ALL";
        sexual?: | "ALLOW_SAFE"
        | "ALLOW_SAFE_LOW"
        | "ALLOW_SAFE_LOW_MEDIUM"
        | "ALLOW_ALL";
        violence?: | "ALLOW_SAFE"
        | "ALLOW_SAFE_LOW"
        | "ALLOW_SAFE_LOW_MEDIUM"
        | "ALLOW_ALL";
    }

    Hierarchy

    • AzureContentSafetyFilterBaseParameters
      • AzureContentSafetyFilterOutputParameters
    Index

    Properties

    hate?: "ALLOW_SAFE" | "ALLOW_SAFE_LOW" | "ALLOW_SAFE_LOW_MEDIUM" | "ALLOW_ALL"

    The filter category for hate content.

    protected_material_code?: boolean

    Detect protected code content from known GitHub repositories. The scan includes software libraries, source code, algorithms, and other proprietary programming content.

    self_harm?:
        | "ALLOW_SAFE"
        | "ALLOW_SAFE_LOW"
        | "ALLOW_SAFE_LOW_MEDIUM"
        | "ALLOW_ALL"

    The filter category for self-harm content.

    sexual?: "ALLOW_SAFE" | "ALLOW_SAFE_LOW" | "ALLOW_SAFE_LOW_MEDIUM" | "ALLOW_ALL"

    The filter category for sexual content.

    violence?:
        | "ALLOW_SAFE"
        | "ALLOW_SAFE_LOW"
        | "ALLOW_SAFE_LOW_MEDIUM"
        | "ALLOW_ALL"

    The filter category for violence content.

    Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.