Class: Aws::LexRuntimeV2::Types::Value

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb

Overview

The value of a slot.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#interpreted_valueString

The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.

Returns:

  • (String)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1719

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end

#original_valueString

The text of the utterance from the user that was entered for the slot.

Returns:

  • (String)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1719

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end

#resolved_valuesArray<String>

A list of additional values that have been recognized for the slot.

Returns:

  • (Array<String>)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 1719

class Value < Struct.new(
  :original_value,
  :interpreted_value,
  :resolved_values)
  SENSITIVE = []
  include Aws::Structure
end