Class: Luis::Intent

Inherits:
Base
  • Object
show all
Defined in:
lib/luis/intent.rb

Overview

Luis intent class

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Luis::Base

Instance Attribute Details

#actionsArray

Action list of the intent

Returns:

  • (Array)

    list of actions



8
9
10
# File 'lib/luis/intent.rb', line 8

def actions
  @actions
end

#intentObject

Returns the value of attribute intent.



4
5
6
# File 'lib/luis/intent.rb', line 4

def intent
  @intent
end

#scoreObject

Returns the value of attribute score.



4
5
6
# File 'lib/luis/intent.rb', line 4

def score
  @score
end