-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreasoning.json
190 lines (190 loc) · 5.87 KB
/
reasoning.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"Reasoning": {
"required": ["exp", "wm", "kg", "logic", "chain", "exp", "se"],
"type": "object",
"properties": {
"exp": {
"type": "array",
"items": {
"type": "string"
},
"prompt": "Identifying domain expertise"
},
"se": {
"type": "array",
"items": {
"type": "object",
"required": ["domain", "subdomains"],
"properties": {
"domain": {
"type": "string",
"prompt": "Primary domain of expertise"
},
"subdomains": {
"type": "array",
"items": { "type": "string" },
"prompt": "Specific subdomains of expertise within the primary domain"
}
}
},
"prompt": "Identifying subdomain expertise"
},
"wm": {
"type": "object",
"required": ["g", "sg", "pr", "ctx"],
"prompt": "Encapsulates goals (g), subgoals (sg), progress (pr), and contextual information (ctx)",
"properties": {
"g": {
"type": "string",
"prompt": "Primary goal of the reasoning process"
},
"sg": {
"type": "string",
"prompt": "Immediate objective being addressed"
},
"pr": {
"type": "object",
"required": ["completed", "current"],
"properties": {
"completed": {
"type": "array",
"items": { "type": "string" },
"prompt": "List of successfully accomplished steps"
},
"current": {
"type": "array",
"items": { "type": "string" },
"prompt": "Ongoing activities in the reasoning process"
}
}
},
"ctx": {
"type": "string",
"prompt": "Relevant situational information affecting reasoning"
}
}
},
"kg": {
"type": "object",
"required": ["tri"],
"properties": {
"tri": {
"type": "array",
"items": {
"type": "object",
"required": ["subject", "predicate", "object"],
"properties": {
"subject": {
"type": "string",
"prompt": "Entity serving as the source of relationship"
},
"predicate": {
"type": "string",
"prompt": "Type of connection between subject and object"
},
"object": {
"type": "string",
"prompt": "Entity receiving the relationship"
}
}
},
"prompt": "Collection of semantic relationships in triplet form"
}
}
},
"logic": {
"type": "object",
"required": ["propositions", "proofs", "critiques", "doubts"],
"properties": {
"propositions": {
"type": "array",
"items": {
"type": "object",
"required": ["symb", "nl"],
"properties": {
"symb": { "type": "string", "description": "symbolic reasoning" },
"nl": { "type": "string", "description": "natural language translation of symb" }
}
},
"prompt": "Core assertions and invariants in dual representation"
},
"proofs": {
"type": "array",
"items": {
"type": "object",
"required": ["symb", "nl"],
"properties": {
"symb": { "type": "string" },
"nl": { "type": "string" }
}
},
"prompt": "Supporting evidence for propositions"
},
"critiques": {
"type": "array",
"items": {
"type": "object",
"required": ["symb", "nl"],
"properties": {
"symb": { "type": "string" },
"nl": { "type": "string" }
}
},
"prompt": "Alternative perspectives and counter-arguments"
},
"doubts": {
"type": "array",
"items": {
"type": "object",
"required": ["symb", "nl"],
"properties": {
"symb": { "type": "string" },
"nl": { "type": "string" }
}
},
"prompt": "Unresolved uncertainties in the reasoning process"
}
}
},
"chain": {
"type": "object",
"required": ["steps", "reflect"],
"prompt": "Sequential record of the reasoning process",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"required": ["index", "depends_on", "description", "prompt"],
"properties": {
"index": { "type": "integer" },
"depends_on": { "type": "array", "items": { "type": "integer" } },
"description": { "type": "string" },
"prompt": { "type": "string" }
}
}
},
"reflect": {
"type": "string",
"prompt": "Metacognitive analysis of the reasoning process"
},
"err": {
"type": "array",
"items": { "type": "string" },
"prompt": "Identified flaws in reasoning"
},
"note": {
"type": "array",
"items": { "type": "string" },
"prompt": "Supplementary implementation details"
},
"warn": {
"type": "array",
"items": { "type": "string" },
"prompt": "Important caveats about assumptions"
}
}
}
}
}
}