Source code
Revision control
Copy as Markdown
Other Tools
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# Adding a new metric? We have docs for that!
---
$tags:
- "Core :: Machine Learning"
genai.chatbot:
# metrics
enabled:
type: boolean
lifetime: application
description: >
Indicates if the chatbot feature is enabled.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- metrics
provider:
type: string
lifetime: application
description: >
Indicates id of activated chatbot provider or "custom" or "none"
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- metrics
shortcuts:
type: boolean
lifetime: application
description: >
Indicates if the chatbot feature would show shortcuts on selection.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- metrics
shortcuts_custom:
type: boolean
lifetime: application
description: >
Indicates if the chatbot feature would show shortcuts custom input.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- metrics
sidebar:
type: boolean
lifetime: application
description: >
Indicates if the chatbot feature would open in sidebar.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- metrics
# events
contextmenu_prompt_click:
type: event
description: >
Chatbot prompt was clicked from the context menu.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
prompt:
type: string
description: Selected prompt id.
provider:
type: string
description: Selected provider id.
selection:
type: quantity
description: Selected text length.
experiment_checkbox_click:
type: event
description: >
Chatbot experiment checkbox was clicked to enable/disable.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
enabled:
type: boolean
description: New/current state is enabled.
onboarding_close:
type: event
description: >
Chatbot onboarding closed from provider choice.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider was last selected.
step:
type: quantity
description: Onboarding screen number.
onboarding_continue:
type: event
description: >
Chatbot onboarding continued from provider choice.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider was last selected.
step:
type: quantity
description: Onboarding screen number.
onboarding_finish:
type: event
description: >
Chatbot onboarding finished with start chatting button.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider was last selected.
step:
type: quantity
description: Onboarding screen number.
onboarding_learn_more:
type: event
description: >
Chatbot onboarding opened feature learn more link.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider was last selected.
step:
type: quantity
description: Onboarding screen number.
onboarding_provider_choice_displayed:
type: event
description: >
Chatbot onboarding impression for provider choice screen.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Current provider id.
step:
type: quantity
description: Onboarding screen number.
onboarding_provider_learn:
type: event
description: >
Chatbot onboarding opened provider learn more link.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider.
step:
type: quantity
description: Onboarding screen number.
onboarding_provider_selection:
type: event
description: >
Chatbot onboarding selected a provider.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider.
step:
type: quantity
description: Onboarding screen number.
onboarding_provider_terms:
type: event
description: >
Chatbot onboarding opened provider terms link.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider.
step:
type: quantity
description: Onboarding screen number.
text:
type: string
description: Which terms link.
onboarding_text_highlight_displayed:
type: event
description: >
Chatbot onboarding impression for text highlight screen.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Which provider was last selected.
step:
type: quantity
description: Onboarding screen number.
provider_change:
type: event
description: >
Chatbot provider UI changed providers.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
current:
type: string
description: Current provider id.
previous:
type: string
description: Previous provider id.
surface:
type: string
description: Which UI surface.
shortcuts_checkbox_click:
type: event
description: >
Chatbot shortcuts checkbox was clicked to enable/disable.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
enabled:
type: boolean
description: New/current state is enabled.
shortcuts_displayed:
type: event
description: >
Shortcuts displayed on text selection.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
delay:
type: quantity
description: Milliseconds from mousedown to showing.
inputType:
type: string
description: Type if user can edit, e.g., contenteditable, input, textarea.
selection:
type: quantity
description: Selected text length.
shortcuts_expanded:
type: event
description: >
Shortcuts expanded to show prompts.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
selection:
type: quantity
description: Selected text length.
shortcuts_hide_click:
type: event
description: >
Chatbot hide shortcuts was clicked from the shortcuts.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
selection:
type: quantity
description: Selected text length.
shortcuts_prompt_click:
type: event
description: >
Chatbot prompt was clicked from the shortcuts.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
prompt:
type: string
description: Selected prompt id.
provider:
type: string
description: Selected provider id.
selection:
type: quantity
description: Selected text length.
sidebar_close_click:
type: event
description: >
Chatbot close X clicked.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Selected provider id.
sidebar_more_menu_click:
type: event
description: >
Chatbot more menu clicked an action.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
action:
type: string
description: Which action was clicked.
provider:
type: string
description: Selected provider id.
sidebar_more_menu_display:
type: event
description: >
Chatbot more menu opened.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
provider:
type: string
description: Selected provider id.
sidebar_provider_menu_click:
type: event
description: >
Chatbot provider menu clicked an action.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
action:
type: string
description: Which action was clicked.
provider:
type: string
description: Selected provider id.
sidebar_toggle:
type: event
description: >
Chatbot sidebar panel was toggled open/close.
bugs:
data_reviews:
data_sensitivity:
- interaction
expires: 147
notification_emails:
- elee@mozilla.com
send_in_pings:
- events
extra_keys:
opened:
type: boolean
description: New/current state of sidebar is open.
provider:
type: string
description: Selected provider id.
reason:
type: string
description: Why panel is toggling.