Filters for examples' array metadata fields. An array field is example metadata where multiple values are attributed to a single example.
values[]
string
Required. The values by which to filter examples.
arrayOperator
enum (ArrayOperator
)
Required. The operator logic to use for filtering.
JSON representation |
---|
{
"values": [
string
],
"arrayOperator": enum ( |
ArrayOperator
The logic to use for filtering.
Enums | |
---|---|
ARRAY_OPERATOR_UNSPECIFIED |
Not specified. This value should not be used. |
CONTAINS_ANY |
The metadata array field in the example must contain at least one of the values. |
CONTAINS_ALL |
The metadata array field in the example must contain all of the values. |