Parameters for the textClassification operation.

interface TextClassificationParams {
    custom?: WatsonXAI.JsonObject;
    documentReference: TextClassificationDataReference;
    headers?: OutgoingHttpHeaders;
    parameters: TextClassificationParameters;
    projectId?: string;
    signal?: AbortSignal;
    spaceId?: string;
}

Hierarchy (view full)

Properties

User defined properties specified as key-value pairs.

A reference to data.

headers?: OutgoingHttpHeaders

The parameters for the text extraction.

projectId?: string

The project that contains the resource. Either space_id or project_id has to be given.

signal?: AbortSignal
spaceId?: string

The space that contains the resource. Either space_id or project_id has to be given.