Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::EntityType (v1.0.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::EntityType.

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.

Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent.

For more information, see the Entity guide.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#auto_expansion_mode

def auto_expansion_mode() -> ::Google::Cloud::Dialogflow::V2::EntityType::AutoExpansionMode
Returns

#auto_expansion_mode=

def auto_expansion_mode=(value) -> ::Google::Cloud::Dialogflow::V2::EntityType::AutoExpansionMode
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The name of the entity type.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the entity type.
Returns
  • (::String) — Required. The name of the entity type.

#enable_fuzzy_extraction

def enable_fuzzy_extraction() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables fuzzy entity extraction during classification.

#enable_fuzzy_extraction=

def enable_fuzzy_extraction=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables fuzzy entity extraction during classification.
Returns
  • (::Boolean) — Optional. Enables fuzzy entity extraction during classification.

#entities

def entities() -> ::Array<::Google::Cloud::Dialogflow::V2::EntityType::Entity>
Returns

#entities=

def entities=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::EntityType::Entity>
Parameter
Returns

#kind

def kind() -> ::Google::Cloud::Dialogflow::V2::EntityType::Kind
Returns

#kind=

def kind=(value) -> ::Google::Cloud::Dialogflow::V2::EntityType::Kind
Parameter
Returns

#name

def name() -> ::String
Returns

#name=

def name=(value) -> ::String
Parameter
Returns