Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Set default search_type to 'similarity' in as_retriever method o…
…f AzureSearch (#28376) **Description** This PR updates the `as_retriever` method in the `AzureSearch` to ensure that the `search_type` parameter defaults to 'similarity' when not explicitly provided. Previously, if the `search_type` was omitted, it did not default to any specific value. So it was inherited from `AzureSearchVectorStoreRetriever`, which defaults to 'hybrid'. This change ensures that the intended default behavior aligns with the expected usage. **Issue** No specific issue was found related to this change. **Dependencies** No new dependencies are introduced with this change. --------- Co-authored-by: prrao87 <[email protected]> Co-authored-by: Erick Friis <[email protected]>
- Loading branch information