niranjan-m17 commited on
Commit
e1042f5
·
verified ·
1 Parent(s): add7408

Upload workflow code and audit log proof

Browse files

Uploading the n8n workflow JSON and the screenshot of the Google Sheets audit log as requested.

.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ audit_log_screenshot.png filter=lfs diff=lfs merge=lfs -text
LLM_Council_Audit_Workflow.json ADDED
@@ -0,0 +1,840 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "LLM_Council_Audit_Workflow",
3
+ "nodes": [
4
+ {
5
+ "parameters": {
6
+ "mode": "combine",
7
+ "combineBy": "combineByPosition",
8
+ "numberInputs": 3,
9
+ "options": {
10
+ "includeUnpaired": true
11
+ }
12
+ },
13
+ "type": "n8n-nodes-base.merge",
14
+ "typeVersion": 3.2,
15
+ "position": [
16
+ 752,
17
+ 80
18
+ ],
19
+ "id": "b537c3b7-f9d2-406d-bb61-1a2e78a29ad9",
20
+ "name": "Merge"
21
+ },
22
+ {
23
+ "parameters": {},
24
+ "type": "n8n-nodes-base.merge",
25
+ "typeVersion": 3.2,
26
+ "position": [
27
+ 1552,
28
+ 96
29
+ ],
30
+ "id": "5d7a89db-3543-46fd-a129-dc23e1510054",
31
+ "name": "Merge1"
32
+ },
33
+ {
34
+ "parameters": {
35
+ "httpMethod": "POST",
36
+ "path": "council",
37
+ "responseMode": "responseNode",
38
+ "options": {}
39
+ },
40
+ "type": "n8n-nodes-base.webhook",
41
+ "typeVersion": 2.1,
42
+ "position": [
43
+ 64,
44
+ 96
45
+ ],
46
+ "id": "864fd609-efa2-4de9-9e15-bc744f1f5966",
47
+ "name": "Incoming API (POST)",
48
+ "webhookId": "b980c0fc-889e-44c0-a2f4-1b1253b730e2"
49
+ },
50
+ {
51
+ "parameters": {
52
+ "modelId": {
53
+ "__rl": true,
54
+ "value": "models/gemini-2.5-flash",
55
+ "mode": "list",
56
+ "cachedResultName": "models/gemini-2.5-flash"
57
+ },
58
+ "messages": {
59
+ "values": [
60
+ {
61
+ "content": "=You are Agent 1 of a Council.\nYour Role: You are extremely cautious, anxious, and risk-averse. Focus ONLY on dangers, safety risks, and what could go wrong.\n\nUser Question: {{ $json.body.question }}"
62
+ }
63
+ ]
64
+ },
65
+ "options": {}
66
+ },
67
+ "type": "@n8n/n8n-nodes-langchain.googleGemini",
68
+ "typeVersion": 1,
69
+ "position": [
70
+ 288,
71
+ -80
72
+ ],
73
+ "id": "25c6d792-96fc-496b-838d-8351591336ae",
74
+ "name": "Agent Cautious",
75
+ "credentials": {
76
+ "googlePalmApi": {
77
+ "id": "1xFMcoSttnyjrINw",
78
+ "name": "Google Gemini(PaLM) Api account"
79
+ }
80
+ }
81
+ },
82
+ {
83
+ "parameters": {
84
+ "modelId": {
85
+ "__rl": true,
86
+ "value": "models/gemini-2.5-flash",
87
+ "mode": "list",
88
+ "cachedResultName": "models/gemini-2.5-flash"
89
+ },
90
+ "messages": {
91
+ "values": [
92
+ {
93
+ "content": "=You are Agent 2. You are a creative optimist. You see opportunities, not risks.\nUser Question: {{ $json.body.question }}"
94
+ }
95
+ ]
96
+ },
97
+ "options": {}
98
+ },
99
+ "type": "@n8n/n8n-nodes-langchain.googleGemini",
100
+ "typeVersion": 1,
101
+ "position": [
102
+ 288,
103
+ 96
104
+ ],
105
+ "id": "a90b44eb-a279-4eb2-a6a0-3e2f66c064a1",
106
+ "name": "Agent Optimist",
107
+ "credentials": {
108
+ "googlePalmApi": {
109
+ "id": "1xFMcoSttnyjrINw",
110
+ "name": "Google Gemini(PaLM) Api account"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "parameters": {
116
+ "modelId": {
117
+ "__rl": true,
118
+ "value": "models/gemini-2.5-flash",
119
+ "mode": "list",
120
+ "cachedResultName": "models/gemini-2.5-flash"
121
+ },
122
+ "messages": {
123
+ "values": [
124
+ {
125
+ "content": "=You are Agent 3.\nYour Role: You are \"The Logic Bot\". You are an open-source AI. You answer brutally short, concise, and logical answers. No emotions.\n\nUser Question: {{ $json.body.question }}"
126
+ }
127
+ ]
128
+ },
129
+ "options": {}
130
+ },
131
+ "type": "@n8n/n8n-nodes-langchain.googleGemini",
132
+ "typeVersion": 1,
133
+ "position": [
134
+ 288,
135
+ 272
136
+ ],
137
+ "id": "22e4158d-e6c8-4110-9443-b8adb5d8bb5d",
138
+ "name": "Agent Logic",
139
+ "credentials": {
140
+ "googlePalmApi": {
141
+ "id": "1xFMcoSttnyjrINw",
142
+ "name": "Google Gemini(PaLM) Api account"
143
+ }
144
+ }
145
+ },
146
+ {
147
+ "parameters": {
148
+ "assignments": {
149
+ "assignments": [
150
+ {
151
+ "id": "044a7f31-bbc4-4ec8-a226-64198858730d",
152
+ "name": "answer_cautious",
153
+ "value": "={{ $json.content.parts[0].text }}",
154
+ "type": "string"
155
+ }
156
+ ]
157
+ },
158
+ "options": {}
159
+ },
160
+ "type": "n8n-nodes-base.set",
161
+ "typeVersion": 3.4,
162
+ "position": [
163
+ 576,
164
+ -80
165
+ ],
166
+ "id": "c8b48fe2-e7a0-4cee-9284-d0d22c5980d5",
167
+ "name": "Label: Cautious"
168
+ },
169
+ {
170
+ "parameters": {
171
+ "assignments": {
172
+ "assignments": [
173
+ {
174
+ "id": "af628d29-38b8-4273-8e92-5be01c6231ca",
175
+ "name": "answer_optimist",
176
+ "value": "={{ $json.content.parts[0].text }}",
177
+ "type": "string"
178
+ }
179
+ ]
180
+ },
181
+ "options": {}
182
+ },
183
+ "type": "n8n-nodes-base.set",
184
+ "typeVersion": 3.4,
185
+ "position": [
186
+ 576,
187
+ 96
188
+ ],
189
+ "id": "42c8d7e2-fa2c-4325-9fd3-8889daa9232e",
190
+ "name": "Label: Optimist"
191
+ },
192
+ {
193
+ "parameters": {
194
+ "assignments": {
195
+ "assignments": [
196
+ {
197
+ "id": "0114015d-c02d-426d-bb97-7d1a0d3b45d4",
198
+ "name": "answer_logic",
199
+ "value": "={{ $json.content.parts[0].text }}",
200
+ "type": "string"
201
+ }
202
+ ]
203
+ },
204
+ "options": {}
205
+ },
206
+ "type": "n8n-nodes-base.set",
207
+ "typeVersion": 3.4,
208
+ "position": [
209
+ 576,
210
+ 272
211
+ ],
212
+ "id": "1c4d9527-ca0e-46c1-868a-5b807d0d1121",
213
+ "name": "Label: Logic"
214
+ },
215
+ {
216
+ "parameters": {
217
+ "modelId": {
218
+ "__rl": true,
219
+ "value": "models/gemini-2.5-flash",
220
+ "mode": "list",
221
+ "cachedResultName": "models/gemini-2.5-flash"
222
+ },
223
+ "messages": {
224
+ "values": [
225
+ {
226
+ "content": "=You are Judge 1. Your Rubric is SAFETY.\nReview these 3 answers:\n1. {{ $json.answer_cautious }}\n2. {{ $json.answer_optimist }}\n3. {{ $json.answer_logic }}\n\nTask:\n1. Compare them based ONLY on Safety.\n2. Output your decision as a STRICT JSON object. Do not write any other text.\n3. You must include a Confidence Score (1-10), specific Risks you found, and Citations (quotes) from the answers.\n\nUse this EXACT JSON format:\n{\n \"winner\": \"Answer X\",\n \"confidence_score\": 9,\n \"identified_risks\": \"List specific safety risks mentioned (e.g., choking, SIDS).\",\n \"citations\": \"Quote the specific text that supports your decision.\",\n \"final_decision\": \"Your final summary of why this answer is the safest.\"\n}"
227
+ }
228
+ ]
229
+ },
230
+ "options": {}
231
+ },
232
+ "type": "@n8n/n8n-nodes-langchain.googleGemini",
233
+ "typeVersion": 1,
234
+ "position": [
235
+ 912,
236
+ 0
237
+ ],
238
+ "id": "bb80d593-a69b-4c34-b055-fdb88ef6398d",
239
+ "name": "Judge Safety",
240
+ "credentials": {
241
+ "googlePalmApi": {
242
+ "id": "1xFMcoSttnyjrINw",
243
+ "name": "Google Gemini(PaLM) Api account"
244
+ }
245
+ }
246
+ },
247
+ {
248
+ "parameters": {
249
+ "modelId": {
250
+ "__rl": true,
251
+ "value": "models/gemini-2.5-flash",
252
+ "mode": "list",
253
+ "cachedResultName": "models/gemini-2.5-flash"
254
+ },
255
+ "messages": {
256
+ "values": [
257
+ {
258
+ "content": "=You are Judge 2. Your Rubric is CLARITY.\nReview these 3 answers:\n1. {{ $json.answer_cautious }}\n2. {{ $json.answer_optimist }}\n3. {{ $json.answer_logic }}\n\nTask:\n1. Compare them based ONLY on Clarity and Helpfulness.\n2. Output your decision as a STRICT JSON object. Do not write any other text.\n3. You must include a Confidence Score (1-10), Risks (of confusion), and Citations (quotes).\n\nUse this EXACT JSON format:\n{\n \"winner\": \"Answer X\",\n \"confidence_score\": 8,\n \"identified_risks\": \"List risks of the user misunderstanding the answer.\",\n \"citations\": \"Quote the clearest parts of the text.\",\n \"final_decision\": \"Your final summary of why this answer is the most helpful.\"\n}"
259
+ }
260
+ ]
261
+ },
262
+ "options": {}
263
+ },
264
+ "type": "@n8n/n8n-nodes-langchain.googleGemini",
265
+ "typeVersion": 1,
266
+ "position": [
267
+ 912,
268
+ 192
269
+ ],
270
+ "id": "a7d7aeda-9e01-41ea-ba55-d88fd8782b7c",
271
+ "name": "Judge Clarity",
272
+ "credentials": {
273
+ "googlePalmApi": {
274
+ "id": "1xFMcoSttnyjrINw",
275
+ "name": "Google Gemini(PaLM) Api account"
276
+ }
277
+ }
278
+ },
279
+ {
280
+ "parameters": {
281
+ "assignments": {
282
+ "assignments": [
283
+ {
284
+ "id": "c9655d2d-21dc-4128-90ba-bb98dd2ab55c",
285
+ "name": "Winner",
286
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).winner }}",
287
+ "type": "string"
288
+ },
289
+ {
290
+ "id": "116a22d7-1397-4364-94cb-2e833cf0eec4",
291
+ "name": "Confidence",
292
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).confidence_score }}",
293
+ "type": "string"
294
+ },
295
+ {
296
+ "id": "c364fdfc-f61a-4768-8fd6-755994251cfe",
297
+ "name": "Risks",
298
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).identified_risks }}",
299
+ "type": "string"
300
+ },
301
+ {
302
+ "id": "0bd52af0-a3e5-4111-8ee7-235ad6777174",
303
+ "name": "Citations",
304
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).citations }}",
305
+ "type": "string"
306
+ },
307
+ {
308
+ "id": "569bb9d0-5dca-43aa-9685-4845ea30a356",
309
+ "name": "Verdict",
310
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).final_decision }}",
311
+ "type": "string"
312
+ }
313
+ ]
314
+ },
315
+ "options": {}
316
+ },
317
+ "type": "n8n-nodes-base.set",
318
+ "typeVersion": 3.4,
319
+ "position": [
320
+ 1184,
321
+ 0
322
+ ],
323
+ "id": "b6efdc18-d983-4e8c-ad08-897448c8424d",
324
+ "name": "Format Safety JSON"
325
+ },
326
+ {
327
+ "parameters": {
328
+ "operation": "append",
329
+ "documentId": {
330
+ "__rl": true,
331
+ "value": "1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs",
332
+ "mode": "list",
333
+ "cachedResultName": "AI_Council_Logs",
334
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs/edit?usp=drivesdk"
335
+ },
336
+ "sheetName": {
337
+ "__rl": true,
338
+ "value": "gid=0",
339
+ "mode": "list",
340
+ "cachedResultName": "Sheet1",
341
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs/edit#gid=0"
342
+ },
343
+ "columns": {
344
+ "mappingMode": "defineBelow",
345
+ "value": {
346
+ "Question": "={{ $('Incoming API (POST)').item.json.body.question }}",
347
+ "Winner": "={{ $json.Winner }}",
348
+ "Verdict": "={{ $json.Verdict }}",
349
+ "Judge Type": "SAFETY",
350
+ "Confidence": "={{ $json.Confidence }}",
351
+ "Risks": "={{ $json.Risks }}",
352
+ "Citations": "={{ $json.Citations }}"
353
+ },
354
+ "matchingColumns": [],
355
+ "schema": [
356
+ {
357
+ "id": "Question",
358
+ "displayName": "Question",
359
+ "required": false,
360
+ "defaultMatch": false,
361
+ "display": true,
362
+ "type": "string",
363
+ "canBeUsedToMatch": true
364
+ },
365
+ {
366
+ "id": "Judge Type",
367
+ "displayName": "Judge Type",
368
+ "required": false,
369
+ "defaultMatch": false,
370
+ "display": true,
371
+ "type": "string",
372
+ "canBeUsedToMatch": true,
373
+ "removed": false
374
+ },
375
+ {
376
+ "id": "Winner",
377
+ "displayName": "Winner",
378
+ "required": false,
379
+ "defaultMatch": false,
380
+ "display": true,
381
+ "type": "string",
382
+ "canBeUsedToMatch": true
383
+ },
384
+ {
385
+ "id": "Confidence",
386
+ "displayName": "Confidence",
387
+ "required": false,
388
+ "defaultMatch": false,
389
+ "display": true,
390
+ "type": "string",
391
+ "canBeUsedToMatch": true,
392
+ "removed": false
393
+ },
394
+ {
395
+ "id": "Risks",
396
+ "displayName": "Risks",
397
+ "required": false,
398
+ "defaultMatch": false,
399
+ "display": true,
400
+ "type": "string",
401
+ "canBeUsedToMatch": true,
402
+ "removed": false
403
+ },
404
+ {
405
+ "id": "Citations",
406
+ "displayName": "Citations",
407
+ "required": false,
408
+ "defaultMatch": false,
409
+ "display": true,
410
+ "type": "string",
411
+ "canBeUsedToMatch": true,
412
+ "removed": false
413
+ },
414
+ {
415
+ "id": "Verdict",
416
+ "displayName": "Verdict",
417
+ "required": false,
418
+ "defaultMatch": false,
419
+ "display": true,
420
+ "type": "string",
421
+ "canBeUsedToMatch": true
422
+ }
423
+ ],
424
+ "attemptToConvertTypes": false,
425
+ "convertFieldsToString": false
426
+ },
427
+ "options": {}
428
+ },
429
+ "type": "n8n-nodes-base.googleSheets",
430
+ "typeVersion": 4.7,
431
+ "position": [
432
+ 1376,
433
+ 0
434
+ ],
435
+ "id": "320b518a-808d-4f77-aef8-02fd2f484457",
436
+ "name": "Log Safety Decision",
437
+ "credentials": {
438
+ "googleSheetsOAuth2Api": {
439
+ "id": "mU2wbTou2bjTmi9D",
440
+ "name": "Google Sheets account"
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "parameters": {
446
+ "respondWith": "allIncomingItems",
447
+ "options": {}
448
+ },
449
+ "type": "n8n-nodes-base.respondToWebhook",
450
+ "typeVersion": 1.5,
451
+ "position": [
452
+ 1712,
453
+ 96
454
+ ],
455
+ "id": "957a2049-f4b1-4169-9140-f1dcf79e5d89",
456
+ "name": "Send Final Response"
457
+ },
458
+ {
459
+ "parameters": {},
460
+ "type": "n8n-nodes-base.noOp",
461
+ "typeVersion": 1,
462
+ "position": [
463
+ 1920,
464
+ 96
465
+ ],
466
+ "id": "ee59ea29-40dd-452c-8f96-7845855d3198",
467
+ "name": "No Operation, do nothing"
468
+ },
469
+ {
470
+ "parameters": {
471
+ "assignments": {
472
+ "assignments": [
473
+ {
474
+ "id": "c9655d2d-21dc-4128-90ba-bb98dd2ab55c",
475
+ "name": "Winner",
476
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).winner }}",
477
+ "type": "string"
478
+ },
479
+ {
480
+ "id": "116a22d7-1397-4364-94cb-2e833cf0eec4",
481
+ "name": "Confidence",
482
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).confidence_score }}",
483
+ "type": "string"
484
+ },
485
+ {
486
+ "id": "c364fdfc-f61a-4768-8fd6-755994251cfe",
487
+ "name": "Risks",
488
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).identified_risks }}",
489
+ "type": "string"
490
+ },
491
+ {
492
+ "id": "0bd52af0-a3e5-4111-8ee7-235ad6777174",
493
+ "name": "Citations",
494
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).citations }}",
495
+ "type": "string"
496
+ },
497
+ {
498
+ "id": "569bb9d0-5dca-43aa-9685-4845ea30a356",
499
+ "name": "Verdict",
500
+ "value": "={{ JSON.parse($json.content.parts[0].text.replace(/```json/g, \"\").replace(/```/g, \"\")).final_decision }}",
501
+ "type": "string"
502
+ }
503
+ ]
504
+ },
505
+ "options": {}
506
+ },
507
+ "type": "n8n-nodes-base.set",
508
+ "typeVersion": 3.4,
509
+ "position": [
510
+ 1200,
511
+ 192
512
+ ],
513
+ "id": "0e129a09-e899-494e-bbbc-a94b15d85c7c",
514
+ "name": "Format Clarity JSON"
515
+ },
516
+ {
517
+ "parameters": {
518
+ "operation": "append",
519
+ "documentId": {
520
+ "__rl": true,
521
+ "value": "1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs",
522
+ "mode": "list",
523
+ "cachedResultName": "AI_Council_Logs",
524
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs/edit?usp=drivesdk"
525
+ },
526
+ "sheetName": {
527
+ "__rl": true,
528
+ "value": "gid=0",
529
+ "mode": "list",
530
+ "cachedResultName": "Sheet1",
531
+ "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1VjvUzcHAL4IX6Wgelg2Fc7gA_z5yL6x1nkmvsje8nHs/edit#gid=0"
532
+ },
533
+ "columns": {
534
+ "mappingMode": "defineBelow",
535
+ "value": {
536
+ "Question": "={{ $('Incoming API (POST)').item.json.body.question }}",
537
+ "Winner": "={{ $json.Winner }}",
538
+ "Verdict": "={{ $json.Verdict }}",
539
+ "Confidence": "={{ $json.Confidence }}",
540
+ "Risks": "={{ $json.Risks }}",
541
+ "Citations": "={{ $json.Citations }}",
542
+ "Judge Type": "CLARITY"
543
+ },
544
+ "matchingColumns": [],
545
+ "schema": [
546
+ {
547
+ "id": "Question",
548
+ "displayName": "Question",
549
+ "required": false,
550
+ "defaultMatch": false,
551
+ "display": true,
552
+ "type": "string",
553
+ "canBeUsedToMatch": true
554
+ },
555
+ {
556
+ "id": "Judge Type",
557
+ "displayName": "Judge Type",
558
+ "required": false,
559
+ "defaultMatch": false,
560
+ "display": true,
561
+ "type": "string",
562
+ "canBeUsedToMatch": true,
563
+ "removed": false
564
+ },
565
+ {
566
+ "id": "Winner",
567
+ "displayName": "Winner",
568
+ "required": false,
569
+ "defaultMatch": false,
570
+ "display": true,
571
+ "type": "string",
572
+ "canBeUsedToMatch": true
573
+ },
574
+ {
575
+ "id": "Confidence",
576
+ "displayName": "Confidence",
577
+ "required": false,
578
+ "defaultMatch": false,
579
+ "display": true,
580
+ "type": "string",
581
+ "canBeUsedToMatch": true,
582
+ "removed": false
583
+ },
584
+ {
585
+ "id": "Risks",
586
+ "displayName": "Risks",
587
+ "required": false,
588
+ "defaultMatch": false,
589
+ "display": true,
590
+ "type": "string",
591
+ "canBeUsedToMatch": true,
592
+ "removed": false
593
+ },
594
+ {
595
+ "id": "Citations",
596
+ "displayName": "Citations",
597
+ "required": false,
598
+ "defaultMatch": false,
599
+ "display": true,
600
+ "type": "string",
601
+ "canBeUsedToMatch": true,
602
+ "removed": false
603
+ },
604
+ {
605
+ "id": "Verdict",
606
+ "displayName": "Verdict",
607
+ "required": false,
608
+ "defaultMatch": false,
609
+ "display": true,
610
+ "type": "string",
611
+ "canBeUsedToMatch": true
612
+ }
613
+ ],
614
+ "attemptToConvertTypes": false,
615
+ "convertFieldsToString": false
616
+ },
617
+ "options": {}
618
+ },
619
+ "type": "n8n-nodes-base.googleSheets",
620
+ "typeVersion": 4.7,
621
+ "position": [
622
+ 1376,
623
+ 192
624
+ ],
625
+ "id": "36446a00-1e36-455a-ac64-af16da9401db",
626
+ "name": "Log Clarity Decision",
627
+ "credentials": {
628
+ "googleSheetsOAuth2Api": {
629
+ "id": "mU2wbTou2bjTmi9D",
630
+ "name": "Google Sheets account"
631
+ }
632
+ }
633
+ }
634
+ ],
635
+ "pinData": {},
636
+ "connections": {
637
+ "Merge": {
638
+ "main": [
639
+ [
640
+ {
641
+ "node": "Judge Safety",
642
+ "type": "main",
643
+ "index": 0
644
+ },
645
+ {
646
+ "node": "Judge Clarity",
647
+ "type": "main",
648
+ "index": 0
649
+ }
650
+ ]
651
+ ]
652
+ },
653
+ "Merge1": {
654
+ "main": [
655
+ [
656
+ {
657
+ "node": "Send Final Response",
658
+ "type": "main",
659
+ "index": 0
660
+ }
661
+ ]
662
+ ]
663
+ },
664
+ "Incoming API (POST)": {
665
+ "main": [
666
+ [
667
+ {
668
+ "node": "Agent Cautious",
669
+ "type": "main",
670
+ "index": 0
671
+ },
672
+ {
673
+ "node": "Agent Optimist",
674
+ "type": "main",
675
+ "index": 0
676
+ },
677
+ {
678
+ "node": "Agent Logic",
679
+ "type": "main",
680
+ "index": 0
681
+ }
682
+ ]
683
+ ]
684
+ },
685
+ "Agent Cautious": {
686
+ "main": [
687
+ [
688
+ {
689
+ "node": "Label: Cautious",
690
+ "type": "main",
691
+ "index": 0
692
+ }
693
+ ]
694
+ ]
695
+ },
696
+ "Agent Optimist": {
697
+ "main": [
698
+ [
699
+ {
700
+ "node": "Label: Optimist",
701
+ "type": "main",
702
+ "index": 0
703
+ }
704
+ ]
705
+ ]
706
+ },
707
+ "Agent Logic": {
708
+ "main": [
709
+ [
710
+ {
711
+ "node": "Label: Logic",
712
+ "type": "main",
713
+ "index": 0
714
+ }
715
+ ]
716
+ ]
717
+ },
718
+ "Label: Cautious": {
719
+ "main": [
720
+ [
721
+ {
722
+ "node": "Merge",
723
+ "type": "main",
724
+ "index": 0
725
+ }
726
+ ]
727
+ ]
728
+ },
729
+ "Label: Optimist": {
730
+ "main": [
731
+ [
732
+ {
733
+ "node": "Merge",
734
+ "type": "main",
735
+ "index": 1
736
+ }
737
+ ]
738
+ ]
739
+ },
740
+ "Label: Logic": {
741
+ "main": [
742
+ [
743
+ {
744
+ "node": "Merge",
745
+ "type": "main",
746
+ "index": 2
747
+ }
748
+ ]
749
+ ]
750
+ },
751
+ "Judge Safety": {
752
+ "main": [
753
+ [
754
+ {
755
+ "node": "Format Safety JSON",
756
+ "type": "main",
757
+ "index": 0
758
+ }
759
+ ]
760
+ ]
761
+ },
762
+ "Judge Clarity": {
763
+ "main": [
764
+ [
765
+ {
766
+ "node": "Format Clarity JSON",
767
+ "type": "main",
768
+ "index": 0
769
+ }
770
+ ]
771
+ ]
772
+ },
773
+ "Format Safety JSON": {
774
+ "main": [
775
+ [
776
+ {
777
+ "node": "Log Safety Decision",
778
+ "type": "main",
779
+ "index": 0
780
+ }
781
+ ]
782
+ ]
783
+ },
784
+ "Log Safety Decision": {
785
+ "main": [
786
+ [
787
+ {
788
+ "node": "Merge1",
789
+ "type": "main",
790
+ "index": 0
791
+ }
792
+ ]
793
+ ]
794
+ },
795
+ "Send Final Response": {
796
+ "main": [
797
+ [
798
+ {
799
+ "node": "No Operation, do nothing",
800
+ "type": "main",
801
+ "index": 0
802
+ }
803
+ ]
804
+ ]
805
+ },
806
+ "Format Clarity JSON": {
807
+ "main": [
808
+ [
809
+ {
810
+ "node": "Log Clarity Decision",
811
+ "type": "main",
812
+ "index": 0
813
+ }
814
+ ]
815
+ ]
816
+ },
817
+ "Log Clarity Decision": {
818
+ "main": [
819
+ [
820
+ {
821
+ "node": "Merge1",
822
+ "type": "main",
823
+ "index": 1
824
+ }
825
+ ]
826
+ ]
827
+ }
828
+ },
829
+ "active": false,
830
+ "settings": {
831
+ "executionOrder": "v1"
832
+ },
833
+ "versionId": "541ba88b-2957-4e18-8d99-8f747714ae5a",
834
+ "meta": {
835
+ "templateCredsSetupCompleted": true,
836
+ "instanceId": "117e9c856159ca3909ab2c29e8624cddd6b6436103e2a42f28e3ed4e5ba3e57e"
837
+ },
838
+ "id": "vGZuBtAjCsGTpt7w",
839
+ "tags": []
840
+ }
audit_log_screenshot.png ADDED

Git LFS Details

  • SHA256: b4152481e8932b00248dcd090f41e2fb8ba1dff975e20c4bfb82e7bc32e3d90b
  • Pointer size: 131 Bytes
  • Size of remote file: 185 kB