@agentica/core 0.30.2 → 0.30.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,7 +77,6 @@ const FUNCTION = {
77
77
  type: "object",
78
78
  properties: {
79
79
  method: {
80
- title: "HTTP method of the endpoint",
81
80
  description: "HTTP method of the endpoint.",
82
81
  type: "string",
83
82
  "enum": [
@@ -89,25 +88,20 @@ const FUNCTION = {
89
88
  ]
90
89
  },
91
90
  path: {
92
- title: "Path of the endpoint",
93
91
  description: "Path of the endpoint.",
94
92
  type: "string"
95
93
  },
96
94
  name: {
97
- title: "Representative name of the function",
98
95
  description: "Representative name of the function.\n\nThe `name` is a repsentative name identifying the function in the\n{@link IHttpLlmApplication}. The `name` value is just composed by joining\nthe {@link IHttpMigrateRoute.accessor} by underscore `_` character.\n\nHere is the composition rule of the {@link IHttpMigrateRoute.accessor}:\n\n> The `accessor` is composed with the following rules. At first, namespaces\n> are composed by static directory names in the {@link path}. Parametric\n> symbols represented by `:param` or `{param}` cannot be a part of the\n> namespace.\n\n> Instead, they would be a part of the function name. The function name is\n> composed with the {@link method HTTP method} and parametric symbols like\n> `getByParam` or `postByParam`. If there are multiple path parameters, they\n> would be concatenated by `And` like `getByParam1AndParam2`.\n\n> For refefence, if the {@link operation}'s {@link method} is `delete`, the\n> function name would be replaced to `erase` instead of `delete`. It is the\n> reason why the `delete` is a reserved keyword in many programming\n> languages.\n\n> - Example 1\n\n> - Path: `POST /shopping/sellers/sales`\n> - Accessor: `shopping.sellers.sales.post`\n> - Example 2\n\n> - Endpoint: `GET\n> /shoppings/sellers/sales/:saleId/reviews/:reviewId/comments/:id\n> - Accessor:\n> `shoppings.sellers.sales.reviews.getBySaleIdAndReviewIdAndCommentId`\n\n\n@maxLength 64",
99
96
  type: "string"
100
97
  },
101
98
  parameters: {
102
- title: "List of parameter types",
103
99
  $ref: "#/$defs/IChatGptSchema.IParameters"
104
100
  },
105
101
  separated: {
106
- title: "Collection of separated parameters",
107
102
  $ref: "#/$defs/IHttpLlmFunction.ISeparatedchatgpt"
108
103
  },
109
104
  output: {
110
- title: "Expected return type",
111
105
  description: "Expected return type.\n\nIf the target operation returns nothing (`void`), the `output` would be\n`undefined`.",
112
106
  anyOf: [
113
107
  {
@@ -143,17 +137,14 @@ const FUNCTION = {
143
137
  ]
144
138
  },
145
139
  description: {
146
- title: "Description of the function",
147
140
  description: "Description of the function.\n\n`IHttpLlmFunction.description` is composed by below rule:\n\n1. Starts from the {@link OpenApi.IOperation.summary} paragraph.\n2. The next paragraphs are filled with the\n {@link OpenApi.IOperation.description}. By the way, if the first\n paragraph of {@link OpenApi.IOperation.description} is same with the\n {@link OpenApi.IOperation.summary}, it would not be duplicated.\n3. Parameters' descriptions are added with `@param` tag.\n4. {@link OpenApi.IOperation.security Security requirements} are added with\n `@security` tag.\n5. Tag names are added with `@tag` tag.\n6. If {@link OpenApi.IOperation.deprecated}, `@deprecated` tag is added.\n\nFor reference, the `description` is very important property to teach the\npurpose of the function to the LLM (Language Large Model), and LLM actually\ndetermines which function to call by the description.\n\nAlso, when the LLM conversates with the user, the `description` is used to\nexplain the function to the user. Therefore, the `description` property has\nthe highest priority, and you have to consider it.",
148
141
  type: "string"
149
142
  },
150
143
  deprecated: {
151
- title: "Whether the function is deprecated or not",
152
144
  description: "Whether the function is deprecated or not.\n\nIf the `deprecated` is `true`, the function is not recommended to use.\n\nLLM (Large Language Model) may not use the deprecated function.",
153
145
  type: "boolean"
154
146
  },
155
147
  tags: {
156
- title: "Category tags for the function",
157
148
  description: "Category tags for the function.\n\nSame with {@link OpenApi.IOperation.tags} indicating the category of the\nfunction.",
158
149
  type: "array",
159
150
  items: {
@@ -173,11 +164,9 @@ const FUNCTION = {
173
164
  type: "object",
174
165
  properties: {
175
166
  $defs: {
176
- title: "Collection of the named types",
177
167
  $ref: "#/$defs/RecordstringIChatGptSchema"
178
168
  },
179
169
  additionalProperties: {
180
- title: "Additional properties' info",
181
170
  description: "Additional properties' info.\n\nThe `additionalProperties` means the type schema info of the additional\nproperties that are not listed in the {@link properties}.\n\nBy the way, it is not allowed in the parameters level.",
182
171
  type: "boolean",
183
172
  "enum": [
@@ -185,7 +174,6 @@ const FUNCTION = {
185
174
  ]
186
175
  },
187
176
  type: {
188
- title: "Discriminator value of the type",
189
177
  description: "Discriminator value of the type.",
190
178
  type: "string",
191
179
  "enum": [
@@ -193,11 +181,9 @@ const FUNCTION = {
193
181
  ]
194
182
  },
195
183
  properties: {
196
- title: "Properties of the object",
197
184
  $ref: "#/$defs/RecordstringIChatGptSchema"
198
185
  },
199
186
  required: {
200
- title: "List of key values of the required properties",
201
187
  description: "List of key values of the required properties.\n\nThe `required` means a list of the key values of the required\n{@link properties}. If some property key is not listed in the `required`\nlist, it means that property is optional. Otherwise some property key\nexists in the `required` list, it means that the property must be\nfilled.\n\nBelow is an example of the {@link properties} and `required`.\n\n```typescript\ninterface SomeObject {\n id: string;\n email: string;\n name?: string;\n}\n```\n\nAs you can see, `id` and `email` {@link properties} are {@link required},\nso that they are listed in the `required` list.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"id\": { \"type\": \"string\" },\n \"email\": { \"type\": \"string\" },\n \"name\": { \"type\": \"string\" }\n },\n \"required\": [\"id\", \"email\"]\n}\n```",
202
188
  type: "array",
203
189
  items: {
@@ -205,26 +191,21 @@ const FUNCTION = {
205
191
  }
206
192
  },
207
193
  title: {
208
- title: "Title of the schema",
209
194
  description: "Title of the schema.",
210
195
  type: "string"
211
196
  },
212
197
  description: {
213
- title: "Detailed description of the schema",
214
198
  description: "Detailed description of the schema.",
215
199
  type: "string"
216
200
  },
217
201
  deprecated: {
218
- title: "Whether the type is deprecated or not",
219
202
  description: "Whether the type is deprecated or not.",
220
203
  type: "boolean"
221
204
  },
222
205
  example: {
223
- title: "Example value",
224
206
  description: "Example value."
225
207
  },
226
208
  examples: {
227
- title: "List of example values as key-value pairs",
228
209
  $ref: "#/$defs/Recordstringany"
229
210
  }
230
211
  },
@@ -246,7 +227,6 @@ const FUNCTION = {
246
227
  }
247
228
  },
248
229
  IChatGptSchema: {
249
- title: "Type schema info of the ChatGPT",
250
230
  description: "Type schema info of the ChatGPT.\n\n`IChatGptSchema` is a type schema info of the ChatGPT function calling.\n\n`IChatGptSchema` basically follows the JSON schema definition of the OpenAPI\nv3.1 speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n\nHowever, the `IChatGptSchema` does not follow the entire specification of the\nOpenAPI v3.1. It has own specific restrictions and definitions. Here is the\nlist of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n\n- Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n- Resolve nullable property:\n {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n- Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n- Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n- Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n- Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n- Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to\n {@link IChatGptSchema.IReference}\n- When {@link IChatGptSchema.IConfig.strict} mode\n\n - Every object properties must be required\n - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n\nIf compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema\nspecification,\n\n- {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n- {@link IChatGptSchema.IParameters.$defs} instead of the\n {@link OpenApi.IJsonSchema.IComponents.schemas}\n- {@link IChatGptSchema.IString.enum} instead of the\n {@link OpenApi.IJsonSchema.IConstant}\n- {@link IChatGptSchema.additionalProperties} is fixed to `false`\n- No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n- When {@link IChatGptSchema.IConfig.strict} mode\n\n - Every object properties must be required\n - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n\nFor reference, if you've composed the `IChatGptSchema` type with the\n{@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\nonly the recursived named types would be archived into the\n{@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from\nthe {@link IChatGptSchema.IReference} type.\n\nAlso, OpenAI has banned below constraint properties. Instead,\n`IChatGptSchema` fills the {@link IChatGptSchema.__IAttribute.description}\nproperty with the comment text like `\"@format uuid\"`.\n\n- {@link OpenApi.IJsonSchema.INumber.minimum}\n- {@link OpenApi.IJsonSchema.INumber.maximum}\n- {@link OpenApi.IJsonSchema.INumber.multipleOf}\n- {@link OpenApi.IJsonSchema.IString.minLength}\n- {@link OpenApi.IJsonSchema.IString.maxLength}\n- {@link OpenApi.IJsonSchema.IString.format}\n- {@link OpenApi.IJsonSchema.IString.pattern}\n- {@link OpenApi.IJsonSchema.IString.contentMediaType}\n- {@link OpenApi.IJsonSchema.IString.default}\n- {@link OpenApi.IJsonSchema.IArray.minItems}\n- {@link OpenApi.IJsonSchema.IArray.maxItems}\n- {@link OpenApi.IJsonSchema.IArray.unique}\n\nAdditionally, OpenAI cannot define the `description` property to the\n{@link IChatGptSchema.IReference} type, and even does not understand the\ncapsulization to the {@link IChatGptSchema.IAnyOf} type. Therefore, the\n`description` is written to the parent object type, not the reference type.\n\n```json\n{\n \"type\": \"object\",\n \"description\": \"### Description of {@link something} property.\\n\\n> Hello?\",\n \"properties\": {\n \"something\": {\n \"$ref\": \"#/$defs/SomeObject\"\n }\n }\n}\n```",
251
231
  anyOf: [
252
232
  {
@@ -286,7 +266,6 @@ const FUNCTION = {
286
266
  type: "object",
287
267
  properties: {
288
268
  "enum": {
289
- title: "Enumeration values",
290
269
  description: "Enumeration values.",
291
270
  type: "array",
292
271
  items: {
@@ -294,7 +273,6 @@ const FUNCTION = {
294
273
  }
295
274
  },
296
275
  type: {
297
- title: "Discriminator value of the type",
298
276
  description: "Discriminator value of the type.",
299
277
  type: "string",
300
278
  "enum": [
@@ -302,26 +280,21 @@ const FUNCTION = {
302
280
  ]
303
281
  },
304
282
  title: {
305
- title: "Title of the schema",
306
283
  description: "Title of the schema.",
307
284
  type: "string"
308
285
  },
309
286
  description: {
310
- title: "Detailed description of the schema",
311
287
  description: "Detailed description of the schema.",
312
288
  type: "string"
313
289
  },
314
290
  deprecated: {
315
- title: "Whether the type is deprecated or not",
316
291
  description: "Whether the type is deprecated or not.",
317
292
  type: "boolean"
318
293
  },
319
294
  example: {
320
- title: "Example value",
321
295
  description: "Example value."
322
296
  },
323
297
  examples: {
324
- title: "List of example values as key-value pairs",
325
298
  $ref: "#/$defs/Recordstringany"
326
299
  }
327
300
  },
@@ -341,7 +314,6 @@ const FUNCTION = {
341
314
  type: "object",
342
315
  properties: {
343
316
  "enum": {
344
- title: "Enumeration values",
345
317
  description: "Enumeration values.",
346
318
  type: "array",
347
319
  items: {
@@ -349,7 +321,6 @@ const FUNCTION = {
349
321
  }
350
322
  },
351
323
  type: {
352
- title: "Discriminator value of the type",
353
324
  description: "Discriminator value of the type.",
354
325
  type: "string",
355
326
  "enum": [
@@ -357,26 +328,21 @@ const FUNCTION = {
357
328
  ]
358
329
  },
359
330
  title: {
360
- title: "Title of the schema",
361
331
  description: "Title of the schema.",
362
332
  type: "string"
363
333
  },
364
334
  description: {
365
- title: "Detailed description of the schema",
366
335
  description: "Detailed description of the schema.",
367
336
  type: "string"
368
337
  },
369
338
  deprecated: {
370
- title: "Whether the type is deprecated or not",
371
339
  description: "Whether the type is deprecated or not.",
372
340
  type: "boolean"
373
341
  },
374
342
  example: {
375
- title: "Example value",
376
343
  description: "Example value."
377
344
  },
378
345
  examples: {
379
- title: "List of example values as key-value pairs",
380
346
  $ref: "#/$defs/Recordstringany"
381
347
  }
382
348
  },
@@ -389,7 +355,6 @@ const FUNCTION = {
389
355
  type: "object",
390
356
  properties: {
391
357
  "enum": {
392
- title: "Enumeration values",
393
358
  description: "Enumeration values.",
394
359
  type: "array",
395
360
  items: {
@@ -397,7 +362,6 @@ const FUNCTION = {
397
362
  }
398
363
  },
399
364
  type: {
400
- title: "Discriminator value of the type",
401
365
  description: "Discriminator value of the type.",
402
366
  type: "string",
403
367
  "enum": [
@@ -405,26 +369,21 @@ const FUNCTION = {
405
369
  ]
406
370
  },
407
371
  title: {
408
- title: "Title of the schema",
409
372
  description: "Title of the schema.",
410
373
  type: "string"
411
374
  },
412
375
  description: {
413
- title: "Detailed description of the schema",
414
376
  description: "Detailed description of the schema.",
415
377
  type: "string"
416
378
  },
417
379
  deprecated: {
418
- title: "Whether the type is deprecated or not",
419
380
  description: "Whether the type is deprecated or not.",
420
381
  type: "boolean"
421
382
  },
422
383
  example: {
423
- title: "Example value",
424
384
  description: "Example value."
425
385
  },
426
386
  examples: {
427
- title: "List of example values as key-value pairs",
428
387
  $ref: "#/$defs/Recordstringany"
429
388
  }
430
389
  },
@@ -437,7 +396,6 @@ const FUNCTION = {
437
396
  type: "object",
438
397
  properties: {
439
398
  "enum": {
440
- title: "Enumeration values",
441
399
  description: "Enumeration values.",
442
400
  type: "array",
443
401
  items: {
@@ -445,7 +403,6 @@ const FUNCTION = {
445
403
  }
446
404
  },
447
405
  type: {
448
- title: "Discriminator value of the type",
449
406
  description: "Discriminator value of the type.",
450
407
  type: "string",
451
408
  "enum": [
@@ -453,26 +410,21 @@ const FUNCTION = {
453
410
  ]
454
411
  },
455
412
  title: {
456
- title: "Title of the schema",
457
413
  description: "Title of the schema.",
458
414
  type: "string"
459
415
  },
460
416
  description: {
461
- title: "Detailed description of the schema",
462
417
  description: "Detailed description of the schema.",
463
418
  type: "string"
464
419
  },
465
420
  deprecated: {
466
- title: "Whether the type is deprecated or not",
467
421
  description: "Whether the type is deprecated or not.",
468
422
  type: "boolean"
469
423
  },
470
424
  example: {
471
- title: "Example value",
472
425
  description: "Example value."
473
426
  },
474
427
  examples: {
475
- title: "List of example values as key-value pairs",
476
428
  $ref: "#/$defs/Recordstringany"
477
429
  }
478
430
  },
@@ -485,11 +437,9 @@ const FUNCTION = {
485
437
  type: "object",
486
438
  properties: {
487
439
  items: {
488
- title: "Items type info",
489
440
  $ref: "#/$defs/IChatGptSchema"
490
441
  },
491
442
  type: {
492
- title: "Discriminator value of the type",
493
443
  description: "Discriminator value of the type.",
494
444
  type: "string",
495
445
  "enum": [
@@ -497,26 +447,21 @@ const FUNCTION = {
497
447
  ]
498
448
  },
499
449
  title: {
500
- title: "Title of the schema",
501
450
  description: "Title of the schema.",
502
451
  type: "string"
503
452
  },
504
453
  description: {
505
- title: "Detailed description of the schema",
506
454
  description: "Detailed description of the schema.",
507
455
  type: "string"
508
456
  },
509
457
  deprecated: {
510
- title: "Whether the type is deprecated or not",
511
458
  description: "Whether the type is deprecated or not.",
512
459
  type: "boolean"
513
460
  },
514
461
  example: {
515
- title: "Example value",
516
462
  description: "Example value."
517
463
  },
518
464
  examples: {
519
- title: "List of example values as key-value pairs",
520
465
  $ref: "#/$defs/Recordstringany"
521
466
  }
522
467
  },
@@ -530,11 +475,9 @@ const FUNCTION = {
530
475
  type: "object",
531
476
  properties: {
532
477
  properties: {
533
- title: "Properties of the object",
534
478
  $ref: "#/$defs/RecordstringIChatGptSchema"
535
479
  },
536
480
  additionalProperties: {
537
- title: "Additional properties' info",
538
481
  description: "Additional properties' info.\n\nThe `additionalProperties` means the type schema info of the additional\nproperties that are not listed in the {@link properties}.\n\nBy the way, if you've configured {@link IChatGptSchema.IConfig.strict} as\n`true`, ChatGPT function calling does not support such dynamic key typed\nproperties, so the `additionalProperties` becomes always `false`.",
539
482
  anyOf: [
540
483
  {
@@ -573,7 +516,6 @@ const FUNCTION = {
573
516
  ]
574
517
  },
575
518
  required: {
576
- title: "List of key values of the required properties",
577
519
  description: "List of key values of the required properties.\n\nThe `required` means a list of the key values of the required\n{@link properties}. If some property key is not listed in the `required`\nlist, it means that property is optional. Otherwise some property key\nexists in the `required` list, it means that the property must be\nfilled.\n\nBelow is an example of the {@link properties} and `required`.\n\n```typescript\ninterface SomeObject {\n id: string;\n email: string;\n name?: string;\n}\n```\n\nAs you can see, `id` and `email` {@link properties} are {@link required},\nso that they are listed in the `required` list.\n\n```json\n{\n \"type\": \"object\",\n \"properties\": {\n \"id\": { \"type\": \"string\" },\n \"email\": { \"type\": \"string\" },\n \"name\": { \"type\": \"string\" }\n },\n \"required\": [\"id\", \"email\"]\n}\n```",
578
520
  type: "array",
579
521
  items: {
@@ -581,7 +523,6 @@ const FUNCTION = {
581
523
  }
582
524
  },
583
525
  type: {
584
- title: "Discriminator value of the type",
585
526
  description: "Discriminator value of the type.",
586
527
  type: "string",
587
528
  "enum": [
@@ -589,26 +530,21 @@ const FUNCTION = {
589
530
  ]
590
531
  },
591
532
  title: {
592
- title: "Title of the schema",
593
533
  description: "Title of the schema.",
594
534
  type: "string"
595
535
  },
596
536
  description: {
597
- title: "Detailed description of the schema",
598
537
  description: "Detailed description of the schema.",
599
538
  type: "string"
600
539
  },
601
540
  deprecated: {
602
- title: "Whether the type is deprecated or not",
603
541
  description: "Whether the type is deprecated or not.",
604
542
  type: "boolean"
605
543
  },
606
544
  example: {
607
- title: "Example value",
608
545
  description: "Example value."
609
546
  },
610
547
  examples: {
611
- title: "List of example values as key-value pairs",
612
548
  $ref: "#/$defs/Recordstringany"
613
549
  }
614
550
  },
@@ -623,31 +559,25 @@ const FUNCTION = {
623
559
  type: "object",
624
560
  properties: {
625
561
  $ref: {
626
- title: "Reference to the named schema",
627
562
  description: "Reference to the named schema.\n\nThe `ref` is a reference to the named schema. Format of the `$ref` is\nfollowing the JSON Pointer specification. In the OpenAPI, the `$ref`\nstarts with `#/$defs/` which means the type is stored in the\n{@link IChatGptSchema.IParameters.$defs} object.\n\n- `#/$defs/SomeObject`\n- `#/$defs/AnotherObject`",
628
563
  type: "string"
629
564
  },
630
565
  title: {
631
- title: "Title of the schema",
632
566
  description: "Title of the schema.",
633
567
  type: "string"
634
568
  },
635
569
  description: {
636
- title: "Detailed description of the schema",
637
570
  description: "Detailed description of the schema.",
638
571
  type: "string"
639
572
  },
640
573
  deprecated: {
641
- title: "Whether the type is deprecated or not",
642
574
  description: "Whether the type is deprecated or not.",
643
575
  type: "boolean"
644
576
  },
645
577
  example: {
646
- title: "Example value",
647
578
  description: "Example value."
648
579
  },
649
580
  examples: {
650
- title: "List of example values as key-value pairs",
651
581
  $ref: "#/$defs/Recordstringany"
652
582
  }
653
583
  },
@@ -660,7 +590,6 @@ const FUNCTION = {
660
590
  type: "object",
661
591
  properties: {
662
592
  anyOf: {
663
- title: "List of the union types",
664
593
  description: "List of the union types.",
665
594
  type: "array",
666
595
  items: {
@@ -696,30 +625,24 @@ const FUNCTION = {
696
625
  }
697
626
  },
698
627
  "x-discriminator": {
699
- title: "Discriminator info of the union type",
700
628
  $ref: "#/$defs/IChatGptSchema.IAnyOf.IDiscriminator"
701
629
  },
702
630
  title: {
703
- title: "Title of the schema",
704
631
  description: "Title of the schema.",
705
632
  type: "string"
706
633
  },
707
634
  description: {
708
- title: "Detailed description of the schema",
709
635
  description: "Detailed description of the schema.",
710
636
  type: "string"
711
637
  },
712
638
  deprecated: {
713
- title: "Whether the type is deprecated or not",
714
639
  description: "Whether the type is deprecated or not.",
715
640
  type: "boolean"
716
641
  },
717
642
  example: {
718
- title: "Example value",
719
643
  description: "Example value."
720
644
  },
721
645
  examples: {
722
- title: "List of example values as key-value pairs",
723
646
  $ref: "#/$defs/Recordstringany"
724
647
  }
725
648
  },
@@ -732,26 +655,21 @@ const FUNCTION = {
732
655
  type: "object",
733
656
  properties: {
734
657
  title: {
735
- title: "Title of the schema",
736
658
  description: "Title of the schema.",
737
659
  type: "string"
738
660
  },
739
661
  description: {
740
- title: "Detailed description of the schema",
741
662
  description: "Detailed description of the schema.",
742
663
  type: "string"
743
664
  },
744
665
  deprecated: {
745
- title: "Whether the type is deprecated or not",
746
666
  description: "Whether the type is deprecated or not.",
747
667
  type: "boolean"
748
668
  },
749
669
  example: {
750
- title: "Example value",
751
670
  description: "Example value."
752
671
  },
753
672
  examples: {
754
- title: "List of example values as key-value pairs",
755
673
  $ref: "#/$defs/Recordstringany"
756
674
  }
757
675
  },
@@ -762,7 +680,6 @@ const FUNCTION = {
762
680
  type: "object",
763
681
  properties: {
764
682
  type: {
765
- title: "Discriminator value of the type",
766
683
  description: "Discriminator value of the type.",
767
684
  type: "string",
768
685
  "enum": [
@@ -770,26 +687,21 @@ const FUNCTION = {
770
687
  ]
771
688
  },
772
689
  title: {
773
- title: "Title of the schema",
774
690
  description: "Title of the schema.",
775
691
  type: "string"
776
692
  },
777
693
  description: {
778
- title: "Detailed description of the schema",
779
694
  description: "Detailed description of the schema.",
780
695
  type: "string"
781
696
  },
782
697
  deprecated: {
783
- title: "Whether the type is deprecated or not",
784
698
  description: "Whether the type is deprecated or not.",
785
699
  type: "boolean"
786
700
  },
787
701
  example: {
788
- title: "Example value",
789
702
  description: "Example value."
790
703
  },
791
704
  examples: {
792
- title: "List of example values as key-value pairs",
793
705
  $ref: "#/$defs/Recordstringany"
794
706
  }
795
707
  },
@@ -802,12 +714,10 @@ const FUNCTION = {
802
714
  type: "object",
803
715
  properties: {
804
716
  propertyName: {
805
- title: "Property name for the discriminator",
806
717
  description: "Property name for the discriminator.",
807
718
  type: "string"
808
719
  },
809
720
  mapping: {
810
- title: "Mapping of the discriminator value to the schema name",
811
721
  $ref: "#/$defs/Recordstringstring"
812
722
  }
813
723
  },
@@ -829,11 +739,9 @@ const FUNCTION = {
829
739
  type: "object",
830
740
  properties: {
831
741
  llm: {
832
- title: "Parameters that would be composed by the LLM",
833
742
  $ref: "#/$defs/IChatGptSchema.IParameters"
834
743
  },
835
744
  human: {
836
- title: "Parameters that would be composed by the human",
837
745
  description: "Parameters that would be composed by the human.",
838
746
  anyOf: [
839
747
  {
@@ -1 +1 @@
1
- {"version":3,"file":"initialize.js","sourceRoot":"","sources":["../../src/orchestrate/initialize.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,gCA+HC;;AAlJD,kDAA0B;AAM1B,8EAA2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,MAAM,CAAC,KAAK,CAAE,CAAC,OAAO,CAAC;wBAC5C,CAAC,CAAA;qBACF,CAAC,CAAC;oBACH,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;gBACtB,CAAC;YACH,CAAC,CAAC;YAEF,IAAI,GAAG,CAAC,MAAM,KAAK,uBAAuB,EAAE,CAAC;gBAC3C,eAAe,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;gBACtD,OAAO,2DAA4B,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;YAC1D,CAAC;YAED,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC/B,OAAO,2DAA4B,CAAC,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QAC7D,CAAC,CAAA,CAAC,CAAC;QAEH,IAAI,UAAU,KAAK,IAAI,EAAE,CAAC;YACxB,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,OAAO;QACP,qBAAqB;QACrB,OAAO;QACP,IACE,UAAU,CAAC,OAAO,CAAC,IAAI,CACrB,CAAC,CAAC,EAAE,CACF,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI,IAAI;eACzB,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAC1B,EAAE,CAAC,EAAE,CACH,EAAE,CAAC,IAAI,KAAK,UAAU,IAAI,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,CAC/D,CACJ,EACD,CAAC;YACD,MAAM,GAAG,CAAC,UAAU,EAAE,CAAC;QACzB,CAAC;IACH,CAAC;CAAA"}
@@ -0,0 +1,2 @@
1
+ import type { IValidation } from "typia";
2
+ export declare function complementValidationError(check: IValidation.IFailure): void;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.complementValidationError = complementValidationError;
4
+ function complementValidationError(check) {
5
+ for (const error of check.errors) {
6
+ if (error.value !== undefined) {
7
+ continue;
8
+ }
9
+ const description = [
10
+ "> You AI have not defined the value (\`undefined\`).",
11
+ ">",
12
+ `> Please fill the \`${error.expected}\` typed value at the next time.`,
13
+ ].join("\n");
14
+ if (error.description === undefined || error.description.length === 0) {
15
+ error.description = description;
16
+ }
17
+ else {
18
+ error.description += `\n\n${description}`;
19
+ }
20
+ }
21
+ }
22
+ //# sourceMappingURL=completeValidationError.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completeValidationError.js","sourceRoot":"","sources":["../../../src/orchestrate/internal/completeValidationError.ts"],"names":[],"mappings":";;AAEA,8DAmBC;AAnBD,SAAgB,yBAAyB,CACvC,KAA2B;IAE3B,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QACjC,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;YAC9B,SAAS;QACX,CAAC;QACD,MAAM,WAAW,GAAW;YAC1B,sDAAsD;YACtD,GAAG;YACH,uBAAuB,KAAK,CAAC,QAAQ,kCAAkC;SACxE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,IAAI,KAAK,CAAC,WAAW,KAAK,SAAS,IAAI,KAAK,CAAC,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtE,KAAK,CAAC,WAAW,GAAG,WAAW,CAAC;QAClC,CAAC;aACI,CAAC;YACJ,KAAK,CAAC,WAAW,IAAI,OAAO,WAAW,EAAE,CAAC;QAC5C,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -71,7 +71,6 @@ const CONTAINER = {
71
71
  type: "object",
72
72
  properties: {
73
73
  functions: {
74
- title: "List of target functions",
75
74
  description: "List of target functions.",
76
75
  type: "array",
77
76
  items: {
@@ -88,12 +87,10 @@ const CONTAINER = {
88
87
  type: "object",
89
88
  properties: {
90
89
  reason: {
91
- title: "The reason of the function selection",
92
90
  description: "The reason of the function selection.\n\nJust write the reason why you've determined to select this function.",
93
91
  type: "string"
94
92
  },
95
93
  name: {
96
- title: "Name of the target function to call",
97
94
  description: "Name of the target function to call.",
98
95
  type: "string"
99
96
  }