feat: expose matched event in Sessions API.
PiperOrigin-RevId: 342188199
This commit is contained in:
parent
0c9e3f8cb3
commit
836f0eaf5f
|
|
@ -576,6 +576,9 @@ message Match {
|
|||
|
||||
// Indicates an empty query.
|
||||
NO_INPUT = 5;
|
||||
|
||||
// The query directly triggered an event.
|
||||
EVENT = 6;
|
||||
}
|
||||
|
||||
// The [Intent][google.cloud.dialogflow.cx.v3beta1.Intent] that matched the query. Some, not all fields are filled in
|
||||
|
|
@ -583,6 +586,10 @@ message Match {
|
|||
// filled for [`INTENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
|
||||
Intent intent = 1;
|
||||
|
||||
// The event that matched the query. Only filled for
|
||||
// [`EVENT`][google.cloud.dialogflow.cx.v3beta1.Match.MatchType] match type.
|
||||
string event = 6;
|
||||
|
||||
// The collection of parameters extracted from the query.
|
||||
//
|
||||
// Depending on your protocol or client library language, this is a
|
||||
|
|
|
|||
Loading…
Reference in New Issue