crewai-files-1.9.3


توضیحات

File handling utilities for CrewAI multimodal inputs
ویژگی مقدار
سیستم عامل -
نام فایل crewai-files-1.9.3
نام crewai-files
نسخه کتابخانه 1.9.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Greyson LaLonde <greyson@crewai.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/crewai-files/
مجوز -
# crewai-files File handling utilities for CrewAI multimodal inputs. ## Supported File Types - `ImageFile` - PNG, JPEG, GIF, WebP - `PDFFile` - PDF documents - `TextFile` - Plain text files - `AudioFile` - MP3, WAV, FLAC, OGG, M4A - `VideoFile` - MP4, WebM, MOV, AVI ## Usage ```python 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 ```python crew.kickoff( input_files={"chart": ImageFile(source="chart.png")} ) ``` ### Passing Files to Tasks ```python task = Task( description="Analyze the chart", expected_output="Analysis", agent=agent, input_files=[ImageFile(source="chart.png")], ) ```


نیازمندی

مقدار نام
- aiocache~=0.12.3
- aiofiles~=24.1.0
- av~=13.0.0
- pillow~=12.1.1
- pypdf~=6.10.0
- python-magic>=0.4.27
- tinytag~=2.2.1


زبان مورد نیاز

مقدار نام
<3.14,>=3.10 Python


نحوه نصب


نصب پکیج whl crewai-files-1.9.3:

    pip install crewai-files-1.9.3.whl


نصب پکیج tar.gz crewai-files-1.9.3:

    pip install crewai-files-1.9.3.tar.gz