Class TrainingPhrase (1.1.2)

Represents an example that the agent is trained on.

Required. The type of the training phrase.

Optional. Indicates how many times this example was added to the intent. Each time a developer adds an existing sample by editing an intent or training, this counter is increased.


builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > TrainingPhrase



Represents a part of a training phrase.

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

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.