Keep the file and its identity
How to preserve text, image, and audio content in object storage with linked metadata so downstream AI pipelines can identify and interpret each file. · associate
Preserve text, images, and audio as original files in Amazon S3. An S3 object stores the file's bytes in a bucket under an object key. Keys such as sources/a17/call.wav organize objects; their prefixes are not filesystem directories.
Give each asset a stable asset ID and link it to its bucket and key. If a key can be overwritten, enable S3 Versioning and record the version ID to identify the exact source version. A filename alone is not a reliable identity across buckets or revisions.
Store interpretation metadata alongside that identity. Media type describes the format, while format-specific details help a pipeline select a compatible reader. Check these details during ingestion rather than trusting a filename extension alone.
| Source format | Media type | Useful interpretation details |
|---|---|---|
| Plain text | text/plain | Character encoding, language |
| JPEG image | image/jpeg | Width, height, orientation |
| WAV audio | audio/wav | Encoding, sample rate, channels |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.