@anyformat/sdk 1.7.0 → 1.9.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/README.md CHANGED
@@ -303,5 +303,5 @@ Every knob is an option on `.parse({...})` / `.extract(fields, {...})`. `parse`
303
303
  `cache`; **agentic-only** `effort` (`"low"`/`"mid"`/`"accurate"`); **lite**: no knobs of its own — one
304
304
  OCR-only recipe that never reads `promptHint`; **flash-only** `scannedPages` (`"skip"`/`"fail"`) — no model call, no OCR.
305
305
 
306
- **`.extract(fields, {...})`** — `mode` (`"standard"`/`"agentic"`/`"max"`/`"lite"`), `useImages`,
306
+ **`.extract(fields, {...})`** — `mode` (`"standard"`/`"agentic"`/`"max"`/`"lite"`),
307
307
  `lookupSuggestion`, `lookupReasoningEffort` (`"minimal"`/`"low"`/`"medium"`/`"high"`), `lookupFiles`.
package/dist/index.cjs CHANGED
@@ -52,7 +52,7 @@ module.exports = __toCommonJS(index_exports);
52
52
  // package.json
53
53
  var package_default = {
54
54
  name: "@anyformat/sdk",
55
- version: "1.7.0",
55
+ version: "1.9.0",
56
56
  description: "TypeScript SDK for the AnyFormat API",
57
57
  license: "MIT",
58
58
  author: "Anyformat <info@anyformat.ai>",
@@ -1535,8 +1535,7 @@ var WorkflowBuilder = class {
1535
1535
  extraction_schema: { fields },
1536
1536
  ...lookupFileUploads.length > 0 ? { lookup_file_uploads: lookupFileUploads } : {},
1537
1537
  ...opts.lookupSuggestion !== void 0 ? { lookup_suggestion: opts.lookupSuggestion } : {},
1538
- ...opts.lookupReasoningEffort !== void 0 ? { lookup_reasoning_effort: opts.lookupReasoningEffort } : {},
1539
- ...opts.useImages !== void 0 ? { use_images: opts.useImages } : {}
1538
+ ...opts.lookupReasoningEffort !== void 0 ? { lookup_reasoning_effort: opts.lookupReasoningEffort } : {}
1540
1539
  };
1541
1540
  this.extracts.push([node, branchId]);
1542
1541
  return this;