SAP AI SDK for JavaScript - v2.13.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
    prompt_shield?: boolean

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

    self_harm?: AzureThreshold
    violence?: AzureThreshold