This page contains reference documentation for Weaviate. See the docs for conceptual guides, tutorials, and examples on using Weaviate modules.
Compatibility wrapper. Returns pairwise distances between rows of X and Y. Uses simsimd.cdist if available, else SciPy, else NumPy fallback.
Row-wise cosine similarity between two equal-width matrices.
Row-wise cosine similarity with optional top-k and score threshold filtering.
Calculate maximal marginal relevance.