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.13.0a7.tar.gz
(678.5 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.13.0a7.tar.gz.
File metadata
- Download URL: crewai_files-1.13.0a7.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 |
63590a961e1b68aeff11d0927df7fc433ae63c852eb5ada553e2cb83a5466c4c
|
|
| MD5 |
3b393538b0f6188c4a28dd41a2cbe7d8
|
|
| BLAKE2b-256 |
3656ee4e9dcba2a18da520a5a595afb67b94249be5554f26b6f67184a66521de
|
File details
Details for the file crewai_files-1.13.0a7-py3-none-any.whl.
File metadata
- Download URL: crewai_files-1.13.0a7-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 |
1f610fb8e58aac5cb3f1fd2c6ec7d4cac3d1712eb6daad07fb61fc20c9b1f1b8
|
|
| MD5 |
30129302a86202ea744c5530843e5d20
|
|
| BLAKE2b-256 |
b1fe8cb560af1d06d089a53bbf04fb289442da22637f8c9c67d8891ac974f37d
|