From 377b3848bd3b39adb109867a1e102d2a05fd5d6b Mon Sep 17 00:00:00 2001 From: Jeffrey Blum Date: Wed, 18 Dec 2024 11:53:51 -0500 Subject: [PATCH] initial commit; made response_full optional --- preprocessors/text-followup.schema.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 preprocessors/text-followup.schema.json diff --git a/preprocessors/text-followup.schema.json b/preprocessors/text-followup.schema.json new file mode 100644 index 00000000..208a89ea --- /dev/null +++ b/preprocessors/text-followup.schema.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "https://image.a11y.mcgill.ca/preprocessors/text-followup.schema.json", + "type": "object", + "title": "Text Followup", + "description": "Text-only response to a followup query containing a graphic and prompt from the user.", + "properties": { + "response_brief": { + "description": "A single sentence text followup response that is generated for the input graphic", + "type": "string", + "minLength": 0 + }, + "response_full": { + "description": "A few additional sentences of followup response that is generated for the input graphic", + "type": "string", + "minLength": 0 + } + }, + "required": ["response_brief"] +}