~/talk

Displaying Related Content Using Semantic Similarity

Talkat DrupalCamp NJ 2026 · 2026-03-12..03-14· [drupal, search]
links:none on file
slides:none on file

Rebuilds Princeton.edu’s “Related Stories” by embedding 10,000 news articles with OpenAI text-embedding-3, comparing vectors via cosine similarity, and initially brute‑forcing scores in PHP (slow) before moving vectors to Pinecone for instant queries. Embedding all article body text generally gives better matches; embedding cost is tiny (~$1 for 10k). Adds Cohere re‑ranking experiments but recommends MMR (diversify top 50 then select) plus editorial manual curation and periodic precompute jobs.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:05Princeton website and Drupal
  3. 3:36Lexical vs semantic search
  4. 8:11How semantic search works
  5. 12:27Applying semantic search to related content
  6. 13:30Generating embeddings and models
  7. 16:21Storing and searching vectors
  8. 18:07Improving results with full vs partial body
  9. 23:02Date cutoffs and bias in results
  10. 25:58Hybrid search and lexical matching
  11. 29:05Re-ranking and diversification strategies
  12. 35:48Production setup and vector databases
  13. 36:49Real-time embeddings and caching
  14. 38:56Editorial curation and backfill
  15. 40:02Evaluating performance and user feedback
  16. 42:55Q&A on intent and audience
  17. 45:01Comparison with legacy solutions
  18. 46:28Semantic search vs traditional search
  19. 47:55Testing on search vs related content
  20. 49:18Bubble effect in recommendations
  21. 50:42Future improvements and limitations
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.