S
Sonny
Text
Representing Text as Embeddings for Semantic Search — Building with the Claude API
Turn text into a dense vector whose distance encodes meaning, so a query finds passages that say the same thing in different words, and understand what cosine distance actually compares. Taught in th…