@heripo/pdf-parser 0.1.15 → 0.1.16

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.cjs CHANGED
@@ -2444,24 +2444,29 @@ var InvalidDocumentTypeError = class extends Error {
2444
2444
 
2445
2445
  // src/validators/document-type-validator.ts
2446
2446
  var SYSTEM_PROMPT = `You are given text extracted from the first and last pages of a PDF document.
2447
- Determine if this document is a Korean archaeological investigation report (\uACE0\uACE0\uD559 \uC870\uC0AC \uBCF4\uACE0\uC11C).
2447
+ Determine if this document is an archaeological investigation report from any country.
2448
2448
 
2449
- Valid types include:
2450
- - \uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (excavation investigation report)
2451
- - \uC2DC\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (trial excavation report)
2452
- - \uC9C0\uD45C\uC870\uC0AC\uBCF4\uACE0\uC11C (surface survey report)
2453
- - \uC815\uBC00\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (detailed excavation report)
2454
- - \uC218\uC911\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (underwater excavation report)
2449
+ Valid types include (in any language):
2450
+ - Excavation report (\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2451
+ - Trial excavation report (\uC2DC\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2452
+ - Surface survey report (\uC9C0\uD45C\uC870\uC0AC\uBCF4\uACE0\uC11C)
2453
+ - Detailed excavation report (\uC815\uBC00\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2454
+ - Underwater excavation report (\uC218\uC911\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2455
+ - Salvage excavation report
2456
+ - Archaeological assessment report
2457
+ - Any other archaeological fieldwork investigation report
2455
2458
 
2456
2459
  NOT valid (these are NOT archaeological investigation reports):
2457
- - \uC218\uB9AC\uBCF4\uACE0\uC11C (repair/restoration report)
2458
- - \uB2E8\uC21C \uC2E4\uCE21 \uBCF4\uACE0\uC11C (simple measurement report)
2459
- - \uAC74\uCD95\uC870\uC0AC\uBCF4\uACE0\uC11C (architectural investigation report)
2460
- - \uD559\uC220\uC870\uC0AC\uBCF4\uACE0\uC11C (academic research report)
2461
- - \uD658\uACBD\uC601\uD5A5\uD3C9\uAC00 (environmental impact assessment)
2462
- - General academic papers or textbooks about archaeology`;
2460
+ - Repair/restoration reports (\uC218\uB9AC\uBCF4\uACE0\uC11C)
2461
+ - Simple measurement reports (\uB2E8\uC21C \uC2E4\uCE21 \uBCF4\uACE0\uC11C)
2462
+ - Architectural investigation reports (\uAC74\uCD95\uC870\uC0AC\uBCF4\uACE0\uC11C)
2463
+ - Academic research reports (\uD559\uC220\uC870\uC0AC\uBCF4\uACE0\uC11C)
2464
+ - Environmental impact assessments (\uD658\uACBD\uC601\uD5A5\uD3C9\uAC00)
2465
+ - General academic papers or textbooks about archaeology
2466
+ - Conservation/preservation reports
2467
+ - Museum catalogs or exhibition guides`;
2463
2468
  var documentTypeSchema = import_zod.z.object({
2464
- isValid: import_zod.z.boolean().describe("Whether this is a Korean archaeological investigation report"),
2469
+ isValid: import_zod.z.boolean().describe("Whether this is an archaeological investigation report"),
2465
2470
  reason: import_zod.z.string().describe("Brief reason for the decision")
2466
2471
  });
2467
2472
  var DocumentTypeValidator = class {