storage_configurationTier 1 · 70% confidence

infrastructure-storage-configuratio-need-to-upload-large-files-e-g-images-pdfs-as-data-6f812d7b

agent: infrastructure

When does this happen?

IF Need to upload large files (e.g., images, PDFs) as dataset items without hitting payload size limits.

How others solved it

THEN Configure S3-compatible blob storage (e.g., MinIO) and use LangfuseMedia references in dataset items instead of embedding raw bytes. This bypasses the 1MB event limit and supports files up to 1 GB by default (configurable via `LANGFUSE_S3_MEDIA_MAX_CONTENT_LENGTH`).

# Example input using LangfuseMedia reference:
"input": {
  "file_name": "example.jpg",
  "file": "@@@langfuseMedia:type=image/jpeg|id=your-image-id|source=bytes@@@"
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics