auto-large
and auto-small
.
These models automatically route your requests to the current best-performing model based on availability, performance, and speed metrics. This means you don’t need to manually update your model selection when new, better-performing models become available—Retab handles the routing for you, ensuring your applications always use the optimal model for your use case.
AsyncRetab
) is ideal for high-performance, non-blocking applications where multiple tasks run concurrently. For simpler or blocking operations, the synchronous client (Retab
) provides a straightforward approach.
Here’s how you can use both:
POST /v1/documents/extractions
POST /v1/documents/create_messages
429 Too Many Requests
response. The response headers will include:
modality
parameter to specify the modality of the document and override the default modality.
_consensus_score
fields are added to the likelihoods object, they are computed as the average of the consensus scores within some context.