Documentation

ClassificationClassifier
in package
implements Stringable

Classification of document type from the source file.

Table of Contents

Interfaces

Stringable

Properties

$documentType  : string
$extractionResponse  : ExtractionResponse|null

Methods

__construct()  : mixed
__toString()  : string

Properties

$documentType

public string $documentType

The document type, as identified on given classification values.

Methods

__construct()

public __construct(array<string, int|float|string|bool|null|array<string|int, mixed>> $rawPrediction) : mixed
Parameters
$rawPrediction : array<string, int|float|string|bool|null|array<string|int, mixed>>

Raw prediction array.

On this page

Search results