SemanticPositivePromptModel
Fields
Section titled “Fields”| Field | Type | Required | Description and constraints |
|---|---|---|---|
id |
string | Yes | minimum length 1. maximum length 128. pattern ^[A-Za-z0-9][A-Za-z0-9._:-]*$ |
text |
string | Yes | minimum length 1. maximum length 256 |
canTriggerActions |
boolean | Yes | |
minimumProbability |
number or null | No |
Additional properties are rejected by this schema.
JSON schema
Section titled “JSON schema”{ "properties": { "id": { "type": "string", "maxLength": 128, "minLength": 1, "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$", "title": "Id" }, "text": { "type": "string", "maxLength": 256, "minLength": 1, "title": "Text" }, "canTriggerActions": { "type": "boolean", "title": "Cantriggeractions" }, "minimumProbability": { "anyOf": [ { "type": "number", "maximum": 1.0, "minimum": 0.0 }, { "type": "null" } ], "title": "Minimumprobability" } }, "additionalProperties": false, "type": "object", "required": [ "id", "text", "canTriggerActions" ], "title": "SemanticPositivePromptModel"}