Class: Aws::LexRuntimeV2::Types::GetSessionResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexRuntimeV2::Types::GetSessionResponse
- Defined in:
- gems/aws-sdk-lexruntimev2/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 that were last sent to the user.
-
#session_id ⇒ String
The identifier of the returned session.
-
#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 how 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.
572 573 574 575 576 577 578 579 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 572 class GetSessionResponse < Struct.new( :session_id, :messages, :interpretations, :session_state) SENSITIVE = [] include Aws::Structure end |
#messages ⇒ Array<Types::Message>
A list of messages that were last sent to the user. The messages are ordered based on the order that your returned the messages from your Lambda function or the order that messages are defined in the bot.
572 573 574 575 576 577 578 579 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 572 class GetSessionResponse < Struct.new( :session_id, :messages, :interpretations, :session_state) SENSITIVE = [] include Aws::Structure end |
#session_id ⇒ String
The identifier of the returned session.
572 573 574 575 576 577 578 579 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 572 class GetSessionResponse < Struct.new( :session_id, :messages, :interpretations, :session_state) SENSITIVE = [] include Aws::Structure end |
#session_state ⇒ Types::SessionState
Represents the current state of the dialog between the user and the bot.
You can use this to determine the progress of the conversation and what the next action might be.
572 573 574 575 576 577 578 579 |
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 572 class GetSessionResponse < Struct.new( :session_id, :messages, :interpretations, :session_state) SENSITIVE = [] include Aws::Structure end |