Class: Google::Cloud::Dialogflow::V2::Intent::TrainingPhrase::Part

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb

Overview

Represents a part of a training phrase.

Instance Attribute Summary collapse

Instance Attribute Details

#aliasString

Returns Optional. The parameter name for the value extracted from the annotated part of the example.

Returns:

  • (String)

    Optional. The parameter name for the value extracted from the annotated part of the example.



150
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 150

class Part; end

#entity_typeString

Returns Optional. The entity type name prefixed with +@+. This field is required for the annotated part of the text and applies only to examples.

Returns:

  • (String)

    Optional. The entity type name prefixed with +@+. This field is required for the annotated part of the text and applies only to examples.



150
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 150

class Part; end

#textString

Returns Required. The text corresponding to the example or template, if there are no annotations. For annotated examples, it is the text for one of the example's parts.

Returns:

  • (String)

    Required. The text corresponding to the example or template, if there are no annotations. For annotated examples, it is the text for one of the example's parts.



150
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 150

class Part; end

#user_definedtrue, false

Returns Optional. Indicates whether the text was manually annotated by the developer.

Returns:

  • (true, false)

    Optional. Indicates whether the text was manually annotated by the developer.



150
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 150

class Part; end