Azure Connectors Node.js SDK
    Preparing search index...

    Interface PdfClassifierInput

    Document Classifier

    interface PdfClassifierInput {
        async?: boolean;
        caseSensitive?: boolean;
        expiration?: number;
        inline?: boolean;
        password?: string;
        profiles?: string;
        rulescsv?: string;
        rulescsvurl?: string;
        url: string;
    }
    Index
    async?: boolean

    Set async to true for long processes to run in the background, API will then return a jobId which you can use with JobCheck endpoint to check the status of the process and retrieve the output while you can proceed with other tasks without waiting for this process to finish.

    caseSensitive?: boolean

    Defines if keywords in rules are case-sensitive or not.

    expiration?: number

    Set the expiration time for the output link in minutes (default is 60 i.e 60 minutes or 1 hour), After this specified duration, any generated output file(s) will be automatically deleted from PDF.co temporary files storage. The maximum duration for link expiration varies based on your current subscription plan.

    inline?: boolean

    Set to true to return results inside the response. Otherwise, the endpoint will return a link to the output file generated.

    password?: string

    Password of the PDF file

    profiles?: string

    Use this parameter to set additional configurations for fine-tuning and extra options. Explore PDF.co knowledgebase (https://developer.pdf.co/api/profiles/index.html) for profile examples.

    rulescsv?: string

    Define custom classification rules in CSV format. Rules are in CSV format where each row contains: "class name, logic (AND or OR (default)), and keywords" separated by a comma. Each row is separated by the \n symbol.

    rulescsvurl?: string

    Instead of inline CSV you can use this parameter and set the URL to a CSV file with classification rules. This is useful if you have a separate developer working on CSV rules.

    url: string

    URL to the source file. Supports links from Google Drive, Dropbox, and PDF.co built-in files storage.