Structs§
- Index
Entry - A single entry in a sub-index.
- SubIndex
- One of the three sub-indexes (signature, semantic, or example).
- SubSearch
Result - A search result from a single sub-index.
Functions§
- cosine_
similarity - Cosine similarity between two vectors. Returns value in [-1, 1]. For normalized vectors, this reduces to dot product.