ExamplesArrayFilter

Filters for examples' array metadata fields. An array field is example metadata where multiple values are attributed to a single example.

Fields
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)
}

ArrayOperator

The logic to use for filtering.

Enums
ARRAY_OPERATOR_UNSPECIFIEDNot specified. This value should not be used.
CONTAINS_ANYThe metadata array field in the example must contain at least one of the values.
CONTAINS_ALLThe metadata array field in the example must contain all of the values.