Skip to content
Overview

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.

Similar content: CODEX metadata and text become embeddings through peach-models, are stored in Milvus, and an endpoint returns the nearest items, which Spectrum lets you inspect

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

Step 1 · Collect

Metadata, transcripts and topics in CODEX

CODEX keeps programmes, episodes, articles, transcripts and extracted topics in one place.

Step 2 · Compute

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.

Step 3 · Store

Item vectors in Milvus

Milvus builds an index for fast similarity search across the whole catalogue.

Step 4 · Serve

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.

Step 5 · Measure

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.

Go deeper