PDFClassifierInput Class

Definition

Document Classifier

public class PDFClassifierInput
type PDFClassifierInput = class
Public Class PDFClassifierInput
Inheritance
PDFClassifierInput

Constructors

Name Description
PDFClassifierInput()

Properties

Name Description
Async

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

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

Expiration

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

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

Password

Password of the PDF file

Profiles

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

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

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

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

Applies to