class Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::JSONEntity
Exported Model
- Extracted Entity from utterance.
Attributes
end_pos[RW]
@return [Integer] The index within the utterance where the extracted entity ends.
entity[RW]
@return [String] The entity name.
role[RW]
@return [String] The role the entity plays in the utterance.
start_pos[RW]
@return [Integer] The index within the utterance where the extracted entity starts.
Private Class Methods
mapper()
click to toggle source
Mapper for JSONEntity
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb, line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JSONEntity', type: { name: 'Composite', class_name: 'JSONEntity', model_properties: { start_pos: { client_side_validation: true, required: true, serialized_name: 'startPos', type: { name: 'Number' } }, end_pos: { client_side_validation: true, required: true, serialized_name: 'endPos', type: { name: 'Number' } }, entity: { client_side_validation: true, required: true, serialized_name: 'entity', type: { name: 'String' } }, role: { client_side_validation: true, required: false, serialized_name: 'role', type: { name: 'String' } } } } } end