aboutsummaryrefslogtreecommitdiff
path: root/autogpt/json_utils/llm_response_format_1.json
blob: 17101dda110f1ec47becf9c5f7a4ee20f68f1e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
    "$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
        }
    },
    "required": ["thoughts", "command"],
    "additionalProperties": false
}