From 58a183544a89ec92d309b4cf0373cd33474c7614 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Thu, 21 Sep 2023 17:17:48 +0200 Subject: [PATCH] simplified system json format --- .../prompts/gpt-3.5-turbo/system-format.j2 | 54 +++++-------------- 1 file changed, 12 insertions(+), 42 deletions(-) diff --git a/autogpts/forge/forge/prompts/gpt-3.5-turbo/system-format.j2 b/autogpts/forge/forge/prompts/gpt-3.5-turbo/system-format.j2 index 51e14f77..45aa6102 100644 --- a/autogpts/forge/forge/prompts/gpt-3.5-turbo/system-format.j2 +++ b/autogpts/forge/forge/prompts/gpt-3.5-turbo/system-format.j2 @@ -1,47 +1,17 @@ Reply only in json with the following format: { - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", - "properties": { - "thoughts": { - "type": "object", - "properties": { - "text": { - "type": "string", - "description": "thoughts" - }, - "reasoning": { - "type": "string" - }, - "plan": { - "type": "string", - "description": "- short bulleted\n- list that conveys\n- long-term plan" - }, - "criticism": { - "type": "string", - "description": "constructive self-criticism" - }, - "speak": { - "type": "string", - "description": "thoughts summary to say to user" - } - }, - "required": ["text", "reasoning", "plan", "criticism", "speak"], - "additionalProperties": false - }, - "command": { - "type": "object", - "properties": { - "name": {"type": "string"}, - "args": { - "type": "object" - } - }, - "required": ["name", "args"], - "additionalProperties": false - } + \"thoughts\": { + \"text\": \"thoughts\", + \"reasoning\": \"reasoning behind thoughts\", + \"plan\": \"- short bulleted\\n- list that conveys\\n- long-term plan\", + \"criticism\": \"constructive self-criticism\", + \"speak\": \"thoughts summary to say to user\", }, - "required": ["thoughts", "command"], - "additionalProperties": false + \"ability\": { + \"name\": {\"type\": \"string\"}, + \"args\": { + \"arg1\": \"value1", etc... + } + } }