Skip to main content

Module search

Module search 

Source

Structs§

IndexEntry
A single entry in a sub-index.
SubIndex
One of the three sub-indexes (signature, semantic, or example).
SubSearchResult
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.