Databricks SDK for JavaScript
    Preparing search index...
    interface AiGuardrailParameters {
        invalidKeywords?: string[];
        pii?: PiiSettings;
        safety?: boolean;
        validTopics?: string[];
    }
    Index

    Properties

    invalidKeywords?: string[]

    List of invalid keywords. AI guardrail uses keyword or string matching to decide if the keyword exists in the request or response content.

    Configuration for guardrail PII filter.

    safety?: boolean

    Indicates whether the safety filter is enabled.

    validTopics?: string[]

    The list of allowed topics. Given a chat request, this guardrail flags the request if its topic is not in the allowed topics.