The prompt that generated Chapter 1 — embeddings, cosine similarity, and why dense vectors beat one-hot encoding.