Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OutputContext

import type { OutputContext } from "https://aws-api.deno.dev/v0.3/services/lexmodelbuildingservice.ts?docs=full";

The specification of an output context that is set when an intent is fulfilled.

interface OutputContext {
name: string;
timeToLiveInSeconds: number;
turnsToLive: number;
}

§Properties

§
name: string
[src]

The name of the context.

§
timeToLiveInSeconds: number
[src]

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

§
turnsToLive: number
[src]

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.