Read a brief from a file
claro_brief_from_fileThe premises requirements a file states (a site brief, a location profile, a requirements sheet): a PDF, a photo or scan (JPG, PNG, WebP, HEIC), a Word, Excel or PowerPoint file, OpenDocument or text, sent as base64 in content_base64 with its media_type and, best, its filename. Up to 10 MB. Returns brief (the requirements in plain words), requirements (each with the file's own words as quote) and quotes_checked. Show the brief to the user to check, then pass it to claro_search_premises; nothing is searched here. The file is not stored. Costs 100 tokens a call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | The file's name with its extension, e.g. perfil.docx. | |
| media_type | Yes | The file's media type, e.g. application/pdf, image/jpeg, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document. | |
| content_base64 | Yes | The file's bytes, base64. |