From ab1abd78b3b58396b775e9eeed336cdd9cf2925c Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Wed, 28 Aug 2024 10:49:35 -0700 Subject: [PATCH] community: undo azure_ad_access_token breaking change --- libs/community/langchain_community/vectorstores/azuresearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/vectorstores/azuresearch.py b/libs/community/langchain_community/vectorstores/azuresearch.py index 45d5566fb56..31ee8875785 100644 --- a/libs/community/langchain_community/vectorstores/azuresearch.py +++ b/libs/community/langchain_community/vectorstores/azuresearch.py @@ -265,7 +265,6 @@ class AzureSearch(VectorStore): self, azure_search_endpoint: str, azure_search_key: str, - azure_ad_access_token: Optional[str], index_name: str, embedding_function: Union[Callable, Embeddings], search_type: str = "hybrid", @@ -281,6 +280,7 @@ class AzureSearch(VectorStore): *, vector_search_dimensions: Optional[int] = None, additional_search_client_options: Optional[Dict[str, Any]] = None, + azure_ad_access_token: Optional[str] = None, **kwargs: Any, ): try: