CodeWithJay

Build AI Chat with Semantic Search in NestJS (Streaming + Smart Router) – Ep 12

1 hr 13 min659 views

Build AI Chat with Semantic Search in NestJS (Streaming + Smart Router) – Ep 12

About this video

Type something to keep my coffee hot and get back a thermos nobody ever named. In episode 11, we embedded the whole catalog into OpenSearch. In this episode we put those vectors to work, and the store learns to talk.

First, semantic search: a pure kNN query on the shopper's embedded text, results hydrated in order from Postgres, wired through the existing products endpoint, with graceful degradation when OpenSearch is down.

Keep learning NestJS

Every free video, mini course and project-based course on NestJS in one place, in the order that makes sense.

All videos