How confident the model was in predicting the label it predicted on a scale of 0-1.
The text description of the safety issue.
A score that shows how severe the flagged content is on a scale of 0–1. For example, a natural disaster with mass casualties would be a 1, whereas a wind storm that broke a lamppost would be a 0.1.
Generated using TypeDoc
Each label will be returned with a
confidence
score and aseverity
score. It is important to note that these two keys measure two very different things. Theseverity
key will produce a score that shows how severe the flagged content is on a scale of0–1
. For example, a natural disaster with mass casualties would be a1
, whereas a wind storm that broke a lamppost would be a0.1
.In comparison,
confidence
displays how confident the model was in predicting the label it predicted, also on a scale of0-1
.We can break this down further by reviewing the following label:
In the above example, the Content Safety model is indicating it is
82.25%
confident that the spoken content is about Health Issues; however, it is measured at a low severity of0.1509
. This means the model is very confident the content is about health issues, but the content was not severe in nature (ie, was likely about a minor health issue).