Tags
Tags are a way for attaching arbitrary data to your rows so they can be sliced and diced.
Tags overview
This section provides a more granular look at Tags. Tags are flexible way to append to your data descriptive information such as where predictions come from and the context predictions are served in. All Tags are stings. Tags show up as additional columns in a Gantry row:

A Tag is a key/value pair that can be attached to a record upon ingestion to facilitate identifying a record via filters. Examples of Tags might include:
- Which environment a record came from (prod, sandbox, dev)
- Which model version (like a code, data hash, or combination) generated the prediction that a record represents
- Other arbitrary data, such as the end consumer of the prediction for cases where a single model service serves multiple user interfaces
Tags are created by populating the tags
keyword argument in the Python SDK.
Via Gantry Tags, the following example links the associated record in production to an iOS application:
tags = {
"env": "prod",
"version": "c09f689b93facc1f0e165b0d98f9a9cd52de0668",
"consumer": "mobile-ios"
}
inputs = {
"prompt": “I read the news today oh boy”,
}
outputs = {
"generation": “About a lucky man who made the grade
}
gantry.log_record(
"my-awesome-app",
inputs=inputs,
outputs=outputs,
tags=tags,
)
The the UI, Tags can be searched by filtering by substring:

Updated 18 days ago