@@ -32,34 +32,7 @@ option java_outer_classname = "EntityTypeProto";
3232option java_package = "com.google.cloud.dialogflow.v2" ;
3333option objc_class_prefix = "DF" ;
3434
35- // Entities are extracted from user input and represent parameters that are
36- // meaningful to your application. For example, a date range, a proper name
37- // such as a geographic location or landmark, and so on. Entities represent
38- // actionable data for your application.
39- //
40- // When you define an entity, you can also include synonyms that all map to
41- // that entity. For example, "soft drink", "soda", "pop", and so on.
42- //
43- // There are three types of entities:
44- //
45- // * **System** - entities that are defined by the Dialogflow API for common
46- // data types such as date, time, currency, and so on. A system entity is
47- // represented by the `EntityType` type.
48- //
49- // * **Custom** - entities that are defined by you that represent
50- // actionable data that is meaningful to your application. For example,
51- // you could define a `pizza.sauce` entity for red or white pizza sauce,
52- // a `pizza.cheese` entity for the different types of cheese on a pizza,
53- // a `pizza.topping` entity for different toppings, and so on. A custom
54- // entity is represented by the `EntityType` type.
55- //
56- // * **User** - entities that are built for an individual user such as
57- // favorites, preferences, playlists, and so on. A user entity is
58- // represented by the [SessionEntityType][google.cloud.dialogflow.v2.SessionEntityType] type.
59- //
60- // For more information about entity types, see the
61- // [Dialogflow
62- // documentation](https://cloud.google.com/dialogflow/docs/entities-overview).
35+ // Service for managing [EntityTypes][google.cloud.dialogflow.v2.EntityType].
6336service EntityTypes {
6437 option (google.api.default_host ) = "dialogflow.googleapis.com" ;
6538 option (google.api.oauth_scopes ) =
@@ -194,9 +167,18 @@ service EntityTypes {
194167 }
195168}
196169
197- // Represents an entity type.
198- // Entity types serve as a tool for extracting parameter values from natural
199- // language queries.
170+ // Each intent parameter has a type, called the entity type, which dictates
171+ // exactly how data from an end-user expression is extracted.
172+ //
173+ // Dialogflow provides predefined system entities that can match many common
174+ // types of data. For example, there are system entities for matching dates,
175+ // times, colors, email addresses, and so on. You can also create your own
176+ // custom entities for matching custom data. For example, you could define a
177+ // vegetable entity that can match the types of vegetables available for
178+ // purchase with a grocery store agent.
179+ //
180+ // For more information, see the
181+ // [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
200182message EntityType {
201183 option (google.api.resource ) = {
202184 type : "dialogflow.googleapis.com/EntityType"
0 commit comments