From 2c0049521bdc9bb0e70390a93156782c84d22eb4 Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Fri, 27 Mar 2020 17:16:47 +0000 Subject: [PATCH] Log also the lang id model name that is involved in events Possible values: und_v0, und_v1 What is it: The model version of the LangId model file. Who determines this value? The textclassifier team. The model version is burnt to the model file. Test: m Test: atest TextClassifierServiceTest Bug: 152490822 Change-Id: I0058536ee4e5d8e9c14e100b61683c67af28981d --- cmds/statsd/src/atoms.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 9bba69c6e2ea6..87620a1e97cac 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -8170,6 +8170,9 @@ message TextSelectionEvent { // Name of source package. optional string package_name = 11; + + // Name of the LangID model that is involved in this event. + optional string langid_model_name = 12; } /** @@ -8210,6 +8213,9 @@ message TextLinkifyEvent { // Name of source package. optional string package_name = 11; + + // Name of the LangID model that is involved in this event. + optional string langid_model_name = 12; } /** @@ -8247,6 +8253,9 @@ message ConversationActionsEvent { // Name of the annotator model that is involved in this event. optional string annotator_model_name = 10; + + // Name of the LangID model that is involved in this event. + optional string langid_model_name = 11; } /**