mindee
    Preparing search index...

    Class ClassificationParameters

    Parameters accepted by the asynchronous inference v2 endpoint.

    All fields are optional except modelId.

    const params = {
    modelId: "YOUR_MODEL_ID",
    alias: "YOUR_ALIAS",
    webhookIds: ["YOUR_WEBHOOK_ID_1", "YOUR_WEBHOOK_ID_2"],
    pollingOptions: {
    initialDelaySec: 2,
    delaySec: 1.5,
    }
    };

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    alias?: string

    Use an alias to link the file to your own DB. If empty, no alias will be used.

    closeFile?: boolean

    By default, the file is closed once the upload is finished. Set to false to keep it open.

    modelId: string

    Model ID to use for the inference. Required.

    webhookIds?: string[]

    Webhook IDs to call after all processing is finished. If empty, no webhooks will be used.

    Methods