Class: Aws::LexRuntimeV2::Types::RecognizeTextResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::RecognizeTextResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexruntimev2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#interpretations ⇒ Array<Types::Interpretation>
A list of intents that Amazon Lex V2 determined might satisfy the user’s utterance.
-
#messages ⇒ Array<Types::Message>
A list of messages last sent to the user.
-
#recognized_bot_member ⇒ Types::RecognizedBotMember
The bot member that recognized the text.
-
#request_attributes ⇒ Hash<String,String>
The attributes sent in the request.
-
#session_id ⇒ String
The identifier of the session in use.
-
#session_state ⇒ Types::SessionState
Represents the current state of the dialog between the user and the bot.
Instance Attribute Details
#interpretations ⇒ Array<Types::Interpretation>
A list of intents that Amazon Lex V2 determined might satisfy the user’s utterance.
Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |
#messages ⇒ Array<Types::Message>
A list of messages last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |
#recognized_bot_member ⇒ Types::RecognizedBotMember
The bot member that recognized the text.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |
#request_attributes ⇒ Hash<String,String>
The attributes sent in the request.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The identifier of the session in use.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |
#session_state ⇒ Types::SessionState
Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/aws-sdk-lexruntimev2/types.rb', line 1073 class RecognizeTextResponse < Struct.new( :messages, :session_state, :interpretations, :request_attributes, :session_id, :recognized_bot_member) SENSITIVE = [] include Aws::Structure end |