Name Description Size Coverage
actors -
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 -
backends -
components.conf 542 -
content -
docs -
eval -
ipc -
jar.mn 3370 -
metrics.yaml 18310 -
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 -
MLModelHubService.sys.mjs 11293 -
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 -
MLUtils.cpp 2653 -
MLUtils.h 532 -
moz.build 1613 -
nsIMLModelHub.idl Callback interface for receiving progress updates during model download 4526 -
nsIMLModelResolver.idl Result callback for nsIMLModelResolver.authorizeDownload. Runs with true to allow the download, false to deny it. 2463 -
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 -
tests -
tools -
tsconfig.json .mjs", "* 337 -
vendor -