Ask a question to get started
Enter to sendā¢Shift+Enter new line
cosine_similarity_top_k( X: Matrix, Y: Matrix, top_k: Optional[int] =
X
Matrix
Matrix.
Y
Matrix, same width as X.
top_k
Optional[int]
5
Max number of results to return.
score_threshold
Optional[float]
None
Row-wise cosine similarity with optional top-k and score threshold filtering.
Minimum cosine similarity of results.