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")],
)
Release files for crewai-files 1.15.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crewai_files-1.15.20.tar.gz | 679.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crewai_files-1.15.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 741.3 kB
Release files / crewai_files-1.15.20.tar.gz
| Download URL | crewai_files-1.15.20.tar.gz |
|---|---|
| Size | 679.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d02893ba6c02b22ff68b57bedef8ab2dfc89595327f599188d98ac383f6bbf42
|
|
BLAKE2b-256 checksum How to use checksums |
0614835dc13d28dc42bfad6e20f231b62ea07df4dc6d61970891ddde38873683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / crewai_files-1.15.20-py3-none-any.whl
| Download URL | crewai_files-1.15.20-py3-none-any.whl |
|---|---|
| Size | 62.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a01ee3cf55bfbb848b24e09004cef0490c90d31b9e411103bb4905d22ef19d9
|
|
BLAKE2b-256 checksum How to use checksums |
7c73383e03d82b5b123a62f8fe5ee0804684937520601b7bba00c2b10d9d7885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|