Multi-model Β· embeddings β generation Β· WASM
BLOOMZ is small, so it doesn't know your facts β but it can read. Here all-MiniLM-L6-v2 embeds your question and every note, picks the most similar one, and BLOOMZ answers grounded only in that retrieved note. That's Retrieval-Augmented Generation β the standard way to give a tiny model real knowledge β running entirely on-device.
Loads two models the first time: MiniLM (~25 MB) and BLOOMZ (~350 MB).
Retrieved note (MiniLM top match):
BLOOMZ answer:
Ask a question to see how MiniLM ranks the notes.
| cosine | note |
|---|