langchain
e57ebf39 - add get_top_k_cosine_similarity method to get max top k score and index (#5059)

Commit
2 years ago
add get_top_k_cosine_similarity method to get max top k score and index (#5059) # Row-wise cosine similarity between two equal-width matrices and return the max top_k score and index, the score all greater than threshold_score. Co-authored-by: Dev 2049 <dev.dev2049@gmail.com>
Author
Parents
Loading