Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult

import type { GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";

Prediction output format for Text Extraction.

interface GoogleCloudAiplatformV1SchemaPredictPredictionTextExtractionPredictionResult {
confidences?: number[];
displayNames?: string[];
ids?: bigint[];
textSegmentEndOffsets?: bigint[];
textSegmentStartOffsets?: bigint[];
}

§Properties

§
confidences?: number[]
[src]

The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

§
displayNames?: string[]
[src]

The display names of the AnnotationSpecs that had been identified, order matches the IDs.

§
ids?: bigint[]
[src]

The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.

§
textSegmentEndOffsets?: bigint[]
[src]

The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

§
textSegmentStartOffsets?: bigint[]
[src]

The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.