Skip to content

Commit cd67137

Browse files
monikakusterivicac
authored andcommitted
1639 - json - generated
1 parent c3a763b commit cd67137

File tree

12 files changed

+349
-29
lines changed

12 files changed

+349
-29
lines changed

server/libs/modules/components/llm/amazon-bedrock/src/test/resources/definition/amazon-bedrock_v1.json

Lines changed: 132 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,26 @@
221221
} ],
222222
"controlType" : "SELECT",
223223
"optionsDataSource" : null
224+
}, {
225+
"advancedOption" : null,
226+
"description" : "Define the JSON schema for the response.",
227+
"displayCondition" : "responseFormat != 0",
228+
"expressionEnabled" : null,
229+
"hidden" : null,
230+
"metadata" : { },
231+
"required" : false,
232+
"name" : "responseSchema",
233+
"type" : "STRING",
234+
"defaultValue" : null,
235+
"exampleValue" : null,
236+
"label" : "Response Schema",
237+
"placeholder" : null,
238+
"controlType" : "TEXT_AREA",
239+
"languageId" : null,
240+
"maxLength" : null,
241+
"minLength" : null,
242+
"options" : null,
243+
"optionsDataSource" : null
224244
}, {
225245
"advancedOption" : true,
226246
"description" : "Controls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.",
@@ -327,9 +347,9 @@
327347
"optionsDataSource" : null
328348
} ],
329349
"title" : "Ask Anthropic3",
350+
"workflowNodeDescription" : null,
330351
"perform" : { },
331-
"processErrorResponse" : null,
332-
"workflowNodeDescription" : null
352+
"processErrorResponse" : null
333353
}, {
334354
"batch" : null,
335355
"deprecated" : null,
@@ -522,6 +542,26 @@
522542
} ],
523543
"controlType" : "SELECT",
524544
"optionsDataSource" : null
545+
}, {
546+
"advancedOption" : null,
547+
"description" : "Define the JSON schema for the response.",
548+
"displayCondition" : "responseFormat != 0",
549+
"expressionEnabled" : null,
550+
"hidden" : null,
551+
"metadata" : { },
552+
"required" : false,
553+
"name" : "responseSchema",
554+
"type" : "STRING",
555+
"defaultValue" : null,
556+
"exampleValue" : null,
557+
"label" : "Response Schema",
558+
"placeholder" : null,
559+
"controlType" : "TEXT_AREA",
560+
"languageId" : null,
561+
"maxLength" : null,
562+
"minLength" : null,
563+
"options" : null,
564+
"optionsDataSource" : null
525565
}, {
526566
"advancedOption" : true,
527567
"description" : "Controls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.",
@@ -628,9 +668,9 @@
628668
"optionsDataSource" : null
629669
} ],
630670
"title" : "Ask Anthropic2",
671+
"workflowNodeDescription" : null,
631672
"perform" : { },
632-
"processErrorResponse" : null,
633-
"workflowNodeDescription" : null
673+
"processErrorResponse" : null
634674
}, {
635675
"batch" : null,
636676
"deprecated" : null,
@@ -800,6 +840,26 @@
800840
} ],
801841
"controlType" : "SELECT",
802842
"optionsDataSource" : null
843+
}, {
844+
"advancedOption" : null,
845+
"description" : "Define the JSON schema for the response.",
846+
"displayCondition" : "responseFormat != 0",
847+
"expressionEnabled" : null,
848+
"hidden" : null,
849+
"metadata" : { },
850+
"required" : false,
851+
"name" : "responseSchema",
852+
"type" : "STRING",
853+
"defaultValue" : null,
854+
"exampleValue" : null,
855+
"label" : "Response Schema",
856+
"placeholder" : null,
857+
"controlType" : "TEXT_AREA",
858+
"languageId" : null,
859+
"maxLength" : null,
860+
"minLength" : null,
861+
"options" : null,
862+
"optionsDataSource" : null
803863
}, {
804864
"advancedOption" : true,
805865
"description" : "The maximum number of tokens to generate in the chat completion.",
@@ -1070,9 +1130,9 @@
10701130
"optionsDataSource" : null
10711131
} ],
10721132
"title" : "Ask Cohere",
1133+
"workflowNodeDescription" : null,
10731134
"perform" : { },
1074-
"processErrorResponse" : null,
1075-
"workflowNodeDescription" : null
1135+
"processErrorResponse" : null
10761136
}, {
10771137
"batch" : null,
10781138
"deprecated" : null,
@@ -1242,6 +1302,26 @@
12421302
} ],
12431303
"controlType" : "SELECT",
12441304
"optionsDataSource" : null
1305+
}, {
1306+
"advancedOption" : null,
1307+
"description" : "Define the JSON schema for the response.",
1308+
"displayCondition" : "responseFormat != 0",
1309+
"expressionEnabled" : null,
1310+
"hidden" : null,
1311+
"metadata" : { },
1312+
"required" : false,
1313+
"name" : "responseSchema",
1314+
"type" : "STRING",
1315+
"defaultValue" : null,
1316+
"exampleValue" : null,
1317+
"label" : "Response Schema",
1318+
"placeholder" : null,
1319+
"controlType" : "TEXT_AREA",
1320+
"languageId" : null,
1321+
"maxLength" : null,
1322+
"minLength" : null,
1323+
"options" : null,
1324+
"optionsDataSource" : null
12451325
}, {
12461326
"advancedOption" : true,
12471327
"description" : "The minimum number of tokens to generate in the chat completion.",
@@ -1491,9 +1571,9 @@
14911571
"optionsDataSource" : null
14921572
} ],
14931573
"title" : "Ask Jurassic2",
1574+
"workflowNodeDescription" : null,
14941575
"perform" : { },
1495-
"processErrorResponse" : null,
1496-
"workflowNodeDescription" : null
1576+
"processErrorResponse" : null
14971577
}, {
14981578
"batch" : null,
14991579
"deprecated" : null,
@@ -1699,6 +1779,26 @@
16991779
} ],
17001780
"controlType" : "SELECT",
17011781
"optionsDataSource" : null
1782+
}, {
1783+
"advancedOption" : null,
1784+
"description" : "Define the JSON schema for the response.",
1785+
"displayCondition" : "responseFormat != 0",
1786+
"expressionEnabled" : null,
1787+
"hidden" : null,
1788+
"metadata" : { },
1789+
"required" : false,
1790+
"name" : "responseSchema",
1791+
"type" : "STRING",
1792+
"defaultValue" : null,
1793+
"exampleValue" : null,
1794+
"label" : "Response Schema",
1795+
"placeholder" : null,
1796+
"controlType" : "TEXT_AREA",
1797+
"languageId" : null,
1798+
"maxLength" : null,
1799+
"minLength" : null,
1800+
"options" : null,
1801+
"optionsDataSource" : null
17021802
}, {
17031803
"advancedOption" : true,
17041804
"description" : "The maximum number of tokens to generate in the chat completion.",
@@ -1764,9 +1864,9 @@
17641864
"optionsDataSource" : null
17651865
} ],
17661866
"title" : "Ask Llama",
1867+
"workflowNodeDescription" : null,
17671868
"perform" : { },
1768-
"processErrorResponse" : null,
1769-
"workflowNodeDescription" : null
1869+
"processErrorResponse" : null
17701870
}, {
17711871
"batch" : null,
17721872
"deprecated" : null,
@@ -1940,6 +2040,26 @@
19402040
} ],
19412041
"controlType" : "SELECT",
19422042
"optionsDataSource" : null
2043+
}, {
2044+
"advancedOption" : null,
2045+
"description" : "Define the JSON schema for the response.",
2046+
"displayCondition" : "responseFormat != 0",
2047+
"expressionEnabled" : null,
2048+
"hidden" : null,
2049+
"metadata" : { },
2050+
"required" : false,
2051+
"name" : "responseSchema",
2052+
"type" : "STRING",
2053+
"defaultValue" : null,
2054+
"exampleValue" : null,
2055+
"label" : "Response Schema",
2056+
"placeholder" : null,
2057+
"controlType" : "TEXT_AREA",
2058+
"languageId" : null,
2059+
"maxLength" : null,
2060+
"minLength" : null,
2061+
"options" : null,
2062+
"optionsDataSource" : null
19432063
}, {
19442064
"advancedOption" : true,
19452065
"description" : "The maximum number of tokens to generate in the chat completion.",
@@ -2046,9 +2166,9 @@
20462166
"optionsDataSource" : null
20472167
} ],
20482168
"title" : "Ask Titan",
2169+
"workflowNodeDescription" : null,
20492170
"perform" : { },
2050-
"processErrorResponse" : null,
2051-
"workflowNodeDescription" : null
2171+
"processErrorResponse" : null
20522172
} ],
20532173
"dataStream" : null,
20542174
"triggers" : null,

