Databricks SDK for JavaScript
    Preparing search index...

    ai_classify

    interface AiClassifyOptions {
        enableConfidenceScores?: boolean;
        enableRationales?: boolean;
        instructions?: string;
        multilabel?: boolean;
        version?: string;
    }
    Index

    Properties

    enableConfidenceScores?: boolean

    When true, includes a per-label confidence score in the response.

    enableRationales?: boolean

    When true, includes a rationale explaining each classification in the response.

    instructions?: string

    Natural-language guidance that steers how the text is classified (up to 20,000 characters).

    multilabel?: boolean

    When true, allows more than one label to be returned per input.

    version?: string

    The function version to invoke. Defaults to the latest version. Supported versions: ["2.1"].