You can upload files to Tensorlake for parsing without relying any external storage like S3.The file upload API returns a unique file_id that can be used with the parse endpoint to parse the file.
We also support pre-signed URLs or any publicly accessible URLs for files. You
can skip the upload step and directly use the
parse endpoint with file URLs.
Files uploaded are scoped to a specific project in your account. The API key provided with the API calls
is used to determine the project to which the file is uploaded. This is used to secure the files uploaded
and isolate them from other projects in your account.
The file upload API is not intended for files larger than 1 GB. If you have
files larger than 1 GB, please reach out to us at support@tensorlake.ai.
Copy
Ask AI
from tensorlake.documentai import DocumentAIdoc_ai = DocumentAI(api_key="xxxx")file_id = doc_ai.upload(path="/path/to/file.pdf")