server/libs/modules/components/llm/anthropic/src/test/resources/definition/anthropic_v1.json

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,26 @@
221221
} ],
222222
"controlType" : "SELECT",
223223
"optionsDataSource" : null
224+
}, {
225+
"advancedOption" : null,
226+
"description" : "Define the JSON schema for the response.",
227+
"displayCondition" : "responseFormat != 0",
228+
"expressionEnabled" : null,
229+
"hidden" : null,
230+
"metadata" : { },
231+
"required" : false,
232+
"name" : "responseSchema",
233+
"type" : "STRING",
234+
"defaultValue" : null,
235+
"exampleValue" : null,
236+
"label" : "Response Schema",
237+
"placeholder" : null,
238+
"controlType" : "TEXT_AREA",
239+
"languageId" : null,
240+
"maxLength" : null,
241+
"minLength" : null,
242+
"options" : null,
243+
"optionsDataSource" : null
224244
}, {
225245
"advancedOption" : true,
226246
"description" : "Controls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.",
@@ -405,16 +425,16 @@
405425
"title" : "Bearer Token",
406426
"type" : "BEARER_TOKEN",
407427
"acquire" : null,
428+
"refresh" : null,
429+
"scopes" : null,
408430
"apply" : null,
431+
"pkce" : null,
409432
"authorizationCallback" : null,
410433
"authorizationUrl" : null,
411434
"clientId" : null,
412435
"clientSecret" : null,
413436
"oauth2AuthorizationExtraQueryParameters" : null,
414-
"pkce" : null,
415-
"refresh" : null,
416437
"refreshUrl" : null,
417-
"scopes" : null,
418438
"refreshToken" : null,
419439
"tokenUrl" : null
420440
} ],

