Add reason property to TagLabel

This is to understand what score was used for selecting the entity
This commit is contained in:
Eugenio Doñaque 2025-09-23 13:29:34 +02:00 committed by Eugenio
parent 6448f22dbf
commit a0ad002680

View File

@ -53,6 +53,10 @@
"href": { "href": {
"description": "Link to the tag resource.", "description": "Link to the tag resource.",
"$ref": "basic.json#/definitions/href" "$ref": "basic.json#/definitions/href"
},
"reason": {
"type": "string",
"description": "An explanation of why this tag was proposed, specially for autoclassification tags"
} }
}, },
"required": ["tagFQN", "source", "labelType", "state"], "required": ["tagFQN", "source", "labelType", "state"],