community: Adding IN Operator to AzureCosmosDBNoSQLVectorStore (#29805)

- ** Description**: I have added a new operator in the operator map with
key `$in` and value `IN`, so that you can define filters using lists as
values. This was already contemplated but as IN operator was not in the
map they cannot be used.
- **Issue**: Fixes #29804.
- **Dependencies**: No extra.
This commit is contained in:
Jesus Fernandez Bes 2025-02-16 03:44:54 +01:00 committed by GitHub
parent 8901b113c3
commit 1dfac909d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -845,6 +845,7 @@ class AzureCosmosDBNoSqlVectorSearch(VectorStore):
operator_map = {
"$eq": "=",
"$ne": "!=",
"$in": "IN",
"$lt": "<",
"$lte": "<=",
"$gt": ">",