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

GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance

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

Prediction input format for Text Extraction.

interface GoogleCloudAiplatformV1SchemaPredictInstanceTextExtractionPredictionInstance {
content?: string;
key?: string;
mimeType?: string;
}

§Properties

§
content?: string
[src]

The text snippet to make the predictions on.

§
key?: string
[src]

This field is only used for batch prediction. If a key is provided, the batch prediction result will by mapped to this key. If omitted, then the batch prediction result will contain the entire input instance. Vertex AI will not check if keys in the request are duplicates, so it is up to the caller to ensure the keys are unique.

§
mimeType?: string
[src]

The MIME type of the text snippet. The supported MIME types are listed below. - text/plain