Class: Aws::LexModelBuildingService::Types::OutputContext
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelBuildingService::Types::OutputContext
- Defined in:
- gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb
Overview
The specification of an output context that is set when an intent is fulfilled.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the context.
-
#time_to_live_in_seconds ⇒ Integer
The number of seconds that the context should be active after it is first sent in a
PostContent
orPostText
response. -
#turns_to_live ⇒ Integer
The number of conversation turns that the context should be active.
Instance Attribute Details
#name ⇒ String
The name of the context.
2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817 class OutputContext < Struct.new( :name, :time_to_live_in_seconds, :turns_to_live) SENSITIVE = [] include Aws::Structure end |
#time_to_live_in_seconds ⇒ Integer
The number of seconds that the context should be active after it is
first sent in a PostContent
or PostText
response. You can set
the value between 5 and 86,400 seconds (24 hours).
2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817 class OutputContext < Struct.new( :name, :time_to_live_in_seconds, :turns_to_live) SENSITIVE = [] include Aws::Structure end |
#turns_to_live ⇒ Integer
The number of conversation turns that the context should be active.
A conversation turn is one PostContent
or PostText
request and
the corresponding response from Amazon Lex.
2817 2818 2819 2820 2821 2822 2823 |
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 2817 class OutputContext < Struct.new( :name, :time_to_live_in_seconds, :turns_to_live) SENSITIVE = [] include Aws::Structure end |