Supported multimodal helpers
TheDataset class provides:
add_image(row_index, column_name, image_path)add_audio(row_index, column_name, audio_path)add_video(row_index, column_name, video_path)add_media_url(row_index, column_name, media_url, media_type)
Build a multimodal dataset
What gets stored
- File-based helpers encode content as data URIs (
data:<mime>;base64,...) - URL-based helper stores the URL directly
Use multimodal fields in tasks
Validation rules
Image extensions
Image extensions
Allowed:
.jpg, .jpeg, .png, .gif, .webpAudio extensions
Audio extensions
Allowed:
.mp3, .wav, .ogg, .m4aVideo extensions
Video extensions
Allowed:
.mp4, .webm, .movMedia URL types
Media URL types
Allowed
media_type: image, audio, video