Databricks SDK for JavaScript
    Preparing search index...
    interface AiExtractRequest {
        content?: JsonValue;
        options?: AiExtractOptions;
        schema?: JsonValue;
    }
    Index

    Properties

    content?: JsonValue

    The text to extract from. It accepts a plain string or the response object of ai_parse_document.

    Function options. Omitted fields fall back to their documented defaults.

    schema?: JsonValue

    The extraction schema defining the fields to extract. Either a JSON array of field names, assumed to be strings (e.g. ["company", "valuation"]), or a JSON object mapping each field to its type/description/nullability (e.g. {"company": {"type": "string", "description": "the company name"}}). Accepts up to 256 fields, 12 levels of nesting, and 500 enum values. Supported field types are string, integer, number, boolean, and enum.