Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.85 KB

FieldCondition.md

File metadata and controls

35 lines (26 loc) · 1.85 KB

FieldCondition

Properties

Name Type Description Notes
date_range DateRange [optional]
field str Field is the name of the field to filter on. The field value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. To access fields inside of the metadata that you provide with the card, prefix the field name with `metadata.`.
geo_bounding_box LocationBoundingBox [optional]
geo_polygon LocationPolygon [optional]
geo_radius LocationRadius [optional]
match List[MatchCondition] Match is the value to match on the field. The match value will be used to check for an exact substring match on the metadata values for each existing chunk. This is useful for when you want to filter chunks by arbitrary metadata. [optional]
range Range [optional]

Example

from trieve_py_client.models.field_condition import FieldCondition

# TODO update the JSON string below
json = "{}"
# create an instance of FieldCondition from a JSON string
field_condition_instance = FieldCondition.from_json(json)
# print the JSON string representation of the object
print(FieldCondition.to_json())

# convert the object into a dict
field_condition_dict = field_condition_instance.to_dict()
# create an instance of FieldCondition from a dict
field_condition_form_dict = field_condition.from_dict(field_condition_dict)

[Back to Model list] [Back to API list] [Back to README]