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
crewai_files-1.9.3.tar.gz
(678.4 kB
view details)
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.9.3.tar.gz.
File metadata
- Download URL: crewai_files-1.9.3.tar.gz
- Upload date:
- Size: 678.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83b61ccaa695b0e44715e87eb5a95f168ef8ca2063f62a06145957f75700c651
|
|
| MD5 |
0cc9e0dc20ce722020effc6fa420ff6d
|
|
| BLAKE2b-256 |
65a6deb7cb9abeda6f704ed41d4682b5accd54a9b23cce6866a85d570c0282a8
|
File details
Details for the file crewai_files-1.9.3-py3-none-any.whl.
File metadata
- Download URL: crewai_files-1.9.3-py3-none-any.whl
- Upload date:
- Size: 61.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f9161336b942539e96bc6a20587e6573e752f3e8f4addccd70a46254c9a01bf
|
|
| MD5 |
36a22dc30b884192207fe70c32693765
|
|
| BLAKE2b-256 |
2d53c4092141d6f137a5a4fe30e30d19b26c0642294fd46fbbe354e6857898b7
|