server/libs/modules/components/llm/azure-openai/src/test/resources/definition/azure-openai_v1.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,26 @@
174174
} ],
175175
"controlType" : "SELECT",
176176
"optionsDataSource" : null
177+
}, {
178+
"advancedOption" : null,
179+
"description" : "Define the JSON schema for the response.",
180+
"displayCondition" : "responseFormat != 0",
181+
"expressionEnabled" : null,
182+
"hidden" : null,
183+
"metadata" : { },
184+
"required" : false,
185+
"name" : "responseSchema",
186+
"type" : "STRING",
187+
"defaultValue" : null,
188+
"exampleValue" : null,
189+
"label" : "Response Schema",
190+
"placeholder" : null,
191+
"controlType" : "TEXT_AREA",
192+
"languageId" : null,
193+
"maxLength" : null,
194+
"minLength" : null,
195+
"options" : null,
196+
"optionsDataSource" : null
177197
}, {
178198
"advancedOption" : true,
179199
"description" : "The maximum number of tokens to generate in the chat completion.",

server/libs/modules/components/llm/groq/src/test/resources/definition/groq_v1.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,26 @@
174174
} ],
175175
"controlType" : "SELECT",
176176
"optionsDataSource" : null
177+
}, {
178+
"advancedOption" : null,
179+
"description" : "Define the JSON schema for the response.",
180+
"displayCondition" : "responseFormat != 0",
181+
"expressionEnabled" : null,
182+
"hidden" : null,
183+
"metadata" : { },
184+
"required" : false,
185+
"name" : "responseSchema",
186+
"type" : "STRING",
187+
"defaultValue" : null,
188+
"exampleValue" : null,
189+
"label" : "Response Schema",
190+
"placeholder" : null,
191+
"controlType" : "TEXT_AREA",
192+
"languageId" : null,
193+
"maxLength" : null,
194+
"minLength" : null,
195+
"options" : null,
196+
"optionsDataSource" : null
177197
}, {
178198
"advancedOption" : true,
179199
"description" : "The maximum number of tokens to generate in the chat completion.",

server/libs/modules/components/llm/hugging-face/src/test/resources/definition/hugging-face_v1.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"outputDefinition" : {
2424
"output" : null,
2525
"outputResponse" : null,
26-
"outputSchema" : null,
27-
"sampleOutput" : null
26+
"sampleOutput" : null,
27+
"outputSchema" : null
2828
},
2929
"properties" : [ {
3030
"advancedOption" : null,
@@ -174,6 +174,26 @@
174174
} ],
175175
"controlType" : "SELECT",
176176
"optionsDataSource" : null
177+
}, {
178+
"advancedOption" : null,
179+
"description" : "Define the JSON schema for the response.",
180+
"displayCondition" : "responseFormat != 0",
181+
"expressionEnabled" : null,
182+
"hidden" : null,
183+
"metadata" : { },
184+
"required" : false,
185+
"name" : "responseSchema",
186+
"type" : "STRING",
187+
"defaultValue" : null,
188+
"exampleValue" : null,
189+
"label" : "Response Schema",
190+
"placeholder" : null,
191+
"controlType" : "TEXT_AREA",
192+
"languageId" : null,
193+
"maxLength" : null,
194+
"minLength" : null,
195+
"options" : null,
196+
"optionsDataSource" : null
177197
} ],
178198
"title" : "Ask",
179199
"perform" : { },

0 commit comments

Comments
 (0)