← All models · mxbai-embed

Basics · feature-extraction · WASM

Do two sentences mean the same thing?

The fundamental capability, felt directly: mxbai turns each sentence into a 1024-d unit vector, and cosine similarity — the dot product of those vectors — is one number from −1 to 1 for how close in meaning they are. Then see the model's signature move: prepend the retrieval prompt to a query and watch the score to the right passage rise.

Compare two lines

The retrieval prompt, felt directly

Treat A as the query and B as the document. We score them two ways: query embedded plain, and query embedded with “Represent this sentence for searching relevant passages: ” prepended. For a genuine query→passage pair, the prompt should raise the score.

Next: Practical — prompted search & dedup →