Object Description
Reference for the Object Description JSON element.
See also: Object Description
Example
{
"text": "person carrying a red bag",
"background_prompt": false,
"alert": true,
"threshold": 90
}
Fields
| Field | Type | Description |
|---|---|---|
text | string | Prompt text used for matching. |
background_prompt | boolean | Context prompt that should not alert on its own. |
alert | boolean | Whether this prompt can trigger alerts. |
threshold | number | Confidence threshold for this prompt. |
display_text | string | Optional label shown in outputs. |
confidence | number | Confidence returned in responses. |
over_threshold | boolean | Whether the confidence met the threshold. |