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

GoogleCloudDialogflowV2IntentTrainingPhrasePart

import type { GoogleCloudDialogflowV2IntentTrainingPhrasePart } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

Represents a part of a training phrase.

interface GoogleCloudDialogflowV2IntentTrainingPhrasePart {
alias?: string;
entityType?: string;
text?: string;
userDefined?: boolean;
}

§Properties

§
alias?: string
[src]

Optional. The parameter name for the value extracted from the annotated part of the example. This field is required for annotated parts of the training phrase.

§
entityType?: string
[src]

Optional. The entity type name prefixed with @. This field is required for annotated parts of the training phrase.

§
text?: string
[src]

Required. The text for this part.

§
userDefined?: boolean
[src]

Optional. Indicates whether the text was manually annotated. This field is set to true when the Dialogflow Console is used to manually annotate the part. When creating an annotated part with the API, you must set this to true.