mirror of https://github.com/hwchase17/langchain
community: Replaced hardcoded "metadata" with FIELDS_METADATA variable in semantic_hybrid_search_with_score_and_rerank (#15642)
- **Description:** This PR is to fix a bug in semantic_hybrid_search_with_score_and_rerank() function in langchain_community/vectorstores/azuresearch.py. The hardcoded "metadata" name is replaced with FIELDS_METADATA variable with an if block to check if the metadata column exists or not. - **Issue:** Fixed #15581 - **Dependencies:** No - **Twitter handle:** None Co-authored-by: H161961 <Raunak.Raunak@Honeywell.com>pull/15648/head
parent
472f70c54b
commit
64f5968a81
Loading…
Reference in New Issue