We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When partitioning the following file, it simply times out.
To Reproduce
const unstructuredClient = new UnstructuredClient({ security: { apiKeyAuth: process.env.UNSTRUCTURED_IO_API_KEY, }, }); const res: PartitionResponse = await unstructuredClient.general.partition( { partitionParameters: { files: { content: content, fileName: fileName, }, splitPdfPage: true, splitPdfAllowFailed: true, splitPdfConcurrencyLevel: 15, strategy: Strategy.Auto, languages: ["eng"], chunkingStrategy: ChunkingStrategy.ByTitle, maxCharacters: 8000, // our embedding model max token is 8192 }, }, { retries: { strategy: "backoff", backoff: { initialInterval: 500, maxInterval: 60000, exponent: 1.5, maxElapsedTime: 900000, }, retryConnectionErrors: true, }, timeoutMs: 10 * 60 * 1000, // 10 mins }, ); if (res.statusCode !== 200) { throw res.rawResponse; }
Expected behavior Expect the partition to succeed
Screenshots If applicable, add screenshots to help explain your problem.
Environment Info run in nodejs, using unstructured serverless
Additional context the file that triggers the error has been attached here. Uploading error.xlsx…
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When partitioning the following file, it simply times out.
To Reproduce
Expected behavior
Expect the partition to succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Environment Info
run in nodejs, using unstructured serverless
Additional context
the file that triggers the error has been attached here.
Uploading error.xlsx…
The text was updated successfully, but these errors were encountered: