Glossary · Phase 1 · Building with LLMs
Cosine similarity
How alike two vectors' directions are, from 1 (same direction) through 0 (unrelated) to -1 (opposite).
Learn it properly
Embeddings · Meaning as a list of numbers, so text can be compared. About 25 minutes.
Other terms from the same lesson
- embedding: A list of numbers that captures what a piece of text means, so similar meanings get similar numbers.