Name Description Size Coverage
EmbeddingsGenerator.sys.mjs This module handles the generation of embeddings using a dedicated machine learning (ML) engine. reference -> https://firefox-source-docs.mozilla.org/toolkit/components/ml/ An embedding is a n-dimensional numerical representation of text (e.g., mdn documentation). The embedding generation involves converting text data such as title to meaningful vectors. These vectors could be compared using multi-dimensional distance measures such as cosine distance. Each vector is made up of values representing the relationship with features defined by the model. Production callers MUST go through the static factories `forPlaces` and `forGeneral` so the policy for picking an embedding family stays in one place. `forTest` is provided for tests and dev tooling. Note: The "engine" referenced in this module is specifically an ML engine used for feature extraction and embedding generation. 15680 86 %
StopWords.sys.mjs This module contains stop words used for NLP algorithms 3851 100 %
Utils.sys.mjs A simple implementation of matrix multiplication @param {float [][]} A 2D matrix @param {float [][]} B 2D matrix @returns {float [][]} 2D matrix multiplication result 10722 99 %