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

GoogleCloudDialogflowV2SuggestSmartRepliesResponse

import type { GoogleCloudDialogflowV2SuggestSmartRepliesResponse } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

The response message for Participants.SuggestSmartReplies.

interface GoogleCloudDialogflowV2SuggestSmartRepliesResponse {
contextSize?: number;
latestMessage?: string;
readonly smartReplyAnswers?: GoogleCloudDialogflowV2SmartReplyAnswer[];
}

§Properties

§
contextSize?: number
[src]

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size field in the request if there aren't that many messages in the conversation.

§
latestMessage?: string
[src]

The name of the latest conversation message used to compile suggestion for. Format: projects//locations//conversations//messages/.

§
readonly smartReplyAnswers?: GoogleCloudDialogflowV2SmartReplyAnswer[]
[src]

Output only. Multiple reply options provided by smart reply service. The order is based on the rank of the model prediction. The maximum number of the returned replies is set in SmartReplyConfig.