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

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

Overview

Note:

When making an API call, you may pass Value data as a hash:

{
  original_value: "NonEmptyString",
  interpreted_value: "NonEmptyString", # required
  resolved_values: ["NonEmptyString"],
}

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)


2192
2193
2194
2195
2196
2197
2198
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 2192

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)


2192
2193
2194
2195
2196
2197
2198
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 2192

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>)


2192
2193
2194
2195
2196
2197
2198
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 2192

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