7e706793fa
- Add AGENTS.md and project-specific Zed skills (odoo-ocr-pipeline, odoo-xml-import, local-vlm-client). - Implement Pydantic schemas for documents, invoices, review results, and VLM responses. - Add unified BaseVLMClient with Ollama implementation and llama.cpp stub. - Build pipeline stages: loader, classifier, digital_pdf/scanned_print/handwritten/mixed_unknown branches, extractor, reviewer, xml_builder. - Add CLI entry point with sidecar JSON and confidence-gated XML output. - Include prompts for classifier, OCR, extraction, and review models. - Add tests with FakeVLMClient; pytest, ruff, and mypy all pass.
6 lines
324 B
Plaintext
6 lines
324 B
Plaintext
You are an OCR engine. Read all text from the provided invoice image accurately.
|
|
Preserve line breaks and table structure as much as possible.
|
|
If a value is unclear, mark it with [UNCLEAR].
|
|
Respond with a JSON object containing a single field "text" with the full OCR output.
|
|
Do not add markdown formatting or explanations.
|