Sanity Context and content APIs (opens in a new tab)
The official reference for the tools used in this lesson.
Link
Cosine similarity is the usual default, but the number it gives you is only meaningful relative to your own corpus. Calibrate the threshold, do not guess it.
Lesson 1.37m 53sAdvanced8.2k students
This lesson sits in Embeddings and Vector Search, part of Retrieval-Augmented Generation from Scratch. It assumes what came before it and leads directly into the next lesson in the module.
The official reference for the tools used in this lesson.