canUploadFile
Check if a file can be uploaded to a knowledge base by validating its size and PDF file type, ensuring only compliant files are accepted.
Instructions
Check whether a file can be uploaded based on size and type. (Tags: Knowledge base)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes | The JSON request body. |