Similar content
"More like this" on every episode, article or clip, based on what the content is about, so it works from the first minute a new item is published.
The need
A visitor finishes an episode and should be offered related content. There may be no history for the item yet, and no user is needed: the recommendation depends only on the item being viewed.
How the stack handles it
Metadata, transcripts and topics in CODEX
CODEX keeps programmes, episodes, articles, transcripts and extracted topics in one place.
A task turns content into embeddings
A scheduled task sends text to peach-models and receives embeddings, so that items with similar meaning end up close together.
Item vectors in Milvus
Milvus builds an index for fast similarity search across the whole catalogue.
An endpoint finds the nearest items
Given the id being viewed, the endpoint fetches its vector, asks Milvus for neighbours, removes the item itself and anything blocked by rules, and returns the list.
Look at neighbours, then measure clicks
Check in Spectrum that neighbours make sense to an editor, then compare click-through against a simpler baseline.
Why it is built this way
- A new item gets a vector as soon as the task has run, so there is no cold-start wait for item-to-item results.
- Search and filtering are separated: Milvus finds candidates and rules decide what is allowed.
- Editors can judge quality visually before anything is live.
Variations
- Add a metadata filter to the Milvus search, for example same media type or published recently.
- Re-rank the nearest neighbours with a personal score: see Milvus reranking.