Media Storage

Offload agent media to the filesystem, S3, or Google Cloud Storage.

Media is replaced with a reference only after successful offload. A storage failure can leave inline media in the database.

ExampleDescription
Local Media StorageStore agent media on the filesystem with LocalMediaStorage and keep a reference in the database.
S3 Media StorageOffload agent media to an S3 bucket and keep only a MediaReference in the database.
GCS Media StorageOffload agent media to Google Cloud Storage and keep only a MediaReference in the database.
Media Storage Across TurnsRead offloaded media back from storage across multiple turns of a session.
Deleting Offloaded MediaDelete session rows and attempt a best-effort cleanup of their media objects.