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

    Type Alias AzureContentSafetyInput

    Filter configuration for Azure Content Safety

    type AzureContentSafetyInput = {
        hate?: AzureThreshold;
        prompt_shield?: boolean;
        self_harm?: AzureThreshold;
        sexual?: AzureThreshold;
        violence?: AzureThreshold;
    }
    Index

    Properties

    prompt_shield?: boolean

    Filter prompts for harmful content such as jailbreaks and prompt injections.

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

    self_harm?: AzureThreshold
    violence?: AzureThreshold