Skip to content

Confidence

Confidence expresses how certain the API is about a piece of extracted information. The model wraps a single numeric score, allowing you to calibrate post-processing logic. High confidence results can be consumed automatically, while lower scores might trigger human review or cross-checks against ERP data. By exposing this signal, the API enables transparent decision-making and traceability, which are essential when automating workflows that historically required manual validation. Treat the Confidence class as a signal for prioritizing work queues, designing escalation rules, or measuring how changes in drawing templates affect parsing accuracy over time.

Bases: BaseModel

Represents a confidence score for a feature or measurement.

PARAMETER DESCRIPTION
score

The confidence score of the feature, indicating the confidence the symstem has in the reading.

TYPE: Decimal

Source code in werk24/models/v2/models.py
class Confidence(BaseModel):
    """
    Represents a confidence score for a feature or measurement.
    """

    score: Decimal = Field(
        ...,
        description="The confidence score of the feature, indicating the confidence the symstem has in the reading.",
        examples=[Decimal("0.75")],
    )