@arizeai/phoenix-client 5.5.4 → 5.6.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 (53) hide show
  1. package/dist/esm/__generated__/api/v1.d.ts +5 -5
  2. package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
  3. package/dist/esm/config.d.ts.map +1 -1
  4. package/dist/esm/config.js +5 -23
  5. package/dist/esm/config.js.map +1 -1
  6. package/dist/esm/schemas/llm/anthropic/converters.d.ts +82 -82
  7. package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
  8. package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
  9. package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
  10. package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
  11. package/dist/esm/schemas/llm/constants.d.ts +46 -46
  12. package/dist/esm/schemas/llm/converters.d.ts +184 -184
  13. package/dist/esm/schemas/llm/openai/converters.d.ts +32 -32
  14. package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +6 -6
  15. package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
  16. package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
  17. package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
  18. package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
  19. package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
  20. package/dist/esm/schemas/llm/schemas.d.ts +79 -79
  21. package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
  22. package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +8 -8
  23. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  24. package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
  25. package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
  26. package/dist/src/__generated__/api/v1.d.ts +5 -5
  27. package/dist/src/__generated__/api/v1.d.ts.map +1 -1
  28. package/dist/src/config.d.ts.map +1 -1
  29. package/dist/src/config.js +5 -27
  30. package/dist/src/config.js.map +1 -1
  31. package/dist/src/schemas/llm/anthropic/converters.d.ts +82 -82
  32. package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
  33. package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
  34. package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
  35. package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
  36. package/dist/src/schemas/llm/constants.d.ts +46 -46
  37. package/dist/src/schemas/llm/converters.d.ts +184 -184
  38. package/dist/src/schemas/llm/openai/converters.d.ts +32 -32
  39. package/dist/src/schemas/llm/openai/messageSchemas.d.ts +6 -6
  40. package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
  41. package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
  42. package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
  43. package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
  44. package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
  45. package/dist/src/schemas/llm/schemas.d.ts +79 -79
  46. package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
  47. package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +8 -8
  48. package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
  49. package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
  50. package/dist/tsconfig.tsbuildinfo +1 -1
  51. package/package.json +5 -4
  52. package/src/__generated__/api/v1.ts +5 -5
  53. package/src/config.ts +11 -28
@@ -84,8 +84,8 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
84
84
  } & {
85
85
  [k: string]: unknown;
86
86
  };
87
- type: "function";
88
87
  id: string;
88
+ type: "function";
89
89
  }, {
90
90
  function: {
91
91
  name: string;
@@ -130,8 +130,8 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
130
130
  } & {
131
131
  [k: string]: unknown;
132
132
  };
133
- type: "function";
134
133
  id: string;
134
+ type: "function";
135
135
  }, {
136
136
  function: {
137
137
  name: string;
@@ -176,8 +176,8 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
176
176
  } & {
177
177
  [k: string]: unknown;
178
178
  };
179
- type: "function";
180
179
  id: string;
180
+ type: "function";
181
181
  }, {
182
182
  function: {
183
183
  name: string;
@@ -431,26 +431,26 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
431
431
  media_type: import("zod").ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
432
432
  type: import("zod").ZodLiteral<"base64">;
433
433
  }, "strip", import("zod").ZodTypeAny, {
434
- type: "base64";
435
434
  data: string;
435
+ type: "base64";
436
436
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
437
437
  }, {
438
- type: "base64";
439
438
  data: string;
439
+ type: "base64";
440
440
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
441
441
  }>;
442
442
  }, "strip", import("zod").ZodTypeAny, {
443
443
  type: "image";
444
444
  source: {
445
- type: "base64";
446
445
  data: string;
446
+ type: "base64";
447
447
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
448
448
  };
449
449
  }, {
450
450
  type: "image";
451
451
  source: {
452
- type: "base64";
453
452
  data: string;
453
+ type: "base64";
454
454
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
455
455
  };
456
456
  }>, import("zod").ZodObject<{
@@ -459,15 +459,15 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
459
459
  name: import("zod").ZodString;
460
460
  input: import("zod").ZodType<import("../../jsonLiteralSchema.js").JSONLiteral, import("zod").ZodTypeDef, import("../../jsonLiteralSchema.js").JSONLiteral>;
461
461
  }, "strip", import("zod").ZodTypeAny, {
462
- type: "tool_use";
463
462
  name: string;
464
463
  id: string;
465
464
  input: import("../../jsonLiteralSchema.js").JSONLiteral;
466
- }, {
467
465
  type: "tool_use";
466
+ }, {
468
467
  name: string;
469
468
  id: string;
470
469
  input: import("../../jsonLiteralSchema.js").JSONLiteral;
470
+ type: "tool_use";
471
471
  }>, import("zod").ZodObject<{
472
472
  type: import("zod").ZodLiteral<"tool_result">;
473
473
  tool_use_id: import("zod").ZodString;
@@ -487,58 +487,58 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
487
487
  media_type: import("zod").ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>;
488
488
  type: import("zod").ZodLiteral<"base64">;
489
489
  }, "strip", import("zod").ZodTypeAny, {
490
- type: "base64";
491
490
  data: string;
491
+ type: "base64";
492
492
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
493
493
  }, {
494
- type: "base64";
495
494
  data: string;
495
+ type: "base64";
496
496
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
497
497
  }>;
