Parameters for the textExtraction operation.

interface TextExtractionParams {
    assemblyJson?: WatsonXAI.JsonObject;
    assemblyMd?: WatsonXAI.JsonObject;
    custom?: WatsonXAI.JsonObject;
    documentReference: WatsonXAI.TextExtractionDataReference;
    headers?: OutgoingHttpHeaders;
    projectId?: string;
    resultsReference: WatsonXAI.TextExtractionDataReference;
    signal?: AbortSignal;
    spaceId?: string;
    steps?: WatsonXAI.TextExtractionSteps;
}

Hierarchy

  • DefaultParams
    • TextExtractionParams

Properties

assemblyJson?: WatsonXAI.JsonObject

Set this as an empty object to specify json output.

Note that this is not strictly required because if an assembly_md object is not found then the default will be json.

assemblyMd?: WatsonXAI.JsonObject

Set this as an empty object to specify markdown output.

User defined properties specified as key-value pairs.

A reference to data.

headers?: OutgoingHttpHeaders
projectId?: string

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

A reference to data.

signal?: AbortSignal
spaceId?: string

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

The steps for the text extraction pipeline.