~/talk

Vector Similarity Search in Spring with Redis Stack

Talkat Spring I/O 2023 · 2023-05-18..05-19· [databases, machine-learning]
slides:none on file

Shows how to turn images and text into embeddings in Java using Redis Stack and Spring, storing 512‑dim vectors and running k‑NN searches with cosine similarity inside Redis Search so queries never pull full vectors over the network. Uses DJL to load PyTorch models (retinaface for face detection, Vision/NLP models for embeddings), demos a celebrity‑match app over ~6–9k images that returns top matches in ~1–2 seconds, and wires vectorization to entity save hooks for realtime updates.

AI-written summary · about

  1. 0:00Redis and vector search intro
  2. 14:09Redis as real-time data platform
  3. 22:19Vector embeddings and AI models
  4. 33:28Demo: Vectorizing Images with Java
  5. 43:03Redis OM Spring for vector search
  6. 47:01Demo: Celebrity match app
  7. 51:22Unstructured data with AI tools
  8. 52:02Closing and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.