Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90712537.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817594",
  "items": [
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYFIBON ACCIAUREUS",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 40.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYFIBON ACCIYAN TRA",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 40.0
    },
    {
      "boxes": 1,
      "length": "50",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 30,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.6,
      "box_marking": "HB",
      "total_price": 18.0
    },
    {
      "boxes": 1,
      "length": "60",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 20,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.7,
      "box_marking": "HB",
      "total_price": 14.0
    },
    {
      "boxes": 1,
      "length": "70",
      "variety": "SPRAYBELLALINDACERISE",
      "category": "Flowers",
      "quantity": 50,
      "box_number": "1",
      "plantation": "TESSAP",
      "unit_price": 0.8,
      "box_marking": "HB",
      "total_price": 40.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 2,
    "total_stems": 200,
    "total_amount": 152.0
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

  
История (последние 20)
ID Файл Дата