@sap-ai-sdk/prompt-registry 1.16.1-20250728013330.0 → 1.17.1-20250729013403.0

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.
Files changed (77) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +0 -2
  4. package/dist/index.js.map +1 -1
  5. package/dist/internal.d.ts +1 -0
  6. package/dist/internal.d.ts.map +1 -1
  7. package/dist/internal.js +1 -0
  8. package/dist/internal.js.map +1 -1
  9. package/dist/zod/index.d.ts +2 -0
  10. package/dist/zod/index.d.ts.map +1 -0
  11. package/dist/zod/index.js +2 -0
  12. package/dist/zod/index.js.map +1 -0
  13. package/dist/zod/prompt-registry.zod.d.ts +2944 -0
  14. package/dist/zod/prompt-registry.zod.d.ts.map +1 -0
  15. package/dist/zod/prompt-registry.zod.js +836 -0
  16. package/dist/zod/prompt-registry.zod.js.map +1 -0
  17. package/package.json +4 -6
  18. package/dist/zod/chat-completion-tool.zod.d.ts +0 -40
  19. package/dist/zod/chat-completion-tool.zod.d.ts.map +0 -1
  20. package/dist/zod/chat-completion-tool.zod.js +0 -11
  21. package/dist/zod/chat-completion-tool.zod.js.map +0 -1
  22. package/dist/zod/function-object.zod.d.ts +0 -21
  23. package/dist/zod/function-object.zod.d.ts.map +0 -1
  24. package/dist/zod/function-object.zod.js +0 -13
  25. package/dist/zod/function-object.zod.js.map +0 -1
  26. package/dist/zod/function-parameters.zod.d.ts +0 -6
  27. package/dist/zod/function-parameters.zod.d.ts.map +0 -1
  28. package/dist/zod/function-parameters.zod.js +0 -7
  29. package/dist/zod/function-parameters.zod.js.map +0 -1
  30. package/dist/zod/image-content.zod.d.ts +0 -30
  31. package/dist/zod/image-content.zod.d.ts.map +0 -1
  32. package/dist/zod/image-content.zod.js +0 -15
  33. package/dist/zod/image-content.zod.js.map +0 -1
  34. package/dist/zod/multi-chat-content.zod.d.ts +0 -39
  35. package/dist/zod/multi-chat-content.zod.d.ts.map +0 -1
  36. package/dist/zod/multi-chat-content.zod.js +0 -12
  37. package/dist/zod/multi-chat-content.zod.js.map +0 -1
  38. package/dist/zod/multi-chat-template.zod.d.ts +0 -66
  39. package/dist/zod/multi-chat-template.zod.d.ts.map +0 -1
  40. package/dist/zod/multi-chat-template.zod.js +0 -11
  41. package/dist/zod/multi-chat-template.zod.js.map +0 -1
  42. package/dist/zod/prompt-template-post-request.zod.d.ts +0 -569
  43. package/dist/zod/prompt-template-post-request.zod.d.ts.map +0 -1
  44. package/dist/zod/prompt-template-post-request.zod.js +0 -12
  45. package/dist/zod/prompt-template-post-request.zod.js.map +0 -1
  46. package/dist/zod/prompt-template-spec.zod.d.ts +0 -471
  47. package/dist/zod/prompt-template-spec.zod.d.ts.map +0 -1
  48. package/dist/zod/prompt-template-spec.zod.js +0 -26
  49. package/dist/zod/prompt-template-spec.zod.js.map +0 -1
  50. package/dist/zod/response-format-json-object.zod.d.ts +0 -12
  51. package/dist/zod/response-format-json-object.zod.d.ts.map +0 -1
  52. package/dist/zod/response-format-json-object.zod.js +0 -9
  53. package/dist/zod/response-format-json-object.zod.js.map +0 -1
  54. package/dist/zod/response-format-json-schema-schema.zod.d.ts +0 -6
  55. package/dist/zod/response-format-json-schema-schema.zod.d.ts.map +0 -1
  56. package/dist/zod/response-format-json-schema-schema.zod.js +0 -7
  57. package/dist/zod/response-format-json-schema-schema.zod.js.map +0 -1
  58. package/dist/zod/response-format-json-schema.zod.d.ts +0 -40
  59. package/dist/zod/response-format-json-schema.zod.d.ts.map +0 -1
  60. package/dist/zod/response-format-json-schema.zod.js +0 -16
  61. package/dist/zod/response-format-json-schema.zod.js.map +0 -1
  62. package/dist/zod/response-format-text.zod.d.ts +0 -12
  63. package/dist/zod/response-format-text.zod.d.ts.map +0 -1
  64. package/dist/zod/response-format-text.zod.js +0 -9
  65. package/dist/zod/response-format-text.zod.js.map +0 -1
  66. package/dist/zod/single-chat-template.zod.d.ts +0 -15
  67. package/dist/zod/single-chat-template.zod.d.ts.map +0 -1
  68. package/dist/zod/single-chat-template.zod.js +0 -10
  69. package/dist/zod/single-chat-template.zod.js.map +0 -1
  70. package/dist/zod/template.zod.d.ts +0 -75
  71. package/dist/zod/template.zod.d.ts.map +0 -1
  72. package/dist/zod/template.zod.js +0 -12
  73. package/dist/zod/template.zod.js.map +0 -1
  74. package/dist/zod/text-content.zod.d.ts +0 -15
  75. package/dist/zod/text-content.zod.d.ts.map +0 -1
  76. package/dist/zod/text-content.zod.js +0 -10
  77. package/dist/zod/text-content.zod.js.map +0 -1
@@ -1,471 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const promptTemplateSpecSchema: z.ZodObject<{
6
- template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
7
- role: z.ZodString;
8
- content: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
- role: string;
11
- content: string;
12
- }, {
13
- role: string;
14
- content: string;
15
- }>, z.ZodObject<{
16
- role: z.ZodString;
17
- content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
18
- type: z.ZodLiteral<"image_url">;
19
- image_url: z.ZodObject<{
20
- url: z.ZodString;
21
- detail: z.ZodOptional<z.ZodString>;
22
- }, "strip", z.ZodTypeAny, {
23
- url: string;
24
- detail?: string | undefined;
25
- }, {
26
- url: string;
27
- detail?: string | undefined;
28
- }>;
29
- }, "strip", z.ZodTypeAny, {
30
- image_url: {
31
- url: string;
32
- detail?: string | undefined;
33
- };
34
- type: "image_url";
35
- }, {
36
- image_url: {
37
- url: string;
38
- detail?: string | undefined;
39
- };
40
- type: "image_url";
41
- }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
42
- type: z.ZodLiteral<"text">;
43
- text: z.ZodString;
44
- }, "strip", z.ZodTypeAny, {
45
- text: string;
46
- type: "text";
47
- }, {
48
- text: string;
49
- type: "text";
50
- }>]>, "many">;
51
- }, "strip", z.ZodTypeAny, {
52
- role: string;
53
- content: ({
54
- text: string;
55
- type: "text";
56
- } | ({
57
- image_url: {
58
- url: string;
59
- detail?: string | undefined;
60
- };
61
- type: "image_url";
62
- } & Record<string, any>))[];
63
- }, {
64
- role: string;
65
- content: ({
66
- text: string;
67
- type: "text";
68
- } | ({
69
- image_url: {
70
- url: string;
71
- detail?: string | undefined;
72
- };
73
- type: "image_url";
74
- } & Record<string, any>))[];
75
- }>]>, "many">;
76
- defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
77
- additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
78
- response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
79
- type: z.ZodLiteral<"text">;
80
- }, "strip", z.ZodTypeAny, {
81
- type: "text";
82
- }, {
83
- type: "text";
84
- }>, z.ZodObject<{
85
- type: z.ZodLiteral<"json_object">;
86
- }, "strip", z.ZodTypeAny, {
87
- type: "json_object";
88
- }, {
89
- type: "json_object";
90
- }>, z.ZodObject<{
91
- type: z.ZodLiteral<"json_schema">;
92
- json_schema: z.ZodObject<{
93
- description: z.ZodOptional<z.ZodString>;
94
- name: z.ZodString;
95
- schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
96
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
97
- }, "strip", z.ZodTypeAny, {
98
- name: string;
99
- description?: string | undefined;
100
- schema?: Record<string, any> | undefined;
101
- strict?: boolean | null | undefined;
102
- }, {
103
- name: string;
104
- description?: string | undefined;
105
- schema?: Record<string, any> | undefined;
106
- strict?: boolean | null | undefined;
107
- }>;
108
- }, "strip", z.ZodTypeAny, {
109
- json_schema: {
110
- name: string;
111
- description?: string | undefined;
112
- schema?: Record<string, any> | undefined;
113
- strict?: boolean | null | undefined;
114
- };
115
- type: "json_schema";
116
- }, {
117
- json_schema: {
118
- name: string;
119
- description?: string | undefined;
120
- schema?: Record<string, any> | undefined;
121
- strict?: boolean | null | undefined;
122
- };
123
- type: "json_schema";
124
- }>]>>;
125
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
- type: z.ZodLiteral<"function">;
127
- function: z.ZodObject<{
128
- description: z.ZodOptional<z.ZodString>;
129
- name: z.ZodString;
130
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
131
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
132
- }, "strip", z.ZodTypeAny, {
133
- name: string;
134
- description?: string | undefined;
135
- strict?: boolean | null | undefined;
136
- parameters?: Record<string, any> | undefined;
137
- }, {
138
- name: string;
139
- description?: string | undefined;
140
- strict?: boolean | null | undefined;
141
- parameters?: Record<string, any> | undefined;
142
- }>;
143
- }, "strip", z.ZodTypeAny, {
144
- function: {
145
- name: string;
146
- description?: string | undefined;
147
- strict?: boolean | null | undefined;
148
- parameters?: Record<string, any> | undefined;
149
- };
150
- type: "function";
151
- }, {
152
- function: {
153
- name: string;
154
- description?: string | undefined;
155
- strict?: boolean | null | undefined;
156
- parameters?: Record<string, any> | undefined;
157
- };
158
- type: "function";
159
- }>, "many">>;
160
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
161
- template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
162
- role: z.ZodString;
163
- content: z.ZodString;
164
- }, "strip", z.ZodTypeAny, {
165
- role: string;
166
- content: string;
167
- }, {
168
- role: string;
169
- content: string;
170
- }>, z.ZodObject<{
171
- role: z.ZodString;
172
- content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
173
- type: z.ZodLiteral<"image_url">;
174
- image_url: z.ZodObject<{
175
- url: z.ZodString;
176
- detail: z.ZodOptional<z.ZodString>;
177
- }, "strip", z.ZodTypeAny, {
178
- url: string;
179
- detail?: string | undefined;
180
- }, {
181
- url: string;
182
- detail?: string | undefined;
183
- }>;
184
- }, "strip", z.ZodTypeAny, {
185
- image_url: {
186
- url: string;
187
- detail?: string | undefined;
188
- };
189
- type: "image_url";
190
- }, {
191
- image_url: {
192
- url: string;
193
- detail?: string | undefined;
194
- };
195
- type: "image_url";
196
- }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
197
- type: z.ZodLiteral<"text">;
198
- text: z.ZodString;
199
- }, "strip", z.ZodTypeAny, {
200
- text: string;
201
- type: "text";
202
- }, {
203
- text: string;
204
- type: "text";
205
- }>]>, "many">;
206
- }, "strip", z.ZodTypeAny, {
207
- role: string;
208
- content: ({
209
- text: string;
210
- type: "text";
211
- } | ({
212
- image_url: {
213
- url: string;
214
- detail?: string | undefined;
215
- };
216
- type: "image_url";
217
- } & Record<string, any>))[];
218
- }, {
219
- role: string;
220
- content: ({
221
- text: string;
222
- type: "text";
223
- } | ({
224
- image_url: {
225
- url: string;
226
- detail?: string | undefined;
227
- };
228
- type: "image_url";
229
- } & Record<string, any>))[];
230
- }>]>, "many">;
231
- defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
232
- additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
233
- response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
234
- type: z.ZodLiteral<"text">;
235
- }, "strip", z.ZodTypeAny, {
236
- type: "text";
237
- }, {
238
- type: "text";
239
- }>, z.ZodObject<{
240
- type: z.ZodLiteral<"json_object">;
241
- }, "strip", z.ZodTypeAny, {
242
- type: "json_object";
243
- }, {
244
- type: "json_object";
245
- }>, z.ZodObject<{
246
- type: z.ZodLiteral<"json_schema">;
247
- json_schema: z.ZodObject<{
248
- description: z.ZodOptional<z.ZodString>;
249
- name: z.ZodString;
250
- schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
251
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
252
- }, "strip", z.ZodTypeAny, {
253
- name: string;
254
- description?: string | undefined;
255
- schema?: Record<string, any> | undefined;
256
- strict?: boolean | null | undefined;
257
- }, {
258
- name: string;
259
- description?: string | undefined;
260
- schema?: Record<string, any> | undefined;
261
- strict?: boolean | null | undefined;
262
- }>;
263
- }, "strip", z.ZodTypeAny, {
264
- json_schema: {
265
- name: string;
266
- description?: string | undefined;
267
- schema?: Record<string, any> | undefined;
268
- strict?: boolean | null | undefined;
269
- };
270
- type: "json_schema";
271
- }, {
272
- json_schema: {
273
- name: string;
274
- description?: string | undefined;
275
- schema?: Record<string, any> | undefined;
276
- strict?: boolean | null | undefined;
277
- };
278
- type: "json_schema";
279
- }>]>>;
280
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
281
- type: z.ZodLiteral<"function">;
282
- function: z.ZodObject<{
283
- description: z.ZodOptional<z.ZodString>;
284
- name: z.ZodString;
285
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
286
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
287
- }, "strip", z.ZodTypeAny, {
288
- name: string;
289
- description?: string | undefined;
290
- strict?: boolean | null | undefined;
291
- parameters?: Record<string, any> | undefined;
292
- }, {
293
- name: string;
294
- description?: string | undefined;
295
- strict?: boolean | null | undefined;
296
- parameters?: Record<string, any> | undefined;
297
- }>;
298
- }, "strip", z.ZodTypeAny, {
299
- function: {
300
- name: string;
301
- description?: string | undefined;
302
- strict?: boolean | null | undefined;
303
- parameters?: Record<string, any> | undefined;
304
- };
305
- type: "function";
306
- }, {
307
- function: {
308
- name: string;
309
- description?: string | undefined;
310
- strict?: boolean | null | undefined;
311
- parameters?: Record<string, any> | undefined;
312
- };
313
- type: "function";
314
- }>, "many">>;
315
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
316
- template: z.ZodArray<z.ZodUnion<[z.ZodObject<{
317
- role: z.ZodString;
318
- content: z.ZodString;
319
- }, "strip", z.ZodTypeAny, {
320
- role: string;
321
- content: string;
322
- }, {
323
- role: string;
324
- content: string;
325
- }>, z.ZodObject<{
326
- role: z.ZodString;
327
- content: z.ZodArray<z.ZodUnion<[z.ZodIntersection<z.ZodObject<{
328
- type: z.ZodLiteral<"image_url">;
329
- image_url: z.ZodObject<{
330
- url: z.ZodString;
331
- detail: z.ZodOptional<z.ZodString>;
332
- }, "strip", z.ZodTypeAny, {
333
- url: string;
334
- detail?: string | undefined;
335
- }, {
336
- url: string;
337
- detail?: string | undefined;
338
- }>;
339
- }, "strip", z.ZodTypeAny, {
340
- image_url: {
341
- url: string;
342
- detail?: string | undefined;
343
- };
344
- type: "image_url";
345
- }, {
346
- image_url: {
347
- url: string;
348
- detail?: string | undefined;
349
- };
350
- type: "image_url";
351
- }>, z.ZodRecord<z.ZodString, z.ZodAny>>, z.ZodObject<{
352
- type: z.ZodLiteral<"text">;
353
- text: z.ZodString;
354
- }, "strip", z.ZodTypeAny, {
355
- text: string;
356
- type: "text";
357
- }, {
358
- text: string;
359
- type: "text";
360
- }>]>, "many">;
361
- }, "strip", z.ZodTypeAny, {
362
- role: string;
363
- content: ({
364
- text: string;
365
- type: "text";
366
- } | ({
367
- image_url: {
368
- url: string;
369
- detail?: string | undefined;
370
- };
371
- type: "image_url";
372
- } & Record<string, any>))[];
373
- }, {
374
- role: string;
375
- content: ({
376
- text: string;
377
- type: "text";
378
- } | ({
379
- image_url: {
380
- url: string;
381
- detail?: string | undefined;
382
- };
383
- type: "image_url";
384
- } & Record<string, any>))[];
385
- }>]>, "many">;
386
- defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
387
- additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
388
- response_format: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
389
- type: z.ZodLiteral<"text">;
390
- }, "strip", z.ZodTypeAny, {
391
- type: "text";
392
- }, {
393
- type: "text";
394
- }>, z.ZodObject<{
395
- type: z.ZodLiteral<"json_object">;
396
- }, "strip", z.ZodTypeAny, {
397
- type: "json_object";
398
- }, {
399
- type: "json_object";
400
- }>, z.ZodObject<{
401
- type: z.ZodLiteral<"json_schema">;
402
- json_schema: z.ZodObject<{
403
- description: z.ZodOptional<z.ZodString>;
404
- name: z.ZodString;
405
- schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
406
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
407
- }, "strip", z.ZodTypeAny, {
408
- name: string;
409
- description?: string | undefined;
410
- schema?: Record<string, any> | undefined;
411
- strict?: boolean | null | undefined;
412
- }, {
413
- name: string;
414
- description?: string | undefined;
415
- schema?: Record<string, any> | undefined;
416
- strict?: boolean | null | undefined;
417
- }>;
418
- }, "strip", z.ZodTypeAny, {
419
- json_schema: {
420
- name: string;
421
- description?: string | undefined;
422
- schema?: Record<string, any> | undefined;
423
- strict?: boolean | null | undefined;
424
- };
425
- type: "json_schema";
426
- }, {
427
- json_schema: {
428
- name: string;
429
- description?: string | undefined;
430
- schema?: Record<string, any> | undefined;
431
- strict?: boolean | null | undefined;
432
- };
433
- type: "json_schema";
434
- }>]>>;
435
- tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
436
- type: z.ZodLiteral<"function">;
437
- function: z.ZodObject<{
438
- description: z.ZodOptional<z.ZodString>;
439
- name: z.ZodString;
440
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
441
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
442
- }, "strip", z.ZodTypeAny, {
443
- name: string;
444
- description?: string | undefined;
445
- strict?: boolean | null | undefined;
446
- parameters?: Record<string, any> | undefined;
447
- }, {
448
- name: string;
449
- description?: string | undefined;
450
- strict?: boolean | null | undefined;
451
- parameters?: Record<string, any> | undefined;
452
- }>;
453
- }, "strip", z.ZodTypeAny, {
454
- function: {
455
- name: string;
456
- description?: string | undefined;
457
- strict?: boolean | null | undefined;
458
- parameters?: Record<string, any> | undefined;
459
- };
460
- type: "function";
461
- }, {
462
- function: {
463
- name: string;
464
- description?: string | undefined;
465
- strict?: boolean | null | undefined;
466
- parameters?: Record<string, any> | undefined;
467
- };
468
- type: "function";
469
- }>, "many">>;
470
- }, z.ZodTypeAny, "passthrough">>;
471
- //# sourceMappingURL=prompt-template-spec.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt-template-spec.zod.d.ts","sourceRoot":"","sources":["../../src/zod/prompt-template-spec.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;IAEI;AACJ,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAcrB,CAAC"}
@@ -1,26 +0,0 @@
1
- // Generated by ts-to-zod
2
- import { z } from 'zod';
3
- import { templateSchema } from './template.zod.js';
4
- import { responseFormatTextSchema } from './response-format-text.zod.js';
5
- import { responseFormatJsonObjectSchema } from './response-format-json-object.zod.js';
6
- import { responseFormatJsonSchemaSchema } from './response-format-json-schema.zod.js';
7
- import { chatCompletionToolSchema } from './chat-completion-tool.zod.js';
8
- /**
9
- * @internal
10
- **/
11
- export const promptTemplateSpecSchema = z
12
- .object({
13
- template: z.array(templateSchema),
14
- defaults: z.record(z.any()).optional(),
15
- additionalFields: z.record(z.any()).optional(),
16
- response_format: z
17
- .union([
18
- responseFormatTextSchema,
19
- responseFormatJsonObjectSchema,
20
- responseFormatJsonSchemaSchema
21
- ])
22
- .optional(),
23
- tools: z.array(chatCompletionToolSchema).optional()
24
- })
25
- .passthrough();
26
- //# sourceMappingURL=prompt-template-spec.zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt-template-spec.zod.js","sourceRoot":"","sources":["../../src/zod/prompt-template-spec.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE;;IAEI;AACJ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC;KACtC,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtC,gBAAgB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,eAAe,EAAE,CAAC;SACf,KAAK,CAAC;QACL,wBAAwB;QACxB,8BAA8B;QAC9B,8BAA8B;KAC/B,CAAC;SACD,QAAQ,EAAE;IACb,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,QAAQ,EAAE;CACpD,CAAC;KACD,WAAW,EAAE,CAAC"}
@@ -1,12 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const responseFormatJsonObjectSchema: z.ZodObject<{
6
- type: z.ZodLiteral<"json_object">;
7
- }, "strip", z.ZodTypeAny, {
8
- type: "json_object";
9
- }, {
10
- type: "json_object";
11
- }>;
12
- //# sourceMappingURL=response-format-json-object.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-object.zod.d.ts","sourceRoot":"","sources":["../../src/zod/response-format-json-object.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,eAAO,MAAM,8BAA8B;;;;;;EAEzC,CAAC"}
@@ -1,9 +0,0 @@
1
- // Generated by ts-to-zod
2
- import { z } from 'zod';
3
- /**
4
- * @internal
5
- **/
6
- export const responseFormatJsonObjectSchema = z.object({
7
- type: z.literal('json_object')
8
- });
9
- //# sourceMappingURL=response-format-json-object.zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-object.zod.js","sourceRoot":"","sources":["../../src/zod/response-format-json-object.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;CAC/B,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const responseFormatJsonSchemaSchemaSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
6
- //# sourceMappingURL=response-format-json-schema-schema.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-schema-schema.zod.d.ts","sourceRoot":"","sources":["../../src/zod/response-format-json-schema-schema.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,eAAO,MAAM,oCAAoC,oCAAoB,CAAC"}
@@ -1,7 +0,0 @@
1
- // Generated by ts-to-zod
2
- import { z } from 'zod';
3
- /**
4
- * @internal
5
- **/
6
- export const responseFormatJsonSchemaSchemaSchema = z.record(z.any());
7
- //# sourceMappingURL=response-format-json-schema-schema.zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-schema-schema.zod.js","sourceRoot":"","sources":["../../src/zod/response-format-json-schema-schema.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC"}
@@ -1,40 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const responseFormatJsonSchemaSchema: z.ZodObject<{
6
- type: z.ZodLiteral<"json_schema">;
7
- json_schema: z.ZodObject<{
8
- description: z.ZodOptional<z.ZodString>;
9
- name: z.ZodString;
10
- schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11
- strict: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
12
- }, "strip", z.ZodTypeAny, {
13
- name: string;
14
- description?: string | undefined;
15
- schema?: Record<string, any> | undefined;
16
- strict?: boolean | null | undefined;
17
- }, {
18
- name: string;
19
- description?: string | undefined;
20
- schema?: Record<string, any> | undefined;
21
- strict?: boolean | null | undefined;
22
- }>;
23
- }, "strip", z.ZodTypeAny, {
24
- json_schema: {
25
- name: string;
26
- description?: string | undefined;
27
- schema?: Record<string, any> | undefined;
28
- strict?: boolean | null | undefined;
29
- };
30
- type: "json_schema";
31
- }, {
32
- json_schema: {
33
- name: string;
34
- description?: string | undefined;
35
- schema?: Record<string, any> | undefined;
36
- strict?: boolean | null | undefined;
37
- };
38
- type: "json_schema";
39
- }>;
40
- //# sourceMappingURL=response-format-json-schema.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-schema.zod.d.ts","sourceRoot":"","sources":["../../src/zod/response-format-json-schema.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;IAEI;AACJ,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQzC,CAAC"}
@@ -1,16 +0,0 @@
1
- // Generated by ts-to-zod
2
- import { z } from 'zod';
3
- import { responseFormatJsonSchemaSchemaSchema } from './response-format-json-schema-schema.zod.js';
4
- /**
5
- * @internal
6
- **/
7
- export const responseFormatJsonSchemaSchema = z.object({
8
- type: z.literal('json_schema'),
9
- json_schema: z.object({
10
- description: z.string().optional(),
11
- name: z.string(),
12
- schema: responseFormatJsonSchemaSchemaSchema.optional(),
13
- strict: z.boolean().optional().nullable()
14
- })
15
- });
16
- //# sourceMappingURL=response-format-json-schema.zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-json-schema.zod.js","sourceRoot":"","sources":["../../src/zod/response-format-json-schema.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AAEnG;;IAEI;AACJ,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAC9B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;QACpB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,oCAAoC,CAAC,QAAQ,EAAE;QACvD,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;KAC1C,CAAC;CACH,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const responseFormatTextSchema: z.ZodObject<{
6
- type: z.ZodLiteral<"text">;
7
- }, "strip", z.ZodTypeAny, {
8
- type: "text";
9
- }, {
10
- type: "text";
11
- }>;
12
- //# sourceMappingURL=response-format-text.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-text.zod.d.ts","sourceRoot":"","sources":["../../src/zod/response-format-text.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAC"}
@@ -1,9 +0,0 @@
1
- // Generated by ts-to-zod
2
- import { z } from 'zod';
3
- /**
4
- * @internal
5
- **/
6
- export const responseFormatTextSchema = z.object({
7
- type: z.literal('text')
8
- });
9
- //# sourceMappingURL=response-format-text.zod.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response-format-text.zod.js","sourceRoot":"","sources":["../../src/zod/response-format-text.zod.ts"],"names":[],"mappings":"AAAA,yBAAyB;AACzB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CACxB,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- import { z } from 'zod';
2
- /**
3
- * @internal
4
- **/
5
- export declare const singleChatTemplateSchema: z.ZodObject<{
6
- role: z.ZodString;
7
- content: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- role: string;
10
- content: string;
11
- }, {
12
- role: string;
13
- content: string;
14
- }>;
15
- //# sourceMappingURL=single-chat-template.zod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"single-chat-template.zod.d.ts","sourceRoot":"","sources":["../../src/zod/single-chat-template.zod.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;IAEI;AACJ,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC"}