Single Document Attachment
Multiple Document Attachments
Supported Document Formats
The framework supports various document formats including:- PDF (.pdf)
- Word Documents (.docx)
- Text Files (.txt)
- Markdown (.md)
- JSON (.json)
- XML (.xml)
- CSV (.csv)
- HTML (.html)
- CSS (.css)
- Python (.py)
- JavaScript (.js)
Folder Context
The framework also supports passing folder paths to automatically include all files within a directory:Best Practices
- File Paths: Use absolute or relative paths that are accessible to your application
- Document Size: Consider document file sizes for performance optimization
- Format Selection: Choose appropriate formats based on your analysis needs
- Error Handling: Handle cases where document files might not be accessible
- Context Integration: Combine documents with relevant text context for better analysis
- Tool Integration: Use specialized document analysis tools when available
- Folder Organization: Organize related documents in folders for easier context management

