Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
langchain_community: updated query constructor for Databricks Vector …
…Search due to LangChainDeprecationWarning: `filters` was deprecated since langchain-community 0.2.11 and will be removed in 0.3. Please use `filter` instead. (#27974) - **Description:** Updated the kwargs for the structured query from filters to filter due to deprecation of 'filters' for Databricks Vector Search. Also changed the error messages as the allowed operators and comparators are different which can cause issues with functions such as get_query_constructor_prompt() - **Issue:** Fixes the Key Error for filters due to deprecation in favor for 'filter': LangChainDeprecationWarning: DatabricksVectorSearch received a key `filters` in search_kwargs. `filters` was deprecated since langchain-community 0.2.11 and will be removed in 0.3. Please use `filter` instead. - **Dependencies:** N/A - **Twitter handle:** N/A --------- Co-authored-by: Erick Friis <[email protected]>
- Loading branch information