JSON Prompts
Prompts generated by urlprompt are based on JSON Schema definitions.
Boolean Prompt
{
"schema": {
"title": "Convert Investigation 1223 into case",
"description": "<supplemental information>",
"type": "object",
"required": ["approve"],
"properties": {
"approve": {"type": "boolean", "title": "Convert to case?"}
}
}
}
Integer Prompt
{
"schema": {
"title": "How happy are you on a scale 1-10",
"description": "",
"type": "object",
"required": ["happiness"],
"properties": {
"happiness": {"type": "integer", "title": "Happiness Level", "minumum": 0, "maximum": 10}
}
}
}
Combined Prompt
{
"schema": {
"title": "Tell me something about yourself!",
"type": "object",
"required": ["height", "eyecolor", "birthyear"],
"properties": {
"height": {"type": "integer", "title": "Height in cm"},
"birthyear": {"type": "integer", "title": "Birthyear (YYYY)"},
"eyecolor": {
"type": "number",
"enum": [1, 2, 3, 4, 5],
"enumNames": ["blue", "grey", "green", "brown", "other"]
}
}
}
}
Last update: 2021-09-30