Files & Attachments
File attachments can be sent with chat completion requests to provide additional context to the AI.
Uploading Files
File attachments are currently supported through the User App. The Product API supports file attachments through multipart requests.
Supported File Types
- Documents: PDF, text, markdown
- Code: Python, JavaScript, TypeScript, etc.
- Images: PNG, JPEG, WebP
- Data: CSV, JSON, XML
Next Steps
- Attachments Guide — User guide
- Chat Completions — API reference