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

Usage

import * as mod from "https://aws-api.deno.dev/v0.3/services/lexruntimev2.ts?docs=full";

§Classes

LexRuntimeV2

§Interfaces

ActiveContext

Contains information about the contexts that a user is using in a session. You can configure Amazon Lex V2 to set a context when an intent is fulfilled, or you can set a context using the , , or operations.

ActiveContextTimeToLive

The time that a context is active. You can specify the time to live in seconds or in conversation turns.

Button

A button that appears on a response card show to the user.

ConfidenceScore

Provides a score that indicates the confidence that Amazon Lex V2 has that an intent is the one that satisfies the user's intent.

DeleteSessionRequest
DeleteSessionResponse
DialogAction

The next action that Amazon Lex V2 should take.

GetSessionRequest
GetSessionResponse
ImageResponseCard

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

Intent

The current intent that Amazon Lex V2 is attempting to fulfill.

Interpretation

An intent that Amazon Lex V2 determined might satisfy the user's utterance. The intents are ordered by the confidence score.

Message

Container for text that is returned to the customer..

PutSessionRequest
PutSessionResponse
RecognizeTextRequest
RecognizeTextResponse
RecognizeUtteranceRequest
RecognizeUtteranceResponse
RuntimeHintDetails

Provides an array of phrases that should be given preference when resolving values for a slot.

RuntimeHints

You can provide Amazon Lex V2 with hints to the phrases that a customer is likely to use for a slot. When a slot with hints is resolved, the phrases in the runtime hints are preferred in the resolution. You can provide hints for a maximum of 100 intents. You can provide a maximum of 100 slots.

RuntimeHintValue

Provides the phrase that Amazon Lex V2 should look for in the user's input to the bot.

SentimentResponse

Provides information about the sentiment expressed in a user's response in a conversation. Sentiments are determined using Amazon Comprehend. Sentiments are only returned if they are enabled for the bot.

SentimentScore

The individual sentiment responses for the utterance.

SessionState

The state of the user's session with Amazon Lex V2.

Slot

A value that Amazon Lex V2 uses to fulfill an intent.

Value

The value of a slot.

§Type Aliases

ConfirmationState
DialogActionType
IntentState
MessageContentType
SentimentType
Shape
StyleType