parze 0.2.6 → 0.2.7

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/README.md CHANGED
@@ -62,7 +62,7 @@ Parse a document into structured text.
62
62
  - `options` (object, optional):
63
63
  - `outputFormat`: "structured" | "markdown" | "json"
64
64
  - `preserveTables`: boolean
65
- - `extractionMode`: "ai_only" | "auto" | "ocr_only" | "identity_doc" | "llm_only". Defaults to the API's `ai_only` mode when omitted.
65
+ - `extractionMode`: "ai_only" | "auto" | "ocr_only" | "identity_doc". Defaults to the API's `ai_only` mode when omitted.
66
66
 
67
67
  **Returns:** Promise with parsed text and metadata
68
68
 
@@ -82,9 +82,9 @@ Extract structured data from a file. Parse runs internally.
82
82
  - `extractionSchema` (object): Schema defining fields to extract
83
83
  - `options` (object, optional):
84
84
  - `preserveTables`: boolean
85
- - `extractionMode`: "ai_only" | "auto" | "ocr_only" | "identity_doc" | "llm_only". Defaults to the API's `ai_only` mode when omitted.
85
+ - `extractionMode`: "ai_only" | "auto" | "ocr_only" | "identity_doc". Defaults to the API's `ai_only` mode when omitted.
86
86
 
87
- **Returns:** Promise with extracted data and confidence scores
87
+ **Returns:** Promise with extracted data and field metadata
88
88
 
89
89
  ### `validate(filePath(s), options?)`
90
90
  Validate document quality (pre) or extracted data (post).
package/dist/index.d.ts CHANGED
@@ -5,11 +5,11 @@ export interface ParzeClientOptions {
5
5
  export interface ParseOptions {
6
6
  outputFormat?: 'structured' | 'markdown' | 'json';
7
7
  preserveTables?: boolean;
8
- extractionMode?: 'ai_only' | 'auto' | 'ocr_only' | 'identity_doc' | 'llm_only';
8
+ extractionMode?: 'ai_only' | 'auto' | 'ocr_only' | 'identity_doc';
9
9
  }
10
10
  export interface ExtractFileOptions {
11
11
  preserveTables?: boolean;
12
- extractionMode?: 'ai_only' | 'auto' | 'ocr_only' | 'identity_doc' | 'llm_only';
12
+ extractionMode?: 'ai_only' | 'auto' | 'ocr_only' | 'identity_doc';
13
13
  }
14
14
  export interface ValidateOptions {
15
15
  validationType?: 'pre' | 'post';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "parze",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "TypeScript SDK for the Parze API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",