@docling/docling-client 0.3.0 → 2.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PYTHON_CLIENT_PARITY.md +5 -4
- package/dist/index.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/package.json +21 -12
package/PYTHON_CLIENT_PARITY.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Python client parity
|
|
2
2
|
|
|
3
|
-
This document compares `@docling/docling-client` with Docling Python 2.
|
|
4
|
-
at commit `
|
|
3
|
+
This document compares `@docling/docling-client` with Docling Python 2.130.0
|
|
4
|
+
at commit `92fc74c`, specifically:
|
|
5
5
|
|
|
6
6
|
- `DoclingServiceClient`
|
|
7
7
|
- `AsyncDoclingServiceClient`
|
|
@@ -74,7 +74,7 @@ because async is its native execution model.
|
|
|
74
74
|
| Base64 file | Yes | No | JSON `FileSource`. |
|
|
75
75
|
| Local path | Yes, Node | No | Read lazily when normalized, then multipart or base64 depending on target. |
|
|
76
76
|
| `Blob` / `ArrayBuffer` / typed array | Yes | No | TypeScript extension for Node/browser integrations. |
|
|
77
|
-
| S3 | No | Yes | Endpoint, SSL flag, keys, bucket, prefix,
|
|
77
|
+
| S3 | No | Yes | Endpoint, SSL flag, optional region, optional keys, bucket, prefix, limit. |
|
|
78
78
|
| Azure Blob | No | Yes | Account, container, connection string, prefix, enumeration limit. |
|
|
79
79
|
| Google Cloud Storage | No | Yes | Bucket, prefix, project/ADC, optional service-account object. |
|
|
80
80
|
| Google Drive | No | Yes | Path, token/refresh token, credentials path/object. |
|
|
@@ -126,7 +126,8 @@ The explicit TypeScript option surface covers every field in Python
|
|
|
126
126
|
`vlm_pipeline_model_api`
|
|
127
127
|
- VLM, picture-description, code/formula, table-structure, layout, and
|
|
128
128
|
picture-classification preset/custom-config pairs
|
|
129
|
-
- `document_timeout`, `abort_on_error`,
|
|
129
|
+
- `document_timeout`, `abort_on_error`, Markdown page-break placeholder,
|
|
130
|
+
and `md_compact_tables`
|
|
130
131
|
|
|
131
132
|
Known enums, page ranges, primitive shapes, and nested option object boundaries
|
|
132
133
|
are checked locally. Legacy VLM/picture-description model objects and the
|
package/dist/index.cjs
CHANGED
|
@@ -1459,7 +1459,8 @@ var BOOLEAN_OPTIONS = [
|
|
|
1459
1459
|
"do_picture_classification",
|
|
1460
1460
|
"do_chart_extraction",
|
|
1461
1461
|
"do_picture_description",
|
|
1462
|
-
"abort_on_error"
|
|
1462
|
+
"abort_on_error",
|
|
1463
|
+
"md_compact_tables"
|
|
1463
1464
|
];
|
|
1464
1465
|
var NUMBER_OPTIONS = [
|
|
1465
1466
|
"document_timeout",
|
|
@@ -3837,13 +3838,11 @@ function validateKnownConnector(value, role) {
|
|
|
3837
3838
|
return;
|
|
3838
3839
|
}
|
|
3839
3840
|
if (value.kind === "s3") {
|
|
3840
|
-
requireStringFields(
|
|
3841
|
-
fields,
|
|
3842
|
-
["endpoint", "access_key", "secret_key", "bucket", "key_prefix"],
|
|
3843
|
-
role,
|
|
3844
|
-
true
|
|
3845
|
-
);
|
|
3841
|
+
requireStringFields(fields, ["endpoint", "bucket", "key_prefix"], role, true);
|
|
3846
3842
|
validateOptionalBoolean(fields.verify_ssl, `${role} verify_ssl`);
|
|
3843
|
+
validateOptionalString2(fields.region, `${role} region`);
|
|
3844
|
+
validateOptionalString2(fields.access_key, `${role} access_key`);
|
|
3845
|
+
validateOptionalString2(fields.secret_key, `${role} secret_key`);
|
|
3847
3846
|
validatePositiveMaxElements(fields.max_num_elements, role);
|
|
3848
3847
|
return;
|
|
3849
3848
|
}
|