Enterprise · Japan

Q&A chatbot over an internal document library

The system recognises and extracts data from invoices, contracts and other documents, and exports it in templates configured by the client; a chatbot answers questions on the extracted data and the original files, with citations.

Project details

Industry
Document processing, OCR and AI
Country
Japan
Period
August 2024 to June 2025
Platform
Web and mobile app
Engagement
Offshore development centre (ODC)

Project team

  • 1 project manager
  • 2 business analyst
  • 1 designer
  • 1 ML/OCR engineer
  • 3 back-end developer
  • 1 front-end developer
  • 2 tester

Technology

  • OCR
  • RAG
  • .NET 8
  • Azure
  • Elasticsearch
  • Redis Cache
  • Blob Storage
  • Flutter
  • CI/CD

Challenges

  • Inputs come in many formats, with low-quality scans and tables of many rows and columns.
  • Output templates change by client and by version, and accuracy is required field by field.
  • Large document volumes affect latency and cost and call for flexible scaling.
  • The data contains sensitive personal information that must be protected and handled in compliance.

Solution

  • A hybrid pipeline combining OCR, layout detection, rules and NER, with a dedicated invoice model and a generic fallback.
  • Output templates defined in JSON Schema with a validator, automatic template detection, and adapters for JSON, CSV, XML and Webhook.
  • Confidence thresholds per field route uncertain results to human review; models are retrained periodically.
  • The RAG chatbot answers only from the client’s document library, with citations, guardrails and rate limits.
  • Role-based access control, encryption, an audit trail and data residency by region.

Key features

  • Template management

    JSON Schema builder, data types, constraints and versioning.

  • Upload and API

    Batch upload or API intake, with image pre-processing: deskewing and denoising.

  • OCR and table detection

    Layout and table detection, extraction of fields and line items.

  • Human review

    Low-confidence results go to a reviewer, and every correction is recorded.

  • Q&A chatbot

    Answers on the extracted data and the original files, with source citations.

  • Quality dashboard

    Quality indicators, audit log and SLA alerts.

Results

The system is designed to reduce manual data entry, standardise data, speed up processing and ensure compliance.

Talk to a HyperTek specialist

A 45-minute session to review requirements, recommend suitable solutions and propose a deployment scope. Free of charge.