@heripo/pdf-parser 0.1.30 → 0.1.31

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/dist/index.d.cts CHANGED
@@ -84,6 +84,8 @@ type PDFConvertOptions = Omit<ConversionOptions, 'to_formats' | 'image_export_mo
84
84
  chunkSize?: number;
85
85
  /** Max retry attempts per failed chunk (default: CHUNKED_CONVERSION.DEFAULT_MAX_RETRIES) */
86
86
  chunkMaxRetries?: number;
87
+ /** Vision model for document language detection when the PDF text layer is insufficient */
88
+ languageDetectionModel?: LanguageModel;
87
89
  /** LLM model for document type validation (opt-in: skipped when not set) */
88
90
  documentValidationModel?: LanguageModel;
89
91
  };
package/dist/index.d.ts CHANGED
@@ -84,6 +84,8 @@ type PDFConvertOptions = Omit<ConversionOptions, 'to_formats' | 'image_export_mo
84
84
  chunkSize?: number;
85
85
  /** Max retry attempts per failed chunk (default: CHUNKED_CONVERSION.DEFAULT_MAX_RETRIES) */
86
86
  chunkMaxRetries?: number;
87
+ /** Vision model for document language detection when the PDF text layer is insufficient */
88
+ languageDetectionModel?: LanguageModel;
87
89
  /** LLM model for document type validation (opt-in: skipped when not set) */
88
90
  documentValidationModel?: LanguageModel;
89
91
  };