mindee
    Preparing search index...

    Interface OptionalAsyncOptions

    Asynchronous polling parameters.

    interface OptionalAsyncOptions {
        allWords?: boolean;
        cropper?: boolean;
        delaySec?: number;
        endpoint?: Endpoint;
        fullText?: boolean;
        initialDelaySec?: number;
        initialTimerOptions?: { ref?: boolean; signal?: AbortSignal };
        maxRetries?: number;
        pageOptions?: PageOptions;
        rag?: boolean;
        recurringTimerOptions?: { ref?: boolean; signal?: AbortSignal };
        workflowId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    allWords?: boolean

    Whether to include the full text for each page.

    This performs a full OCR operation on the server and will increase response time.

    cropper?: boolean

    Whether to include cropper results for each page.

    delaySec?: number
    endpoint?: Endpoint

    A custom endpoint.

    fullText?: boolean

    Whether to include the full ocr text. Only available on compatible APIs.

    initialDelaySec?: number
    initialTimerOptions?: { ref?: boolean; signal?: AbortSignal }
    maxRetries?: number
    pageOptions?: PageOptions

    If set, remove pages from the document as specified. This is done before sending the file to the server and is useful to avoid page limitations.

    rag?: boolean

    If set, will enable Retrieval-Augmented Generation (only works if a valid workflowId is set).

    recurringTimerOptions?: { ref?: boolean; signal?: AbortSignal }
    workflowId?: string

    The ID of the workflow.