diagnosticInfo property
The free-form diagnostic info.
For example, this field could contain webhook call latency. The fields of this data can change without notice, so you should not write code that depends on its structure. One of the fields is called "Alternative Matched Intents", which may aid with debugging. The following describes these intent results: - The list is empty if no intent was matched to end-user input. - Only intents that are referenced in the currently active flow are included. - The matched intent is included. - Other intents that could have matched end-user input, but did not match because they are referenced by intent routes that are out of scope, are included. - Other intents referenced by intent routes in scope that matched end-user input, but had a lower confidence score.
The values for Object must be JSON objects. It can consist of num
,
String
, bool
and null
as well as Map
and List
values.
Implementation
core.Map<core.String, core.Object?>? diagnosticInfo;