Glossary · Retrieval & memory
Cosine similarity
Cosine similarity is a measure of how similar two vectors are based on the angle between them, ranging from minus one to one, and is the most common way to compare embeddings.
Cosine similarity sits in the Retrieval & memory part of the Agentik {OS} glossary, which defines the words used to build and run AI agent systems.