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

GoogleCloudDialogflowCxV3Match

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

Represents one match result of MatchIntent.

interface GoogleCloudDialogflowCxV3Match {
confidence?: number;
event?: string;
matchType?:
| "MATCH_TYPE_UNSPECIFIED"
| "INTENT"
| "DIRECT_INTENT"
| "PARAMETER_FILLING"
| "NO_MATCH"
| "NO_INPUT"
| "EVENT"
| "LLM";
parameters?: {
[key: string]: any;
}
;
resolvedInput?: string;
}

§Properties

§
confidence?: number
[src]

The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.

§
event?: string
[src]

The event that matched the query. Filled for EVENT, NO_MATCH and NO_INPUT match types.

§

The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: name and display_name. Only filled for INTENT match type.

§
matchType?: "MATCH_TYPE_UNSPECIFIED" | "INTENT" | "DIRECT_INTENT" | "PARAMETER_FILLING" | "NO_MATCH" | "NO_INPUT" | "EVENT" | "LLM"
[src]

Type of this Match.

§
parameters?: {
[key: string]: any;
}
[src]

The collection of parameters extracted from the query. Depending on your protocol or client library language, this is a map, associative array, symbol table, dictionary, or JSON object composed of a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter name * MapValue type: If parameter's entity type is a composite entity then use map, otherwise, depending on the parameter value type, it could be one of string, number, boolean, null, list or map. * MapValue value: If parameter's entity type is a composite entity then use map from composite entity property names to property values, otherwise, use parameter value.

§
resolvedInput?: string
[src]

Final text input which was matched during MatchIntent. This value can be different from original input sent in request because of spelling correction or other processing.