Skip to main content
Tasks can include image attachments for processing. The framework automatically handles image loading and provides them to the model for analysis.

Single Image Attachment

Multiple Image Attachments

Images with Other Context

Supported Image Formats

The framework supports various image formats including:
  • PNG (.png)
  • JPEG (.jpg, .jpeg)
  • GIF (.gif)
  • BMP (.bmp)
  • TIFF (.tiff)

Best Practices

  • File Paths: Use absolute or relative paths that are accessible to your application
  • Image Size: Consider image file sizes for performance optimization
  • Format Selection: Choose appropriate formats based on your analysis needs
  • Error Handling: Handle cases where image files might not be accessible
  • Context Integration: Combine images with relevant text context for better analysis