Перейти к содержанию
НОВОЕМаркетплейс и trig8n Agent: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Извлечение полей из счетов по загруженным изображениям с помощью DGX Spark OCR и Qwen

Запускается, когда пользователь загружает счёт через форму. Распознаёт файл на эндпоинте DGX Spark, извлекает структурированные поля с помощью Qwen и показывает их обратно в форме.

Что делает

## Read invoices on a DGX Spark ### How it works This workflow lets a user upload an invoice through a form, converts the uploaded image/file to base64, and sends it to a DGX Spark-hosted chat completion endpoint for OCR. It then sends the recognized text to a Qwen model on the same Spark endpoint to extract structured invoice fields. The extracted fields are normalized and displayed back to the user in a form. ### Setup steps - Configure the upload form to accept the invoice file types you expect, such as images or PDFs. - Ensure the extract-from-file node is reading the correct uploaded file property and producing base64 output for the OCR request. - Replace http:// :4000/v1/chat/completions with the reachable DGX Spark endpoint address in both HTTP Request nodes. - Configure any required API authentication headers or tokens for the local Spark inference server. - Verify the OCR and Qwen extraction prompts/models match the models available on the DGX Spark service. ### Customization Adjust the OCR prompt, field-extraction prompt, and Set node fields to capture the invoice fields your organization needs, such as purchase order number, tax ID, line items, or payment terms.

Шаги

  1. Upload invoice
  2. Image to base64
  3. Show the fields
  4. Invoice fields
  5. Extract fields with Qwen3.6
  6. OCR on the DGX Spark

Похожие автоматизации