Skip to content

The agent engineering platform.

community: Adding IN Operator to AzureCosmosDBNoSQLVectorStore (#29805)

Jesus Fernandez Bes1dfac909d88f
diff --git a/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py b/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py
index 58a8d27ec4..c75f4fcbb2 100644
--- a/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py
+++ b/libs/community/langchain_community/vectorstores/azure_cosmos_db_no_sql.py
@@ -845,6 +845,7 @@ class AzureCosmosDBNoSqlVectorSearch(VectorStore):
operator_map = {
"$eq": "=",
"$ne": "!=",
+ "$in": "IN",
"$lt": "<",
"$lte": "<=",
"$gt": ">",