Песочница: TESSACORPORATION

Intent ID: 17

Назад
1) Загрузить файл и получить сырой OCR JSON
Сохраняем последний файл и сырой OCR, чтобы можно было повторно тестировать маппинг без перезагрузки.
Скачать последний файл (90710676.pdf)
2) Правила трансформации
Правила трансформации OCR-данных в целевую схему (включая валидацию).
Промпт LLM-подсказки
Используется кнопкой «Подсказать rules».
Сырой OCR JSON (Pass 1)
{
  "awb": "145-99817572",
  "items": [
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842752",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.36,
      "box_marking": "QBALSTRO",
      "total_price": 54.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842753",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.36,
      "box_marking": "QBALSTRO",
      "total_price": 54.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842754",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.36,
      "box_marking": "QBALSTRO",
      "total_price": 54.0
    },
    {
      "boxes": 1.0,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 170,
      "box_number": "910842786",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.32,
      "box_marking": "QBALSTRO",
      "total_price": 54.4
    },
    {
      "boxes": 1.0,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 170,
      "box_number": "910842787",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.32,
      "box_marking": "QBALSTRO",
      "total_price": 54.4
    },
    {
      "boxes": 1.0,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 170,
      "box_number": "910842788",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.32,
      "box_marking": "QBALSTRO",
      "total_price": 54.4
    },
    {
      "boxes": 1.0,
      "length": "60CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 170,
      "box_number": "910842789",
      "plantation": "ALSTRO PINKPRIMADONNA",
      "unit_price": 0.32,
      "box_marking": "QBALSTRO",
      "total_price": 54.4
    },
    {
      "boxes": 1.0,
      "length": "80CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842834",
      "plantation": "ALSTROYELLOWGOLD",
      "unit_price": 0.4,
      "box_marking": "QBALSTRO",
      "total_price": 60.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842862",
      "plantation": "ALSTRO REDNIRVANA",
      "unit_price": 0.36,
      "box_marking": "QBALSTRO",
      "total_price": 54.0
    },
    {
      "boxes": 1.0,
      "length": "80CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 200,
      "box_number": "910842873",
      "plantation": "ALSTRO REDNIRVANA",
      "unit_price": 0.4,
      "box_marking": "HBALSTRO",
      "total_price": 80.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 200,
      "box_number": "910842905",
      "plantation": "ALSTROWHITEHIMALAYA",
      "unit_price": 0.36,
      "box_marking": "HBALSTRO",
      "total_price": 72.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 200,
      "box_number": "910842906",
      "plantation": "ALSTROWHITEHIMALAYA",
      "unit_price": 0.36,
      "box_marking": "HBALSTRO",
      "total_price": 72.0
    },
    {
      "boxes": 1.0,
      "length": "70CM",
      "variety": "TESSAP",
      "category": "",
      "quantity": 150,
      "box_number": "910842920",
      "plantation": "ALSTROWHITEHIMALAYA",
      "unit_price": 0.36,
      "box_marking": "QBALSTRO",
      "total_price": 54.0
    }
  ],
  "country": "Kyrgyz Republic(Kyrgyzstan)",
  "summary": {
    "total_boxes": 13.0,
    "total_stems": 2180,
    "total_amount": 771.6
  },
  "supplier": "TOO QAZAQ IMEX/SOCIEDAD DERESPONSABILIDAD LIMITADA",
  "invoice_date": "",
  "invoice_number": ""
}
Результат (Pass 2)

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