Working with Files
Clarity agents can analyze, interpret, and search uploaded files, and can also generate new, downloadable files. This guide outlines best practices for preparing files for upload and writing clear instructions to achieve the best results.
Uploading Files
In Clarity there is the possibility to upload files during a conversation and to a Custom Agent’s knowledge source. The following restrictions apply to files uploaded during conversations and to Custom Agent knowledge sources:
- Total Files: No limit on the total files uploaded to a conversation or Custom Agent
- Per Prompt: Up to 10 files can be uploaded simultaneously
- Individual file size limit: 512MB per file
- Extracted text content limit: 10,000,000 characters per file
Analysis and Interpretation of Files
Clarity supports a wide range of file types for analysis and interpretation.
Clarity can search within the following file types:
- Documents: .doc, .docx, .pdf, .pptx, .txt, .md, .tex
- Data and Spreadsheets: .json
- Code: .c, .cpp, .cs, .css, .html, .java, .js, .php, .py, .rb, .sh, .ts
Clarity can interpret files using code in the following file types:
- Documents: .doc, .docx, .pdf, .pptx, .txt, .md, .tex
- Data and Spreadsheets: .csv, .xlsx, .json, .xml
- Code: .c, .cpp, .cs, .css, .html, .java, .js, .php, .py, .rb, .sh, .ts
- Images: .gif, .jpeg, .jpg, .png
- Archives: .tar, .zip