Vector Search using EmbeddingGemma 300M with LiteRT.js, tfjs, and
🤗 transformers.js v4

After the models have loaded, click the "Store in VectorDB" button under the Knowledge Base Panel.
Wait until storing is complete. Then expand the Search Vector DB panel, and make a query to find relevant chunks of text that match.
Add your own text, give the Vector DB a name, store, and search!

Knowledge Base Management
Search Vector Database

Search Results

Paragraphs matching your query above the threshold

Loading models...

Embedding Comparison

Comparing query embedding with the best match from Vector DB

Generated Tokens (Query)

Token IDs (padded)

Query Embedding

Dimensions visualized

Best Match Embedding

Dimensions visualized