Skip to content

Issue: ocr_system: "highres" Not Accepted - Discrepancy Between Documentation and API #74

Description

@siddartha-10

Description
When attempting to use "highres" as a value for ocr_system in the settings parameter, the API returns a 422 Unprocessable Entity error, indicating that only "standard" or "legacy" are valid values.

HTTP Request: POST https://platform.reducto.ai/parse_async "HTTP/1.1 422 Unprocessable Entity"
worker-1  | 19:26:26.164           Failed to start Reducto parsing job: Error code: 422 - {'detail': [{'type': 'missing', 'loc': ['bod...': 'highres', 'ctx': {'expected': "'standard' or 'legacy'"}}]}

I was able to use highres as a value for ocr_system in the studio.

Environment
SDK Version: 0.13.0 (based on pyproject.toml)
Python Version: >3.12
Endpoint: /parse_async

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions