mindee
Version:
Mindee Client Library for Node.js
20 lines (19 loc) • 530 B
TypeScript
import { StringDict } from "../common";
export declare class ClassificationField {
/** The value for the classification. */
value: string;
/**
* The confidence score of the prediction.
* Note: Score is calculated on **word selection**, not its textual content (OCR).
*/
confidence: number;
pageId?: number;
constructor({ prediction, pageId, }: {
prediction: StringDict;
pageId?: number;
});
/**
* Default string representation.
*/
toString(): string;
}