498
498
  }, "strip", import("zod").ZodTypeAny, {
499
499
  type: "image";
500
500
  source: {
501
- type: "base64";
502
501
  data: string;
502
+ type: "base64";
503
503
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
504
504
  };
505
505
  }, {
506
506
  type: "image";
507
507
  source: {
508
- type: "base64";
509
508
  data: string;
509
+ type: "base64";
510
510
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
511
511
  };
512
512
  }>]>, "many">]>;
513
513
  is_error: import("zod").ZodOptional<import("zod").ZodBoolean>;
514
514
  }, "strip", import("zod").ZodTypeAny, {
515
- type: "tool_result";
516
515
  content: string | ({
517
516
  text: string;
518
517
  type: "text";
519
518
  } | {
520
519
  type: "image";
521
520
  source: {
522
- type: "base64";
523
521
  data: string;
522
+ type: "base64";
524
523
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
525
524
  };
526
525
  })[];
526
+ type: "tool_result";
527
527
  tool_use_id: string;
528
528
  is_error?: boolean | undefined;
529
529
  }, {
530
- type: "tool_result";
531
530
  content: string | ({
532
531
  text: string;
533
532
  type: "text";
534
533
  } | {
535
534
  type: "image";
536
535
  source: {
537
- type: "base64";
538
536
  data: string;
537
+ type: "base64";
539
538
  media_type: "image/jpeg" | "image/png" | "image/gif" | "image/webp";
540
539
  };
541
540
  })[];
541
+ type: "tool_result";
542
542
  tool_use_id: string;
543
543
  is_error?: boolean | undefined;
544
544
  }>]>, "many">]>;
@@ -576,8 +576,8 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
576
576
  } & {
577
577
  [k: string]: unknown;
578
578
  };
579
- type: "function";
580
579
  id: string;
