braintrust 3.31.0 → 3.32.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.
- package/dev/dist/index.d.mts +736 -0
- package/dev/dist/index.d.ts +736 -0
- package/dev/dist/index.js +1280 -428
- package/dev/dist/index.mjs +859 -7
- package/dist/apply-auto-instrumentation.js +281 -216
- package/dist/apply-auto-instrumentation.mjs +66 -1
- package/dist/auto-instrumentations/bundler/esbuild.cjs +104 -2
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +104 -2
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +104 -2
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +104 -2
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-U64OYU4Q.mjs → chunk-AFND2U7E.mjs} +38 -1
- package/dist/auto-instrumentations/{chunk-OXINGIEZ.mjs → chunk-QEEPRBIS.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-LW4HDHXT.mjs → chunk-RI4Y55ZF.mjs} +69 -2
- package/dist/auto-instrumentations/hook.mjs +124 -3
- package/dist/auto-instrumentations/index.cjs +39 -1
- package/dist/auto-instrumentations/index.d.mts +3 -1
- package/dist/auto-instrumentations/index.d.ts +3 -1
- package/dist/auto-instrumentations/index.mjs +3 -1
- package/dist/browser.d.mts +2124 -2
- package/dist/browser.d.ts +2124 -2
- package/dist/browser.js +994 -10
- package/dist/browser.mjs +994 -10
- package/dist/{chunk-AJT4FR25.mjs → chunk-4QSAHP7D.mjs} +818 -5
- package/dist/{chunk-4AQGZS6X.js → chunk-AW4QECG5.js} +47 -4
- package/dist/{chunk-V32LW47Z.js → chunk-BTRLPQG5.js} +1663 -850
- package/dist/{chunk-CE3BLB2L.mjs → chunk-WV6QZI2W.mjs} +46 -3
- package/dist/cli.js +923 -8
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +994 -10
- package/dist/edge-light.mjs +994 -10
- package/dist/index.d.mts +2124 -2
- package/dist/index.d.ts +2124 -2
- package/dist/index.js +581 -447
- package/dist/index.mjs +136 -2
- package/dist/instrumentation/index.d.mts +434 -0
- package/dist/instrumentation/index.d.ts +434 -0
- package/dist/instrumentation/index.js +859 -7
- package/dist/instrumentation/index.mjs +859 -7
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +994 -10
- package/dist/workerd.mjs +994 -10
- package/package.json +1 -1
- package/util/dist/index.d.mts +326 -0
- package/util/dist/index.d.ts +326 -0
package/dev/dist/index.d.ts
CHANGED
|
@@ -938,6 +938,48 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
938
938
|
type: "ephemeral";
|
|
939
939
|
ttl?: "5m" | "1h" | undefined;
|
|
940
940
|
} | undefined;
|
|
941
|
+
}>, z.ZodObject<{
|
|
942
|
+
input_audio: z.ZodObject<{
|
|
943
|
+
data: z.ZodString;
|
|
944
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
945
|
+
}, "strip", z.ZodTypeAny, {
|
|
946
|
+
data: string;
|
|
947
|
+
format: "wav" | "mp3";
|
|
948
|
+
}, {
|
|
949
|
+
data: string;
|
|
950
|
+
format: "wav" | "mp3";
|
|
951
|
+
}>;
|
|
952
|
+
type: z.ZodLiteral<"input_audio">;
|
|
953
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
954
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
955
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
956
|
+
}, "strip", z.ZodTypeAny, {
|
|
957
|
+
type: "ephemeral";
|
|
958
|
+
ttl?: "5m" | "1h" | undefined;
|
|
959
|
+
}, {
|
|
960
|
+
type: "ephemeral";
|
|
961
|
+
ttl?: "5m" | "1h" | undefined;
|
|
962
|
+
}>>;
|
|
963
|
+
}, "strip", z.ZodTypeAny, {
|
|
964
|
+
type: "input_audio";
|
|
965
|
+
input_audio: {
|
|
966
|
+
data: string;
|
|
967
|
+
format: "wav" | "mp3";
|
|
968
|
+
};
|
|
969
|
+
cache_control?: {
|
|
970
|
+
type: "ephemeral";
|
|
971
|
+
ttl?: "5m" | "1h" | undefined;
|
|
972
|
+
} | undefined;
|
|
973
|
+
}, {
|
|
974
|
+
type: "input_audio";
|
|
975
|
+
input_audio: {
|
|
976
|
+
data: string;
|
|
977
|
+
format: "wav" | "mp3";
|
|
978
|
+
};
|
|
979
|
+
cache_control?: {
|
|
980
|
+
type: "ephemeral";
|
|
981
|
+
ttl?: "5m" | "1h" | undefined;
|
|
982
|
+
} | undefined;
|
|
941
983
|
}>, z.ZodObject<{
|
|
942
984
|
file: z.ZodObject<{
|
|
943
985
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -1007,6 +1049,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1007
1049
|
type: "ephemeral";
|
|
1008
1050
|
ttl?: "5m" | "1h" | undefined;
|
|
1009
1051
|
} | undefined;
|
|
1052
|
+
} | {
|
|
1053
|
+
type: "input_audio";
|
|
1054
|
+
input_audio: {
|
|
1055
|
+
data: string;
|
|
1056
|
+
format: "wav" | "mp3";
|
|
1057
|
+
};
|
|
1058
|
+
cache_control?: {
|
|
1059
|
+
type: "ephemeral";
|
|
1060
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1061
|
+
} | undefined;
|
|
1010
1062
|
} | {
|
|
1011
1063
|
type: "file";
|
|
1012
1064
|
file: {
|
|
@@ -1039,6 +1091,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1039
1091
|
type: "ephemeral";
|
|
1040
1092
|
ttl?: "5m" | "1h" | undefined;
|
|
1041
1093
|
} | undefined;
|
|
1094
|
+
} | {
|
|
1095
|
+
type: "input_audio";
|
|
1096
|
+
input_audio: {
|
|
1097
|
+
data: string;
|
|
1098
|
+
format: "wav" | "mp3";
|
|
1099
|
+
};
|
|
1100
|
+
cache_control?: {
|
|
1101
|
+
type: "ephemeral";
|
|
1102
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1103
|
+
} | undefined;
|
|
1042
1104
|
} | {
|
|
1043
1105
|
type: "file";
|
|
1044
1106
|
file: {
|
|
@@ -1440,6 +1502,48 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1440
1502
|
type: "ephemeral";
|
|
1441
1503
|
ttl?: "5m" | "1h" | undefined;
|
|
1442
1504
|
} | undefined;
|
|
1505
|
+
}>, z.ZodObject<{
|
|
1506
|
+
input_audio: z.ZodObject<{
|
|
1507
|
+
data: z.ZodString;
|
|
1508
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
1509
|
+
}, "strip", z.ZodTypeAny, {
|
|
1510
|
+
data: string;
|
|
1511
|
+
format: "wav" | "mp3";
|
|
1512
|
+
}, {
|
|
1513
|
+
data: string;
|
|
1514
|
+
format: "wav" | "mp3";
|
|
1515
|
+
}>;
|
|
1516
|
+
type: z.ZodLiteral<"input_audio">;
|
|
1517
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
1518
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
1519
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
|
+
type: "ephemeral";
|
|
1522
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1523
|
+
}, {
|
|
1524
|
+
type: "ephemeral";
|
|
1525
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1526
|
+
}>>;
|
|
1527
|
+
}, "strip", z.ZodTypeAny, {
|
|
1528
|
+
type: "input_audio";
|
|
1529
|
+
input_audio: {
|
|
1530
|
+
data: string;
|
|
1531
|
+
format: "wav" | "mp3";
|
|
1532
|
+
};
|
|
1533
|
+
cache_control?: {
|
|
1534
|
+
type: "ephemeral";
|
|
1535
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
}, {
|
|
1538
|
+
type: "input_audio";
|
|
1539
|
+
input_audio: {
|
|
1540
|
+
data: string;
|
|
1541
|
+
format: "wav" | "mp3";
|
|
1542
|
+
};
|
|
1543
|
+
cache_control?: {
|
|
1544
|
+
type: "ephemeral";
|
|
1545
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1546
|
+
} | undefined;
|
|
1443
1547
|
}>, z.ZodObject<{
|
|
1444
1548
|
file: z.ZodObject<{
|
|
1445
1549
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -1509,6 +1613,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1509
1613
|
type: "ephemeral";
|
|
1510
1614
|
ttl?: "5m" | "1h" | undefined;
|
|
1511
1615
|
} | undefined;
|
|
1616
|
+
} | {
|
|
1617
|
+
type: "input_audio";
|
|
1618
|
+
input_audio: {
|
|
1619
|
+
data: string;
|
|
1620
|
+
format: "wav" | "mp3";
|
|
1621
|
+
};
|
|
1622
|
+
cache_control?: {
|
|
1623
|
+
type: "ephemeral";
|
|
1624
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1625
|
+
} | undefined;
|
|
1512
1626
|
} | {
|
|
1513
1627
|
type: "file";
|
|
1514
1628
|
file: {
|
|
@@ -1541,6 +1655,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1541
1655
|
type: "ephemeral";
|
|
1542
1656
|
ttl?: "5m" | "1h" | undefined;
|
|
1543
1657
|
} | undefined;
|
|
1658
|
+
} | {
|
|
1659
|
+
type: "input_audio";
|
|
1660
|
+
input_audio: {
|
|
1661
|
+
data: string;
|
|
1662
|
+
format: "wav" | "mp3";
|
|
1663
|
+
};
|
|
1664
|
+
cache_control?: {
|
|
1665
|
+
type: "ephemeral";
|
|
1666
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1667
|
+
} | undefined;
|
|
1544
1668
|
} | {
|
|
1545
1669
|
type: "file";
|
|
1546
1670
|
file: {
|
|
@@ -2021,6 +2145,48 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2021
2145
|
type: "ephemeral";
|
|
2022
2146
|
ttl?: "5m" | "1h" | undefined;
|
|
2023
2147
|
} | undefined;
|
|
2148
|
+
}>, z.ZodObject<{
|
|
2149
|
+
input_audio: z.ZodObject<{
|
|
2150
|
+
data: z.ZodString;
|
|
2151
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
data: string;
|
|
2154
|
+
format: "wav" | "mp3";
|
|
2155
|
+
}, {
|
|
2156
|
+
data: string;
|
|
2157
|
+
format: "wav" | "mp3";
|
|
2158
|
+
}>;
|
|
2159
|
+
type: z.ZodLiteral<"input_audio">;
|
|
2160
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
2161
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
2162
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
2163
|
+
}, "strip", z.ZodTypeAny, {
|
|
2164
|
+
type: "ephemeral";
|
|
2165
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2166
|
+
}, {
|
|
2167
|
+
type: "ephemeral";
|
|
2168
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2169
|
+
}>>;
|
|
2170
|
+
}, "strip", z.ZodTypeAny, {
|
|
2171
|
+
type: "input_audio";
|
|
2172
|
+
input_audio: {
|
|
2173
|
+
data: string;
|
|
2174
|
+
format: "wav" | "mp3";
|
|
2175
|
+
};
|
|
2176
|
+
cache_control?: {
|
|
2177
|
+
type: "ephemeral";
|
|
2178
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2179
|
+
} | undefined;
|
|
2180
|
+
}, {
|
|
2181
|
+
type: "input_audio";
|
|
2182
|
+
input_audio: {
|
|
2183
|
+
data: string;
|
|
2184
|
+
format: "wav" | "mp3";
|
|
2185
|
+
};
|
|
2186
|
+
cache_control?: {
|
|
2187
|
+
type: "ephemeral";
|
|
2188
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2189
|
+
} | undefined;
|
|
2024
2190
|
}>, z.ZodObject<{
|
|
2025
2191
|
file: z.ZodObject<{
|
|
2026
2192
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -2090,6 +2256,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2090
2256
|
type: "ephemeral";
|
|
2091
2257
|
ttl?: "5m" | "1h" | undefined;
|
|
2092
2258
|
} | undefined;
|
|
2259
|
+
} | {
|
|
2260
|
+
type: "input_audio";
|
|
2261
|
+
input_audio: {
|
|
2262
|
+
data: string;
|
|
2263
|
+
format: "wav" | "mp3";
|
|
2264
|
+
};
|
|
2265
|
+
cache_control?: {
|
|
2266
|
+
type: "ephemeral";
|
|
2267
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2268
|
+
} | undefined;
|
|
2093
2269
|
} | {
|
|
2094
2270
|
type: "file";
|
|
2095
2271
|
file: {
|
|
@@ -2122,6 +2298,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2122
2298
|
type: "ephemeral";
|
|
2123
2299
|
ttl?: "5m" | "1h" | undefined;
|
|
2124
2300
|
} | undefined;
|
|
2301
|
+
} | {
|
|
2302
|
+
type: "input_audio";
|
|
2303
|
+
input_audio: {
|
|
2304
|
+
data: string;
|
|
2305
|
+
format: "wav" | "mp3";
|
|
2306
|
+
};
|
|
2307
|
+
cache_control?: {
|
|
2308
|
+
type: "ephemeral";
|
|
2309
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2310
|
+
} | undefined;
|
|
2125
2311
|
} | {
|
|
2126
2312
|
type: "file";
|
|
2127
2313
|
file: {
|
|
@@ -2432,6 +2618,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2432
2618
|
type: "ephemeral";
|
|
2433
2619
|
ttl?: "5m" | "1h" | undefined;
|
|
2434
2620
|
} | undefined;
|
|
2621
|
+
} | {
|
|
2622
|
+
type: "input_audio";
|
|
2623
|
+
input_audio: {
|
|
2624
|
+
data: string;
|
|
2625
|
+
format: "wav" | "mp3";
|
|
2626
|
+
};
|
|
2627
|
+
cache_control?: {
|
|
2628
|
+
type: "ephemeral";
|
|
2629
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2630
|
+
} | undefined;
|
|
2435
2631
|
} | {
|
|
2436
2632
|
type: "file";
|
|
2437
2633
|
file: {
|
|
@@ -2536,6 +2732,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2536
2732
|
type: "ephemeral";
|
|
2537
2733
|
ttl?: "5m" | "1h" | undefined;
|
|
2538
2734
|
} | undefined;
|
|
2735
|
+
} | {
|
|
2736
|
+
type: "input_audio";
|
|
2737
|
+
input_audio: {
|
|
2738
|
+
data: string;
|
|
2739
|
+
format: "wav" | "mp3";
|
|
2740
|
+
};
|
|
2741
|
+
cache_control?: {
|
|
2742
|
+
type: "ephemeral";
|
|
2743
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2744
|
+
} | undefined;
|
|
2539
2745
|
} | {
|
|
2540
2746
|
type: "file";
|
|
2541
2747
|
file: {
|
|
@@ -3296,6 +3502,48 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3296
3502
|
type: "ephemeral";
|
|
3297
3503
|
ttl?: "5m" | "1h" | undefined;
|
|
3298
3504
|
} | undefined;
|
|
3505
|
+
}>, z.ZodObject<{
|
|
3506
|
+
input_audio: z.ZodObject<{
|
|
3507
|
+
data: z.ZodString;
|
|
3508
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
3509
|
+
}, "strip", z.ZodTypeAny, {
|
|
3510
|
+
data: string;
|
|
3511
|
+
format: "wav" | "mp3";
|
|
3512
|
+
}, {
|
|
3513
|
+
data: string;
|
|
3514
|
+
format: "wav" | "mp3";
|
|
3515
|
+
}>;
|
|
3516
|
+
type: z.ZodLiteral<"input_audio">;
|
|
3517
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
3518
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
3519
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
3520
|
+
}, "strip", z.ZodTypeAny, {
|
|
3521
|
+
type: "ephemeral";
|
|
3522
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3523
|
+
}, {
|
|
3524
|
+
type: "ephemeral";
|
|
3525
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3526
|
+
}>>;
|
|
3527
|
+
}, "strip", z.ZodTypeAny, {
|
|
3528
|
+
type: "input_audio";
|
|
3529
|
+
input_audio: {
|
|
3530
|
+
data: string;
|
|
3531
|
+
format: "wav" | "mp3";
|
|
3532
|
+
};
|
|
3533
|
+
cache_control?: {
|
|
3534
|
+
type: "ephemeral";
|
|
3535
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3536
|
+
} | undefined;
|
|
3537
|
+
}, {
|
|
3538
|
+
type: "input_audio";
|
|
3539
|
+
input_audio: {
|
|
3540
|
+
data: string;
|
|
3541
|
+
format: "wav" | "mp3";
|
|
3542
|
+
};
|
|
3543
|
+
cache_control?: {
|
|
3544
|
+
type: "ephemeral";
|
|
3545
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3546
|
+
} | undefined;
|
|
3299
3547
|
}>, z.ZodObject<{
|
|
3300
3548
|
file: z.ZodObject<{
|
|
3301
3549
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -3365,6 +3613,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3365
3613
|
type: "ephemeral";
|
|
3366
3614
|
ttl?: "5m" | "1h" | undefined;
|
|
3367
3615
|
} | undefined;
|
|
3616
|
+
} | {
|
|
3617
|
+
type: "input_audio";
|
|
3618
|
+
input_audio: {
|
|
3619
|
+
data: string;
|
|
3620
|
+
format: "wav" | "mp3";
|
|
3621
|
+
};
|
|
3622
|
+
cache_control?: {
|
|
3623
|
+
type: "ephemeral";
|
|
3624
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3625
|
+
} | undefined;
|
|
3368
3626
|
} | {
|
|
3369
3627
|
type: "file";
|
|
3370
3628
|
file: {
|
|
@@ -3397,6 +3655,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3397
3655
|
type: "ephemeral";
|
|
3398
3656
|
ttl?: "5m" | "1h" | undefined;
|
|
3399
3657
|
} | undefined;
|
|
3658
|
+
} | {
|
|
3659
|
+
type: "input_audio";
|
|
3660
|
+
input_audio: {
|
|
3661
|
+
data: string;
|
|
3662
|
+
format: "wav" | "mp3";
|
|
3663
|
+
};
|
|
3664
|
+
cache_control?: {
|
|
3665
|
+
type: "ephemeral";
|
|
3666
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3667
|
+
} | undefined;
|
|
3400
3668
|
} | {
|
|
3401
3669
|
type: "file";
|
|
3402
3670
|
file: {
|
|
@@ -3707,6 +3975,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3707
3975
|
type: "ephemeral";
|
|
3708
3976
|
ttl?: "5m" | "1h" | undefined;
|
|
3709
3977
|
} | undefined;
|
|
3978
|
+
} | {
|
|
3979
|
+
type: "input_audio";
|
|
3980
|
+
input_audio: {
|
|
3981
|
+
data: string;
|
|
3982
|
+
format: "wav" | "mp3";
|
|
3983
|
+
};
|
|
3984
|
+
cache_control?: {
|
|
3985
|
+
type: "ephemeral";
|
|
3986
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3987
|
+
} | undefined;
|
|
3710
3988
|
} | {
|
|
3711
3989
|
type: "file";
|
|
3712
3990
|
file: {
|
|
@@ -3811,6 +4089,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3811
4089
|
type: "ephemeral";
|
|
3812
4090
|
ttl?: "5m" | "1h" | undefined;
|
|
3813
4091
|
} | undefined;
|
|
4092
|
+
} | {
|
|
4093
|
+
type: "input_audio";
|
|
4094
|
+
input_audio: {
|
|
4095
|
+
data: string;
|
|
4096
|
+
format: "wav" | "mp3";
|
|
4097
|
+
};
|
|
4098
|
+
cache_control?: {
|
|
4099
|
+
type: "ephemeral";
|
|
4100
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4101
|
+
} | undefined;
|
|
3814
4102
|
} | {
|
|
3815
4103
|
type: "file";
|
|
3816
4104
|
file: {
|
|
@@ -3927,6 +4215,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
3927
4215
|
type: "ephemeral";
|
|
3928
4216
|
ttl?: "5m" | "1h" | undefined;
|
|
3929
4217
|
} | undefined;
|
|
4218
|
+
} | {
|
|
4219
|
+
type: "input_audio";
|
|
4220
|
+
input_audio: {
|
|
4221
|
+
data: string;
|
|
4222
|
+
format: "wav" | "mp3";
|
|
4223
|
+
};
|
|
4224
|
+
cache_control?: {
|
|
4225
|
+
type: "ephemeral";
|
|
4226
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4227
|
+
} | undefined;
|
|
3930
4228
|
} | {
|
|
3931
4229
|
type: "file";
|
|
3932
4230
|
file: {
|
|
@@ -4042,6 +4340,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
4042
4340
|
type: "ephemeral";
|
|
4043
4341
|
ttl?: "5m" | "1h" | undefined;
|
|
4044
4342
|
} | undefined;
|
|
4343
|
+
} | {
|
|
4344
|
+
type: "input_audio";
|
|
4345
|
+
input_audio: {
|
|
4346
|
+
data: string;
|
|
4347
|
+
format: "wav" | "mp3";
|
|
4348
|
+
};
|
|
4349
|
+
cache_control?: {
|
|
4350
|
+
type: "ephemeral";
|
|
4351
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4352
|
+
} | undefined;
|
|
4045
4353
|
} | {
|
|
4046
4354
|
type: "file";
|
|
4047
4355
|
file: {
|
|
@@ -4258,6 +4566,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
4258
4566
|
type: "ephemeral";
|
|
4259
4567
|
ttl?: "5m" | "1h" | undefined;
|
|
4260
4568
|
} | undefined;
|
|
4569
|
+
} | {
|
|
4570
|
+
type: "input_audio";
|
|
4571
|
+
input_audio: {
|
|
4572
|
+
data: string;
|
|
4573
|
+
format: "wav" | "mp3";
|
|
4574
|
+
};
|
|
4575
|
+
cache_control?: {
|
|
4576
|
+
type: "ephemeral";
|
|
4577
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4578
|
+
} | undefined;
|
|
4261
4579
|
} | {
|
|
4262
4580
|
type: "file";
|
|
4263
4581
|
file: {
|
|
@@ -4442,6 +4760,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
4442
4760
|
type: "ephemeral";
|
|
4443
4761
|
ttl?: "5m" | "1h" | undefined;
|
|
4444
4762
|
} | undefined;
|
|
4763
|
+
} | {
|
|
4764
|
+
type: "input_audio";
|
|
4765
|
+
input_audio: {
|
|
4766
|
+
data: string;
|
|
4767
|
+
format: "wav" | "mp3";
|
|
4768
|
+
};
|
|
4769
|
+
cache_control?: {
|
|
4770
|
+
type: "ephemeral";
|
|
4771
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4772
|
+
} | undefined;
|
|
4445
4773
|
} | {
|
|
4446
4774
|
type: "file";
|
|
4447
4775
|
file: {
|
|
@@ -5314,6 +5642,48 @@ declare const PromptData: z.ZodObject<{
|
|
|
5314
5642
|
type: "ephemeral";
|
|
5315
5643
|
ttl?: "5m" | "1h" | undefined;
|
|
5316
5644
|
} | undefined;
|
|
5645
|
+
}>, z.ZodObject<{
|
|
5646
|
+
input_audio: z.ZodObject<{
|
|
5647
|
+
data: z.ZodString;
|
|
5648
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
5649
|
+
}, "strip", z.ZodTypeAny, {
|
|
5650
|
+
data: string;
|
|
5651
|
+
format: "wav" | "mp3";
|
|
5652
|
+
}, {
|
|
5653
|
+
data: string;
|
|
5654
|
+
format: "wav" | "mp3";
|
|
5655
|
+
}>;
|
|
5656
|
+
type: z.ZodLiteral<"input_audio">;
|
|
5657
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
5658
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
5659
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
5660
|
+
}, "strip", z.ZodTypeAny, {
|
|
5661
|
+
type: "ephemeral";
|
|
5662
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5663
|
+
}, {
|
|
5664
|
+
type: "ephemeral";
|
|
5665
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5666
|
+
}>>;
|
|
5667
|
+
}, "strip", z.ZodTypeAny, {
|
|
5668
|
+
type: "input_audio";
|
|
5669
|
+
input_audio: {
|
|
5670
|
+
data: string;
|
|
5671
|
+
format: "wav" | "mp3";
|
|
5672
|
+
};
|
|
5673
|
+
cache_control?: {
|
|
5674
|
+
type: "ephemeral";
|
|
5675
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5676
|
+
} | undefined;
|
|
5677
|
+
}, {
|
|
5678
|
+
type: "input_audio";
|
|
5679
|
+
input_audio: {
|
|
5680
|
+
data: string;
|
|
5681
|
+
format: "wav" | "mp3";
|
|
5682
|
+
};
|
|
5683
|
+
cache_control?: {
|
|
5684
|
+
type: "ephemeral";
|
|
5685
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5686
|
+
} | undefined;
|
|
5317
5687
|
}>, z.ZodObject<{
|
|
5318
5688
|
file: z.ZodObject<{
|
|
5319
5689
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -5383,6 +5753,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
5383
5753
|
type: "ephemeral";
|
|
5384
5754
|
ttl?: "5m" | "1h" | undefined;
|
|
5385
5755
|
} | undefined;
|
|
5756
|
+
} | {
|
|
5757
|
+
type: "input_audio";
|
|
5758
|
+
input_audio: {
|
|
5759
|
+
data: string;
|
|
5760
|
+
format: "wav" | "mp3";
|
|
5761
|
+
};
|
|
5762
|
+
cache_control?: {
|
|
5763
|
+
type: "ephemeral";
|
|
5764
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5765
|
+
} | undefined;
|
|
5386
5766
|
} | {
|
|
5387
5767
|
type: "file";
|
|
5388
5768
|
file: {
|
|
@@ -5415,6 +5795,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
5415
5795
|
type: "ephemeral";
|
|
5416
5796
|
ttl?: "5m" | "1h" | undefined;
|
|
5417
5797
|
} | undefined;
|
|
5798
|
+
} | {
|
|
5799
|
+
type: "input_audio";
|
|
5800
|
+
input_audio: {
|
|
5801
|
+
data: string;
|
|
5802
|
+
format: "wav" | "mp3";
|
|
5803
|
+
};
|
|
5804
|
+
cache_control?: {
|
|
5805
|
+
type: "ephemeral";
|
|
5806
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5807
|
+
} | undefined;
|
|
5418
5808
|
} | {
|
|
5419
5809
|
type: "file";
|
|
5420
5810
|
file: {
|
|
@@ -5725,6 +6115,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
5725
6115
|
type: "ephemeral";
|
|
5726
6116
|
ttl?: "5m" | "1h" | undefined;
|
|
5727
6117
|
} | undefined;
|
|
6118
|
+
} | {
|
|
6119
|
+
type: "input_audio";
|
|
6120
|
+
input_audio: {
|
|
6121
|
+
data: string;
|
|
6122
|
+
format: "wav" | "mp3";
|
|
6123
|
+
};
|
|
6124
|
+
cache_control?: {
|
|
6125
|
+
type: "ephemeral";
|
|
6126
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6127
|
+
} | undefined;
|
|
5728
6128
|
} | {
|
|
5729
6129
|
type: "file";
|
|
5730
6130
|
file: {
|
|
@@ -5829,6 +6229,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
5829
6229
|
type: "ephemeral";
|
|
5830
6230
|
ttl?: "5m" | "1h" | undefined;
|
|
5831
6231
|
} | undefined;
|
|
6232
|
+
} | {
|
|
6233
|
+
type: "input_audio";
|
|
6234
|
+
input_audio: {
|
|
6235
|
+
data: string;
|
|
6236
|
+
format: "wav" | "mp3";
|
|
6237
|
+
};
|
|
6238
|
+
cache_control?: {
|
|
6239
|
+
type: "ephemeral";
|
|
6240
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6241
|
+
} | undefined;
|
|
5832
6242
|
} | {
|
|
5833
6243
|
type: "file";
|
|
5834
6244
|
file: {
|
|
@@ -6788,6 +7198,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
6788
7198
|
type: "ephemeral";
|
|
6789
7199
|
ttl?: "5m" | "1h" | undefined;
|
|
6790
7200
|
} | undefined;
|
|
7201
|
+
} | {
|
|
7202
|
+
type: "input_audio";
|
|
7203
|
+
input_audio: {
|
|
7204
|
+
data: string;
|
|
7205
|
+
format: "wav" | "mp3";
|
|
7206
|
+
};
|
|
7207
|
+
cache_control?: {
|
|
7208
|
+
type: "ephemeral";
|
|
7209
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7210
|
+
} | undefined;
|
|
6791
7211
|
} | {
|
|
6792
7212
|
type: "file";
|
|
6793
7213
|
file: {
|
|
@@ -7065,6 +7485,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
7065
7485
|
type: "ephemeral";
|
|
7066
7486
|
ttl?: "5m" | "1h" | undefined;
|
|
7067
7487
|
} | undefined;
|
|
7488
|
+
} | {
|
|
7489
|
+
type: "input_audio";
|
|
7490
|
+
input_audio: {
|
|
7491
|
+
data: string;
|
|
7492
|
+
format: "wav" | "mp3";
|
|
7493
|
+
};
|
|
7494
|
+
cache_control?: {
|
|
7495
|
+
type: "ephemeral";
|
|
7496
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7497
|
+
} | undefined;
|
|
7068
7498
|
} | {
|
|
7069
7499
|
type: "file";
|
|
7070
7500
|
file: {
|
|
@@ -7358,6 +7788,48 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
7358
7788
|
type: "ephemeral";
|
|
7359
7789
|
ttl?: "5m" | "1h" | undefined;
|
|
7360
7790
|
} | undefined;
|
|
7791
|
+
}>, z.ZodObject<{
|
|
7792
|
+
input_audio: z.ZodObject<{
|
|
7793
|
+
data: z.ZodString;
|
|
7794
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
7795
|
+
}, "strip", z.ZodTypeAny, {
|
|
7796
|
+
data: string;
|
|
7797
|
+
format: "wav" | "mp3";
|
|
7798
|
+
}, {
|
|
7799
|
+
data: string;
|
|
7800
|
+
format: "wav" | "mp3";
|
|
7801
|
+
}>;
|
|
7802
|
+
type: z.ZodLiteral<"input_audio">;
|
|
7803
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
7804
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
7805
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
7806
|
+
}, "strip", z.ZodTypeAny, {
|
|
7807
|
+
type: "ephemeral";
|
|
7808
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7809
|
+
}, {
|
|
7810
|
+
type: "ephemeral";
|
|
7811
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7812
|
+
}>>;
|
|
7813
|
+
}, "strip", z.ZodTypeAny, {
|
|
7814
|
+
type: "input_audio";
|
|
7815
|
+
input_audio: {
|
|
7816
|
+
data: string;
|
|
7817
|
+
format: "wav" | "mp3";
|
|
7818
|
+
};
|
|
7819
|
+
cache_control?: {
|
|
7820
|
+
type: "ephemeral";
|
|
7821
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7822
|
+
} | undefined;
|
|
7823
|
+
}, {
|
|
7824
|
+
type: "input_audio";
|
|
7825
|
+
input_audio: {
|
|
7826
|
+
data: string;
|
|
7827
|
+
format: "wav" | "mp3";
|
|
7828
|
+
};
|
|
7829
|
+
cache_control?: {
|
|
7830
|
+
type: "ephemeral";
|
|
7831
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7832
|
+
} | undefined;
|
|
7361
7833
|
}>, z.ZodObject<{
|
|
7362
7834
|
file: z.ZodObject<{
|
|
7363
7835
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -7427,6 +7899,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
7427
7899
|
type: "ephemeral";
|
|
7428
7900
|
ttl?: "5m" | "1h" | undefined;
|
|
7429
7901
|
} | undefined;
|
|
7902
|
+
} | {
|
|
7903
|
+
type: "input_audio";
|
|
7904
|
+
input_audio: {
|
|
7905
|
+
data: string;
|
|
7906
|
+
format: "wav" | "mp3";
|
|
7907
|
+
};
|
|
7908
|
+
cache_control?: {
|
|
7909
|
+
type: "ephemeral";
|
|
7910
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7911
|
+
} | undefined;
|
|
7430
7912
|
} | {
|
|
7431
7913
|
type: "file";
|
|
7432
7914
|
file: {
|
|
@@ -7459,6 +7941,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
7459
7941
|
type: "ephemeral";
|
|
7460
7942
|
ttl?: "5m" | "1h" | undefined;
|
|
7461
7943
|
} | undefined;
|
|
7944
|
+
} | {
|
|
7945
|
+
type: "input_audio";
|
|
7946
|
+
input_audio: {
|
|
7947
|
+
data: string;
|
|
7948
|
+
format: "wav" | "mp3";
|
|
7949
|
+
};
|
|
7950
|
+
cache_control?: {
|
|
7951
|
+
type: "ephemeral";
|
|
7952
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7953
|
+
} | undefined;
|
|
7462
7954
|
} | {
|
|
7463
7955
|
type: "file";
|
|
7464
7956
|
file: {
|
|
@@ -7769,6 +8261,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
7769
8261
|
type: "ephemeral";
|
|
7770
8262
|
ttl?: "5m" | "1h" | undefined;
|
|
7771
8263
|
} | undefined;
|
|
8264
|
+
} | {
|
|
8265
|
+
type: "input_audio";
|
|
8266
|
+
input_audio: {
|
|
8267
|
+
data: string;
|
|
8268
|
+
format: "wav" | "mp3";
|
|
8269
|
+
};
|
|
8270
|
+
cache_control?: {
|
|
8271
|
+
type: "ephemeral";
|
|
8272
|
+
ttl?: "5m" | "1h" | undefined;
|
|
8273
|
+
} | undefined;
|
|
7772
8274
|
} | {
|
|
7773
8275
|
type: "file";
|
|
7774
8276
|
file: {
|
|
@@ -7873,6 +8375,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
7873
8375
|
type: "ephemeral";
|
|
7874
8376
|
ttl?: "5m" | "1h" | undefined;
|
|
7875
8377
|
} | undefined;
|
|
8378
|
+
} | {
|
|
8379
|
+
type: "input_audio";
|
|
8380
|
+
input_audio: {
|
|
8381
|
+
data: string;
|
|
8382
|
+
format: "wav" | "mp3";
|
|
8383
|
+
};
|
|
8384
|
+
cache_control?: {
|
|
8385
|
+
type: "ephemeral";
|
|
8386
|
+
ttl?: "5m" | "1h" | undefined;
|
|
8387
|
+
} | undefined;
|
|
7876
8388
|
} | {
|
|
7877
8389
|
type: "file";
|
|
7878
8390
|
file: {
|
|
@@ -8832,6 +9344,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
8832
9344
|
type: "ephemeral";
|
|
8833
9345
|
ttl?: "5m" | "1h" | undefined;
|
|
8834
9346
|
} | undefined;
|
|
9347
|
+
} | {
|
|
9348
|
+
type: "input_audio";
|
|
9349
|
+
input_audio: {
|
|
9350
|
+
data: string;
|
|
9351
|
+
format: "wav" | "mp3";
|
|
9352
|
+
};
|
|
9353
|
+
cache_control?: {
|
|
9354
|
+
type: "ephemeral";
|
|
9355
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9356
|
+
} | undefined;
|
|
8835
9357
|
} | {
|
|
8836
9358
|
type: "file";
|
|
8837
9359
|
file: {
|
|
@@ -9109,6 +9631,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
9109
9631
|
type: "ephemeral";
|
|
9110
9632
|
ttl?: "5m" | "1h" | undefined;
|
|
9111
9633
|
} | undefined;
|
|
9634
|
+
} | {
|
|
9635
|
+
type: "input_audio";
|
|
9636
|
+
input_audio: {
|
|
9637
|
+
data: string;
|
|
9638
|
+
format: "wav" | "mp3";
|
|
9639
|
+
};
|
|
9640
|
+
cache_control?: {
|
|
9641
|
+
type: "ephemeral";
|
|
9642
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9643
|
+
} | undefined;
|
|
9112
9644
|
} | {
|
|
9113
9645
|
type: "file";
|
|
9114
9646
|
file: {
|
|
@@ -9403,6 +9935,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
9403
9935
|
type: "ephemeral";
|
|
9404
9936
|
ttl?: "5m" | "1h" | undefined;
|
|
9405
9937
|
} | undefined;
|
|
9938
|
+
} | {
|
|
9939
|
+
type: "input_audio";
|
|
9940
|
+
input_audio: {
|
|
9941
|
+
data: string;
|
|
9942
|
+
format: "wav" | "mp3";
|
|
9943
|
+
};
|
|
9944
|
+
cache_control?: {
|
|
9945
|
+
type: "ephemeral";
|
|
9946
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9947
|
+
} | undefined;
|
|
9406
9948
|
} | {
|
|
9407
9949
|
type: "file";
|
|
9408
9950
|
file: {
|
|
@@ -9694,6 +10236,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
9694
10236
|
type: "ephemeral";
|
|
9695
10237
|
ttl?: "5m" | "1h" | undefined;
|
|
9696
10238
|
} | undefined;
|
|
10239
|
+
} | {
|
|
10240
|
+
type: "input_audio";
|
|
10241
|
+
input_audio: {
|
|
10242
|
+
data: string;
|
|
10243
|
+
format: "wav" | "mp3";
|
|
10244
|
+
};
|
|
10245
|
+
cache_control?: {
|
|
10246
|
+
type: "ephemeral";
|
|
10247
|
+
ttl?: "5m" | "1h" | undefined;
|
|
10248
|
+
} | undefined;
|
|
9697
10249
|
} | {
|
|
9698
10250
|
type: "file";
|
|
9699
10251
|
file: {
|
|
@@ -10532,6 +11084,48 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
10532
11084
|
type: "ephemeral";
|
|
10533
11085
|
ttl?: "5m" | "1h" | undefined;
|
|
10534
11086
|
} | undefined;
|
|
11087
|
+
}>, z.ZodObject<{
|
|
11088
|
+
input_audio: z.ZodObject<{
|
|
11089
|
+
data: z.ZodString;
|
|
11090
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
11091
|
+
}, "strip", z.ZodTypeAny, {
|
|
11092
|
+
data: string;
|
|
11093
|
+
format: "wav" | "mp3";
|
|
11094
|
+
}, {
|
|
11095
|
+
data: string;
|
|
11096
|
+
format: "wav" | "mp3";
|
|
11097
|
+
}>;
|
|
11098
|
+
type: z.ZodLiteral<"input_audio">;
|
|
11099
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
11100
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
11101
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
11102
|
+
}, "strip", z.ZodTypeAny, {
|
|
11103
|
+
type: "ephemeral";
|
|
11104
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11105
|
+
}, {
|
|
11106
|
+
type: "ephemeral";
|
|
11107
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11108
|
+
}>>;
|
|
11109
|
+
}, "strip", z.ZodTypeAny, {
|
|
11110
|
+
type: "input_audio";
|
|
11111
|
+
input_audio: {
|
|
11112
|
+
data: string;
|
|
11113
|
+
format: "wav" | "mp3";
|
|
11114
|
+
};
|
|
11115
|
+
cache_control?: {
|
|
11116
|
+
type: "ephemeral";
|
|
11117
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11118
|
+
} | undefined;
|
|
11119
|
+
}, {
|
|
11120
|
+
type: "input_audio";
|
|
11121
|
+
input_audio: {
|
|
11122
|
+
data: string;
|
|
11123
|
+
format: "wav" | "mp3";
|
|
11124
|
+
};
|
|
11125
|
+
cache_control?: {
|
|
11126
|
+
type: "ephemeral";
|
|
11127
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11128
|
+
} | undefined;
|
|
10535
11129
|
}>, z.ZodObject<{
|
|
10536
11130
|
file: z.ZodObject<{
|
|
10537
11131
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -10601,6 +11195,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
10601
11195
|
type: "ephemeral";
|
|
10602
11196
|
ttl?: "5m" | "1h" | undefined;
|
|
10603
11197
|
} | undefined;
|
|
11198
|
+
} | {
|
|
11199
|
+
type: "input_audio";
|
|
11200
|
+
input_audio: {
|
|
11201
|
+
data: string;
|
|
11202
|
+
format: "wav" | "mp3";
|
|
11203
|
+
};
|
|
11204
|
+
cache_control?: {
|
|
11205
|
+
type: "ephemeral";
|
|
11206
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11207
|
+
} | undefined;
|
|
10604
11208
|
} | {
|
|
10605
11209
|
type: "file";
|
|
10606
11210
|
file: {
|
|
@@ -10633,6 +11237,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
10633
11237
|
type: "ephemeral";
|
|
10634
11238
|
ttl?: "5m" | "1h" | undefined;
|
|
10635
11239
|
} | undefined;
|
|
11240
|
+
} | {
|
|
11241
|
+
type: "input_audio";
|
|
11242
|
+
input_audio: {
|
|
11243
|
+
data: string;
|
|
11244
|
+
format: "wav" | "mp3";
|
|
11245
|
+
};
|
|
11246
|
+
cache_control?: {
|
|
11247
|
+
type: "ephemeral";
|
|
11248
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11249
|
+
} | undefined;
|
|
10636
11250
|
} | {
|
|
10637
11251
|
type: "file";
|
|
10638
11252
|
file: {
|
|
@@ -10941,6 +11555,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
10941
11555
|
type: "ephemeral";
|
|
10942
11556
|
ttl?: "5m" | "1h" | undefined;
|
|
10943
11557
|
} | undefined;
|
|
11558
|
+
} | {
|
|
11559
|
+
type: "input_audio";
|
|
11560
|
+
input_audio: {
|
|
11561
|
+
data: string;
|
|
11562
|
+
format: "wav" | "mp3";
|
|
11563
|
+
};
|
|
11564
|
+
cache_control?: {
|
|
11565
|
+
type: "ephemeral";
|
|
11566
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11567
|
+
} | undefined;
|
|
10944
11568
|
} | {
|
|
10945
11569
|
type: "file";
|
|
10946
11570
|
file: {
|
|
@@ -11043,6 +11667,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
11043
11667
|
type: "ephemeral";
|
|
11044
11668
|
ttl?: "5m" | "1h" | undefined;
|
|
11045
11669
|
} | undefined;
|
|
11670
|
+
} | {
|
|
11671
|
+
type: "input_audio";
|
|
11672
|
+
input_audio: {
|
|
11673
|
+
data: string;
|
|
11674
|
+
format: "wav" | "mp3";
|
|
11675
|
+
};
|
|
11676
|
+
cache_control?: {
|
|
11677
|
+
type: "ephemeral";
|
|
11678
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11679
|
+
} | undefined;
|
|
11046
11680
|
} | {
|
|
11047
11681
|
type: "file";
|
|
11048
11682
|
file: {
|
|
@@ -11803,6 +12437,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
11803
12437
|
type: "ephemeral";
|
|
11804
12438
|
ttl?: "5m" | "1h" | undefined;
|
|
11805
12439
|
} | undefined;
|
|
12440
|
+
} | {
|
|
12441
|
+
type: "input_audio";
|
|
12442
|
+
input_audio: {
|
|
12443
|
+
data: string;
|
|
12444
|
+
format: "wav" | "mp3";
|
|
12445
|
+
};
|
|
12446
|
+
cache_control?: {
|
|
12447
|
+
type: "ephemeral";
|
|
12448
|
+
ttl?: "5m" | "1h" | undefined;
|
|
12449
|
+
} | undefined;
|
|
11806
12450
|
} | {
|
|
11807
12451
|
type: "file";
|
|
11808
12452
|
file: {
|
|
@@ -12042,6 +12686,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
12042
12686
|
type: "ephemeral";
|
|
12043
12687
|
ttl?: "5m" | "1h" | undefined;
|
|
12044
12688
|
} | undefined;
|
|
12689
|
+
} | {
|
|
12690
|
+
type: "input_audio";
|
|
12691
|
+
input_audio: {
|
|
12692
|
+
data: string;
|
|
12693
|
+
format: "wav" | "mp3";
|
|
12694
|
+
};
|
|
12695
|
+
cache_control?: {
|
|
12696
|
+
type: "ephemeral";
|
|
12697
|
+
ttl?: "5m" | "1h" | undefined;
|
|
12698
|
+
} | undefined;
|
|
12045
12699
|
} | {
|
|
12046
12700
|
type: "file";
|
|
12047
12701
|
file: {
|
|
@@ -13974,6 +14628,48 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
13974
14628
|
type: "ephemeral";
|
|
13975
14629
|
ttl?: "5m" | "1h" | undefined;
|
|
13976
14630
|
} | undefined;
|
|
14631
|
+
}>, z.ZodObject<{
|
|
14632
|
+
input_audio: z.ZodObject<{
|
|
14633
|
+
data: z.ZodString;
|
|
14634
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
14635
|
+
}, "strip", z.ZodTypeAny, {
|
|
14636
|
+
data: string;
|
|
14637
|
+
format: "wav" | "mp3";
|
|
14638
|
+
}, {
|
|
14639
|
+
data: string;
|
|
14640
|
+
format: "wav" | "mp3";
|
|
14641
|
+
}>;
|
|
14642
|
+
type: z.ZodLiteral<"input_audio">;
|
|
14643
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
14644
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
14645
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
14646
|
+
}, "strip", z.ZodTypeAny, {
|
|
14647
|
+
type: "ephemeral";
|
|
14648
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14649
|
+
}, {
|
|
14650
|
+
type: "ephemeral";
|
|
14651
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14652
|
+
}>>;
|
|
14653
|
+
}, "strip", z.ZodTypeAny, {
|
|
14654
|
+
type: "input_audio";
|
|
14655
|
+
input_audio: {
|
|
14656
|
+
data: string;
|
|
14657
|
+
format: "wav" | "mp3";
|
|
14658
|
+
};
|
|
14659
|
+
cache_control?: {
|
|
14660
|
+
type: "ephemeral";
|
|
14661
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14662
|
+
} | undefined;
|
|
14663
|
+
}, {
|
|
14664
|
+
type: "input_audio";
|
|
14665
|
+
input_audio: {
|
|
14666
|
+
data: string;
|
|
14667
|
+
format: "wav" | "mp3";
|
|
14668
|
+
};
|
|
14669
|
+
cache_control?: {
|
|
14670
|
+
type: "ephemeral";
|
|
14671
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14672
|
+
} | undefined;
|
|
13977
14673
|
}>, z.ZodObject<{
|
|
13978
14674
|
file: z.ZodObject<{
|
|
13979
14675
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -14043,6 +14739,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
14043
14739
|
type: "ephemeral";
|
|
14044
14740
|
ttl?: "5m" | "1h" | undefined;
|
|
14045
14741
|
} | undefined;
|
|
14742
|
+
} | {
|
|
14743
|
+
type: "input_audio";
|
|
14744
|
+
input_audio: {
|
|
14745
|
+
data: string;
|
|
14746
|
+
format: "wav" | "mp3";
|
|
14747
|
+
};
|
|
14748
|
+
cache_control?: {
|
|
14749
|
+
type: "ephemeral";
|
|
14750
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14751
|
+
} | undefined;
|
|
14046
14752
|
} | {
|
|
14047
14753
|
type: "file";
|
|
14048
14754
|
file: {
|
|
@@ -14075,6 +14781,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
14075
14781
|
type: "ephemeral";
|
|
14076
14782
|
ttl?: "5m" | "1h" | undefined;
|
|
14077
14783
|
} | undefined;
|
|
14784
|
+
} | {
|
|
14785
|
+
type: "input_audio";
|
|
14786
|
+
input_audio: {
|
|
14787
|
+
data: string;
|
|
14788
|
+
format: "wav" | "mp3";
|
|
14789
|
+
};
|
|
14790
|
+
cache_control?: {
|
|
14791
|
+
type: "ephemeral";
|
|
14792
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14793
|
+
} | undefined;
|
|
14078
14794
|
} | {
|
|
14079
14795
|
type: "file";
|
|
14080
14796
|
file: {
|
|
@@ -14383,6 +15099,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
14383
15099
|
type: "ephemeral";
|
|
14384
15100
|
ttl?: "5m" | "1h" | undefined;
|
|
14385
15101
|
} | undefined;
|
|
15102
|
+
} | {
|
|
15103
|
+
type: "input_audio";
|
|
15104
|
+
input_audio: {
|
|
15105
|
+
data: string;
|
|
15106
|
+
format: "wav" | "mp3";
|
|
15107
|
+
};
|
|
15108
|
+
cache_control?: {
|
|
15109
|
+
type: "ephemeral";
|
|
15110
|
+
ttl?: "5m" | "1h" | undefined;
|
|
15111
|
+
} | undefined;
|
|
14386
15112
|
} | {
|
|
14387
15113
|
type: "file";
|
|
14388
15114
|
file: {
|
|
@@ -14485,6 +15211,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
14485
15211
|
type: "ephemeral";
|
|
14486
15212
|
ttl?: "5m" | "1h" | undefined;
|
|
14487
15213
|
} | undefined;
|
|
15214
|
+
} | {
|
|
15215
|
+
type: "input_audio";
|
|
15216
|
+
input_audio: {
|
|
15217
|
+
data: string;
|
|
15218
|
+
format: "wav" | "mp3";
|
|
15219
|
+
};
|
|
15220
|
+
cache_control?: {
|
|
15221
|
+
type: "ephemeral";
|
|
15222
|
+
ttl?: "5m" | "1h" | undefined;
|
|
15223
|
+
} | undefined;
|
|
14488
15224
|
} | {
|
|
14489
15225
|
type: "file";
|
|
14490
15226
|
file: {
|