class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::JSONUtterance
Exported Model
- Utterance that was used to train the model.
Attributes
entities[RW]
@return [Array<JSONEntity>] The matched entities.
intent[RW]
@return [String] The matched intent.
text[RW]
@return [String] The utterance.
Public Class Methods
mapper()
click to toggle source
Mapper for JSONUtterance
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JSONUtterance', type: { name: 'Composite', class_name: 'JSONUtterance', model_properties: { text: { client_side_validation: true, required: false, serialized_name: 'text', type: { name: 'String' } }, intent: { client_side_validation: true, required: false, serialized_name: 'intent', type: { name: 'String' } }, entities: { client_side_validation: true, required: false, serialized_name: 'entities', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'JSONEntityElementType', type: { name: 'Composite', class_name: 'JSONEntity' } } } } } } } end