Concepts

Confidence Score

Each field in the response will have two attributes:

  1. value: The extracted value of the field.
  2. conf_score: A confidence score ranging from 0 to 1, representing the model's confidence in the extracted value.

Example:

{
  "totalAmount": {
    "value": 45.99,
    "conf_score": 0.98
  }
}

In this structure, the totalAmount key has two components:

  1. value: Contains the actual parsed value (45.99 as a float).
  2. conf_score: Contains the confidence score (0.98).