580
+ type: "function";
581
581
  }, {
582
582
  function: {
583
583
  name: string;
@@ -701,8 +701,8 @@ export declare const openAIMessageToPhoenixPrompt: import("zod").ZodEffects<impo
701
701
  } & {
702
702
  [k: string]: unknown;
703
703
  };
704
- type: "function";
705
704
  id: string;
705
+ type: "function";
706
706
  }, {
707
707
  function: {
708
708
  name: string;
@@ -747,8 +747,8 @@ export declare const openAIMessageToPhoenixPrompt: import("zod").ZodEffects<impo
747
747
  } & {
748
748
  [k: string]: unknown;
749
749
  };
750
- type: "function";
751
750
  id: string;
751
+ type: "function";
752
752
  }, {
753
753
  function: {
754
754
  name: string;
@@ -793,8 +793,8 @@ export declare const openAIMessageToPhoenixPrompt: import("zod").ZodEffects<impo
793
793
  } & {
794
794
  [k: string]: unknown;
795
795
  };
796
- type: "function";
797
796
  id: string;
797
+ type: "function";
798
798
  }, {
799
799
  function: {
800
800
  name: string;
@@ -1036,8 +1036,8 @@ export declare const openAIMessageToPhoenixPrompt: import("zod").ZodEffects<impo
1036
1036
  type: "text";
1037
1037
  } | {
1038
1038
  tool_call: {
1039
- type: "function";
1040
1039
  name: string;
1040
+ type: "function";
1041
1041
  arguments: string;
1042
1042
  };
1043
1043
  type: "tool_call";
@@ -1082,8 +1082,8 @@ export declare const openAIMessageToPhoenixPrompt: import("zod").ZodEffects<impo
1082
1082
  } & {
1083
1083
  [k: string]: unknown;
1084
1084
  };
1085
- type: "function";
1086
1085
  id: string;
1086
+ type: "function";
1087
1087
  }, {
1088
1088
  function: {
1089
1089
  name: string;
@@ -1207,8 +1207,8 @@ export declare const openAIMessageToVercelAI: import("zod").ZodEffects<import("z
1207
1207
  } & {
1208
1208
  [k: string]: unknown;
1209
1209
  };
1210
- type: "function";
1211
1210
  id: string;
1211
+ type: "function";
1212
1212
  }, {
1213
1213
  function: {
1214
1214
  name: string;
@@ -1253,8 +1253,8 @@ export declare const openAIMessageToVercelAI: import("zod").ZodEffects<import("z
1253
1253
  } & {
1254
1254
  [k: string]: unknown;
1255
1255
  };
1256
- type: "function";
1257
1256
  id: string;
1257
+ type: "function";
1258
1258
  }, {
1259
1259
  function: {
1260
1260
  name: string;
@@ -1299,8 +1299,8 @@ export declare const openAIMessageToVercelAI: import("zod").ZodEffects<import("z
1299
1299
  } & {
1300
1300
  [k: string]: unknown;
1301
1301
  };
1302
- type: "function";
1303
1302
  id: string;
1303
+ type: "function";
1304
1304
  }, {
1305
1305
  function: {
1306
1306
  name: string;
@@ -1554,19 +1554,19 @@ export declare const openAIMessageToVercelAI: import("zod").ZodEffects<import("z
1554
1554
  text: string;
1555
1555
  type: "text";
1556
1556
  } | {
1557
- type: "tool-call";
1558
1557
  input: import("../../jsonLiteralSchema.js").JSONLiteral;
1558
+ type: "tool-call";
1559
1559
  toolCallId: string;
1560
1560
  toolName: string;
1561
1561
  })[];
1562
1562
  role: "assistant";
1563
1563
  } | {
1564
1564
  content: {
1565
- type: "tool-result";
1566
1565
  output: {
1567
1566
  value: string;
1568
1567
  type: "text";
1569
1568
  };
1569
+ type: "tool-result";
1570
1570
  toolCallId: string;
1571
1571
  toolName: string;
1572
1572
  }[];
@@ -1605,8 +1605,8 @@ export declare const openAIMessageToVercelAI: import("zod").ZodEffects<import("z
1605
1605
  } & {
1606
1606
  [k: string]: unknown;
1607
1607
  };
1608
- type: "function";
1609
1608
  id: string;
1609
+ type: "function";
1610
1610
  }, {
1611
1611
  function: {
1612
1612
  name: string;
@@ -1716,8 +1716,8 @@ export declare const openAIToolCallToAnthropic: import("zod").ZodEffects<import(
1716
1716
  } & {
1717
1717
  [k: string]: unknown;
1718
1718
  };
1719
- type: "function";
1720
1719
  id: string;
1720
+ type: "function";
1721
1721
  }, {
1722
1722
  function: {
1723
1723
  name: string;
@@ -1728,10 +1728,10 @@ export declare const openAIToolCallToAnthropic: import("zod").ZodEffects<import(
1728
1728
  id: string;
1729
1729
  type?: "function" | undefined;
1730
1730
  }>, {
1731
- type: "tool_use";
1732
1731
  name: string;
1733
1732
  id: string;
1734
1733
  input: import("../../jsonLiteralSchema.js").JSONLiteral;
1734
+ type: "tool_use";
1735
1735
  }, {
1736
1736
  function: {
1737
1737
  name: string;
@@ -1762,8 +1762,8 @@ export declare const openAIToolChoiceToAnthropic: import("zod").ZodEffects<impor
1762
1762
  };
1763
1763
  type: "function";
1764
1764
  }>]>, {
1765
- type: "tool";
1766
1765
  name: string;
1766
+ type: "tool";
1767
1767
  } | {
1768
1768
  type: "auto";
1769
1769
  } | {
@@ -35,8 +35,8 @@ export declare const openAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Zod
35
35
  } & {
36
36
  [k: string]: unknown;
37
37
  };
38
- type: "function";
39
38
  id: string;
39
+ type: "function";
40
40
  }, {
41
41
  function: {
42
42
  name: string;
@@ -81,8 +81,8 @@ export declare const openAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Zod
81
81
  } & {
82
82
  [k: string]: unknown;
83
83
  };
84
- type: "function";
85
84
  id: string;
85
+ type: "function";
86
86
  }, {
87
87
  function: {
88
88
  name: string;
@@ -127,8 +127,8 @@ export declare const openAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Zod
127
127
  } & {
128
128
  [k: string]: unknown;
129
129
  };
130
- type: "function";
131
130
  id: string;
131
+ type: "function";
132
132
  }, {
133
133
  function: {
134
134
  name: string;
@@ -400,8 +400,8 @@ export declare const openAIMessagesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"r
400
400
  } & {
401
401
  [k: string]: unknown;
402
402
  };
403
- type: "function";
404
403
  id: string;
404
+ type: "function";
405
405
  }, {
406
406
  function: {
407
407
  name: string;
@@ -446,8 +446,8 @@ export declare const openAIMessagesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"r
446
446
  } & {
447
447
  [k: string]: unknown;
448
448
  };
449
- type: "function";
450
449
  id: string;
450
+ type: "function";
451
451
  }, {
452
452
  function: {
453
453
  name: string;
@@ -492,8 +492,8 @@ export declare const openAIMessagesSchema: z.ZodArray<z.ZodDiscriminatedUnion<"r
492
492
  } & {
493
493
  [k: string]: unknown;
494
494
  };
495
- type: "function";
496
495
  id: string;
496
+ type: "function";
497
497
  }, {
498
498
  function: {
499
499
  name: string;
@@ -26,8 +26,8 @@ export declare const openAIToolCallSchema: z.ZodObject<{
26
26
  } & {
27
27
  [k: string]: unknown;
28
28
  };
29
- type: "function";
30
29
  id: string;
30
+ type: "function";
31
31
  }, {
32
32
  function: {
33
33
  name: string;
@@ -76,8 +76,8 @@ export declare const openAIToolCallsSchema: z.ZodArray<z.ZodObject<{
76
76
  } & {
77
77
  [k: string]: unknown;
78
78
  };
79
- type: "function";
80
79
  id: string;
80
+ type: "function";
81
81
  }, {
82
82
  function: {
83
83
  name: string;
@@ -15,26 +15,26 @@ export declare const phoenixMessagePartToOpenAI: import("zod").ZodEffects<import
15
15
  name: import("zod").ZodString;
16
16
  arguments: import("zod").ZodString;
17
17
  }, "strip", import("zod").ZodTypeAny, {
18
- type: "function";
19
18
  name: string;
19
+ type: "function";
20
20
  arguments: string;
21
21
  }, {
22
- type: "function";
23
22
  name: string;
23
+ type: "function";
24
24
  arguments: string;
25
25
  }>;
26
26
  }, "strip", import("zod").ZodTypeAny, {
27
27
  tool_call: {
28
- type: "function";
29
28
  name: string;
29
+ type: "function";
30
30
  arguments: string;
31
31
  };
32
32
  type: "tool_call";
33
33
  tool_call_id: string;
34
34
  }, {
35
35
  tool_call: {
36
- type: "function";
37
36
  name: string;
37
+ type: "function";
38
38
  arguments: string;
39
39
  };
40
40
  type: "tool_call";
@@ -59,8 +59,8 @@ export declare const phoenixMessagePartToOpenAI: import("zod").ZodEffects<import
59
59
  type: "text";
60
60
  } | {
61
61
  tool_call: {
62
- type: "function";
63
62
  name: string;
63
+ type: "function";
64
64
  arguments: string;
65
65
  };
66
66
  type: "tool_call";
@@ -92,26 +92,26 @@ export declare const phoenixMessageToOpenAI: import("zod").ZodEffects<import("zo
92
92
  name: import("zod").ZodString;
93
93
  arguments: import("zod").ZodString;
94
94
  }, "strip", import("zod").ZodTypeAny, {
95
- type: "function";
96
95
  name: string;
96
+ type: "function";
97
97
  arguments: string;
98
98
  }, {
99
- type: "function";
100
99
  name: string;
100
+ type: "function";
101
101
  arguments: string;
102
102
  }>;
103
103
  }, "strip", import("zod").ZodTypeAny, {
104
104
  tool_call: {
105
- type: "function";
106
105
  name: string;
106
+ type: "function";
107
107
  arguments: string;
108
108
  };
109
109
  type: "tool_call";
110
110
  tool_call_id: string;
111
111
  }, {
112
112
  tool_call: {
113
- type: "function";
114
113
  name: string;
114
+ type: "function";
115
115
  arguments: string;
116
116
  };
117
117
  type: "tool_call";
@@ -135,8 +135,8 @@ export declare const phoenixMessageToOpenAI: import("zod").ZodEffects<import("zo
135
135
  type: "text";
136
136
  } | {
137
137
  tool_call: {
138
- type: "function";
139
138
  name: string;
139
+ type: "function";
140
140
  arguments: string;
141
141
  };
142
142
  type: "tool_call";
@@ -153,8 +153,8 @@ export declare const phoenixMessageToOpenAI: import("zod").ZodEffects<import("zo
153
153
  type: "text";
154
154
  } | {
155
155
  tool_call: {
156
- type: "function";
157
156
  name: string;
157
+ type: "function";
158
158
  arguments: string;
159
159
  };
160
160
  type: "tool_call";
@@ -199,8 +199,8 @@ export declare const phoenixMessageToOpenAI: import("zod").ZodEffects<import("zo
199
199
  } & {
200
200
  [k: string]: unknown;
201
201
  };
202
- type: "function";
203
202
  id: string;
203
+ type: "function";
204
204
  }[] | undefined;
205
205
  tool_call_id?: undefined;
206
206
  }, {
@@ -209,8 +209,8 @@ export declare const phoenixMessageToOpenAI: import("zod").ZodEffects<import("zo
209
209
  type: "text";
210
210
  } | {
211
211
  tool_call: {
212
- type: "function";
213
212
  name: string;
213
+ type: "function";
214
214
  arguments: string;
215
215
  };
216
216
  type: "tool_call";
@@ -297,26 +297,26 @@ export declare const phoenixToolCallToOpenAI: import("zod").ZodEffects<import("z
297
297
  name: import("zod").ZodString;
298
298
  arguments: import("zod").ZodString;
299
299
  }, "strip", import("zod").ZodTypeAny, {
300
- type: "function";
301
300
  name: string;
301
+ type: "function";
302
302
  arguments: string;
303
303
  }, {
304
- type: "function";
305
304
  name: string;
305
+ type: "function";
306
306
  arguments: string;
307
307
  }>;
308
308
  }, "strip", import("zod").ZodTypeAny, {
309
309
  tool_call: {
310
- type: "function";
311
310
  name: string;
311
+ type: "function";
312
312
  arguments: string;
313
313
  };
314
314
  type: "tool_call";
315
315
  tool_call_id: string;
316
316
  }, {
317
317
  tool_call: {
318
- type: "function";
319
318
  name: string;
319
+ type: "function";
320
320
  arguments: string;
321
321
  };
322
322
  type: "tool_call";
@@ -328,12 +328,12 @@ export declare const phoenixToolCallToOpenAI: import("zod").ZodEffects<import("z
328
328
  } & {
329
329
  [k: string]: unknown;
330
330
  };
331
- type: "function";
332
331
  id: string;
332
+ type: "function";
333
333
  }, {
334
334
  tool_call: {
335
- type: "function";
336
335
  name: string;
336
+ type: "function";
337
337
  arguments: string;
338
338
  };
339
339
  type: "tool_call";
@@ -18,26 +18,26 @@ export declare const toolCallPartSchema: z.ZodObject<{
18
18
  name: z.ZodString;
19
19
  arguments: z.ZodString;
20
20
  }, "strip", z.ZodTypeAny, {
21
- type: "function";
22
21
  name: string;
22
+ type: "function";
23
23
  arguments: string;
24
24
  }, {
25
- type: "function";
26
25
  name: string;
26
+ type: "function";
27
27
  arguments: string;
28
28
  }>;
29
29
  }, "strip", z.ZodTypeAny, {
30
30
  tool_call: {
31
- type: "function";
32
31
  name: string;
32
+ type: "function";
33
33
  arguments: string;
34
34
  };
35
35
  type: "tool_call";
36
36
  tool_call_id: string;
37
37
  }, {
38
38
  tool_call: {
39
- type: "function";
40
39
  name: string;
40
+ type: "function";
41
41
  arguments: string;
42
42
  };
43
43
  type: "tool_call";
@@ -75,26 +75,26 @@ export declare const phoenixContentPartSchema: z.ZodDiscriminatedUnion<"type", [
75
75
  name: z.ZodString;
76
76
  arguments: z.ZodString;
77
77
  }, "strip", z.ZodTypeAny, {
78
- type: "function";
79
78
  name: string;
79
+ type: "function";
80
80
  arguments: string;
81
81
  }, {
82
- type: "function";
83
82
  name: string;
83
+ type: "function";
84
84
  arguments: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  tool_call: {
88
- type: "function";
89
88
  name: string;
89
+ type: "function";
90
90
  arguments: string;
91
91
  };
92
92
  type: "tool_call";
93
93
  tool_call_id: string;
94
94
  }, {
95
95
  tool_call: {
96
- type: "function";
97
96
  name: string;
97
+ type: "function";
98
98
  arguments: string;
99
99
  };
100
100
  type: "tool_call";
@@ -25,26 +25,26 @@ export declare const phoenixMessageSchema: z.ZodObject<{
25
25
  name: z.ZodString;
26
26
  arguments: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
- type: "function";
29
28
  name: string;
29
+ type: "function";
30
30
  arguments: string;
31
31
  }, {
32
- type: "function";
33
32
  name: string;
33
+ type: "function";
34
34
  arguments: string;
35
35
  }>;
36
36
  }, "strip", z.ZodTypeAny, {
37
37
  tool_call: {
38
- type: "function";
39
38
  name: string;
39
+ type: "function";
40
40
  arguments: string;
41
41
  };
42
42
  type: "tool_call";
43
43
  tool_call_id: string;
44
44
  }, {
45
45
  tool_call: {
46
- type: "function";
47
46
  name: string;
47
+ type: "function";
48
48
  arguments: string;
49
49
  };
50
50
  type: "tool_call";
@@ -68,8 +68,8 @@ export declare const phoenixMessageSchema: z.ZodObject<{
68
68
  type: "text";
69
69
  } | {
70
70
  tool_call: {
71
- type: "function";
72
71
  name: string;
72
+ type: "function";
73
73
  arguments: string;
74
74
  };
75
75
  type: "tool_call";
@@ -86,8 +86,8 @@ export declare const phoenixMessageSchema: z.ZodObject<{
86
86
  type: "text";
87
87
  } | {
88
88
  tool_call: {
89
- type: "function";
90
89
  name: string;
90
+ type: "function";
91
91
  arguments: string;
92
92
  };
93
93
  type: "tool_call";
@@ -119,26 +119,26 @@ export declare const phoenixMessagesSchema: z.ZodArray<z.ZodObject<{
119
119
  name: z.ZodString;
120
120
  arguments: z.ZodString;
121
121
  }, "strip", z.ZodTypeAny, {
122
- type: "function";
123
122
  name: string;
123
+ type: "function";
124
124
  arguments: string;
125
125
  }, {
126
- type: "function";
127
126
  name: string;
127
+ type: "function";
128
128
  arguments: string;
129
129
  }>;
130
130
  }, "strip", z.ZodTypeAny, {
131
131
  tool_call: {
132
- type: "function";
133
132
  name: string;
133
+ type: "function";
134
134
  arguments: string;
135
135
  };
136
136
  type: "tool_call";
137
137
  tool_call_id: string;
138
138
  }, {
139
139
  tool_call: {
140
- type: "function";
141
140
  name: string;
141
+ type: "function";
142
142
  arguments: string;
143
143
  };
144
144
  type: "tool_call";
@@ -162,8 +162,8 @@ export declare const phoenixMessagesSchema: z.ZodArray<z.ZodObject<{
162
162
  type: "text";
163
163
  } | {
164
164
  tool_call: {
165
- type: "function";
166
165
  name: string;
166
+ type: "function";
167
167
  arguments: string;
168
168
  };
169
169
  type: "tool_call";
@@ -180,8 +180,8 @@ export declare const phoenixMessagesSchema: z.ZodArray<z.ZodObject<{
180
180
  type: "text";
181
181
  } | {
182
182
  tool_call: {
183
- type: "function";
184
183
  name: string;
184
+ type: "function";
185
185
  arguments: string;
186
186
  };
187
187
  type: "tool_call";