video.description
, while team B could use audio.description
. Another example could be TeamName.MetadataKey
. This approach maintains clarity and avoids key collisions across departments.varchar
as a versatile default. Scalar Key | Description | Display Benefits |
---|---|---|
boolean | Binary data type with values “true” or “false”. | Filtering by binary values |
datetime | ISO 8601 formatted date and time. | Filtering by time and date |
number | Numeric data type supporting float values. | Filtering by numeric values |
uuid | UUIDv4 formatted unique identifier for a data unit. | Filtering by customer specified unique identifier |
varchar | Textual data type. Formally string . string can be used as an alias for varchar , but we STRONGLY RECOMMEND that you use varchar . | Filtering by string. |
text | Text data with unlimited length (example: transcripts for audio). Formally long_string . long_string can be used as an alias for text , but we STRONGLY RECOMMEND that you use text . | Storing and filtering large amounts of text. |
add_enum
and add_enum_options
to add an enum and enum options to your metadata schema.
Key | Description | Display Benefits |
---|---|---|
enum | Enumerated type with predefined set of values. | Facilitates categorical filtering and data validation |
add_embedding
to add an embedding to your metadata schema.
Key | Description | Display Benefits |
---|---|---|
embedding | 1 to 4096 for Index. 1 to 2000 for Active. | Filtering by embeddings, similarity search, 2D scatter plot visualization (Coming Soon) |
Deprecated
ENUM Name | String Representation | Description | Display Benefits |
---|---|---|---|
NUMBER | number | Numeric data type supporting float values | Filtering by numeric values |
STRING | string | Textual data type | Filtering by string |
BOOLEAN | boolean | Binary data type with values “true” or “false” | Filtering by binary values |
DATETIME | datetime | ISO 8601 formatted date and time | Filtering by time and date |
ENUM | enum | Enumerated type with predefined set of values | Facilitates categorical filtering and data validation |
EMBEDDING | embedding | 1 to 4096 for Index. 1 to 2000 for Active. | Filtering by embeddings, similarity search, 2D scatter plot visualization (Coming Soon) |
LONG_STRING | long_string | Text data with unlimited length (example: transcripts for audio) | Storing and filtering large amounts of text |
Deprecated
Deprecated
.set_scalar()
method. The example below shows how to update the data type for multiple metadata fields.
Fruit
.
Fruit
.