We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5886926 commit 59807d5Copy full SHA for 59807d5
package.json
@@ -2,7 +2,7 @@
2
"name": "unstructured-client",
3
"version": "0.18.1",
4
"author": "Unstructured",
5
- "main": "./index.js",
+ "main": "src/index.js",
6
"sideEffects": false,
7
"repository": {
8
"type": "git",
src/funcs/generalPartition.ts
@@ -246,7 +246,7 @@ export async function generalPartition(
246
const path = pathToFunc("/general/v0/general")();
247
248
const headers = new Headers({
249
- Accept: "application/json",
+ Accept: payload.partition_parameters.output_format,
250
"unstructured-api-key": encodeSimple(
251
"unstructured-api-key",
252
payload["unstructured-api-key"],
0 commit comments