Embeddings
2 essays on this topic.
RAG From Scratch: Let AI Answer From Your Own Documents
Build retrieval-augmented generation step by step in Python: chunking, local embeddings, search, hybrid BM25, re-ranking, cited prompts and evals.

How AI Turns Words Into Numbers: Embeddings Explained
A token ID is just a label. An embedding is a learned list of numbers that puts each word on a map of meaning. Here's how it works, and where it shows up.
