@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.js CHANGED
@@ -2419,24 +2419,29 @@ var InvalidDocumentTypeError = class extends Error {
2419
2419
 
2420
2420
  // src/validators/document-type-validator.ts
2421
2421
  var SYSTEM_PROMPT = `You are given text extracted from the first and last pages of a PDF document.
2422
- Determine if this document is a Korean archaeological investigation report (\uACE0\uACE0\uD559 \uC870\uC0AC \uBCF4\uACE0\uC11C).
2422
+ Determine if this document is an archaeological investigation report from any country.
2423
2423
 
2424
- Valid types include:
2425
- - \uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (excavation investigation report)
2426
- - \uC2DC\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (trial excavation report)
2427
- - \uC9C0\uD45C\uC870\uC0AC\uBCF4\uACE0\uC11C (surface survey report)
2428
- - \uC815\uBC00\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (detailed excavation report)
2429
- - \uC218\uC911\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C (underwater excavation report)
2424
+ Valid types include (in any language):
2425
+ - Excavation report (\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2426
+ - Trial excavation report (\uC2DC\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2427
+ - Surface survey report (\uC9C0\uD45C\uC870\uC0AC\uBCF4\uACE0\uC11C)
2428
+ - Detailed excavation report (\uC815\uBC00\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2429
+ - Underwater excavation report (\uC218\uC911\uBC1C\uAD74\uC870\uC0AC\uBCF4\uACE0\uC11C)
2430
+ - Salvage excavation report
2431
+ - Archaeological assessment report
2432
+ - Any other archaeological fieldwork investigation report
2430
2433
 
2431
2434
  NOT valid (these are NOT archaeological investigation reports):
2432
- - \uC218\uB9AC\uBCF4\uACE0\uC11C (repair/restoration report)
2433
- - \uB2E8\uC21C \uC2E4\uCE21 \uBCF4\uACE0\uC11C (simple measurement report)
2434
- - \uAC74\uCD95\uC870\uC0AC\uBCF4\uACE0\uC11C (architectural investigation report)
2435
- - \uD559\uC220\uC870\uC0AC\uBCF4\uACE0\uC11C (academic research report)
2436
- - \uD658\uACBD\uC601\uD5A5\uD3C9\uAC00 (environmental impact assessment)
2437
- - General academic papers or textbooks about archaeology`;
2435
+ - Repair/restoration reports (\uC218\uB9AC\uBCF4\uACE0\uC11C)
2436
+ - Simple measurement reports (\uB2E8\uC21C \uC2E4\uCE21 \uBCF4\uACE0\uC11C)
2437
+ - Architectural investigation reports (\uAC74\uCD95\uC870\uC0AC\uBCF4\uACE0\uC11C)
2438
+ - Academic research reports (\uD559\uC220\uC870\uC0AC\uBCF4\uACE0\uC11C)
2439
+ - Environmental impact assessments (\uD658\uACBD\uC601\uD5A5\uD3C9\uAC00)
2440
+ - General academic papers or textbooks about archaeology
2441
+ - Conservation/preservation reports
2442
+ - Museum catalogs or exhibition guides`;
2438
2443
  var documentTypeSchema = z3.object({
2439
- isValid: z3.boolean().describe("Whether this is a Korean archaeological investigation report"),
2444
+ isValid: z3.boolean().describe("Whether this is an archaeological investigation report"),
2440
2445
  reason: z3.string().describe("Brief reason for the decision")
2441
2446
  });
2442
2447
  var DocumentTypeValidator = class {