Learn AI properly, from the mechanism up

Every lesson opens on a real problem, works it through with actual numbers, and names the failure mode you would otherwise ship.

Browse free courses
  • No card required
  • No sign-up needed to start
  • Free courses stay free

Most courses stop at the happy path

Three real answers, from three different courses. Judge the writing before you sign up for any of it.

RAG Systems · 8.5 Embeddings & Vector Stores

What happens if different embedding models are used for indexing and querying?

Retrieval degrades to roughly random. Each model learns its own coordinate system during training; the axes of one have no relationship to the axes of another, so a query vector from model A is not comparable to document vectors from model B.

There are two failure shapes, and the second is worse:

  • Different dimensionality (1536 vs 768) — you get a loud error from the vector store. Annoying, but you find out immediately.
  • Same dimensionality, different space — no error at all. The search runs, returns k results with plausible-looking scores, and they are semantically unrelated to the question.
INDEXED BY MODEL AQUERIED WITH MODEL Bthe rightchunkqueryvectorcosine 0.71no error
Two 768-dimensional spaces are the same shape and nothing alike. Cosine similarity is happy to measure across them — it just stops meaning anything.

The failure mode to name

Nothing crashes; the answers just quietly get worse. Enforce exact-match on both sides — same model, same version, same normalization — and store the embedding model name in the collection metadata so you can assert on it at query time.

Every lesson lands on a callout like that one. Read more of them

Latest courses

Newly published, from fundamentals through to production.

All courses

No courses yet

Courses will appear here once they are published.

What it costs after the trial

Free courses stay free. One subscription opens everything else.

  • No card required
  • Full access for 7 days
  • It stops on its own

From the blog

Shorter pieces on what is changing, and what it means in practice.

All articles

No articles yet

Articles will appear here once they are published.

Start with the lesson you just read

7 days of full access. Nothing to cancel if you walk away.

Questions first? Talk to us — we reply within a day.