Name Description Size Coverage
actors 90 %
AIFeature.sys.mjs A base class for AI features in Firefox. Each AI feature must implement this contract in order to be included in AI Controls. Each feature implementation is required to manage its own preferences and artifacts. @interface 7743 54 %
backends 100 %
components.conf 260 -
content 83 %
docs -
eval -
jar.mn 3639 -
metrics.yaml 17626 -
ml.d.ts This file contains the shared types for the machine learning component. The intended use is for defining types to be used in JSDoc. They are used in a form that the TypeScript language server can read them, and provide code hints. @see https://firefox-source-docs.mozilla.org/code-quality/typescript/ 9337 -
MLTelemetry.sys.mjs MLTelemetry provides a mechanism tracking a "flow" of operations related to a machine learning feature. A flow is a sequence of related events that represent a single, complete user-level operation, for example generating a summary for a page. This class uses a correlation ID pattern where flowId is passed to each method, allowing flexible tracking across different parts of the system. @example new MLTelemetry({ featureId: "ml-suggest-intent" }).sessionStart({ interaction: "button_click" }); @example new MLTelemetry({ featureId: "ml-suggest-intent", flowId: "1234-5678" }).sessionStart({ interaction: "keyboard_shortcut"}); 14250 96 %
MLUtils.cpp 2653 -
MLUtils.h 532 100 %
moz.build 1085 -
nsIMLUtils.idl Computes the optimal concurrency level for ML workloads on the CPU. See the implementation for details. Returns: - An integer representing the recommended concurrency level. 876 -
security 76 %
tests -
tools -
tsconfig.json .mjs", "* 337 -
vendor 26 %