The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: add fixes for AzureSearch after update to stable azure-search-documents library (#17599)
Krista Praticobf8e3c6dd16b
diff --git a/libs/community/langchain_community/vectorstores/azuresearch.py b/libs/community/langchain_community/vectorstores/azuresearch.pyindex 6e4aed8d22..4445519996 100644--- a/libs/community/langchain_community/vectorstores/azuresearch.py+++ b/libs/community/langchain_community/vectorstores/azuresearch.py@@ -91,6 +91,7 @@ def _get_search_client(SemanticField,SemanticPrioritizedFields,SemanticSearch,+ VectorSearch,VectorSearchAlgorithmKind,VectorSearchAlgorithmMetric,VectorSearchProfile,@@ -255,7 +256,7 @@ class AzureSearch(VectorStore):type=SearchFieldDataType.Collection(SearchFieldDataType.Single),searchable=True,vector_search_dimensions=len(self.embed_query("Text")),- vector_search_configuration="default",+ vector_search_profile_name="myHnswProfile",),SearchableField(name=FIELDS_METADATA,