File handling utilities for CrewAI multimodal inputs
Project description
crewai-files
File handling utilities for CrewAI multimodal inputs.
Supported File Types
ImageFile- PNG, JPEG, GIF, WebPPDFFile- PDF documentsTextFile- Plain text filesAudioFile- MP3, WAV, FLAC, OGG, M4AVideoFile- MP4, WebM, MOV, AVI
Usage
from crewai_files import File, ImageFile, PDFFile
# Auto-detect file type
file = File(source="document.pdf") # Resolves to PDFFile
# Or use specific types
image = ImageFile(source="chart.png")
pdf = PDFFile(source="report.pdf")
Passing Files to Crews
crew.kickoff(
input_files={"chart": ImageFile(source="chart.png")}
)
Passing Files to Tasks
task = Task(
description="Analyze the chart",
expected_output="Analysis",
agent=agent,
input_files=[ImageFile(source="chart.png")],
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crewai_files-1.10.1.dev20260311.tar.gz.
File metadata
- Download URL: crewai_files-1.10.1.dev20260311.tar.gz
- Upload date:
- Size: 678.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8d6c100dae54adb82d2b1d60fded4429ccf78ee99aba4b92dc3511e86bf5c7f
|
|
| MD5 |
d8aaa9699972ee452619559f74c619e3
|
|
| BLAKE2b-256 |
723423d7f842e1dbfd3c13d34d7b3ebddb6e5180b5e9e08f1307c62c8ee34460
|
File details
Details for the file crewai_files-1.10.1.dev20260311-py3-none-any.whl.
File metadata
- Download URL: crewai_files-1.10.1.dev20260311-py3-none-any.whl
- Upload date:
- Size: 61.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65c22b2e00585093707ec1b91acd737416a2a062423e5fe0035a4def829104ee
|
|
| MD5 |
84de336bd5db1b23f6a8cbb5025c1c0e
|
|
| BLAKE2b-256 |
f4f2ca62e905e4bae285ab9995b85952afd40be17752c40967814506c474e1cc
|