The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: fix AzureSearch delete documents (#22315)
Dan86509161b025
diff --git a/libs/community/langchain_community/vectorstores/azuresearch.py b/libs/community/langchain_community/vectorstores/azuresearch.pyindex 1ba6bbf1b8..29177043cf 100644--- a/libs/community/langchain_community/vectorstores/azuresearch.py+++ b/libs/community/langchain_community/vectorstores/azuresearch.py@@ -401,7 +401,7 @@ class AzureSearch(VectorStore):False otherwise."""if ids:- res = self.client.delete_documents([{"id": i} for i in ids])+ res = self.client.delete_documents([{FIELDS_ID: i} for i in ids])return len(res) > 0else:return False