MetadataFilter
Recursive metadata filter structure (modeled on Qdrant filter with and/or/not).
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| var_and | List[MetadataFilter] | All conditions in this list must match (AND) | [optional] |
| var_or | List[MetadataFilter] | Any condition in this list must match (OR) | [optional] |
| var_not | MetadataFilter | This condition must NOT match (NOT) | [optional] |
| key | str | Metadata field key (for field condition) | [optional] |
| op | str | Comparison operator | [optional] |
| value | object | [optional] |
Example
from amgix_client.models.metadata_filter import MetadataFilter
# TODO update the JSON string below
json = "{}"
# create an instance of MetadataFilter from a JSON string
metadata_filter_instance = MetadataFilter.from_json(json)
# print the JSON string representation of the object
print(MetadataFilter.to_json())
# convert the object into a dict
metadata_filter_dict = metadata_filter_instance.to_dict()
# create an instance of MetadataFilter from a dict
metadata_filter_from_dict = MetadataFilter.from_dict(metadata_filter_dict)