diff --git a/services/cognitiveservices/v2.0/luis/authoring/models.go b/services/cognitiveservices/v2.0/luis/authoring/models.go index ba0a77fc7665..71033efdaf71 100644 --- a/services/cognitiveservices/v2.0/luis/authoring/models.go +++ b/services/cognitiveservices/v2.0/luis/authoring/models.go @@ -736,6 +736,10 @@ type EntityLabel struct { StartTokenIndex *int32 `json:"startTokenIndex,omitempty"` // EndTokenIndex - The index within the utterance where the extracted entity ends. EndTokenIndex *int32 `json:"endTokenIndex,omitempty"` + // Role - The role of the entity within the utterance. + Role *string `json:"role,omitempty"` + // RoleID - The role Id. + RoleID *string `json:"roleId,omitempty"` } // EntityLabelObject defines the entity type and position of the extracted entity within the example. @@ -746,6 +750,8 @@ type EntityLabelObject struct { StartCharIndex *int32 `json:"startCharIndex,omitempty"` // EndCharIndex - The index within the utterance where the extracted entity ends. EndCharIndex *int32 `json:"endCharIndex,omitempty"` + // Role - The role of the entity within the utterance. + Role *string `json:"role,omitempty"` } // EntityModelInfo an Entity Extractor model info. @@ -1009,6 +1015,8 @@ type JSONEntity struct { EndPos *int32 `json:"endPos,omitempty"` // Entity - The entity name. Entity *string `json:"entity,omitempty"` + // Role - The role of the entity within the utterance. + Role *string `json:"role,omitempty"` } // JSONModelFeature exported Model - Phraselist Model Feature.