Metadata types
All metadata needs to be one of the following types:Type | Descriptions | Enum value |
---|---|---|
DateTime | An ISO 8601 datetime field. All times must be in UTC timezone | DataRowMetadataKind.datetime |
Number | Floating-point value (max: 64-bit float) | DataRowMetadataKind.number |
String | Free text field. Max 4,096 characters. | DataRowMetadataKind.string |
Enum | Enum field with options. Multiple options can be imported. | DataRowMetadataKind.enum |
Option (Enum) | Option of an enum. Max 64 options can be created per Enum type. 128 for enterprise customers and can be further increased upon request. | DataRowMetadataKind.enumoption |
Embedding | 128 float 32 vector used for similarity | DataRowMetadataKind.embedding |
Reserved fields
The following field names are reserved and cannot be used as custom metadata field names:Name | Type | Description |
---|---|---|
tag | String | The tags of the data row |
split | Enum | The split of the dataset that the data row belongs, includingtrain , valid , and test |
captureDateTime | DateTime | The timestamp when the data is captured |
skipNFrames | Number | (Video data only) The number of frames to skip |
turnInstructions | String | JSON string that contains instructions for each turn in a Multi-modal chat conversation. |
Construct metadata fields
To construct a metadata field, you must provide the Schema ID for the field and the value that will be uploaded. You can do this in two ways:- Option 1: Specify the metadata using the DataRowMetadataField object (comes with validation for metadata fields)
- Option 2: Specify the metadata fields in dictionary format without declaring the DataRowMetadataField objects
value
attribute should not be null
.