New PATCH Endpoint for Managing Models

Description:
We’ve introduced a new PATCH endpoint to mark specific models as inactive. This feature helps ensure that only good models are used for document processing, improving accuracy and efficiency.

Key Highlights:

Scope Control: Target models associated with an entire company, a specific file type (e.g., "receipt" or "supplierinvoice"), or even a particular supplier within a file type.

Flexible Filtering: Use optional filters such as startDateTime and endDateTime to refine your updates.

Supplier-Specific Logic: When targeting supplier-specific models, you must specify the type as "supplierinvoice."

Why It Matters:
Outdated models can introduce noise into document extractions. This feature ensures that only relevant and updated models are active, aligning AzoraOne with your company's evolving document extraction needs.

Example Use Case:
Deactivate all "supplierinvoice" models associated with Supplier X for a specific time frame.

New Resource:

PATCH ...{api}/{version}/companies/{companyID}/models[?type][&supplierID][&startDateTime][&endDateTime]