Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
community: AzureSearch: fix reranking for empty lists (#27104)
**Description:** Fix reranking for empty lists **Issue:** ``` ValueError: not enough values to unpack (expected 3, got 0) documents, scores, vectors = map(list, zip(*docs)) File langchain_community/vectorstores/azuresearch.py", line 1680, in _reorder_results_with_maximal_marginal_relevance ``` Co-authored-by: Oleksii Pokotylo <[email protected]>
- Loading branch information