Closed
Conversation
vcpandya
pushed a commit
to vcpandya/IDP
that referenced
this pull request
Mar 12, 2026
Task VectifyAI#2: Add verifier documentation and replace placeholder URLs. Changes: 1. Created verify_integration.md at project root — standalone reference for the Document Verification API covering: - POST /api/verify/single (single file verification) - POST /api/verify (multi-file with SSE streaming) - Response field reference (status, matches[], confidence, details) - File constraints (20MB/file, max 20 files, supported formats) - Processing methods per format (vision for images, PDF page render, text extraction for DOCX/TXT/HTML/CSV) - Error handling table matching actual HTTPException messages - Integration tips and Python SSE consumption example 2. Added §15 "Document Verification" to integration_instructions.md with a summary, quick cURL example, and link to verify_integration.md. Updated table of contents to include section 15. 3. Replaced all placeholder URLs (https://host/) with the production URL https://idpai.replit.app across integration_instructions.md (3 occurrences: document upload, batch template analyze, job stream). Updated Base URL section and OpenAPI docs links accordingly. Post-review fixes applied: - Clarified that expectations field accepts both JSON array and single JSON string (matching _parse_expectations parser behavior) - Softened status guarantee wording — status is LLM-prompt-enforced, not server-validated; docs now recommend checking matches[] directly Deviation: Could not call markTaskInProgress on Task VectifyAI#1 since it was already in MERGED state. All edits applied directly under Task VectifyAI#2.
vcpandya
pushed a commit
to vcpandya/IDP
that referenced
this pull request
Mar 12, 2026
Task VectifyAI#2: Add verifier documentation and replace placeholder URLs. Changes: 1. Created verify_integration.md at project root — standalone reference for the Document Verification API covering: - POST /api/verify/single (single file verification) - POST /api/verify (multi-file with SSE streaming) - Response field reference (status, matches[], confidence, details) - File constraints (20MB/file, max 20 files, supported formats) - Processing methods per format (vision for images, PDF page render, text extraction for DOCX/TXT/HTML/CSV) - Error handling table matching actual HTTPException messages - Integration tips and Python SSE consumption example 2. Added §15 "Document Verification" to integration_instructions.md with a summary, quick cURL example, and link to verify_integration.md. Updated table of contents to include section 15. 3. Replaced all placeholder URLs (https://host/) with the production URL https://idpai.replit.app across integration_instructions.md (3 occurrences: document upload, batch template analyze, job stream). Updated Base URL section and OpenAPI docs links accordingly. Post-review fixes applied: - Clarified that expectations field accepts both JSON array and single JSON string (matching _parse_expectations parser behavior) - Softened status guarantee wording — status is LLM-prompt-enforced, not server-validated; docs now recommend checking matches[] directly Deviation: Could not call markTaskInProgress on Task VectifyAI#1 since it was already in MERGED state. All edits applied directly under Task VectifyAI#2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix config, logger