Interface MistralAiNodeParameters

Source
interface MistralAiNodeParameters {
    binaryProperty?: string;
    documentType?: "document_url" | "image_url";
    inputType?: "url" | "binary";
    model?: "mistral-ocr-latest";
    operation?: "extractText";
    options?: {
        batch?: boolean;
        batchSize: number;
        deleteFiles?: boolean;
    };
    resource?: "document";
    url?: string;
}

Properties§

Source§

readonly binaryProperty?: string

Name of the input binary field that contains the file to process Default: "data"

Source§

readonly documentType?: "document_url" | "image_url"

The type of document to process Default: "document_url"

Source§

readonly inputType?: "url" | "binary"

How the document will be provided Default: "binary"

Source§

readonly model?: "mistral-ocr-latest"

The OCR model to use Default: "mistral-ocr-latest"

Source§

readonly operation?: "extractText"

Default: "extractText"

Source§

readonly options?: {
    batch?: boolean;
    batchSize: number;
    deleteFiles?: boolean;
}

Default: {}

Source§

readonly resource?: "document"

Default: "document"

Source§

readonly url?: string

URL of the document or image to process