KNOWLEDGE, EMBEDDINGS & RAG • 132 / 397
Teach models to look up relevant information before answering.

Upsert

Upsert inserts a new record or updates an existing one if it already exists.

Think of it like

Think of Upsert like a library system: instead of memorizing every book, find the right shelf and bring only the useful pages to the desk.

Real life

Search engines and recommendation systems use ideas related to Upsert.

SRE lens

Use upserts when re-indexing a changed runbook.

Remember thisUpsert inserts a new record or updates an existing one if it already exists.
AIForSREJump to a concept
Search is optional. The main journey is simply ↓ Next.