braintrust 3.31.0 → 3.33.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/README.md +0 -43
- package/dev/dist/index.d.mts +767 -0
- package/dev/dist/index.d.ts +767 -0
- package/dev/dist/index.js +3115 -908
- package/dev/dist/index.mjs +2466 -259
- package/dist/apply-auto-instrumentation.js +325 -221
- package/dist/apply-auto-instrumentation.mjs +110 -6
- package/dist/auto-instrumentations/bundler/esbuild.cjs +182 -7
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +182 -7
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +182 -7
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +182 -7
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +182 -7
- package/dist/auto-instrumentations/bundler/webpack.cjs +182 -7
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-U64OYU4Q.mjs → chunk-T2DMPWFI.mjs} +113 -6
- package/dist/auto-instrumentations/{chunk-LW4HDHXT.mjs → chunk-UHJ2DNYJ.mjs} +74 -2
- package/dist/auto-instrumentations/{chunk-OXINGIEZ.mjs → chunk-W5QNG3PV.mjs} +1 -1
- package/dist/auto-instrumentations/hook.mjs +209 -9
- package/dist/auto-instrumentations/index.cjs +115 -6
- package/dist/auto-instrumentations/index.d.mts +5 -1
- package/dist/auto-instrumentations/index.d.ts +5 -1
- package/dist/auto-instrumentations/index.mjs +5 -1
- package/dist/browser.d.mts +2324 -342
- package/dist/browser.d.ts +2324 -342
- package/dist/browser.js +3573 -626
- package/dist/browser.mjs +3573 -626
- package/dist/chunk-7P6ASYW6.mjs +9 -0
- package/dist/{chunk-V32LW47Z.js → chunk-AXJTOUOC.js} +3022 -1131
- package/dist/{chunk-4AQGZS6X.js → chunk-G3VHOHRC.js} +85 -11
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/{chunk-AJT4FR25.mjs → chunk-MZLBAFVJ.mjs} +2051 -160
- package/dist/{chunk-CE3BLB2L.mjs → chunk-TZVZN2JJ.mjs} +84 -10
- package/dist/cli.js +2614 -297
- package/dist/custom-views.d.mts +112 -0
- package/dist/custom-views.d.ts +112 -0
- package/dist/custom-views.js +13 -0
- package/dist/custom-views.mjs +13 -0
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +3573 -626
- package/dist/edge-light.mjs +3573 -626
- package/dist/index.d.mts +2324 -342
- package/dist/index.d.ts +2324 -342
- package/dist/index.js +1959 -969
- package/dist/index.mjs +1450 -460
- package/dist/instrumentation/index.d.mts +439 -245
- package/dist/instrumentation/index.d.ts +439 -245
- package/dist/instrumentation/index.js +2550 -258
- package/dist/instrumentation/index.mjs +2550 -258
- package/dist/vitest-evals-reporter.js +17 -16
- package/dist/vitest-evals-reporter.mjs +3 -2
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +3573 -626
- package/dist/workerd.mjs +3573 -626
- package/package.json +10 -2
- package/util/dist/index.d.mts +326 -0
- package/util/dist/index.d.ts +326 -0
package/dist/browser.d.ts
CHANGED
|
@@ -1280,6 +1280,48 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1280
1280
|
type: "ephemeral";
|
|
1281
1281
|
ttl?: "5m" | "1h" | undefined;
|
|
1282
1282
|
} | undefined;
|
|
1283
|
+
}>, z.ZodObject<{
|
|
1284
|
+
input_audio: z.ZodObject<{
|
|
1285
|
+
data: z.ZodString;
|
|
1286
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
data: string;
|
|
1289
|
+
format: "wav" | "mp3";
|
|
1290
|
+
}, {
|
|
1291
|
+
data: string;
|
|
1292
|
+
format: "wav" | "mp3";
|
|
1293
|
+
}>;
|
|
1294
|
+
type: z.ZodLiteral<"input_audio">;
|
|
1295
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
1296
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
1297
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
1298
|
+
}, "strip", z.ZodTypeAny, {
|
|
1299
|
+
type: "ephemeral";
|
|
1300
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1301
|
+
}, {
|
|
1302
|
+
type: "ephemeral";
|
|
1303
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1304
|
+
}>>;
|
|
1305
|
+
}, "strip", z.ZodTypeAny, {
|
|
1306
|
+
type: "input_audio";
|
|
1307
|
+
input_audio: {
|
|
1308
|
+
data: string;
|
|
1309
|
+
format: "wav" | "mp3";
|
|
1310
|
+
};
|
|
1311
|
+
cache_control?: {
|
|
1312
|
+
type: "ephemeral";
|
|
1313
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
}, {
|
|
1316
|
+
type: "input_audio";
|
|
1317
|
+
input_audio: {
|
|
1318
|
+
data: string;
|
|
1319
|
+
format: "wav" | "mp3";
|
|
1320
|
+
};
|
|
1321
|
+
cache_control?: {
|
|
1322
|
+
type: "ephemeral";
|
|
1323
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1324
|
+
} | undefined;
|
|
1283
1325
|
}>, z.ZodObject<{
|
|
1284
1326
|
file: z.ZodObject<{
|
|
1285
1327
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -1349,6 +1391,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1349
1391
|
type: "ephemeral";
|
|
1350
1392
|
ttl?: "5m" | "1h" | undefined;
|
|
1351
1393
|
} | undefined;
|
|
1394
|
+
} | {
|
|
1395
|
+
type: "input_audio";
|
|
1396
|
+
input_audio: {
|
|
1397
|
+
data: string;
|
|
1398
|
+
format: "wav" | "mp3";
|
|
1399
|
+
};
|
|
1400
|
+
cache_control?: {
|
|
1401
|
+
type: "ephemeral";
|
|
1402
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1403
|
+
} | undefined;
|
|
1352
1404
|
} | {
|
|
1353
1405
|
type: "file";
|
|
1354
1406
|
file: {
|
|
@@ -1381,6 +1433,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1381
1433
|
type: "ephemeral";
|
|
1382
1434
|
ttl?: "5m" | "1h" | undefined;
|
|
1383
1435
|
} | undefined;
|
|
1436
|
+
} | {
|
|
1437
|
+
type: "input_audio";
|
|
1438
|
+
input_audio: {
|
|
1439
|
+
data: string;
|
|
1440
|
+
format: "wav" | "mp3";
|
|
1441
|
+
};
|
|
1442
|
+
cache_control?: {
|
|
1443
|
+
type: "ephemeral";
|
|
1444
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1445
|
+
} | undefined;
|
|
1384
1446
|
} | {
|
|
1385
1447
|
type: "file";
|
|
1386
1448
|
file: {
|
|
@@ -1782,6 +1844,48 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1782
1844
|
type: "ephemeral";
|
|
1783
1845
|
ttl?: "5m" | "1h" | undefined;
|
|
1784
1846
|
} | undefined;
|
|
1847
|
+
}>, z.ZodObject<{
|
|
1848
|
+
input_audio: z.ZodObject<{
|
|
1849
|
+
data: z.ZodString;
|
|
1850
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
1851
|
+
}, "strip", z.ZodTypeAny, {
|
|
1852
|
+
data: string;
|
|
1853
|
+
format: "wav" | "mp3";
|
|
1854
|
+
}, {
|
|
1855
|
+
data: string;
|
|
1856
|
+
format: "wav" | "mp3";
|
|
1857
|
+
}>;
|
|
1858
|
+
type: z.ZodLiteral<"input_audio">;
|
|
1859
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
1860
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
1861
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
1862
|
+
}, "strip", z.ZodTypeAny, {
|
|
1863
|
+
type: "ephemeral";
|
|
1864
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1865
|
+
}, {
|
|
1866
|
+
type: "ephemeral";
|
|
1867
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1868
|
+
}>>;
|
|
1869
|
+
}, "strip", z.ZodTypeAny, {
|
|
1870
|
+
type: "input_audio";
|
|
1871
|
+
input_audio: {
|
|
1872
|
+
data: string;
|
|
1873
|
+
format: "wav" | "mp3";
|
|
1874
|
+
};
|
|
1875
|
+
cache_control?: {
|
|
1876
|
+
type: "ephemeral";
|
|
1877
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1878
|
+
} | undefined;
|
|
1879
|
+
}, {
|
|
1880
|
+
type: "input_audio";
|
|
1881
|
+
input_audio: {
|
|
1882
|
+
data: string;
|
|
1883
|
+
format: "wav" | "mp3";
|
|
1884
|
+
};
|
|
1885
|
+
cache_control?: {
|
|
1886
|
+
type: "ephemeral";
|
|
1887
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1888
|
+
} | undefined;
|
|
1785
1889
|
}>, z.ZodObject<{
|
|
1786
1890
|
file: z.ZodObject<{
|
|
1787
1891
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -1851,6 +1955,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1851
1955
|
type: "ephemeral";
|
|
1852
1956
|
ttl?: "5m" | "1h" | undefined;
|
|
1853
1957
|
} | undefined;
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "input_audio";
|
|
1960
|
+
input_audio: {
|
|
1961
|
+
data: string;
|
|
1962
|
+
format: "wav" | "mp3";
|
|
1963
|
+
};
|
|
1964
|
+
cache_control?: {
|
|
1965
|
+
type: "ephemeral";
|
|
1966
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1967
|
+
} | undefined;
|
|
1854
1968
|
} | {
|
|
1855
1969
|
type: "file";
|
|
1856
1970
|
file: {
|
|
@@ -1883,6 +1997,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1883
1997
|
type: "ephemeral";
|
|
1884
1998
|
ttl?: "5m" | "1h" | undefined;
|
|
1885
1999
|
} | undefined;
|
|
2000
|
+
} | {
|
|
2001
|
+
type: "input_audio";
|
|
2002
|
+
input_audio: {
|
|
2003
|
+
data: string;
|
|
2004
|
+
format: "wav" | "mp3";
|
|
2005
|
+
};
|
|
2006
|
+
cache_control?: {
|
|
2007
|
+
type: "ephemeral";
|
|
2008
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2009
|
+
} | undefined;
|
|
1886
2010
|
} | {
|
|
1887
2011
|
type: "file";
|
|
1888
2012
|
file: {
|
|
@@ -2713,6 +2837,48 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2713
2837
|
type: "ephemeral";
|
|
2714
2838
|
ttl?: "5m" | "1h" | undefined;
|
|
2715
2839
|
} | undefined;
|
|
2840
|
+
}>, z.ZodObject<{
|
|
2841
|
+
input_audio: z.ZodObject<{
|
|
2842
|
+
data: z.ZodString;
|
|
2843
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
2844
|
+
}, "strip", z.ZodTypeAny, {
|
|
2845
|
+
data: string;
|
|
2846
|
+
format: "wav" | "mp3";
|
|
2847
|
+
}, {
|
|
2848
|
+
data: string;
|
|
2849
|
+
format: "wav" | "mp3";
|
|
2850
|
+
}>;
|
|
2851
|
+
type: z.ZodLiteral<"input_audio">;
|
|
2852
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
2853
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
2854
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
2855
|
+
}, "strip", z.ZodTypeAny, {
|
|
2856
|
+
type: "ephemeral";
|
|
2857
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2858
|
+
}, {
|
|
2859
|
+
type: "ephemeral";
|
|
2860
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2861
|
+
}>>;
|
|
2862
|
+
}, "strip", z.ZodTypeAny, {
|
|
2863
|
+
type: "input_audio";
|
|
2864
|
+
input_audio: {
|
|
2865
|
+
data: string;
|
|
2866
|
+
format: "wav" | "mp3";
|
|
2867
|
+
};
|
|
2868
|
+
cache_control?: {
|
|
2869
|
+
type: "ephemeral";
|
|
2870
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2871
|
+
} | undefined;
|
|
2872
|
+
}, {
|
|
2873
|
+
type: "input_audio";
|
|
2874
|
+
input_audio: {
|
|
2875
|
+
data: string;
|
|
2876
|
+
format: "wav" | "mp3";
|
|
2877
|
+
};
|
|
2878
|
+
cache_control?: {
|
|
2879
|
+
type: "ephemeral";
|
|
2880
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2881
|
+
} | undefined;
|
|
2716
2882
|
}>, z.ZodObject<{
|
|
2717
2883
|
file: z.ZodObject<{
|
|
2718
2884
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -2782,6 +2948,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2782
2948
|
type: "ephemeral";
|
|
2783
2949
|
ttl?: "5m" | "1h" | undefined;
|
|
2784
2950
|
} | undefined;
|
|
2951
|
+
} | {
|
|
2952
|
+
type: "input_audio";
|
|
2953
|
+
input_audio: {
|
|
2954
|
+
data: string;
|
|
2955
|
+
format: "wav" | "mp3";
|
|
2956
|
+
};
|
|
2957
|
+
cache_control?: {
|
|
2958
|
+
type: "ephemeral";
|
|
2959
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2960
|
+
} | undefined;
|
|
2785
2961
|
} | {
|
|
2786
2962
|
type: "file";
|
|
2787
2963
|
file: {
|
|
@@ -2814,6 +2990,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2814
2990
|
type: "ephemeral";
|
|
2815
2991
|
ttl?: "5m" | "1h" | undefined;
|
|
2816
2992
|
} | undefined;
|
|
2993
|
+
} | {
|
|
2994
|
+
type: "input_audio";
|
|
2995
|
+
input_audio: {
|
|
2996
|
+
data: string;
|
|
2997
|
+
format: "wav" | "mp3";
|
|
2998
|
+
};
|
|
2999
|
+
cache_control?: {
|
|
3000
|
+
type: "ephemeral";
|
|
3001
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3002
|
+
} | undefined;
|
|
2817
3003
|
} | {
|
|
2818
3004
|
type: "file";
|
|
2819
3005
|
file: {
|
|
@@ -3124,6 +3310,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
3124
3310
|
type: "ephemeral";
|
|
3125
3311
|
ttl?: "5m" | "1h" | undefined;
|
|
3126
3312
|
} | undefined;
|
|
3313
|
+
} | {
|
|
3314
|
+
type: "input_audio";
|
|
3315
|
+
input_audio: {
|
|
3316
|
+
data: string;
|
|
3317
|
+
format: "wav" | "mp3";
|
|
3318
|
+
};
|
|
3319
|
+
cache_control?: {
|
|
3320
|
+
type: "ephemeral";
|
|
3321
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3322
|
+
} | undefined;
|
|
3127
3323
|
} | {
|
|
3128
3324
|
type: "file";
|
|
3129
3325
|
file: {
|
|
@@ -3228,6 +3424,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
3228
3424
|
type: "ephemeral";
|
|
3229
3425
|
ttl?: "5m" | "1h" | undefined;
|
|
3230
3426
|
} | undefined;
|
|
3427
|
+
} | {
|
|
3428
|
+
type: "input_audio";
|
|
3429
|
+
input_audio: {
|
|
3430
|
+
data: string;
|
|
3431
|
+
format: "wav" | "mp3";
|
|
3432
|
+
};
|
|
3433
|
+
cache_control?: {
|
|
3434
|
+
type: "ephemeral";
|
|
3435
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3436
|
+
} | undefined;
|
|
3231
3437
|
} | {
|
|
3232
3438
|
type: "file";
|
|
3233
3439
|
file: {
|
|
@@ -3654,6 +3860,48 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3654
3860
|
type: "ephemeral";
|
|
3655
3861
|
ttl?: "5m" | "1h" | undefined;
|
|
3656
3862
|
} | undefined;
|
|
3863
|
+
}>, z.ZodObject<{
|
|
3864
|
+
input_audio: z.ZodObject<{
|
|
3865
|
+
data: z.ZodString;
|
|
3866
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
3867
|
+
}, "strip", z.ZodTypeAny, {
|
|
3868
|
+
data: string;
|
|
3869
|
+
format: "wav" | "mp3";
|
|
3870
|
+
}, {
|
|
3871
|
+
data: string;
|
|
3872
|
+
format: "wav" | "mp3";
|
|
3873
|
+
}>;
|
|
3874
|
+
type: z.ZodLiteral<"input_audio">;
|
|
3875
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
3876
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
3877
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
3878
|
+
}, "strip", z.ZodTypeAny, {
|
|
3879
|
+
type: "ephemeral";
|
|
3880
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3881
|
+
}, {
|
|
3882
|
+
type: "ephemeral";
|
|
3883
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3884
|
+
}>>;
|
|
3885
|
+
}, "strip", z.ZodTypeAny, {
|
|
3886
|
+
type: "input_audio";
|
|
3887
|
+
input_audio: {
|
|
3888
|
+
data: string;
|
|
3889
|
+
format: "wav" | "mp3";
|
|
3890
|
+
};
|
|
3891
|
+
cache_control?: {
|
|
3892
|
+
type: "ephemeral";
|
|
3893
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3894
|
+
} | undefined;
|
|
3895
|
+
}, {
|
|
3896
|
+
type: "input_audio";
|
|
3897
|
+
input_audio: {
|
|
3898
|
+
data: string;
|
|
3899
|
+
format: "wav" | "mp3";
|
|
3900
|
+
};
|
|
3901
|
+
cache_control?: {
|
|
3902
|
+
type: "ephemeral";
|
|
3903
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3904
|
+
} | undefined;
|
|
3657
3905
|
}>, z.ZodObject<{
|
|
3658
3906
|
file: z.ZodObject<{
|
|
3659
3907
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -3723,6 +3971,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3723
3971
|
type: "ephemeral";
|
|
3724
3972
|
ttl?: "5m" | "1h" | undefined;
|
|
3725
3973
|
} | undefined;
|
|
3974
|
+
} | {
|
|
3975
|
+
type: "input_audio";
|
|
3976
|
+
input_audio: {
|
|
3977
|
+
data: string;
|
|
3978
|
+
format: "wav" | "mp3";
|
|
3979
|
+
};
|
|
3980
|
+
cache_control?: {
|
|
3981
|
+
type: "ephemeral";
|
|
3982
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3983
|
+
} | undefined;
|
|
3726
3984
|
} | {
|
|
3727
3985
|
type: "file";
|
|
3728
3986
|
file: {
|
|
@@ -3755,6 +4013,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3755
4013
|
type: "ephemeral";
|
|
3756
4014
|
ttl?: "5m" | "1h" | undefined;
|
|
3757
4015
|
} | undefined;
|
|
4016
|
+
} | {
|
|
4017
|
+
type: "input_audio";
|
|
4018
|
+
input_audio: {
|
|
4019
|
+
data: string;
|
|
4020
|
+
format: "wav" | "mp3";
|
|
4021
|
+
};
|
|
4022
|
+
cache_control?: {
|
|
4023
|
+
type: "ephemeral";
|
|
4024
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4025
|
+
} | undefined;
|
|
3758
4026
|
} | {
|
|
3759
4027
|
type: "file";
|
|
3760
4028
|
file: {
|
|
@@ -4065,6 +4333,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
4065
4333
|
type: "ephemeral";
|
|
4066
4334
|
ttl?: "5m" | "1h" | undefined;
|
|
4067
4335
|
} | undefined;
|
|
4336
|
+
} | {
|
|
4337
|
+
type: "input_audio";
|
|
4338
|
+
input_audio: {
|
|
4339
|
+
data: string;
|
|
4340
|
+
format: "wav" | "mp3";
|
|
4341
|
+
};
|
|
4342
|
+
cache_control?: {
|
|
4343
|
+
type: "ephemeral";
|
|
4344
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4345
|
+
} | undefined;
|
|
4068
4346
|
} | {
|
|
4069
4347
|
type: "file";
|
|
4070
4348
|
file: {
|
|
@@ -4169,6 +4447,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
4169
4447
|
type: "ephemeral";
|
|
4170
4448
|
ttl?: "5m" | "1h" | undefined;
|
|
4171
4449
|
} | undefined;
|
|
4450
|
+
} | {
|
|
4451
|
+
type: "input_audio";
|
|
4452
|
+
input_audio: {
|
|
4453
|
+
data: string;
|
|
4454
|
+
format: "wav" | "mp3";
|
|
4455
|
+
};
|
|
4456
|
+
cache_control?: {
|
|
4457
|
+
type: "ephemeral";
|
|
4458
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4459
|
+
} | undefined;
|
|
4172
4460
|
} | {
|
|
4173
4461
|
type: "file";
|
|
4174
4462
|
file: {
|
|
@@ -4285,6 +4573,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
4285
4573
|
type: "ephemeral";
|
|
4286
4574
|
ttl?: "5m" | "1h" | undefined;
|
|
4287
4575
|
} | undefined;
|
|
4576
|
+
} | {
|
|
4577
|
+
type: "input_audio";
|
|
4578
|
+
input_audio: {
|
|
4579
|
+
data: string;
|
|
4580
|
+
format: "wav" | "mp3";
|
|
4581
|
+
};
|
|
4582
|
+
cache_control?: {
|
|
4583
|
+
type: "ephemeral";
|
|
4584
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4585
|
+
} | undefined;
|
|
4288
4586
|
} | {
|
|
4289
4587
|
type: "file";
|
|
4290
4588
|
file: {
|
|
@@ -4400,6 +4698,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
4400
4698
|
type: "ephemeral";
|
|
4401
4699
|
ttl?: "5m" | "1h" | undefined;
|
|
4402
4700
|
} | undefined;
|
|
4701
|
+
} | {
|
|
4702
|
+
type: "input_audio";
|
|
4703
|
+
input_audio: {
|
|
4704
|
+
data: string;
|
|
4705
|
+
format: "wav" | "mp3";
|
|
4706
|
+
};
|
|
4707
|
+
cache_control?: {
|
|
4708
|
+
type: "ephemeral";
|
|
4709
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4710
|
+
} | undefined;
|
|
4403
4711
|
} | {
|
|
4404
4712
|
type: "file";
|
|
4405
4713
|
file: {
|
|
@@ -4872,6 +5180,48 @@ declare const GraphData: z.ZodObject<{
|
|
|
4872
5180
|
type: "ephemeral";
|
|
4873
5181
|
ttl?: "5m" | "1h" | undefined;
|
|
4874
5182
|
} | undefined;
|
|
5183
|
+
}>, z.ZodObject<{
|
|
5184
|
+
input_audio: z.ZodObject<{
|
|
5185
|
+
data: z.ZodString;
|
|
5186
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
5187
|
+
}, "strip", z.ZodTypeAny, {
|
|
5188
|
+
data: string;
|
|
5189
|
+
format: "wav" | "mp3";
|
|
5190
|
+
}, {
|
|
5191
|
+
data: string;
|
|
5192
|
+
format: "wav" | "mp3";
|
|
5193
|
+
}>;
|
|
5194
|
+
type: z.ZodLiteral<"input_audio">;
|
|
5195
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
5196
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
5197
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
5198
|
+
}, "strip", z.ZodTypeAny, {
|
|
5199
|
+
type: "ephemeral";
|
|
5200
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5201
|
+
}, {
|
|
5202
|
+
type: "ephemeral";
|
|
5203
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5204
|
+
}>>;
|
|
5205
|
+
}, "strip", z.ZodTypeAny, {
|
|
5206
|
+
type: "input_audio";
|
|
5207
|
+
input_audio: {
|
|
5208
|
+
data: string;
|
|
5209
|
+
format: "wav" | "mp3";
|
|
5210
|
+
};
|
|
5211
|
+
cache_control?: {
|
|
5212
|
+
type: "ephemeral";
|
|
5213
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5214
|
+
} | undefined;
|
|
5215
|
+
}, {
|
|
5216
|
+
type: "input_audio";
|
|
5217
|
+
input_audio: {
|
|
5218
|
+
data: string;
|
|
5219
|
+
format: "wav" | "mp3";
|
|
5220
|
+
};
|
|
5221
|
+
cache_control?: {
|
|
5222
|
+
type: "ephemeral";
|
|
5223
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5224
|
+
} | undefined;
|
|
4875
5225
|
}>, z.ZodObject<{
|
|
4876
5226
|
file: z.ZodObject<{
|
|
4877
5227
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -4941,6 +5291,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
4941
5291
|
type: "ephemeral";
|
|
4942
5292
|
ttl?: "5m" | "1h" | undefined;
|
|
4943
5293
|
} | undefined;
|
|
5294
|
+
} | {
|
|
5295
|
+
type: "input_audio";
|
|
5296
|
+
input_audio: {
|
|
5297
|
+
data: string;
|
|
5298
|
+
format: "wav" | "mp3";
|
|
5299
|
+
};
|
|
5300
|
+
cache_control?: {
|
|
5301
|
+
type: "ephemeral";
|
|
5302
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5303
|
+
} | undefined;
|
|
4944
5304
|
} | {
|
|
4945
5305
|
type: "file";
|
|
4946
5306
|
file: {
|
|
@@ -4973,6 +5333,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
4973
5333
|
type: "ephemeral";
|
|
4974
5334
|
ttl?: "5m" | "1h" | undefined;
|
|
4975
5335
|
} | undefined;
|
|
5336
|
+
} | {
|
|
5337
|
+
type: "input_audio";
|
|
5338
|
+
input_audio: {
|
|
5339
|
+
data: string;
|
|
5340
|
+
format: "wav" | "mp3";
|
|
5341
|
+
};
|
|
5342
|
+
cache_control?: {
|
|
5343
|
+
type: "ephemeral";
|
|
5344
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5345
|
+
} | undefined;
|
|
4976
5346
|
} | {
|
|
4977
5347
|
type: "file";
|
|
4978
5348
|
file: {
|
|
@@ -5283,6 +5653,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
5283
5653
|
type: "ephemeral";
|
|
5284
5654
|
ttl?: "5m" | "1h" | undefined;
|
|
5285
5655
|
} | undefined;
|
|
5656
|
+
} | {
|
|
5657
|
+
type: "input_audio";
|
|
5658
|
+
input_audio: {
|
|
5659
|
+
data: string;
|
|
5660
|
+
format: "wav" | "mp3";
|
|
5661
|
+
};
|
|
5662
|
+
cache_control?: {
|
|
5663
|
+
type: "ephemeral";
|
|
5664
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5665
|
+
} | undefined;
|
|
5286
5666
|
} | {
|
|
5287
5667
|
type: "file";
|
|
5288
5668
|
file: {
|
|
@@ -5387,6 +5767,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
5387
5767
|
type: "ephemeral";
|
|
5388
5768
|
ttl?: "5m" | "1h" | undefined;
|
|
5389
5769
|
} | undefined;
|
|
5770
|
+
} | {
|
|
5771
|
+
type: "input_audio";
|
|
5772
|
+
input_audio: {
|
|
5773
|
+
data: string;
|
|
5774
|
+
format: "wav" | "mp3";
|
|
5775
|
+
};
|
|
5776
|
+
cache_control?: {
|
|
5777
|
+
type: "ephemeral";
|
|
5778
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5779
|
+
} | undefined;
|
|
5390
5780
|
} | {
|
|
5391
5781
|
type: "file";
|
|
5392
5782
|
file: {
|
|
@@ -5503,6 +5893,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
5503
5893
|
type: "ephemeral";
|
|
5504
5894
|
ttl?: "5m" | "1h" | undefined;
|
|
5505
5895
|
} | undefined;
|
|
5896
|
+
} | {
|
|
5897
|
+
type: "input_audio";
|
|
5898
|
+
input_audio: {
|
|
5899
|
+
data: string;
|
|
5900
|
+
format: "wav" | "mp3";
|
|
5901
|
+
};
|
|
5902
|
+
cache_control?: {
|
|
5903
|
+
type: "ephemeral";
|
|
5904
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5905
|
+
} | undefined;
|
|
5506
5906
|
} | {
|
|
5507
5907
|
type: "file";
|
|
5508
5908
|
file: {
|
|
@@ -5618,6 +6018,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
5618
6018
|
type: "ephemeral";
|
|
5619
6019
|
ttl?: "5m" | "1h" | undefined;
|
|
5620
6020
|
} | undefined;
|
|
6021
|
+
} | {
|
|
6022
|
+
type: "input_audio";
|
|
6023
|
+
input_audio: {
|
|
6024
|
+
data: string;
|
|
6025
|
+
format: "wav" | "mp3";
|
|
6026
|
+
};
|
|
6027
|
+
cache_control?: {
|
|
6028
|
+
type: "ephemeral";
|
|
6029
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6030
|
+
} | undefined;
|
|
5621
6031
|
} | {
|
|
5622
6032
|
type: "file";
|
|
5623
6033
|
file: {
|
|
@@ -5834,6 +6244,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
5834
6244
|
type: "ephemeral";
|
|
5835
6245
|
ttl?: "5m" | "1h" | undefined;
|
|
5836
6246
|
} | undefined;
|
|
6247
|
+
} | {
|
|
6248
|
+
type: "input_audio";
|
|
6249
|
+
input_audio: {
|
|
6250
|
+
data: string;
|
|
6251
|
+
format: "wav" | "mp3";
|
|
6252
|
+
};
|
|
6253
|
+
cache_control?: {
|
|
6254
|
+
type: "ephemeral";
|
|
6255
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6256
|
+
} | undefined;
|
|
5837
6257
|
} | {
|
|
5838
6258
|
type: "file";
|
|
5839
6259
|
file: {
|
|
@@ -6018,6 +6438,16 @@ declare const GraphData: z.ZodObject<{
|
|
|
6018
6438
|
type: "ephemeral";
|
|
6019
6439
|
ttl?: "5m" | "1h" | undefined;
|
|
6020
6440
|
} | undefined;
|
|
6441
|
+
} | {
|
|
6442
|
+
type: "input_audio";
|
|
6443
|
+
input_audio: {
|
|
6444
|
+
data: string;
|
|
6445
|
+
format: "wav" | "mp3";
|
|
6446
|
+
};
|
|
6447
|
+
cache_control?: {
|
|
6448
|
+
type: "ephemeral";
|
|
6449
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6450
|
+
} | undefined;
|
|
6021
6451
|
} | {
|
|
6022
6452
|
type: "file";
|
|
6023
6453
|
file: {
|
|
@@ -6790,6 +7220,48 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6790
7220
|
type: "ephemeral";
|
|
6791
7221
|
ttl?: "5m" | "1h" | undefined;
|
|
6792
7222
|
} | undefined;
|
|
7223
|
+
}>, z.ZodObject<{
|
|
7224
|
+
input_audio: z.ZodObject<{
|
|
7225
|
+
data: z.ZodString;
|
|
7226
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
7227
|
+
}, "strip", z.ZodTypeAny, {
|
|
7228
|
+
data: string;
|
|
7229
|
+
format: "wav" | "mp3";
|
|
7230
|
+
}, {
|
|
7231
|
+
data: string;
|
|
7232
|
+
format: "wav" | "mp3";
|
|
7233
|
+
}>;
|
|
7234
|
+
type: z.ZodLiteral<"input_audio">;
|
|
7235
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
7236
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
7237
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
7238
|
+
}, "strip", z.ZodTypeAny, {
|
|
7239
|
+
type: "ephemeral";
|
|
7240
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7241
|
+
}, {
|
|
7242
|
+
type: "ephemeral";
|
|
7243
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7244
|
+
}>>;
|
|
7245
|
+
}, "strip", z.ZodTypeAny, {
|
|
7246
|
+
type: "input_audio";
|
|
7247
|
+
input_audio: {
|
|
7248
|
+
data: string;
|
|
7249
|
+
format: "wav" | "mp3";
|
|
7250
|
+
};
|
|
7251
|
+
cache_control?: {
|
|
7252
|
+
type: "ephemeral";
|
|
7253
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7254
|
+
} | undefined;
|
|
7255
|
+
}, {
|
|
7256
|
+
type: "input_audio";
|
|
7257
|
+
input_audio: {
|
|
7258
|
+
data: string;
|
|
7259
|
+
format: "wav" | "mp3";
|
|
7260
|
+
};
|
|
7261
|
+
cache_control?: {
|
|
7262
|
+
type: "ephemeral";
|
|
7263
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7264
|
+
} | undefined;
|
|
6793
7265
|
}>, z.ZodObject<{
|
|
6794
7266
|
file: z.ZodObject<{
|
|
6795
7267
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -6859,6 +7331,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6859
7331
|
type: "ephemeral";
|
|
6860
7332
|
ttl?: "5m" | "1h" | undefined;
|
|
6861
7333
|
} | undefined;
|
|
7334
|
+
} | {
|
|
7335
|
+
type: "input_audio";
|
|
7336
|
+
input_audio: {
|
|
7337
|
+
data: string;
|
|
7338
|
+
format: "wav" | "mp3";
|
|
7339
|
+
};
|
|
7340
|
+
cache_control?: {
|
|
7341
|
+
type: "ephemeral";
|
|
7342
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7343
|
+
} | undefined;
|
|
6862
7344
|
} | {
|
|
6863
7345
|
type: "file";
|
|
6864
7346
|
file: {
|
|
@@ -6891,6 +7373,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6891
7373
|
type: "ephemeral";
|
|
6892
7374
|
ttl?: "5m" | "1h" | undefined;
|
|
6893
7375
|
} | undefined;
|
|
7376
|
+
} | {
|
|
7377
|
+
type: "input_audio";
|
|
7378
|
+
input_audio: {
|
|
7379
|
+
data: string;
|
|
7380
|
+
format: "wav" | "mp3";
|
|
7381
|
+
};
|
|
7382
|
+
cache_control?: {
|
|
7383
|
+
type: "ephemeral";
|
|
7384
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7385
|
+
} | undefined;
|
|
6894
7386
|
} | {
|
|
6895
7387
|
type: "file";
|
|
6896
7388
|
file: {
|
|
@@ -7201,6 +7693,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7201
7693
|
type: "ephemeral";
|
|
7202
7694
|
ttl?: "5m" | "1h" | undefined;
|
|
7203
7695
|
} | undefined;
|
|
7696
|
+
} | {
|
|
7697
|
+
type: "input_audio";
|
|
7698
|
+
input_audio: {
|
|
7699
|
+
data: string;
|
|
7700
|
+
format: "wav" | "mp3";
|
|
7701
|
+
};
|
|
7702
|
+
cache_control?: {
|
|
7703
|
+
type: "ephemeral";
|
|
7704
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7705
|
+
} | undefined;
|
|
7204
7706
|
} | {
|
|
7205
7707
|
type: "file";
|
|
7206
7708
|
file: {
|
|
@@ -7305,6 +7807,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7305
7807
|
type: "ephemeral";
|
|
7306
7808
|
ttl?: "5m" | "1h" | undefined;
|
|
7307
7809
|
} | undefined;
|
|
7810
|
+
} | {
|
|
7811
|
+
type: "input_audio";
|
|
7812
|
+
input_audio: {
|
|
7813
|
+
data: string;
|
|
7814
|
+
format: "wav" | "mp3";
|
|
7815
|
+
};
|
|
7816
|
+
cache_control?: {
|
|
7817
|
+
type: "ephemeral";
|
|
7818
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7819
|
+
} | undefined;
|
|
7308
7820
|
} | {
|
|
7309
7821
|
type: "file";
|
|
7310
7822
|
file: {
|
|
@@ -7421,6 +7933,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7421
7933
|
type: "ephemeral";
|
|
7422
7934
|
ttl?: "5m" | "1h" | undefined;
|
|
7423
7935
|
} | undefined;
|
|
7936
|
+
} | {
|
|
7937
|
+
type: "input_audio";
|
|
7938
|
+
input_audio: {
|
|
7939
|
+
data: string;
|
|
7940
|
+
format: "wav" | "mp3";
|
|
7941
|
+
};
|
|
7942
|
+
cache_control?: {
|
|
7943
|
+
type: "ephemeral";
|
|
7944
|
+
ttl?: "5m" | "1h" | undefined;
|
|
7945
|
+
} | undefined;
|
|
7424
7946
|
} | {
|
|
7425
7947
|
type: "file";
|
|
7426
7948
|
file: {
|
|
@@ -7536,6 +8058,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7536
8058
|
type: "ephemeral";
|
|
7537
8059
|
ttl?: "5m" | "1h" | undefined;
|
|
7538
8060
|
} | undefined;
|
|
8061
|
+
} | {
|
|
8062
|
+
type: "input_audio";
|
|
8063
|
+
input_audio: {
|
|
8064
|
+
data: string;
|
|
8065
|
+
format: "wav" | "mp3";
|
|
8066
|
+
};
|
|
8067
|
+
cache_control?: {
|
|
8068
|
+
type: "ephemeral";
|
|
8069
|
+
ttl?: "5m" | "1h" | undefined;
|
|
8070
|
+
} | undefined;
|
|
7539
8071
|
} | {
|
|
7540
8072
|
type: "file";
|
|
7541
8073
|
file: {
|
|
@@ -7752,6 +8284,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7752
8284
|
type: "ephemeral";
|
|
7753
8285
|
ttl?: "5m" | "1h" | undefined;
|
|
7754
8286
|
} | undefined;
|
|
8287
|
+
} | {
|
|
8288
|
+
type: "input_audio";
|
|
8289
|
+
input_audio: {
|
|
8290
|
+
data: string;
|
|
8291
|
+
format: "wav" | "mp3";
|
|
8292
|
+
};
|
|
8293
|
+
cache_control?: {
|
|
8294
|
+
type: "ephemeral";
|
|
8295
|
+
ttl?: "5m" | "1h" | undefined;
|
|
8296
|
+
} | undefined;
|
|
7755
8297
|
} | {
|
|
7756
8298
|
type: "file";
|
|
7757
8299
|
file: {
|
|
@@ -7936,6 +8478,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
7936
8478
|
type: "ephemeral";
|
|
7937
8479
|
ttl?: "5m" | "1h" | undefined;
|
|
7938
8480
|
} | undefined;
|
|
8481
|
+
} | {
|
|
8482
|
+
type: "input_audio";
|
|
8483
|
+
input_audio: {
|
|
8484
|
+
data: string;
|
|
8485
|
+
format: "wav" | "mp3";
|
|
8486
|
+
};
|
|
8487
|
+
cache_control?: {
|
|
8488
|
+
type: "ephemeral";
|
|
8489
|
+
ttl?: "5m" | "1h" | undefined;
|
|
8490
|
+
} | undefined;
|
|
7939
8491
|
} | {
|
|
7940
8492
|
type: "file";
|
|
7941
8493
|
file: {
|
|
@@ -8808,6 +9360,48 @@ declare const PromptData: z.ZodObject<{
|
|
|
8808
9360
|
type: "ephemeral";
|
|
8809
9361
|
ttl?: "5m" | "1h" | undefined;
|
|
8810
9362
|
} | undefined;
|
|
9363
|
+
}>, z.ZodObject<{
|
|
9364
|
+
input_audio: z.ZodObject<{
|
|
9365
|
+
data: z.ZodString;
|
|
9366
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
9367
|
+
}, "strip", z.ZodTypeAny, {
|
|
9368
|
+
data: string;
|
|
9369
|
+
format: "wav" | "mp3";
|
|
9370
|
+
}, {
|
|
9371
|
+
data: string;
|
|
9372
|
+
format: "wav" | "mp3";
|
|
9373
|
+
}>;
|
|
9374
|
+
type: z.ZodLiteral<"input_audio">;
|
|
9375
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
9376
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
9377
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
9378
|
+
}, "strip", z.ZodTypeAny, {
|
|
9379
|
+
type: "ephemeral";
|
|
9380
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9381
|
+
}, {
|
|
9382
|
+
type: "ephemeral";
|
|
9383
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9384
|
+
}>>;
|
|
9385
|
+
}, "strip", z.ZodTypeAny, {
|
|
9386
|
+
type: "input_audio";
|
|
9387
|
+
input_audio: {
|
|
9388
|
+
data: string;
|
|
9389
|
+
format: "wav" | "mp3";
|
|
9390
|
+
};
|
|
9391
|
+
cache_control?: {
|
|
9392
|
+
type: "ephemeral";
|
|
9393
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9394
|
+
} | undefined;
|
|
9395
|
+
}, {
|
|
9396
|
+
type: "input_audio";
|
|
9397
|
+
input_audio: {
|
|
9398
|
+
data: string;
|
|
9399
|
+
format: "wav" | "mp3";
|
|
9400
|
+
};
|
|
9401
|
+
cache_control?: {
|
|
9402
|
+
type: "ephemeral";
|
|
9403
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9404
|
+
} | undefined;
|
|
8811
9405
|
}>, z.ZodObject<{
|
|
8812
9406
|
file: z.ZodObject<{
|
|
8813
9407
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -8877,6 +9471,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
8877
9471
|
type: "ephemeral";
|
|
8878
9472
|
ttl?: "5m" | "1h" | undefined;
|
|
8879
9473
|
} | undefined;
|
|
9474
|
+
} | {
|
|
9475
|
+
type: "input_audio";
|
|
9476
|
+
input_audio: {
|
|
9477
|
+
data: string;
|
|
9478
|
+
format: "wav" | "mp3";
|
|
9479
|
+
};
|
|
9480
|
+
cache_control?: {
|
|
9481
|
+
type: "ephemeral";
|
|
9482
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9483
|
+
} | undefined;
|
|
8880
9484
|
} | {
|
|
8881
9485
|
type: "file";
|
|
8882
9486
|
file: {
|
|
@@ -8909,6 +9513,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
8909
9513
|
type: "ephemeral";
|
|
8910
9514
|
ttl?: "5m" | "1h" | undefined;
|
|
8911
9515
|
} | undefined;
|
|
9516
|
+
} | {
|
|
9517
|
+
type: "input_audio";
|
|
9518
|
+
input_audio: {
|
|
9519
|
+
data: string;
|
|
9520
|
+
format: "wav" | "mp3";
|
|
9521
|
+
};
|
|
9522
|
+
cache_control?: {
|
|
9523
|
+
type: "ephemeral";
|
|
9524
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9525
|
+
} | undefined;
|
|
8912
9526
|
} | {
|
|
8913
9527
|
type: "file";
|
|
8914
9528
|
file: {
|
|
@@ -9219,6 +9833,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
9219
9833
|
type: "ephemeral";
|
|
9220
9834
|
ttl?: "5m" | "1h" | undefined;
|
|
9221
9835
|
} | undefined;
|
|
9836
|
+
} | {
|
|
9837
|
+
type: "input_audio";
|
|
9838
|
+
input_audio: {
|
|
9839
|
+
data: string;
|
|
9840
|
+
format: "wav" | "mp3";
|
|
9841
|
+
};
|
|
9842
|
+
cache_control?: {
|
|
9843
|
+
type: "ephemeral";
|
|
9844
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9845
|
+
} | undefined;
|
|
9222
9846
|
} | {
|
|
9223
9847
|
type: "file";
|
|
9224
9848
|
file: {
|
|
@@ -9323,6 +9947,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
9323
9947
|
type: "ephemeral";
|
|
9324
9948
|
ttl?: "5m" | "1h" | undefined;
|
|
9325
9949
|
} | undefined;
|
|
9950
|
+
} | {
|
|
9951
|
+
type: "input_audio";
|
|
9952
|
+
input_audio: {
|
|
9953
|
+
data: string;
|
|
9954
|
+
format: "wav" | "mp3";
|
|
9955
|
+
};
|
|
9956
|
+
cache_control?: {
|
|
9957
|
+
type: "ephemeral";
|
|
9958
|
+
ttl?: "5m" | "1h" | undefined;
|
|
9959
|
+
} | undefined;
|
|
9326
9960
|
} | {
|
|
9327
9961
|
type: "file";
|
|
9328
9962
|
file: {
|
|
@@ -10282,6 +10916,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
10282
10916
|
type: "ephemeral";
|
|
10283
10917
|
ttl?: "5m" | "1h" | undefined;
|
|
10284
10918
|
} | undefined;
|
|
10919
|
+
} | {
|
|
10920
|
+
type: "input_audio";
|
|
10921
|
+
input_audio: {
|
|
10922
|
+
data: string;
|
|
10923
|
+
format: "wav" | "mp3";
|
|
10924
|
+
};
|
|
10925
|
+
cache_control?: {
|
|
10926
|
+
type: "ephemeral";
|
|
10927
|
+
ttl?: "5m" | "1h" | undefined;
|
|
10928
|
+
} | undefined;
|
|
10285
10929
|
} | {
|
|
10286
10930
|
type: "file";
|
|
10287
10931
|
file: {
|
|
@@ -10559,6 +11203,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
10559
11203
|
type: "ephemeral";
|
|
10560
11204
|
ttl?: "5m" | "1h" | undefined;
|
|
10561
11205
|
} | undefined;
|
|
11206
|
+
} | {
|
|
11207
|
+
type: "input_audio";
|
|
11208
|
+
input_audio: {
|
|
11209
|
+
data: string;
|
|
11210
|
+
format: "wav" | "mp3";
|
|
11211
|
+
};
|
|
11212
|
+
cache_control?: {
|
|
11213
|
+
type: "ephemeral";
|
|
11214
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11215
|
+
} | undefined;
|
|
10562
11216
|
} | {
|
|
10563
11217
|
type: "file";
|
|
10564
11218
|
file: {
|
|
@@ -10882,6 +11536,48 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10882
11536
|
type: "ephemeral";
|
|
10883
11537
|
ttl?: "5m" | "1h" | undefined;
|
|
10884
11538
|
} | undefined;
|
|
11539
|
+
}>, z.ZodObject<{
|
|
11540
|
+
input_audio: z.ZodObject<{
|
|
11541
|
+
data: z.ZodString;
|
|
11542
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
11543
|
+
}, "strip", z.ZodTypeAny, {
|
|
11544
|
+
data: string;
|
|
11545
|
+
format: "wav" | "mp3";
|
|
11546
|
+
}, {
|
|
11547
|
+
data: string;
|
|
11548
|
+
format: "wav" | "mp3";
|
|
11549
|
+
}>;
|
|
11550
|
+
type: z.ZodLiteral<"input_audio">;
|
|
11551
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
11552
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
11553
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
11554
|
+
}, "strip", z.ZodTypeAny, {
|
|
11555
|
+
type: "ephemeral";
|
|
11556
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11557
|
+
}, {
|
|
11558
|
+
type: "ephemeral";
|
|
11559
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11560
|
+
}>>;
|
|
11561
|
+
}, "strip", z.ZodTypeAny, {
|
|
11562
|
+
type: "input_audio";
|
|
11563
|
+
input_audio: {
|
|
11564
|
+
data: string;
|
|
11565
|
+
format: "wav" | "mp3";
|
|
11566
|
+
};
|
|
11567
|
+
cache_control?: {
|
|
11568
|
+
type: "ephemeral";
|
|
11569
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11570
|
+
} | undefined;
|
|
11571
|
+
}, {
|
|
11572
|
+
type: "input_audio";
|
|
11573
|
+
input_audio: {
|
|
11574
|
+
data: string;
|
|
11575
|
+
format: "wav" | "mp3";
|
|
11576
|
+
};
|
|
11577
|
+
cache_control?: {
|
|
11578
|
+
type: "ephemeral";
|
|
11579
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11580
|
+
} | undefined;
|
|
10885
11581
|
}>, z.ZodObject<{
|
|
10886
11582
|
file: z.ZodObject<{
|
|
10887
11583
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -10951,6 +11647,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10951
11647
|
type: "ephemeral";
|
|
10952
11648
|
ttl?: "5m" | "1h" | undefined;
|
|
10953
11649
|
} | undefined;
|
|
11650
|
+
} | {
|
|
11651
|
+
type: "input_audio";
|
|
11652
|
+
input_audio: {
|
|
11653
|
+
data: string;
|
|
11654
|
+
format: "wav" | "mp3";
|
|
11655
|
+
};
|
|
11656
|
+
cache_control?: {
|
|
11657
|
+
type: "ephemeral";
|
|
11658
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11659
|
+
} | undefined;
|
|
10954
11660
|
} | {
|
|
10955
11661
|
type: "file";
|
|
10956
11662
|
file: {
|
|
@@ -10983,6 +11689,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10983
11689
|
type: "ephemeral";
|
|
10984
11690
|
ttl?: "5m" | "1h" | undefined;
|
|
10985
11691
|
} | undefined;
|
|
11692
|
+
} | {
|
|
11693
|
+
type: "input_audio";
|
|
11694
|
+
input_audio: {
|
|
11695
|
+
data: string;
|
|
11696
|
+
format: "wav" | "mp3";
|
|
11697
|
+
};
|
|
11698
|
+
cache_control?: {
|
|
11699
|
+
type: "ephemeral";
|
|
11700
|
+
ttl?: "5m" | "1h" | undefined;
|
|
11701
|
+
} | undefined;
|
|
10986
11702
|
} | {
|
|
10987
11703
|
type: "file";
|
|
10988
11704
|
file: {
|
|
@@ -11293,6 +12009,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11293
12009
|
type: "ephemeral";
|
|
11294
12010
|
ttl?: "5m" | "1h" | undefined;
|
|
11295
12011
|
} | undefined;
|
|
12012
|
+
} | {
|
|
12013
|
+
type: "input_audio";
|
|
12014
|
+
input_audio: {
|
|
12015
|
+
data: string;
|
|
12016
|
+
format: "wav" | "mp3";
|
|
12017
|
+
};
|
|
12018
|
+
cache_control?: {
|
|
12019
|
+
type: "ephemeral";
|
|
12020
|
+
ttl?: "5m" | "1h" | undefined;
|
|
12021
|
+
} | undefined;
|
|
11296
12022
|
} | {
|
|
11297
12023
|
type: "file";
|
|
11298
12024
|
file: {
|
|
@@ -11397,6 +12123,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11397
12123
|
type: "ephemeral";
|
|
11398
12124
|
ttl?: "5m" | "1h" | undefined;
|
|
11399
12125
|
} | undefined;
|
|
12126
|
+
} | {
|
|
12127
|
+
type: "input_audio";
|
|
12128
|
+
input_audio: {
|
|
12129
|
+
data: string;
|
|
12130
|
+
format: "wav" | "mp3";
|
|
12131
|
+
};
|
|
12132
|
+
cache_control?: {
|
|
12133
|
+
type: "ephemeral";
|
|
12134
|
+
ttl?: "5m" | "1h" | undefined;
|
|
12135
|
+
} | undefined;
|
|
11400
12136
|
} | {
|
|
11401
12137
|
type: "file";
|
|
11402
12138
|
file: {
|
|
@@ -12356,6 +13092,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
12356
13092
|
type: "ephemeral";
|
|
12357
13093
|
ttl?: "5m" | "1h" | undefined;
|
|
12358
13094
|
} | undefined;
|
|
13095
|
+
} | {
|
|
13096
|
+
type: "input_audio";
|
|
13097
|
+
input_audio: {
|
|
13098
|
+
data: string;
|
|
13099
|
+
format: "wav" | "mp3";
|
|
13100
|
+
};
|
|
13101
|
+
cache_control?: {
|
|
13102
|
+
type: "ephemeral";
|
|
13103
|
+
ttl?: "5m" | "1h" | undefined;
|
|
13104
|
+
} | undefined;
|
|
12359
13105
|
} | {
|
|
12360
13106
|
type: "file";
|
|
12361
13107
|
file: {
|
|
@@ -12633,6 +13379,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
12633
13379
|
type: "ephemeral";
|
|
12634
13380
|
ttl?: "5m" | "1h" | undefined;
|
|
12635
13381
|
} | undefined;
|
|
13382
|
+
} | {
|
|
13383
|
+
type: "input_audio";
|
|
13384
|
+
input_audio: {
|
|
13385
|
+
data: string;
|
|
13386
|
+
format: "wav" | "mp3";
|
|
13387
|
+
};
|
|
13388
|
+
cache_control?: {
|
|
13389
|
+
type: "ephemeral";
|
|
13390
|
+
ttl?: "5m" | "1h" | undefined;
|
|
13391
|
+
} | undefined;
|
|
12636
13392
|
} | {
|
|
12637
13393
|
type: "file";
|
|
12638
13394
|
file: {
|
|
@@ -12920,6 +13676,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
12920
13676
|
type: "ephemeral";
|
|
12921
13677
|
ttl?: "5m" | "1h" | undefined;
|
|
12922
13678
|
} | undefined;
|
|
13679
|
+
} | {
|
|
13680
|
+
type: "input_audio";
|
|
13681
|
+
input_audio: {
|
|
13682
|
+
data: string;
|
|
13683
|
+
format: "wav" | "mp3";
|
|
13684
|
+
};
|
|
13685
|
+
cache_control?: {
|
|
13686
|
+
type: "ephemeral";
|
|
13687
|
+
ttl?: "5m" | "1h" | undefined;
|
|
13688
|
+
} | undefined;
|
|
12923
13689
|
} | {
|
|
12924
13690
|
type: "file";
|
|
12925
13691
|
file: {
|
|
@@ -13204,6 +13970,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13204
13970
|
type: "ephemeral";
|
|
13205
13971
|
ttl?: "5m" | "1h" | undefined;
|
|
13206
13972
|
} | undefined;
|
|
13973
|
+
} | {
|
|
13974
|
+
type: "input_audio";
|
|
13975
|
+
input_audio: {
|
|
13976
|
+
data: string;
|
|
13977
|
+
format: "wav" | "mp3";
|
|
13978
|
+
};
|
|
13979
|
+
cache_control?: {
|
|
13980
|
+
type: "ephemeral";
|
|
13981
|
+
ttl?: "5m" | "1h" | undefined;
|
|
13982
|
+
} | undefined;
|
|
13207
13983
|
} | {
|
|
13208
13984
|
type: "file";
|
|
13209
13985
|
file: {
|
|
@@ -13454,6 +14230,48 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13454
14230
|
type: "ephemeral";
|
|
13455
14231
|
ttl?: "5m" | "1h" | undefined;
|
|
13456
14232
|
} | undefined;
|
|
14233
|
+
}>, z.ZodObject<{
|
|
14234
|
+
input_audio: z.ZodObject<{
|
|
14235
|
+
data: z.ZodString;
|
|
14236
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
14237
|
+
}, "strip", z.ZodTypeAny, {
|
|
14238
|
+
data: string;
|
|
14239
|
+
format: "wav" | "mp3";
|
|
14240
|
+
}, {
|
|
14241
|
+
data: string;
|
|
14242
|
+
format: "wav" | "mp3";
|
|
14243
|
+
}>;
|
|
14244
|
+
type: z.ZodLiteral<"input_audio">;
|
|
14245
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
14246
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
14247
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
14248
|
+
}, "strip", z.ZodTypeAny, {
|
|
14249
|
+
type: "ephemeral";
|
|
14250
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14251
|
+
}, {
|
|
14252
|
+
type: "ephemeral";
|
|
14253
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14254
|
+
}>>;
|
|
14255
|
+
}, "strip", z.ZodTypeAny, {
|
|
14256
|
+
type: "input_audio";
|
|
14257
|
+
input_audio: {
|
|
14258
|
+
data: string;
|
|
14259
|
+
format: "wav" | "mp3";
|
|
14260
|
+
};
|
|
14261
|
+
cache_control?: {
|
|
14262
|
+
type: "ephemeral";
|
|
14263
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14264
|
+
} | undefined;
|
|
14265
|
+
}, {
|
|
14266
|
+
type: "input_audio";
|
|
14267
|
+
input_audio: {
|
|
14268
|
+
data: string;
|
|
14269
|
+
format: "wav" | "mp3";
|
|
14270
|
+
};
|
|
14271
|
+
cache_control?: {
|
|
14272
|
+
type: "ephemeral";
|
|
14273
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14274
|
+
} | undefined;
|
|
13457
14275
|
}>, z.ZodObject<{
|
|
13458
14276
|
file: z.ZodObject<{
|
|
13459
14277
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -13523,6 +14341,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13523
14341
|
type: "ephemeral";
|
|
13524
14342
|
ttl?: "5m" | "1h" | undefined;
|
|
13525
14343
|
} | undefined;
|
|
14344
|
+
} | {
|
|
14345
|
+
type: "input_audio";
|
|
14346
|
+
input_audio: {
|
|
14347
|
+
data: string;
|
|
14348
|
+
format: "wav" | "mp3";
|
|
14349
|
+
};
|
|
14350
|
+
cache_control?: {
|
|
14351
|
+
type: "ephemeral";
|
|
14352
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14353
|
+
} | undefined;
|
|
13526
14354
|
} | {
|
|
13527
14355
|
type: "file";
|
|
13528
14356
|
file: {
|
|
@@ -13555,6 +14383,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13555
14383
|
type: "ephemeral";
|
|
13556
14384
|
ttl?: "5m" | "1h" | undefined;
|
|
13557
14385
|
} | undefined;
|
|
14386
|
+
} | {
|
|
14387
|
+
type: "input_audio";
|
|
14388
|
+
input_audio: {
|
|
14389
|
+
data: string;
|
|
14390
|
+
format: "wav" | "mp3";
|
|
14391
|
+
};
|
|
14392
|
+
cache_control?: {
|
|
14393
|
+
type: "ephemeral";
|
|
14394
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14395
|
+
} | undefined;
|
|
13558
14396
|
} | {
|
|
13559
14397
|
type: "file";
|
|
13560
14398
|
file: {
|
|
@@ -13865,6 +14703,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13865
14703
|
type: "ephemeral";
|
|
13866
14704
|
ttl?: "5m" | "1h" | undefined;
|
|
13867
14705
|
} | undefined;
|
|
14706
|
+
} | {
|
|
14707
|
+
type: "input_audio";
|
|
14708
|
+
input_audio: {
|
|
14709
|
+
data: string;
|
|
14710
|
+
format: "wav" | "mp3";
|
|
14711
|
+
};
|
|
14712
|
+
cache_control?: {
|
|
14713
|
+
type: "ephemeral";
|
|
14714
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14715
|
+
} | undefined;
|
|
13868
14716
|
} | {
|
|
13869
14717
|
type: "file";
|
|
13870
14718
|
file: {
|
|
@@ -13969,6 +14817,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13969
14817
|
type: "ephemeral";
|
|
13970
14818
|
ttl?: "5m" | "1h" | undefined;
|
|
13971
14819
|
} | undefined;
|
|
14820
|
+
} | {
|
|
14821
|
+
type: "input_audio";
|
|
14822
|
+
input_audio: {
|
|
14823
|
+
data: string;
|
|
14824
|
+
format: "wav" | "mp3";
|
|
14825
|
+
};
|
|
14826
|
+
cache_control?: {
|
|
14827
|
+
type: "ephemeral";
|
|
14828
|
+
ttl?: "5m" | "1h" | undefined;
|
|
14829
|
+
} | undefined;
|
|
13972
14830
|
} | {
|
|
13973
14831
|
type: "file";
|
|
13974
14832
|
file: {
|
|
@@ -14928,6 +15786,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
14928
15786
|
type: "ephemeral";
|
|
14929
15787
|
ttl?: "5m" | "1h" | undefined;
|
|
14930
15788
|
} | undefined;
|
|
15789
|
+
} | {
|
|
15790
|
+
type: "input_audio";
|
|
15791
|
+
input_audio: {
|
|
15792
|
+
data: string;
|
|
15793
|
+
format: "wav" | "mp3";
|
|
15794
|
+
};
|
|
15795
|
+
cache_control?: {
|
|
15796
|
+
type: "ephemeral";
|
|
15797
|
+
ttl?: "5m" | "1h" | undefined;
|
|
15798
|
+
} | undefined;
|
|
14931
15799
|
} | {
|
|
14932
15800
|
type: "file";
|
|
14933
15801
|
file: {
|
|
@@ -15205,6 +16073,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
15205
16073
|
type: "ephemeral";
|
|
15206
16074
|
ttl?: "5m" | "1h" | undefined;
|
|
15207
16075
|
} | undefined;
|
|
16076
|
+
} | {
|
|
16077
|
+
type: "input_audio";
|
|
16078
|
+
input_audio: {
|
|
16079
|
+
data: string;
|
|
16080
|
+
format: "wav" | "mp3";
|
|
16081
|
+
};
|
|
16082
|
+
cache_control?: {
|
|
16083
|
+
type: "ephemeral";
|
|
16084
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16085
|
+
} | undefined;
|
|
15208
16086
|
} | {
|
|
15209
16087
|
type: "file";
|
|
15210
16088
|
file: {
|
|
@@ -15487,6 +16365,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
15487
16365
|
type: "ephemeral";
|
|
15488
16366
|
ttl?: "5m" | "1h" | undefined;
|
|
15489
16367
|
} | undefined;
|
|
16368
|
+
} | {
|
|
16369
|
+
type: "input_audio";
|
|
16370
|
+
input_audio: {
|
|
16371
|
+
data: string;
|
|
16372
|
+
format: "wav" | "mp3";
|
|
16373
|
+
};
|
|
16374
|
+
cache_control?: {
|
|
16375
|
+
type: "ephemeral";
|
|
16376
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16377
|
+
} | undefined;
|
|
15490
16378
|
} | {
|
|
15491
16379
|
type: "file";
|
|
15492
16380
|
file: {
|
|
@@ -15767,6 +16655,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
15767
16655
|
type: "ephemeral";
|
|
15768
16656
|
ttl?: "5m" | "1h" | undefined;
|
|
15769
16657
|
} | undefined;
|
|
16658
|
+
} | {
|
|
16659
|
+
type: "input_audio";
|
|
16660
|
+
input_audio: {
|
|
16661
|
+
data: string;
|
|
16662
|
+
format: "wav" | "mp3";
|
|
16663
|
+
};
|
|
16664
|
+
cache_control?: {
|
|
16665
|
+
type: "ephemeral";
|
|
16666
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16667
|
+
} | undefined;
|
|
15770
16668
|
} | {
|
|
15771
16669
|
type: "file";
|
|
15772
16670
|
file: {
|
|
@@ -16065,6 +16963,48 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
16065
16963
|
type: "ephemeral";
|
|
16066
16964
|
ttl?: "5m" | "1h" | undefined;
|
|
16067
16965
|
} | undefined;
|
|
16966
|
+
}>, z.ZodObject<{
|
|
16967
|
+
input_audio: z.ZodObject<{
|
|
16968
|
+
data: z.ZodString;
|
|
16969
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
16970
|
+
}, "strip", z.ZodTypeAny, {
|
|
16971
|
+
data: string;
|
|
16972
|
+
format: "wav" | "mp3";
|
|
16973
|
+
}, {
|
|
16974
|
+
data: string;
|
|
16975
|
+
format: "wav" | "mp3";
|
|
16976
|
+
}>;
|
|
16977
|
+
type: z.ZodLiteral<"input_audio">;
|
|
16978
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
16979
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
16980
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
16981
|
+
}, "strip", z.ZodTypeAny, {
|
|
16982
|
+
type: "ephemeral";
|
|
16983
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16984
|
+
}, {
|
|
16985
|
+
type: "ephemeral";
|
|
16986
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16987
|
+
}>>;
|
|
16988
|
+
}, "strip", z.ZodTypeAny, {
|
|
16989
|
+
type: "input_audio";
|
|
16990
|
+
input_audio: {
|
|
16991
|
+
data: string;
|
|
16992
|
+
format: "wav" | "mp3";
|
|
16993
|
+
};
|
|
16994
|
+
cache_control?: {
|
|
16995
|
+
type: "ephemeral";
|
|
16996
|
+
ttl?: "5m" | "1h" | undefined;
|
|
16997
|
+
} | undefined;
|
|
16998
|
+
}, {
|
|
16999
|
+
type: "input_audio";
|
|
17000
|
+
input_audio: {
|
|
17001
|
+
data: string;
|
|
17002
|
+
format: "wav" | "mp3";
|
|
17003
|
+
};
|
|
17004
|
+
cache_control?: {
|
|
17005
|
+
type: "ephemeral";
|
|
17006
|
+
ttl?: "5m" | "1h" | undefined;
|
|
17007
|
+
} | undefined;
|
|
16068
17008
|
}>, z.ZodObject<{
|
|
16069
17009
|
file: z.ZodObject<{
|
|
16070
17010
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -16134,6 +17074,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
16134
17074
|
type: "ephemeral";
|
|
16135
17075
|
ttl?: "5m" | "1h" | undefined;
|
|
16136
17076
|
} | undefined;
|
|
17077
|
+
} | {
|
|
17078
|
+
type: "input_audio";
|
|
17079
|
+
input_audio: {
|
|
17080
|
+
data: string;
|
|
17081
|
+
format: "wav" | "mp3";
|
|
17082
|
+
};
|
|
17083
|
+
cache_control?: {
|
|
17084
|
+
type: "ephemeral";
|
|
17085
|
+
ttl?: "5m" | "1h" | undefined;
|
|
17086
|
+
} | undefined;
|
|
16137
17087
|
} | {
|
|
16138
17088
|
type: "file";
|
|
16139
17089
|
file: {
|
|
@@ -16166,6 +17116,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
16166
17116
|
type: "ephemeral";
|
|
16167
17117
|
ttl?: "5m" | "1h" | undefined;
|
|
16168
17118
|
} | undefined;
|
|
17119
|
+
} | {
|
|
17120
|
+
type: "input_audio";
|
|
17121
|
+
input_audio: {
|
|
17122
|
+
data: string;
|
|
17123
|
+
format: "wav" | "mp3";
|
|
17124
|
+
};
|
|
17125
|
+
cache_control?: {
|
|
17126
|
+
type: "ephemeral";
|
|
17127
|
+
ttl?: "5m" | "1h" | undefined;
|
|
17128
|
+
} | undefined;
|
|
16169
17129
|
} | {
|
|
16170
17130
|
type: "file";
|
|
16171
17131
|
file: {
|
|
@@ -16476,6 +17436,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
16476
17436
|
type: "ephemeral";
|
|
16477
17437
|
ttl?: "5m" | "1h" | undefined;
|
|
16478
17438
|
} | undefined;
|
|
17439
|
+
} | {
|
|
17440
|
+
type: "input_audio";
|
|
17441
|
+
input_audio: {
|
|
17442
|
+
data: string;
|
|
17443
|
+
format: "wav" | "mp3";
|
|
17444
|
+
};
|
|
17445
|
+
cache_control?: {
|
|
17446
|
+
type: "ephemeral";
|
|
17447
|
+
ttl?: "5m" | "1h" | undefined;
|
|
17448
|
+
} | undefined;
|
|
16479
17449
|
} | {
|
|
16480
17450
|
type: "file";
|
|
16481
17451
|
file: {
|
|
@@ -16580,6 +17550,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
16580
17550
|
type: "ephemeral";
|
|
16581
17551
|
ttl?: "5m" | "1h" | undefined;
|
|
16582
17552
|
} | undefined;
|
|
17553
|
+
} | {
|
|
17554
|
+
type: "input_audio";
|
|
17555
|
+
input_audio: {
|
|
17556
|
+
data: string;
|
|
17557
|
+
format: "wav" | "mp3";
|
|
17558
|
+
};
|
|
17559
|
+
cache_control?: {
|
|
17560
|
+
type: "ephemeral";
|
|
17561
|
+
ttl?: "5m" | "1h" | undefined;
|
|
17562
|
+
} | undefined;
|
|
16583
17563
|
} | {
|
|
16584
17564
|
type: "file";
|
|
16585
17565
|
file: {
|
|
@@ -17539,6 +18519,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
17539
18519
|
type: "ephemeral";
|
|
17540
18520
|
ttl?: "5m" | "1h" | undefined;
|
|
17541
18521
|
} | undefined;
|
|
18522
|
+
} | {
|
|
18523
|
+
type: "input_audio";
|
|
18524
|
+
input_audio: {
|
|
18525
|
+
data: string;
|
|
18526
|
+
format: "wav" | "mp3";
|
|
18527
|
+
};
|
|
18528
|
+
cache_control?: {
|
|
18529
|
+
type: "ephemeral";
|
|
18530
|
+
ttl?: "5m" | "1h" | undefined;
|
|
18531
|
+
} | undefined;
|
|
17542
18532
|
} | {
|
|
17543
18533
|
type: "file";
|
|
17544
18534
|
file: {
|
|
@@ -17816,6 +18806,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
17816
18806
|
type: "ephemeral";
|
|
17817
18807
|
ttl?: "5m" | "1h" | undefined;
|
|
17818
18808
|
} | undefined;
|
|
18809
|
+
} | {
|
|
18810
|
+
type: "input_audio";
|
|
18811
|
+
input_audio: {
|
|
18812
|
+
data: string;
|
|
18813
|
+
format: "wav" | "mp3";
|
|
18814
|
+
};
|
|
18815
|
+
cache_control?: {
|
|
18816
|
+
type: "ephemeral";
|
|
18817
|
+
ttl?: "5m" | "1h" | undefined;
|
|
18818
|
+
} | undefined;
|
|
17819
18819
|
} | {
|
|
17820
18820
|
type: "file";
|
|
17821
18821
|
file: {
|
|
@@ -18110,6 +19110,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
18110
19110
|
type: "ephemeral";
|
|
18111
19111
|
ttl?: "5m" | "1h" | undefined;
|
|
18112
19112
|
} | undefined;
|
|
19113
|
+
} | {
|
|
19114
|
+
type: "input_audio";
|
|
19115
|
+
input_audio: {
|
|
19116
|
+
data: string;
|
|
19117
|
+
format: "wav" | "mp3";
|
|
19118
|
+
};
|
|
19119
|
+
cache_control?: {
|
|
19120
|
+
type: "ephemeral";
|
|
19121
|
+
ttl?: "5m" | "1h" | undefined;
|
|
19122
|
+
} | undefined;
|
|
18113
19123
|
} | {
|
|
18114
19124
|
type: "file";
|
|
18115
19125
|
file: {
|
|
@@ -18401,6 +19411,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
18401
19411
|
type: "ephemeral";
|
|
18402
19412
|
ttl?: "5m" | "1h" | undefined;
|
|
18403
19413
|
} | undefined;
|
|
19414
|
+
} | {
|
|
19415
|
+
type: "input_audio";
|
|
19416
|
+
input_audio: {
|
|
19417
|
+
data: string;
|
|
19418
|
+
format: "wav" | "mp3";
|
|
19419
|
+
};
|
|
19420
|
+
cache_control?: {
|
|
19421
|
+
type: "ephemeral";
|
|
19422
|
+
ttl?: "5m" | "1h" | undefined;
|
|
19423
|
+
} | undefined;
|
|
18404
19424
|
} | {
|
|
18405
19425
|
type: "file";
|
|
18406
19426
|
file: {
|
|
@@ -19346,6 +20366,48 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
19346
20366
|
type: "ephemeral";
|
|
19347
20367
|
ttl?: "5m" | "1h" | undefined;
|
|
19348
20368
|
} | undefined;
|
|
20369
|
+
}>, z.ZodObject<{
|
|
20370
|
+
input_audio: z.ZodObject<{
|
|
20371
|
+
data: z.ZodString;
|
|
20372
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
20373
|
+
}, "strip", z.ZodTypeAny, {
|
|
20374
|
+
data: string;
|
|
20375
|
+
format: "wav" | "mp3";
|
|
20376
|
+
}, {
|
|
20377
|
+
data: string;
|
|
20378
|
+
format: "wav" | "mp3";
|
|
20379
|
+
}>;
|
|
20380
|
+
type: z.ZodLiteral<"input_audio">;
|
|
20381
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
20382
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
20383
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
20384
|
+
}, "strip", z.ZodTypeAny, {
|
|
20385
|
+
type: "ephemeral";
|
|
20386
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20387
|
+
}, {
|
|
20388
|
+
type: "ephemeral";
|
|
20389
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20390
|
+
}>>;
|
|
20391
|
+
}, "strip", z.ZodTypeAny, {
|
|
20392
|
+
type: "input_audio";
|
|
20393
|
+
input_audio: {
|
|
20394
|
+
data: string;
|
|
20395
|
+
format: "wav" | "mp3";
|
|
20396
|
+
};
|
|
20397
|
+
cache_control?: {
|
|
20398
|
+
type: "ephemeral";
|
|
20399
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20400
|
+
} | undefined;
|
|
20401
|
+
}, {
|
|
20402
|
+
type: "input_audio";
|
|
20403
|
+
input_audio: {
|
|
20404
|
+
data: string;
|
|
20405
|
+
format: "wav" | "mp3";
|
|
20406
|
+
};
|
|
20407
|
+
cache_control?: {
|
|
20408
|
+
type: "ephemeral";
|
|
20409
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20410
|
+
} | undefined;
|
|
19349
20411
|
}>, z.ZodObject<{
|
|
19350
20412
|
file: z.ZodObject<{
|
|
19351
20413
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -19415,6 +20477,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
19415
20477
|
type: "ephemeral";
|
|
19416
20478
|
ttl?: "5m" | "1h" | undefined;
|
|
19417
20479
|
} | undefined;
|
|
20480
|
+
} | {
|
|
20481
|
+
type: "input_audio";
|
|
20482
|
+
input_audio: {
|
|
20483
|
+
data: string;
|
|
20484
|
+
format: "wav" | "mp3";
|
|
20485
|
+
};
|
|
20486
|
+
cache_control?: {
|
|
20487
|
+
type: "ephemeral";
|
|
20488
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20489
|
+
} | undefined;
|
|
19418
20490
|
} | {
|
|
19419
20491
|
type: "file";
|
|
19420
20492
|
file: {
|
|
@@ -19447,6 +20519,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
19447
20519
|
type: "ephemeral";
|
|
19448
20520
|
ttl?: "5m" | "1h" | undefined;
|
|
19449
20521
|
} | undefined;
|
|
20522
|
+
} | {
|
|
20523
|
+
type: "input_audio";
|
|
20524
|
+
input_audio: {
|
|
20525
|
+
data: string;
|
|
20526
|
+
format: "wav" | "mp3";
|
|
20527
|
+
};
|
|
20528
|
+
cache_control?: {
|
|
20529
|
+
type: "ephemeral";
|
|
20530
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20531
|
+
} | undefined;
|
|
19450
20532
|
} | {
|
|
19451
20533
|
type: "file";
|
|
19452
20534
|
file: {
|
|
@@ -19755,6 +20837,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
19755
20837
|
type: "ephemeral";
|
|
19756
20838
|
ttl?: "5m" | "1h" | undefined;
|
|
19757
20839
|
} | undefined;
|
|
20840
|
+
} | {
|
|
20841
|
+
type: "input_audio";
|
|
20842
|
+
input_audio: {
|
|
20843
|
+
data: string;
|
|
20844
|
+
format: "wav" | "mp3";
|
|
20845
|
+
};
|
|
20846
|
+
cache_control?: {
|
|
20847
|
+
type: "ephemeral";
|
|
20848
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20849
|
+
} | undefined;
|
|
19758
20850
|
} | {
|
|
19759
20851
|
type: "file";
|
|
19760
20852
|
file: {
|
|
@@ -19857,6 +20949,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
19857
20949
|
type: "ephemeral";
|
|
19858
20950
|
ttl?: "5m" | "1h" | undefined;
|
|
19859
20951
|
} | undefined;
|
|
20952
|
+
} | {
|
|
20953
|
+
type: "input_audio";
|
|
20954
|
+
input_audio: {
|
|
20955
|
+
data: string;
|
|
20956
|
+
format: "wav" | "mp3";
|
|
20957
|
+
};
|
|
20958
|
+
cache_control?: {
|
|
20959
|
+
type: "ephemeral";
|
|
20960
|
+
ttl?: "5m" | "1h" | undefined;
|
|
20961
|
+
} | undefined;
|
|
19860
20962
|
} | {
|
|
19861
20963
|
type: "file";
|
|
19862
20964
|
file: {
|
|
@@ -20617,6 +21719,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
20617
21719
|
type: "ephemeral";
|
|
20618
21720
|
ttl?: "5m" | "1h" | undefined;
|
|
20619
21721
|
} | undefined;
|
|
21722
|
+
} | {
|
|
21723
|
+
type: "input_audio";
|
|
21724
|
+
input_audio: {
|
|
21725
|
+
data: string;
|
|
21726
|
+
format: "wav" | "mp3";
|
|
21727
|
+
};
|
|
21728
|
+
cache_control?: {
|
|
21729
|
+
type: "ephemeral";
|
|
21730
|
+
ttl?: "5m" | "1h" | undefined;
|
|
21731
|
+
} | undefined;
|
|
20620
21732
|
} | {
|
|
20621
21733
|
type: "file";
|
|
20622
21734
|
file: {
|
|
@@ -20856,6 +21968,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
20856
21968
|
type: "ephemeral";
|
|
20857
21969
|
ttl?: "5m" | "1h" | undefined;
|
|
20858
21970
|
} | undefined;
|
|
21971
|
+
} | {
|
|
21972
|
+
type: "input_audio";
|
|
21973
|
+
input_audio: {
|
|
21974
|
+
data: string;
|
|
21975
|
+
format: "wav" | "mp3";
|
|
21976
|
+
};
|
|
21977
|
+
cache_control?: {
|
|
21978
|
+
type: "ephemeral";
|
|
21979
|
+
ttl?: "5m" | "1h" | undefined;
|
|
21980
|
+
} | undefined;
|
|
20859
21981
|
} | {
|
|
20860
21982
|
type: "file";
|
|
20861
21983
|
file: {
|
|
@@ -23793,6 +24915,62 @@ declare function openaiBatchesRetrieveTraced<TBatch extends OpenAIBatchLike, TOp
|
|
|
23793
24915
|
*/
|
|
23794
24916
|
declare function completeOpenAIBatchTrace(args: CompleteOpenAIBatchTraceArgs): Promise<void>;
|
|
23795
24917
|
|
|
24918
|
+
type OpenAIAgentsOpenTool = {
|
|
24919
|
+
itemId: string;
|
|
24920
|
+
name: string;
|
|
24921
|
+
startTime: number;
|
|
24922
|
+
toolType: string;
|
|
24923
|
+
turnId?: string;
|
|
24924
|
+
};
|
|
24925
|
+
type OpenAIAgentsSubagent = {
|
|
24926
|
+
closedAt?: number;
|
|
24927
|
+
openedAt: number;
|
|
24928
|
+
parentAgentId?: string;
|
|
24929
|
+
};
|
|
24930
|
+
type OpenAIAgentsTraceState = {
|
|
24931
|
+
callItems: Record<string, string>;
|
|
24932
|
+
ended: boolean;
|
|
24933
|
+
eventIds: string[];
|
|
24934
|
+
firstTokenAt?: number;
|
|
24935
|
+
openTools: Record<string, OpenAIAgentsOpenTool>;
|
|
24936
|
+
root: string;
|
|
24937
|
+
rootKey: string;
|
|
24938
|
+
rootParent: string;
|
|
24939
|
+
startTime: number;
|
|
24940
|
+
subagents: Record<string, OpenAIAgentsSubagent>;
|
|
24941
|
+
turnSubagents: Record<string, string>;
|
|
24942
|
+
version: 1;
|
|
24943
|
+
};
|
|
24944
|
+
type OpenAIAgentsTraceToken = OpenAIAgentsTraceState | null;
|
|
24945
|
+
|
|
24946
|
+
/**
|
|
24947
|
+
* Start a manual trace for one asynchronous OpenAI Agents API turn.
|
|
24948
|
+
*
|
|
24949
|
+
* This helper performs no OpenAI API requests. Pass it the same `input`,
|
|
24950
|
+
* `agent`, and `agent_id` values used to create or continue the turn. `metadata`
|
|
24951
|
+
* is copied to the Braintrust span and can also contain an application
|
|
24952
|
+
* correlation ID when the same parameters are sent to OpenAI. The returned
|
|
24953
|
+
* token can be persisted immediately before submission and passed with later events to
|
|
24954
|
+
* `updateOpenAIAgentsTrace`. The trace closes when a root turn reaches a
|
|
24955
|
+
* terminal state.
|
|
24956
|
+
*/
|
|
24957
|
+
declare function startOpenAIAgentsTrace(args: any): OpenAIAgentsTraceToken;
|
|
24958
|
+
/**
|
|
24959
|
+
* Apply an OpenAI Agents event to a trace and return its next resumable token.
|
|
24960
|
+
*
|
|
24961
|
+
* This helper performs no OpenAI API requests. It is intended for stream,
|
|
24962
|
+
* webhook, and worker processes that observe events from a turn. Events should
|
|
24963
|
+
* be applied in order, passing the returned token to the next call.
|
|
24964
|
+
*/
|
|
24965
|
+
declare function updateOpenAIAgentsTrace(token: OpenAIAgentsTraceToken, event: any): Promise<OpenAIAgentsTraceToken>;
|
|
24966
|
+
/**
|
|
24967
|
+
* End a manual OpenAI Agents API trace after submission or observation fails.
|
|
24968
|
+
*
|
|
24969
|
+
* This helper performs no OpenAI API requests. It returns a terminal token so
|
|
24970
|
+
* repeated delivery can remain idempotent.
|
|
24971
|
+
*/
|
|
24972
|
+
declare function failOpenAIAgentsTrace(token: OpenAIAgentsTraceToken, error: unknown): Promise<OpenAIAgentsTraceToken>;
|
|
24973
|
+
|
|
23796
24974
|
declare function isTemplateFormat(v: unknown): v is TemplateFormat;
|
|
23797
24975
|
declare function parseTemplateFormat(value: unknown, defaultFormat?: TemplateFormat): TemplateFormat;
|
|
23798
24976
|
declare function renderTemplateContent(template: string, variables: Record<string, unknown>, escape: (v: unknown) => string, options: {
|
|
@@ -24518,248 +25696,6 @@ type EveJsonValue = null | boolean | number | string | EveJsonValue[] | {
|
|
|
24518
25696
|
type EveJsonObject = {
|
|
24519
25697
|
readonly [key: string]: EveJsonValue;
|
|
24520
25698
|
};
|
|
24521
|
-
interface EveHookContext {
|
|
24522
|
-
readonly session: {
|
|
24523
|
-
readonly id: string;
|
|
24524
|
-
readonly parent?: {
|
|
24525
|
-
readonly callId?: string;
|
|
24526
|
-
readonly sessionId?: string;
|
|
24527
|
-
readonly turn?: {
|
|
24528
|
-
readonly id?: string;
|
|
24529
|
-
};
|
|
24530
|
-
};
|
|
24531
|
-
};
|
|
24532
|
-
}
|
|
24533
|
-
type EveAssistantStepFinishReason = "content-filter" | "error" | "length" | "other" | "stop" | "tool-calls";
|
|
24534
|
-
interface EveStreamEventMeta {
|
|
24535
|
-
readonly at: string;
|
|
24536
|
-
}
|
|
24537
|
-
interface EveRuntimeToolCallActionRequest {
|
|
24538
|
-
readonly callId: string;
|
|
24539
|
-
readonly input: EveJsonObject;
|
|
24540
|
-
readonly kind: "tool-call";
|
|
24541
|
-
readonly toolName: string;
|
|
24542
|
-
}
|
|
24543
|
-
interface EveRuntimeToolResultActionResult {
|
|
24544
|
-
readonly callId: string;
|
|
24545
|
-
readonly isError?: boolean;
|
|
24546
|
-
readonly kind: "tool-result";
|
|
24547
|
-
readonly output: EveJsonValue;
|
|
24548
|
-
readonly toolName: string;
|
|
24549
|
-
}
|
|
24550
|
-
type EveRuntimeActionRequest = EveRuntimeToolCallActionRequest | {
|
|
24551
|
-
readonly callId: string;
|
|
24552
|
-
readonly input?: EveJsonObject;
|
|
24553
|
-
readonly kind: "load-skill" | "remote-agent-call";
|
|
24554
|
-
readonly name?: string;
|
|
24555
|
-
} | {
|
|
24556
|
-
readonly callId: string;
|
|
24557
|
-
readonly input: EveJsonObject;
|
|
24558
|
-
readonly kind: "subagent-call";
|
|
24559
|
-
readonly name?: string;
|
|
24560
|
-
readonly subagentName?: string;
|
|
24561
|
-
};
|
|
24562
|
-
type EveRuntimeActionResult = EveRuntimeToolResultActionResult | {
|
|
24563
|
-
readonly callId: string;
|
|
24564
|
-
readonly isError?: boolean;
|
|
24565
|
-
readonly kind: "load-skill-result";
|
|
24566
|
-
readonly output?: EveJsonValue;
|
|
24567
|
-
readonly name?: string;
|
|
24568
|
-
} | {
|
|
24569
|
-
readonly callId: string;
|
|
24570
|
-
readonly isError?: boolean;
|
|
24571
|
-
readonly kind: "subagent-result";
|
|
24572
|
-
readonly output?: EveJsonValue;
|
|
24573
|
-
readonly subagentName?: string;
|
|
24574
|
-
};
|
|
24575
|
-
type EveActionResultStatus = "completed" | "failed" | "rejected";
|
|
24576
|
-
interface EveActionResultError {
|
|
24577
|
-
readonly code: string;
|
|
24578
|
-
readonly message: string;
|
|
24579
|
-
}
|
|
24580
|
-
type EveHandleMessageStreamEvent = {
|
|
24581
|
-
readonly data: {
|
|
24582
|
-
readonly invocation?: unknown;
|
|
24583
|
-
readonly runtime?: {
|
|
24584
|
-
readonly agentId: string;
|
|
24585
|
-
readonly agentName?: string;
|
|
24586
|
-
readonly eveVersion: string;
|
|
24587
|
-
readonly modelId: string;
|
|
24588
|
-
};
|
|
24589
|
-
};
|
|
24590
|
-
readonly meta?: EveStreamEventMeta;
|
|
24591
|
-
readonly type: "session.started";
|
|
24592
|
-
} | {
|
|
24593
|
-
readonly data: {
|
|
24594
|
-
readonly sequence: number;
|
|
24595
|
-
readonly turnId: string;
|
|
24596
|
-
};
|
|
24597
|
-
readonly meta?: EveStreamEventMeta;
|
|
24598
|
-
readonly type: "turn.started";
|
|
24599
|
-
} | {
|
|
24600
|
-
readonly data: {
|
|
24601
|
-
readonly sequence: number;
|
|
24602
|
-
readonly turnId: string;
|
|
24603
|
-
};
|
|
24604
|
-
readonly meta?: EveStreamEventMeta;
|
|
24605
|
-
readonly type: "turn.completed";
|
|
24606
|
-
} | {
|
|
24607
|
-
readonly data: {
|
|
24608
|
-
readonly message: string;
|
|
24609
|
-
readonly sequence: number;
|
|
24610
|
-
readonly turnId: string;
|
|
24611
|
-
};
|
|
24612
|
-
readonly meta?: EveStreamEventMeta;
|
|
24613
|
-
readonly type: "message.received";
|
|
24614
|
-
} | {
|
|
24615
|
-
readonly data: {
|
|
24616
|
-
readonly finishReason: EveAssistantStepFinishReason;
|
|
24617
|
-
readonly message: string | null;
|
|
24618
|
-
readonly sequence: number;
|
|
24619
|
-
readonly stepIndex: number;
|
|
24620
|
-
readonly turnId: string;
|
|
24621
|
-
};
|
|
24622
|
-
readonly meta?: EveStreamEventMeta;
|
|
24623
|
-
readonly type: "message.completed";
|
|
24624
|
-
} | {
|
|
24625
|
-
readonly data: {
|
|
24626
|
-
readonly reasoning: string;
|
|
24627
|
-
readonly sequence: number;
|
|
24628
|
-
readonly stepIndex: number;
|
|
24629
|
-
readonly turnId: string;
|
|
24630
|
-
};
|
|
24631
|
-
readonly meta?: EveStreamEventMeta;
|
|
24632
|
-
readonly type: "reasoning.completed";
|
|
24633
|
-
} | {
|
|
24634
|
-
readonly data: {
|
|
24635
|
-
readonly result: EveJsonValue;
|
|
24636
|
-
readonly sequence: number;
|
|
24637
|
-
readonly stepIndex: number;
|
|
24638
|
-
readonly turnId: string;
|
|
24639
|
-
};
|
|
24640
|
-
readonly meta?: EveStreamEventMeta;
|
|
24641
|
-
readonly type: "result.completed";
|
|
24642
|
-
} | {
|
|
24643
|
-
readonly data: {
|
|
24644
|
-
readonly sequence: number;
|
|
24645
|
-
readonly stepIndex: number;
|
|
24646
|
-
readonly turnId: string;
|
|
24647
|
-
};
|
|
24648
|
-
readonly meta?: EveStreamEventMeta;
|
|
24649
|
-
readonly type: "step.started";
|
|
24650
|
-
} | {
|
|
24651
|
-
readonly data: {
|
|
24652
|
-
readonly finishReason: EveAssistantStepFinishReason;
|
|
24653
|
-
readonly providerMetadata?: {
|
|
24654
|
-
readonly gateway?: {
|
|
24655
|
-
readonly generationId?: string;
|
|
24656
|
-
};
|
|
24657
|
-
};
|
|
24658
|
-
readonly sequence: number;
|
|
24659
|
-
readonly stepIndex: number;
|
|
24660
|
-
readonly turnId: string;
|
|
24661
|
-
readonly usage?: {
|
|
24662
|
-
readonly cacheReadTokens?: number;
|
|
24663
|
-
readonly cacheWriteTokens?: number;
|
|
24664
|
-
readonly costUsd?: number;
|
|
24665
|
-
readonly inputTokens?: number;
|
|
24666
|
-
readonly outputTokens?: number;
|
|
24667
|
-
};
|
|
24668
|
-
};
|
|
24669
|
-
readonly meta?: EveStreamEventMeta;
|
|
24670
|
-
readonly type: "step.completed";
|
|
24671
|
-
} | {
|
|
24672
|
-
readonly data: {
|
|
24673
|
-
readonly code: string;
|
|
24674
|
-
readonly details?: EveJsonObject;
|
|
24675
|
-
readonly message: string;
|
|
24676
|
-
readonly sequence: number;
|
|
24677
|
-
readonly stepIndex: number;
|
|
24678
|
-
readonly turnId: string;
|
|
24679
|
-
};
|
|
24680
|
-
readonly meta?: EveStreamEventMeta;
|
|
24681
|
-
readonly type: "step.failed";
|
|
24682
|
-
} | {
|
|
24683
|
-
readonly data: {
|
|
24684
|
-
readonly actions: readonly EveRuntimeActionRequest[];
|
|
24685
|
-
readonly sequence: number;
|
|
24686
|
-
readonly stepIndex: number;
|
|
24687
|
-
readonly turnId: string;
|
|
24688
|
-
};
|
|
24689
|
-
readonly meta?: EveStreamEventMeta;
|
|
24690
|
-
readonly type: "actions.requested";
|
|
24691
|
-
} | {
|
|
24692
|
-
readonly data: {
|
|
24693
|
-
readonly error?: EveActionResultError;
|
|
24694
|
-
readonly result: EveRuntimeActionResult;
|
|
24695
|
-
readonly sequence: number;
|
|
24696
|
-
readonly stepIndex: number;
|
|
24697
|
-
readonly status: EveActionResultStatus;
|
|
24698
|
-
readonly turnId: string;
|
|
24699
|
-
};
|
|
24700
|
-
readonly meta?: EveStreamEventMeta;
|
|
24701
|
-
readonly type: "action.result";
|
|
24702
|
-
} | {
|
|
24703
|
-
readonly data: {
|
|
24704
|
-
readonly callId: string;
|
|
24705
|
-
readonly childSessionId: string;
|
|
24706
|
-
readonly name: string;
|
|
24707
|
-
readonly remote?: {
|
|
24708
|
-
readonly url?: string;
|
|
24709
|
-
};
|
|
24710
|
-
readonly sequence: number;
|
|
24711
|
-
readonly toolName?: string;
|
|
24712
|
-
readonly turnId: string;
|
|
24713
|
-
};
|
|
24714
|
-
readonly meta?: EveStreamEventMeta;
|
|
24715
|
-
readonly type: "subagent.called";
|
|
24716
|
-
} | {
|
|
24717
|
-
readonly data: {
|
|
24718
|
-
readonly callId: string;
|
|
24719
|
-
readonly error?: EveActionResultError;
|
|
24720
|
-
readonly output?: EveJsonValue;
|
|
24721
|
-
readonly sequence: number;
|
|
24722
|
-
readonly status?: EveActionResultStatus;
|
|
24723
|
-
readonly subagentName: string;
|
|
24724
|
-
readonly turnId: string;
|
|
24725
|
-
};
|
|
24726
|
-
readonly meta?: EveStreamEventMeta;
|
|
24727
|
-
readonly type: "subagent.completed";
|
|
24728
|
-
} | {
|
|
24729
|
-
readonly data: {
|
|
24730
|
-
readonly code: string;
|
|
24731
|
-
readonly details?: EveJsonObject;
|
|
24732
|
-
readonly message: string;
|
|
24733
|
-
readonly sequence: number;
|
|
24734
|
-
readonly turnId: string;
|
|
24735
|
-
};
|
|
24736
|
-
readonly meta?: EveStreamEventMeta;
|
|
24737
|
-
readonly type: "turn.failed";
|
|
24738
|
-
} | {
|
|
24739
|
-
readonly data: {
|
|
24740
|
-
readonly code: string;
|
|
24741
|
-
readonly details?: EveJsonObject;
|
|
24742
|
-
readonly message: string;
|
|
24743
|
-
readonly sessionId: string;
|
|
24744
|
-
};
|
|
24745
|
-
readonly meta?: EveStreamEventMeta;
|
|
24746
|
-
readonly type: "session.failed";
|
|
24747
|
-
} | {
|
|
24748
|
-
readonly data: {
|
|
24749
|
-
readonly wait: "next-user-message";
|
|
24750
|
-
};
|
|
24751
|
-
readonly meta?: EveStreamEventMeta;
|
|
24752
|
-
readonly type: "session.waiting";
|
|
24753
|
-
} | {
|
|
24754
|
-
readonly meta?: EveStreamEventMeta;
|
|
24755
|
-
readonly type: "session.completed";
|
|
24756
|
-
};
|
|
24757
|
-
interface EveHookDefinition {
|
|
24758
|
-
readonly events?: {
|
|
24759
|
-
readonly "*"?: (event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>;
|
|
24760
|
-
readonly [eventType: string]: ((event: EveHandleMessageStreamEvent, ctx: EveHookContext) => void | Promise<void>) | undefined;
|
|
24761
|
-
};
|
|
24762
|
-
}
|
|
24763
25699
|
interface EveInstrumentationSetupContext {
|
|
24764
25700
|
readonly agentName: string;
|
|
24765
25701
|
}
|
|
@@ -25102,7 +26038,7 @@ type EveDefineState = <T>(name: string, initial: () => T) => EveStateHandle<T>;
|
|
|
25102
26038
|
declare function braintrustEveHook(options: {
|
|
25103
26039
|
defineState: EveDefineState;
|
|
25104
26040
|
metadata?: Record<string, unknown>;
|
|
25105
|
-
}):
|
|
26041
|
+
}): any;
|
|
25106
26042
|
|
|
25107
26043
|
type EveProviderInstrumentationOptions = {
|
|
25108
26044
|
metadata?: Record<string, unknown>;
|
|
@@ -25116,11 +26052,11 @@ type EveProviderInstrumentationOptions = {
|
|
|
25116
26052
|
* lifecycle and enable `experimental.instrumentationProviders` on the agent.
|
|
25117
26053
|
* The result is ready to export directly from the instrumentation module.
|
|
25118
26054
|
*/
|
|
25119
|
-
declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions):
|
|
26055
|
+
declare function braintrustEveInstrumentation(options: EveProviderInstrumentationOptions): any;
|
|
25120
26056
|
declare function braintrustEveInstrumentation(options: {
|
|
25121
26057
|
defineState: EveDefineState;
|
|
25122
26058
|
setup?: EveInstrumentationDefinition["setup"];
|
|
25123
|
-
}):
|
|
26059
|
+
}): any;
|
|
25124
26060
|
|
|
25125
26061
|
/**
|
|
25126
26062
|
* Collect a stream returned by `anthropic.beta.sessions.events.stream()` or
|
|
@@ -25139,6 +26075,9 @@ declare function collectAnthropicSession<T extends object>(stream: T): T;
|
|
|
25139
26075
|
* Wrap an `Anthropic` object (created with `new Anthropic(...)`) so calls emit
|
|
25140
26076
|
* tracing-channel events that Braintrust plugins can consume.
|
|
25141
26077
|
*
|
|
26078
|
+
* Also supports `AnthropicBedrock` and `AnthropicVertex` clients through their
|
|
26079
|
+
* shared Anthropic message resources.
|
|
26080
|
+
*
|
|
25142
26081
|
* Currently, this only supports the `v4` API. Sessions streams are eligible
|
|
25143
26082
|
* for collection only after being passed to `collectAnthropicSession()`;
|
|
25144
26083
|
* wrapping and consuming a Sessions stream alone does not emit spans.
|
|
@@ -25335,6 +26274,9 @@ declare function wrapStrandsAgentSDK<T>(sdk: T): T;
|
|
|
25335
26274
|
*/
|
|
25336
26275
|
declare function wrapCloudflareAIChat<T>(module: T): T;
|
|
25337
26276
|
|
|
26277
|
+
/** Trace @google/generative-ai model and chat calls through Braintrust. */
|
|
26278
|
+
declare function wrapGoogleGenerativeAI<T>(client: T): T;
|
|
26279
|
+
|
|
25338
26280
|
/**
|
|
25339
26281
|
* Wrap a Google GenAI module (imported with `import * as googleGenAI from '@google/genai'`) to add tracing.
|
|
25340
26282
|
* If Braintrust is not configured, nothing will be traced.
|
|
@@ -25579,6 +26521,9 @@ declare function wrapOpenRouter<T>(openrouter: T): T;
|
|
|
25579
26521
|
*/
|
|
25580
26522
|
declare function wrapMistral<T>(mistral: T): T;
|
|
25581
26523
|
|
|
26524
|
+
/** Trace LangGraph Platform runs that the caller waits for or streams. */
|
|
26525
|
+
declare function wrapLangGraphSDK<T>(client: T): T;
|
|
26526
|
+
|
|
25582
26527
|
/**
|
|
25583
26528
|
* Wrap an Ollama client so generation and embedding calls emit Braintrust
|
|
25584
26529
|
* diagnostics-channel events.
|
|
@@ -25650,6 +26595,34 @@ interface TraceOptions {
|
|
|
25650
26595
|
ensureSpansFlushed?: () => Promise<void>;
|
|
25651
26596
|
state: BraintrustState;
|
|
25652
26597
|
}
|
|
26598
|
+
/** Inclusive span duration bounds, in seconds. */
|
|
26599
|
+
interface SpanDurationFilter {
|
|
26600
|
+
/** Minimum value of metrics.end - metrics.start. */
|
|
26601
|
+
min?: number;
|
|
26602
|
+
/** Maximum value of metrics.end - metrics.start. */
|
|
26603
|
+
max?: number;
|
|
26604
|
+
}
|
|
26605
|
+
/**
|
|
26606
|
+
* Filters supported by Trace.getSpans(). Different fields combine with AND.
|
|
26607
|
+
*
|
|
26608
|
+
* Empty name/spanType arrays match no spans. Empty metadata/duration objects
|
|
26609
|
+
* add no constraints. Omit a field to leave it unfiltered.
|
|
26610
|
+
*/
|
|
26611
|
+
interface SpanFilters {
|
|
26612
|
+
/** Match spans whose span_attributes.type equals any of these. */
|
|
26613
|
+
spanType?: string[];
|
|
26614
|
+
/** Match spans whose span_attributes.name equals any of these. */
|
|
26615
|
+
name?: string[];
|
|
26616
|
+
/** Match spans based on whether they recorded an error. */
|
|
26617
|
+
hasError?: boolean;
|
|
26618
|
+
/**
|
|
26619
|
+
* Match metadata keys at any depth without type coercion. `null` matches a
|
|
26620
|
+
* null or missing path.
|
|
26621
|
+
*/
|
|
26622
|
+
metadata?: Record<string, unknown>;
|
|
26623
|
+
/** Bound how long the span took. */
|
|
26624
|
+
duration?: SpanDurationFilter;
|
|
26625
|
+
}
|
|
25653
26626
|
type SpanRecord = any;
|
|
25654
26627
|
/**
|
|
25655
26628
|
* Fetcher for spans by root_span_id, using the ObjectFetcher pattern.
|
|
@@ -25660,7 +26633,7 @@ declare class SpanFetcher extends ObjectFetcher<SpanRecord> {
|
|
|
25660
26633
|
private readonly rootSpanId;
|
|
25661
26634
|
private readonly _state;
|
|
25662
26635
|
private readonly spanTypeFilter?;
|
|
25663
|
-
constructor(objectType: "experiment" | "project_logs" | "playground_logs", _objectId: string, rootSpanId: string, _state: BraintrustState, spanTypeFilter?: string[] | undefined, includeScorers?: boolean, brainstoreRealtime?: boolean);
|
|
26636
|
+
constructor(objectType: "experiment" | "project_logs" | "playground_logs", _objectId: string, rootSpanId: string, _state: BraintrustState, spanTypeFilter?: string[] | undefined, includeScorers?: boolean, brainstoreRealtime?: boolean, filters?: SpanFilters);
|
|
25664
26637
|
private static buildFilter;
|
|
25665
26638
|
get id(): Promise<string>;
|
|
25666
26639
|
protected getState(): Promise<BraintrustState>;
|
|
@@ -25681,15 +26654,12 @@ interface SpanData {
|
|
|
25681
26654
|
};
|
|
25682
26655
|
[key: string]: unknown;
|
|
25683
26656
|
}
|
|
25684
|
-
/** Function signature for fetching spans by type */
|
|
26657
|
+
/** Function signature for fetching spans by type. */
|
|
25685
26658
|
type SpanFetchFn = (spanType: string[] | undefined) => Promise<SpanData[]>;
|
|
25686
26659
|
/**
|
|
25687
|
-
*
|
|
25688
|
-
*
|
|
25689
|
-
*
|
|
25690
|
-
* - Cache spans by span type (Map<spanType, SpanData[]>)
|
|
25691
|
-
* - Track if all spans have been fetched (allFetched flag)
|
|
25692
|
-
* - When filtering by spanType, only fetch types not already in cache
|
|
26660
|
+
* Fetches spans for one root span, reusing complete results and results that
|
|
26661
|
+
* are authoritative for a requested span type. Advanced filtered results are
|
|
26662
|
+
* never cached because they do not represent every span of their type.
|
|
25693
26663
|
*/
|
|
25694
26664
|
declare class CachedSpanFetcher {
|
|
25695
26665
|
private spanCache;
|
|
@@ -25697,10 +26667,7 @@ declare class CachedSpanFetcher {
|
|
|
25697
26667
|
private fetchFn;
|
|
25698
26668
|
constructor(objectType: "experiment" | "project_logs" | "playground_logs", objectId: string, rootSpanId: string, getState: () => Promise<BraintrustState>, brainstoreRealtime?: boolean);
|
|
25699
26669
|
constructor(fetchFn: SpanFetchFn);
|
|
25700
|
-
getSpans({ spanType, includeScorers, }?:
|
|
25701
|
-
spanType?: string[];
|
|
25702
|
-
includeScorers?: boolean;
|
|
25703
|
-
}): Promise<SpanData[]>;
|
|
26670
|
+
getSpans({ spanType: requestedSpanType, filters, includeScorers, }?: GetSpansOptions): Promise<SpanData[]>;
|
|
25704
26671
|
private fetchSpans;
|
|
25705
26672
|
private getFromCache;
|
|
25706
26673
|
}
|
|
@@ -25716,7 +26683,10 @@ interface GetThreadOptions {
|
|
|
25716
26683
|
preprocessor?: string;
|
|
25717
26684
|
}
|
|
25718
26685
|
interface GetSpansOptions {
|
|
26686
|
+
/** Optional top-level span type filter. */
|
|
25719
26687
|
spanType?: string[];
|
|
26688
|
+
/** Filters for span type, name, error state, metadata, and duration. */
|
|
26689
|
+
filters?: SpanFilters;
|
|
25720
26690
|
includeScorers?: boolean;
|
|
25721
26691
|
}
|
|
25722
26692
|
/**
|
|
@@ -25775,7 +26745,7 @@ declare class LocalTrace implements Trace {
|
|
|
25775
26745
|
* First checks the local span cache for recently logged spans, then falls
|
|
25776
26746
|
* back to CachedSpanFetcher which handles BTQL fetching and caching.
|
|
25777
26747
|
*/
|
|
25778
|
-
getSpans({ spanType, includeScorers, }?: GetSpansOptions): Promise<SpanData[]>;
|
|
26748
|
+
getSpans({ spanType, filters, includeScorers, }?: GetSpansOptions): Promise<SpanData[]>;
|
|
25779
26749
|
/**
|
|
25780
26750
|
* Get the thread (preprocessed messages) for this trace.
|
|
25781
26751
|
* Calls the API with the project_default preprocessor (which falls back to "thread").
|
|
@@ -25915,6 +26885,48 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25915
26885
|
type: "ephemeral";
|
|
25916
26886
|
ttl?: "5m" | "1h" | undefined;
|
|
25917
26887
|
} | undefined;
|
|
26888
|
+
}>, z.ZodObject<{
|
|
26889
|
+
input_audio: z.ZodObject<{
|
|
26890
|
+
data: z.ZodString;
|
|
26891
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
26892
|
+
}, "strip", z.ZodTypeAny, {
|
|
26893
|
+
data: string;
|
|
26894
|
+
format: "wav" | "mp3";
|
|
26895
|
+
}, {
|
|
26896
|
+
data: string;
|
|
26897
|
+
format: "wav" | "mp3";
|
|
26898
|
+
}>;
|
|
26899
|
+
type: z.ZodLiteral<"input_audio">;
|
|
26900
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
26901
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
26902
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
26903
|
+
}, "strip", z.ZodTypeAny, {
|
|
26904
|
+
type: "ephemeral";
|
|
26905
|
+
ttl?: "5m" | "1h" | undefined;
|
|
26906
|
+
}, {
|
|
26907
|
+
type: "ephemeral";
|
|
26908
|
+
ttl?: "5m" | "1h" | undefined;
|
|
26909
|
+
}>>;
|
|
26910
|
+
}, "strip", z.ZodTypeAny, {
|
|
26911
|
+
type: "input_audio";
|
|
26912
|
+
input_audio: {
|
|
26913
|
+
data: string;
|
|
26914
|
+
format: "wav" | "mp3";
|
|
26915
|
+
};
|
|
26916
|
+
cache_control?: {
|
|
26917
|
+
type: "ephemeral";
|
|
26918
|
+
ttl?: "5m" | "1h" | undefined;
|
|
26919
|
+
} | undefined;
|
|
26920
|
+
}, {
|
|
26921
|
+
type: "input_audio";
|
|
26922
|
+
input_audio: {
|
|
26923
|
+
data: string;
|
|
26924
|
+
format: "wav" | "mp3";
|
|
26925
|
+
};
|
|
26926
|
+
cache_control?: {
|
|
26927
|
+
type: "ephemeral";
|
|
26928
|
+
ttl?: "5m" | "1h" | undefined;
|
|
26929
|
+
} | undefined;
|
|
25918
26930
|
}>, z.ZodObject<{
|
|
25919
26931
|
file: z.ZodObject<{
|
|
25920
26932
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -25984,6 +26996,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25984
26996
|
type: "ephemeral";
|
|
25985
26997
|
ttl?: "5m" | "1h" | undefined;
|
|
25986
26998
|
} | undefined;
|
|
26999
|
+
} | {
|
|
27000
|
+
type: "input_audio";
|
|
27001
|
+
input_audio: {
|
|
27002
|
+
data: string;
|
|
27003
|
+
format: "wav" | "mp3";
|
|
27004
|
+
};
|
|
27005
|
+
cache_control?: {
|
|
27006
|
+
type: "ephemeral";
|
|
27007
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27008
|
+
} | undefined;
|
|
25987
27009
|
} | {
|
|
25988
27010
|
type: "file";
|
|
25989
27011
|
file: {
|
|
@@ -26016,6 +27038,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
26016
27038
|
type: "ephemeral";
|
|
26017
27039
|
ttl?: "5m" | "1h" | undefined;
|
|
26018
27040
|
} | undefined;
|
|
27041
|
+
} | {
|
|
27042
|
+
type: "input_audio";
|
|
27043
|
+
input_audio: {
|
|
27044
|
+
data: string;
|
|
27045
|
+
format: "wav" | "mp3";
|
|
27046
|
+
};
|
|
27047
|
+
cache_control?: {
|
|
27048
|
+
type: "ephemeral";
|
|
27049
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27050
|
+
} | undefined;
|
|
26019
27051
|
} | {
|
|
26020
27052
|
type: "file";
|
|
26021
27053
|
file: {
|
|
@@ -26324,6 +27356,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
26324
27356
|
type: "ephemeral";
|
|
26325
27357
|
ttl?: "5m" | "1h" | undefined;
|
|
26326
27358
|
} | undefined;
|
|
27359
|
+
} | {
|
|
27360
|
+
type: "input_audio";
|
|
27361
|
+
input_audio: {
|
|
27362
|
+
data: string;
|
|
27363
|
+
format: "wav" | "mp3";
|
|
27364
|
+
};
|
|
27365
|
+
cache_control?: {
|
|
27366
|
+
type: "ephemeral";
|
|
27367
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27368
|
+
} | undefined;
|
|
26327
27369
|
} | {
|
|
26328
27370
|
type: "file";
|
|
26329
27371
|
file: {
|
|
@@ -26426,6 +27468,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
26426
27468
|
type: "ephemeral";
|
|
26427
27469
|
ttl?: "5m" | "1h" | undefined;
|
|
26428
27470
|
} | undefined;
|
|
27471
|
+
} | {
|
|
27472
|
+
type: "input_audio";
|
|
27473
|
+
input_audio: {
|
|
27474
|
+
data: string;
|
|
27475
|
+
format: "wav" | "mp3";
|
|
27476
|
+
};
|
|
27477
|
+
cache_control?: {
|
|
27478
|
+
type: "ephemeral";
|
|
27479
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27480
|
+
} | undefined;
|
|
26429
27481
|
} | {
|
|
26430
27482
|
type: "file";
|
|
26431
27483
|
file: {
|
|
@@ -26629,6 +27681,48 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
26629
27681
|
type: "ephemeral";
|
|
26630
27682
|
ttl?: "5m" | "1h" | undefined;
|
|
26631
27683
|
} | undefined;
|
|
27684
|
+
}>, z.ZodObject<{
|
|
27685
|
+
input_audio: z.ZodObject<{
|
|
27686
|
+
data: z.ZodString;
|
|
27687
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
27688
|
+
}, "strip", z.ZodTypeAny, {
|
|
27689
|
+
data: string;
|
|
27690
|
+
format: "wav" | "mp3";
|
|
27691
|
+
}, {
|
|
27692
|
+
data: string;
|
|
27693
|
+
format: "wav" | "mp3";
|
|
27694
|
+
}>;
|
|
27695
|
+
type: z.ZodLiteral<"input_audio">;
|
|
27696
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
27697
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
27698
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
27699
|
+
}, "strip", z.ZodTypeAny, {
|
|
27700
|
+
type: "ephemeral";
|
|
27701
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27702
|
+
}, {
|
|
27703
|
+
type: "ephemeral";
|
|
27704
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27705
|
+
}>>;
|
|
27706
|
+
}, "strip", z.ZodTypeAny, {
|
|
27707
|
+
type: "input_audio";
|
|
27708
|
+
input_audio: {
|
|
27709
|
+
data: string;
|
|
27710
|
+
format: "wav" | "mp3";
|
|
27711
|
+
};
|
|
27712
|
+
cache_control?: {
|
|
27713
|
+
type: "ephemeral";
|
|
27714
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27715
|
+
} | undefined;
|
|
27716
|
+
}, {
|
|
27717
|
+
type: "input_audio";
|
|
27718
|
+
input_audio: {
|
|
27719
|
+
data: string;
|
|
27720
|
+
format: "wav" | "mp3";
|
|
27721
|
+
};
|
|
27722
|
+
cache_control?: {
|
|
27723
|
+
type: "ephemeral";
|
|
27724
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27725
|
+
} | undefined;
|
|
26632
27726
|
}>, z.ZodObject<{
|
|
26633
27727
|
file: z.ZodObject<{
|
|
26634
27728
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -26698,6 +27792,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
26698
27792
|
type: "ephemeral";
|
|
26699
27793
|
ttl?: "5m" | "1h" | undefined;
|
|
26700
27794
|
} | undefined;
|
|
27795
|
+
} | {
|
|
27796
|
+
type: "input_audio";
|
|
27797
|
+
input_audio: {
|
|
27798
|
+
data: string;
|
|
27799
|
+
format: "wav" | "mp3";
|
|
27800
|
+
};
|
|
27801
|
+
cache_control?: {
|
|
27802
|
+
type: "ephemeral";
|
|
27803
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27804
|
+
} | undefined;
|
|
26701
27805
|
} | {
|
|
26702
27806
|
type: "file";
|
|
26703
27807
|
file: {
|
|
@@ -26730,6 +27834,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
26730
27834
|
type: "ephemeral";
|
|
26731
27835
|
ttl?: "5m" | "1h" | undefined;
|
|
26732
27836
|
} | undefined;
|
|
27837
|
+
} | {
|
|
27838
|
+
type: "input_audio";
|
|
27839
|
+
input_audio: {
|
|
27840
|
+
data: string;
|
|
27841
|
+
format: "wav" | "mp3";
|
|
27842
|
+
};
|
|
27843
|
+
cache_control?: {
|
|
27844
|
+
type: "ephemeral";
|
|
27845
|
+
ttl?: "5m" | "1h" | undefined;
|
|
27846
|
+
} | undefined;
|
|
26733
27847
|
} | {
|
|
26734
27848
|
type: "file";
|
|
26735
27849
|
file: {
|
|
@@ -27038,6 +28152,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
27038
28152
|
type: "ephemeral";
|
|
27039
28153
|
ttl?: "5m" | "1h" | undefined;
|
|
27040
28154
|
} | undefined;
|
|
28155
|
+
} | {
|
|
28156
|
+
type: "input_audio";
|
|
28157
|
+
input_audio: {
|
|
28158
|
+
data: string;
|
|
28159
|
+
format: "wav" | "mp3";
|
|
28160
|
+
};
|
|
28161
|
+
cache_control?: {
|
|
28162
|
+
type: "ephemeral";
|
|
28163
|
+
ttl?: "5m" | "1h" | undefined;
|
|
28164
|
+
} | undefined;
|
|
27041
28165
|
} | {
|
|
27042
28166
|
type: "file";
|
|
27043
28167
|
file: {
|
|
@@ -27140,6 +28264,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
27140
28264
|
type: "ephemeral";
|
|
27141
28265
|
ttl?: "5m" | "1h" | undefined;
|
|
27142
28266
|
} | undefined;
|
|
28267
|
+
} | {
|
|
28268
|
+
type: "input_audio";
|
|
28269
|
+
input_audio: {
|
|
28270
|
+
data: string;
|
|
28271
|
+
format: "wav" | "mp3";
|
|
28272
|
+
};
|
|
28273
|
+
cache_control?: {
|
|
28274
|
+
type: "ephemeral";
|
|
28275
|
+
ttl?: "5m" | "1h" | undefined;
|
|
28276
|
+
} | undefined;
|
|
27143
28277
|
} | {
|
|
27144
28278
|
type: "file";
|
|
27145
28279
|
file: {
|
|
@@ -27938,6 +29072,48 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
27938
29072
|
type: "ephemeral";
|
|
27939
29073
|
ttl?: "5m" | "1h" | undefined;
|
|
27940
29074
|
} | undefined;
|
|
29075
|
+
}>, z.ZodObject<{
|
|
29076
|
+
input_audio: z.ZodObject<{
|
|
29077
|
+
data: z.ZodString;
|
|
29078
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
29079
|
+
}, "strip", z.ZodTypeAny, {
|
|
29080
|
+
data: string;
|
|
29081
|
+
format: "wav" | "mp3";
|
|
29082
|
+
}, {
|
|
29083
|
+
data: string;
|
|
29084
|
+
format: "wav" | "mp3";
|
|
29085
|
+
}>;
|
|
29086
|
+
type: z.ZodLiteral<"input_audio">;
|
|
29087
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
29088
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
29089
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
29090
|
+
}, "strip", z.ZodTypeAny, {
|
|
29091
|
+
type: "ephemeral";
|
|
29092
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29093
|
+
}, {
|
|
29094
|
+
type: "ephemeral";
|
|
29095
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29096
|
+
}>>;
|
|
29097
|
+
}, "strip", z.ZodTypeAny, {
|
|
29098
|
+
type: "input_audio";
|
|
29099
|
+
input_audio: {
|
|
29100
|
+
data: string;
|
|
29101
|
+
format: "wav" | "mp3";
|
|
29102
|
+
};
|
|
29103
|
+
cache_control?: {
|
|
29104
|
+
type: "ephemeral";
|
|
29105
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29106
|
+
} | undefined;
|
|
29107
|
+
}, {
|
|
29108
|
+
type: "input_audio";
|
|
29109
|
+
input_audio: {
|
|
29110
|
+
data: string;
|
|
29111
|
+
format: "wav" | "mp3";
|
|
29112
|
+
};
|
|
29113
|
+
cache_control?: {
|
|
29114
|
+
type: "ephemeral";
|
|
29115
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29116
|
+
} | undefined;
|
|
27941
29117
|
}>, z.ZodObject<{
|
|
27942
29118
|
file: z.ZodObject<{
|
|
27943
29119
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -28007,6 +29183,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
28007
29183
|
type: "ephemeral";
|
|
28008
29184
|
ttl?: "5m" | "1h" | undefined;
|
|
28009
29185
|
} | undefined;
|
|
29186
|
+
} | {
|
|
29187
|
+
type: "input_audio";
|
|
29188
|
+
input_audio: {
|
|
29189
|
+
data: string;
|
|
29190
|
+
format: "wav" | "mp3";
|
|
29191
|
+
};
|
|
29192
|
+
cache_control?: {
|
|
29193
|
+
type: "ephemeral";
|
|
29194
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29195
|
+
} | undefined;
|
|
28010
29196
|
} | {
|
|
28011
29197
|
type: "file";
|
|
28012
29198
|
file: {
|
|
@@ -28039,6 +29225,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
28039
29225
|
type: "ephemeral";
|
|
28040
29226
|
ttl?: "5m" | "1h" | undefined;
|
|
28041
29227
|
} | undefined;
|
|
29228
|
+
} | {
|
|
29229
|
+
type: "input_audio";
|
|
29230
|
+
input_audio: {
|
|
29231
|
+
data: string;
|
|
29232
|
+
format: "wav" | "mp3";
|
|
29233
|
+
};
|
|
29234
|
+
cache_control?: {
|
|
29235
|
+
type: "ephemeral";
|
|
29236
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29237
|
+
} | undefined;
|
|
28042
29238
|
} | {
|
|
28043
29239
|
type: "file";
|
|
28044
29240
|
file: {
|
|
@@ -28347,6 +29543,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
28347
29543
|
type: "ephemeral";
|
|
28348
29544
|
ttl?: "5m" | "1h" | undefined;
|
|
28349
29545
|
} | undefined;
|
|
29546
|
+
} | {
|
|
29547
|
+
type: "input_audio";
|
|
29548
|
+
input_audio: {
|
|
29549
|
+
data: string;
|
|
29550
|
+
format: "wav" | "mp3";
|
|
29551
|
+
};
|
|
29552
|
+
cache_control?: {
|
|
29553
|
+
type: "ephemeral";
|
|
29554
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29555
|
+
} | undefined;
|
|
28350
29556
|
} | {
|
|
28351
29557
|
type: "file";
|
|
28352
29558
|
file: {
|
|
@@ -28449,6 +29655,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
28449
29655
|
type: "ephemeral";
|
|
28450
29656
|
ttl?: "5m" | "1h" | undefined;
|
|
28451
29657
|
} | undefined;
|
|
29658
|
+
} | {
|
|
29659
|
+
type: "input_audio";
|
|
29660
|
+
input_audio: {
|
|
29661
|
+
data: string;
|
|
29662
|
+
format: "wav" | "mp3";
|
|
29663
|
+
};
|
|
29664
|
+
cache_control?: {
|
|
29665
|
+
type: "ephemeral";
|
|
29666
|
+
ttl?: "5m" | "1h" | undefined;
|
|
29667
|
+
} | undefined;
|
|
28452
29668
|
} | {
|
|
28453
29669
|
type: "file";
|
|
28454
29670
|
file: {
|
|
@@ -29304,6 +30520,48 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
29304
30520
|
type: "ephemeral";
|
|
29305
30521
|
ttl?: "5m" | "1h" | undefined;
|
|
29306
30522
|
} | undefined;
|
|
30523
|
+
}>, z.ZodObject<{
|
|
30524
|
+
input_audio: z.ZodObject<{
|
|
30525
|
+
data: z.ZodString;
|
|
30526
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
30527
|
+
}, "strip", z.ZodTypeAny, {
|
|
30528
|
+
data: string;
|
|
30529
|
+
format: "wav" | "mp3";
|
|
30530
|
+
}, {
|
|
30531
|
+
data: string;
|
|
30532
|
+
format: "wav" | "mp3";
|
|
30533
|
+
}>;
|
|
30534
|
+
type: z.ZodLiteral<"input_audio">;
|
|
30535
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
30536
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
30537
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
30538
|
+
}, "strip", z.ZodTypeAny, {
|
|
30539
|
+
type: "ephemeral";
|
|
30540
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30541
|
+
}, {
|
|
30542
|
+
type: "ephemeral";
|
|
30543
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30544
|
+
}>>;
|
|
30545
|
+
}, "strip", z.ZodTypeAny, {
|
|
30546
|
+
type: "input_audio";
|
|
30547
|
+
input_audio: {
|
|
30548
|
+
data: string;
|
|
30549
|
+
format: "wav" | "mp3";
|
|
30550
|
+
};
|
|
30551
|
+
cache_control?: {
|
|
30552
|
+
type: "ephemeral";
|
|
30553
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30554
|
+
} | undefined;
|
|
30555
|
+
}, {
|
|
30556
|
+
type: "input_audio";
|
|
30557
|
+
input_audio: {
|
|
30558
|
+
data: string;
|
|
30559
|
+
format: "wav" | "mp3";
|
|
30560
|
+
};
|
|
30561
|
+
cache_control?: {
|
|
30562
|
+
type: "ephemeral";
|
|
30563
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30564
|
+
} | undefined;
|
|
29307
30565
|
}>, z.ZodObject<{
|
|
29308
30566
|
file: z.ZodObject<{
|
|
29309
30567
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -29373,6 +30631,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
29373
30631
|
type: "ephemeral";
|
|
29374
30632
|
ttl?: "5m" | "1h" | undefined;
|
|
29375
30633
|
} | undefined;
|
|
30634
|
+
} | {
|
|
30635
|
+
type: "input_audio";
|
|
30636
|
+
input_audio: {
|
|
30637
|
+
data: string;
|
|
30638
|
+
format: "wav" | "mp3";
|
|
30639
|
+
};
|
|
30640
|
+
cache_control?: {
|
|
30641
|
+
type: "ephemeral";
|
|
30642
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30643
|
+
} | undefined;
|
|
29376
30644
|
} | {
|
|
29377
30645
|
type: "file";
|
|
29378
30646
|
file: {
|
|
@@ -29405,6 +30673,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
29405
30673
|
type: "ephemeral";
|
|
29406
30674
|
ttl?: "5m" | "1h" | undefined;
|
|
29407
30675
|
} | undefined;
|
|
30676
|
+
} | {
|
|
30677
|
+
type: "input_audio";
|
|
30678
|
+
input_audio: {
|
|
30679
|
+
data: string;
|
|
30680
|
+
format: "wav" | "mp3";
|
|
30681
|
+
};
|
|
30682
|
+
cache_control?: {
|
|
30683
|
+
type: "ephemeral";
|
|
30684
|
+
ttl?: "5m" | "1h" | undefined;
|
|
30685
|
+
} | undefined;
|
|
29408
30686
|
} | {
|
|
29409
30687
|
type: "file";
|
|
29410
30688
|
file: {
|
|
@@ -29715,6 +30993,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
29715
30993
|
type: "ephemeral";
|
|
29716
30994
|
ttl?: "5m" | "1h" | undefined;
|
|
29717
30995
|
} | undefined;
|
|
30996
|
+
} | {
|
|
30997
|
+
type: "input_audio";
|
|
30998
|
+
input_audio: {
|
|
30999
|
+
data: string;
|
|
31000
|
+
format: "wav" | "mp3";
|
|
31001
|
+
};
|
|
31002
|
+
cache_control?: {
|
|
31003
|
+
type: "ephemeral";
|
|
31004
|
+
ttl?: "5m" | "1h" | undefined;
|
|
31005
|
+
} | undefined;
|
|
29718
31006
|
} | {
|
|
29719
31007
|
type: "file";
|
|
29720
31008
|
file: {
|
|
@@ -29819,6 +31107,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
29819
31107
|
type: "ephemeral";
|
|
29820
31108
|
ttl?: "5m" | "1h" | undefined;
|
|
29821
31109
|
} | undefined;
|
|
31110
|
+
} | {
|
|
31111
|
+
type: "input_audio";
|
|
31112
|
+
input_audio: {
|
|
31113
|
+
data: string;
|
|
31114
|
+
format: "wav" | "mp3";
|
|
31115
|
+
};
|
|
31116
|
+
cache_control?: {
|
|
31117
|
+
type: "ephemeral";
|
|
31118
|
+
ttl?: "5m" | "1h" | undefined;
|
|
31119
|
+
} | undefined;
|
|
29822
31120
|
} | {
|
|
29823
31121
|
type: "file";
|
|
29824
31122
|
file: {
|
|
@@ -30778,6 +32076,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
30778
32076
|
type: "ephemeral";
|
|
30779
32077
|
ttl?: "5m" | "1h" | undefined;
|
|
30780
32078
|
} | undefined;
|
|
32079
|
+
} | {
|
|
32080
|
+
type: "input_audio";
|
|
32081
|
+
input_audio: {
|
|
32082
|
+
data: string;
|
|
32083
|
+
format: "wav" | "mp3";
|
|
32084
|
+
};
|
|
32085
|
+
cache_control?: {
|
|
32086
|
+
type: "ephemeral";
|
|
32087
|
+
ttl?: "5m" | "1h" | undefined;
|
|
32088
|
+
} | undefined;
|
|
30781
32089
|
} | {
|
|
30782
32090
|
type: "file";
|
|
30783
32091
|
file: {
|
|
@@ -31055,6 +32363,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
31055
32363
|
type: "ephemeral";
|
|
31056
32364
|
ttl?: "5m" | "1h" | undefined;
|
|
31057
32365
|
} | undefined;
|
|
32366
|
+
} | {
|
|
32367
|
+
type: "input_audio";
|
|
32368
|
+
input_audio: {
|
|
32369
|
+
data: string;
|
|
32370
|
+
format: "wav" | "mp3";
|
|
32371
|
+
};
|
|
32372
|
+
cache_control?: {
|
|
32373
|
+
type: "ephemeral";
|
|
32374
|
+
ttl?: "5m" | "1h" | undefined;
|
|
32375
|
+
} | undefined;
|
|
31058
32376
|
} | {
|
|
31059
32377
|
type: "file";
|
|
31060
32378
|
file: {
|
|
@@ -31337,6 +32655,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
31337
32655
|
type: "ephemeral";
|
|
31338
32656
|
ttl?: "5m" | "1h" | undefined;
|
|
31339
32657
|
} | undefined;
|
|
32658
|
+
} | {
|
|
32659
|
+
type: "input_audio";
|
|
32660
|
+
input_audio: {
|
|
32661
|
+
data: string;
|
|
32662
|
+
format: "wav" | "mp3";
|
|
32663
|
+
};
|
|
32664
|
+
cache_control?: {
|
|
32665
|
+
type: "ephemeral";
|
|
32666
|
+
ttl?: "5m" | "1h" | undefined;
|
|
32667
|
+
} | undefined;
|
|
31340
32668
|
} | {
|
|
31341
32669
|
type: "file";
|
|
31342
32670
|
file: {
|
|
@@ -31618,6 +32946,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
31618
32946
|
type: "ephemeral";
|
|
31619
32947
|
ttl?: "5m" | "1h" | undefined;
|
|
31620
32948
|
} | undefined;
|
|
32949
|
+
} | {
|
|
32950
|
+
type: "input_audio";
|
|
32951
|
+
input_audio: {
|
|
32952
|
+
data: string;
|
|
32953
|
+
format: "wav" | "mp3";
|
|
32954
|
+
};
|
|
32955
|
+
cache_control?: {
|
|
32956
|
+
type: "ephemeral";
|
|
32957
|
+
ttl?: "5m" | "1h" | undefined;
|
|
32958
|
+
} | undefined;
|
|
31621
32959
|
} | {
|
|
31622
32960
|
type: "file";
|
|
31623
32961
|
file: {
|
|
@@ -31988,6 +33326,48 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
31988
33326
|
type: "ephemeral";
|
|
31989
33327
|
ttl?: "5m" | "1h" | undefined;
|
|
31990
33328
|
} | undefined;
|
|
33329
|
+
}>, z.ZodObject<{
|
|
33330
|
+
input_audio: z.ZodObject<{
|
|
33331
|
+
data: z.ZodString;
|
|
33332
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
33333
|
+
}, "strip", z.ZodTypeAny, {
|
|
33334
|
+
data: string;
|
|
33335
|
+
format: "wav" | "mp3";
|
|
33336
|
+
}, {
|
|
33337
|
+
data: string;
|
|
33338
|
+
format: "wav" | "mp3";
|
|
33339
|
+
}>;
|
|
33340
|
+
type: z.ZodLiteral<"input_audio">;
|
|
33341
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
33342
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
33343
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
33344
|
+
}, "strip", z.ZodTypeAny, {
|
|
33345
|
+
type: "ephemeral";
|
|
33346
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33347
|
+
}, {
|
|
33348
|
+
type: "ephemeral";
|
|
33349
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33350
|
+
}>>;
|
|
33351
|
+
}, "strip", z.ZodTypeAny, {
|
|
33352
|
+
type: "input_audio";
|
|
33353
|
+
input_audio: {
|
|
33354
|
+
data: string;
|
|
33355
|
+
format: "wav" | "mp3";
|
|
33356
|
+
};
|
|
33357
|
+
cache_control?: {
|
|
33358
|
+
type: "ephemeral";
|
|
33359
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33360
|
+
} | undefined;
|
|
33361
|
+
}, {
|
|
33362
|
+
type: "input_audio";
|
|
33363
|
+
input_audio: {
|
|
33364
|
+
data: string;
|
|
33365
|
+
format: "wav" | "mp3";
|
|
33366
|
+
};
|
|
33367
|
+
cache_control?: {
|
|
33368
|
+
type: "ephemeral";
|
|
33369
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33370
|
+
} | undefined;
|
|
31991
33371
|
}>, z.ZodObject<{
|
|
31992
33372
|
file: z.ZodObject<{
|
|
31993
33373
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -32057,6 +33437,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32057
33437
|
type: "ephemeral";
|
|
32058
33438
|
ttl?: "5m" | "1h" | undefined;
|
|
32059
33439
|
} | undefined;
|
|
33440
|
+
} | {
|
|
33441
|
+
type: "input_audio";
|
|
33442
|
+
input_audio: {
|
|
33443
|
+
data: string;
|
|
33444
|
+
format: "wav" | "mp3";
|
|
33445
|
+
};
|
|
33446
|
+
cache_control?: {
|
|
33447
|
+
type: "ephemeral";
|
|
33448
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33449
|
+
} | undefined;
|
|
32060
33450
|
} | {
|
|
32061
33451
|
type: "file";
|
|
32062
33452
|
file: {
|
|
@@ -32089,6 +33479,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32089
33479
|
type: "ephemeral";
|
|
32090
33480
|
ttl?: "5m" | "1h" | undefined;
|
|
32091
33481
|
} | undefined;
|
|
33482
|
+
} | {
|
|
33483
|
+
type: "input_audio";
|
|
33484
|
+
input_audio: {
|
|
33485
|
+
data: string;
|
|
33486
|
+
format: "wav" | "mp3";
|
|
33487
|
+
};
|
|
33488
|
+
cache_control?: {
|
|
33489
|
+
type: "ephemeral";
|
|
33490
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33491
|
+
} | undefined;
|
|
32092
33492
|
} | {
|
|
32093
33493
|
type: "file";
|
|
32094
33494
|
file: {
|
|
@@ -32399,6 +33799,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32399
33799
|
type: "ephemeral";
|
|
32400
33800
|
ttl?: "5m" | "1h" | undefined;
|
|
32401
33801
|
} | undefined;
|
|
33802
|
+
} | {
|
|
33803
|
+
type: "input_audio";
|
|
33804
|
+
input_audio: {
|
|
33805
|
+
data: string;
|
|
33806
|
+
format: "wav" | "mp3";
|
|
33807
|
+
};
|
|
33808
|
+
cache_control?: {
|
|
33809
|
+
type: "ephemeral";
|
|
33810
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33811
|
+
} | undefined;
|
|
32402
33812
|
} | {
|
|
32403
33813
|
type: "file";
|
|
32404
33814
|
file: {
|
|
@@ -32503,6 +33913,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32503
33913
|
type: "ephemeral";
|
|
32504
33914
|
ttl?: "5m" | "1h" | undefined;
|
|
32505
33915
|
} | undefined;
|
|
33916
|
+
} | {
|
|
33917
|
+
type: "input_audio";
|
|
33918
|
+
input_audio: {
|
|
33919
|
+
data: string;
|
|
33920
|
+
format: "wav" | "mp3";
|
|
33921
|
+
};
|
|
33922
|
+
cache_control?: {
|
|
33923
|
+
type: "ephemeral";
|
|
33924
|
+
ttl?: "5m" | "1h" | undefined;
|
|
33925
|
+
} | undefined;
|
|
32506
33926
|
} | {
|
|
32507
33927
|
type: "file";
|
|
32508
33928
|
file: {
|
|
@@ -33462,6 +34882,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33462
34882
|
type: "ephemeral";
|
|
33463
34883
|
ttl?: "5m" | "1h" | undefined;
|
|
33464
34884
|
} | undefined;
|
|
34885
|
+
} | {
|
|
34886
|
+
type: "input_audio";
|
|
34887
|
+
input_audio: {
|
|
34888
|
+
data: string;
|
|
34889
|
+
format: "wav" | "mp3";
|
|
34890
|
+
};
|
|
34891
|
+
cache_control?: {
|
|
34892
|
+
type: "ephemeral";
|
|
34893
|
+
ttl?: "5m" | "1h" | undefined;
|
|
34894
|
+
} | undefined;
|
|
33465
34895
|
} | {
|
|
33466
34896
|
type: "file";
|
|
33467
34897
|
file: {
|
|
@@ -33739,6 +35169,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33739
35169
|
type: "ephemeral";
|
|
33740
35170
|
ttl?: "5m" | "1h" | undefined;
|
|
33741
35171
|
} | undefined;
|
|
35172
|
+
} | {
|
|
35173
|
+
type: "input_audio";
|
|
35174
|
+
input_audio: {
|
|
35175
|
+
data: string;
|
|
35176
|
+
format: "wav" | "mp3";
|
|
35177
|
+
};
|
|
35178
|
+
cache_control?: {
|
|
35179
|
+
type: "ephemeral";
|
|
35180
|
+
ttl?: "5m" | "1h" | undefined;
|
|
35181
|
+
} | undefined;
|
|
33742
35182
|
} | {
|
|
33743
35183
|
type: "file";
|
|
33744
35184
|
file: {
|
|
@@ -34021,6 +35461,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
34021
35461
|
type: "ephemeral";
|
|
34022
35462
|
ttl?: "5m" | "1h" | undefined;
|
|
34023
35463
|
} | undefined;
|
|
35464
|
+
} | {
|
|
35465
|
+
type: "input_audio";
|
|
35466
|
+
input_audio: {
|
|
35467
|
+
data: string;
|
|
35468
|
+
format: "wav" | "mp3";
|
|
35469
|
+
};
|
|
35470
|
+
cache_control?: {
|
|
35471
|
+
type: "ephemeral";
|
|
35472
|
+
ttl?: "5m" | "1h" | undefined;
|
|
35473
|
+
} | undefined;
|
|
34024
35474
|
} | {
|
|
34025
35475
|
type: "file";
|
|
34026
35476
|
file: {
|
|
@@ -34302,6 +35752,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
34302
35752
|
type: "ephemeral";
|
|
34303
35753
|
ttl?: "5m" | "1h" | undefined;
|
|
34304
35754
|
} | undefined;
|
|
35755
|
+
} | {
|
|
35756
|
+
type: "input_audio";
|
|
35757
|
+
input_audio: {
|
|
35758
|
+
data: string;
|
|
35759
|
+
format: "wav" | "mp3";
|
|
35760
|
+
};
|
|
35761
|
+
cache_control?: {
|
|
35762
|
+
type: "ephemeral";
|
|
35763
|
+
ttl?: "5m" | "1h" | undefined;
|
|
35764
|
+
} | undefined;
|
|
34305
35765
|
} | {
|
|
34306
35766
|
type: "file";
|
|
34307
35767
|
file: {
|
|
@@ -34614,6 +36074,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
34614
36074
|
type: "ephemeral";
|
|
34615
36075
|
ttl?: "5m" | "1h" | undefined;
|
|
34616
36076
|
} | undefined;
|
|
36077
|
+
} | {
|
|
36078
|
+
type: "input_audio";
|
|
36079
|
+
input_audio: {
|
|
36080
|
+
data: string;
|
|
36081
|
+
format: "wav" | "mp3";
|
|
36082
|
+
};
|
|
36083
|
+
cache_control?: {
|
|
36084
|
+
type: "ephemeral";
|
|
36085
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36086
|
+
} | undefined;
|
|
34617
36087
|
} | {
|
|
34618
36088
|
type: "file";
|
|
34619
36089
|
file: {
|
|
@@ -34908,6 +36378,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
34908
36378
|
type: "ephemeral";
|
|
34909
36379
|
ttl?: "5m" | "1h" | undefined;
|
|
34910
36380
|
} | undefined;
|
|
36381
|
+
} | {
|
|
36382
|
+
type: "input_audio";
|
|
36383
|
+
input_audio: {
|
|
36384
|
+
data: string;
|
|
36385
|
+
format: "wav" | "mp3";
|
|
36386
|
+
};
|
|
36387
|
+
cache_control?: {
|
|
36388
|
+
type: "ephemeral";
|
|
36389
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36390
|
+
} | undefined;
|
|
34911
36391
|
} | {
|
|
34912
36392
|
type: "file";
|
|
34913
36393
|
file: {
|
|
@@ -35170,6 +36650,48 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
35170
36650
|
type: "ephemeral";
|
|
35171
36651
|
ttl?: "5m" | "1h" | undefined;
|
|
35172
36652
|
} | undefined;
|
|
36653
|
+
}>, z.ZodObject<{
|
|
36654
|
+
input_audio: z.ZodObject<{
|
|
36655
|
+
data: z.ZodString;
|
|
36656
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
36657
|
+
}, "strip", z.ZodTypeAny, {
|
|
36658
|
+
data: string;
|
|
36659
|
+
format: "wav" | "mp3";
|
|
36660
|
+
}, {
|
|
36661
|
+
data: string;
|
|
36662
|
+
format: "wav" | "mp3";
|
|
36663
|
+
}>;
|
|
36664
|
+
type: z.ZodLiteral<"input_audio">;
|
|
36665
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
36666
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
36667
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
36668
|
+
}, "strip", z.ZodTypeAny, {
|
|
36669
|
+
type: "ephemeral";
|
|
36670
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36671
|
+
}, {
|
|
36672
|
+
type: "ephemeral";
|
|
36673
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36674
|
+
}>>;
|
|
36675
|
+
}, "strip", z.ZodTypeAny, {
|
|
36676
|
+
type: "input_audio";
|
|
36677
|
+
input_audio: {
|
|
36678
|
+
data: string;
|
|
36679
|
+
format: "wav" | "mp3";
|
|
36680
|
+
};
|
|
36681
|
+
cache_control?: {
|
|
36682
|
+
type: "ephemeral";
|
|
36683
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36684
|
+
} | undefined;
|
|
36685
|
+
}, {
|
|
36686
|
+
type: "input_audio";
|
|
36687
|
+
input_audio: {
|
|
36688
|
+
data: string;
|
|
36689
|
+
format: "wav" | "mp3";
|
|
36690
|
+
};
|
|
36691
|
+
cache_control?: {
|
|
36692
|
+
type: "ephemeral";
|
|
36693
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36694
|
+
} | undefined;
|
|
35173
36695
|
}>, z.ZodObject<{
|
|
35174
36696
|
file: z.ZodObject<{
|
|
35175
36697
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -35239,6 +36761,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
35239
36761
|
type: "ephemeral";
|
|
35240
36762
|
ttl?: "5m" | "1h" | undefined;
|
|
35241
36763
|
} | undefined;
|
|
36764
|
+
} | {
|
|
36765
|
+
type: "input_audio";
|
|
36766
|
+
input_audio: {
|
|
36767
|
+
data: string;
|
|
36768
|
+
format: "wav" | "mp3";
|
|
36769
|
+
};
|
|
36770
|
+
cache_control?: {
|
|
36771
|
+
type: "ephemeral";
|
|
36772
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36773
|
+
} | undefined;
|
|
35242
36774
|
} | {
|
|
35243
36775
|
type: "file";
|
|
35244
36776
|
file: {
|
|
@@ -35271,6 +36803,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
35271
36803
|
type: "ephemeral";
|
|
35272
36804
|
ttl?: "5m" | "1h" | undefined;
|
|
35273
36805
|
} | undefined;
|
|
36806
|
+
} | {
|
|
36807
|
+
type: "input_audio";
|
|
36808
|
+
input_audio: {
|
|
36809
|
+
data: string;
|
|
36810
|
+
format: "wav" | "mp3";
|
|
36811
|
+
};
|
|
36812
|
+
cache_control?: {
|
|
36813
|
+
type: "ephemeral";
|
|
36814
|
+
ttl?: "5m" | "1h" | undefined;
|
|
36815
|
+
} | undefined;
|
|
35274
36816
|
} | {
|
|
35275
36817
|
type: "file";
|
|
35276
36818
|
file: {
|
|
@@ -35581,6 +37123,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
35581
37123
|
type: "ephemeral";
|
|
35582
37124
|
ttl?: "5m" | "1h" | undefined;
|
|
35583
37125
|
} | undefined;
|
|
37126
|
+
} | {
|
|
37127
|
+
type: "input_audio";
|
|
37128
|
+
input_audio: {
|
|
37129
|
+
data: string;
|
|
37130
|
+
format: "wav" | "mp3";
|
|
37131
|
+
};
|
|
37132
|
+
cache_control?: {
|
|
37133
|
+
type: "ephemeral";
|
|
37134
|
+
ttl?: "5m" | "1h" | undefined;
|
|
37135
|
+
} | undefined;
|
|
35584
37136
|
} | {
|
|
35585
37137
|
type: "file";
|
|
35586
37138
|
file: {
|
|
@@ -35685,6 +37237,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
35685
37237
|
type: "ephemeral";
|
|
35686
37238
|
ttl?: "5m" | "1h" | undefined;
|
|
35687
37239
|
} | undefined;
|
|
37240
|
+
} | {
|
|
37241
|
+
type: "input_audio";
|
|
37242
|
+
input_audio: {
|
|
37243
|
+
data: string;
|
|
37244
|
+
format: "wav" | "mp3";
|
|
37245
|
+
};
|
|
37246
|
+
cache_control?: {
|
|
37247
|
+
type: "ephemeral";
|
|
37248
|
+
ttl?: "5m" | "1h" | undefined;
|
|
37249
|
+
} | undefined;
|
|
35688
37250
|
} | {
|
|
35689
37251
|
type: "file";
|
|
35690
37252
|
file: {
|
|
@@ -36644,6 +38206,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
36644
38206
|
type: "ephemeral";
|
|
36645
38207
|
ttl?: "5m" | "1h" | undefined;
|
|
36646
38208
|
} | undefined;
|
|
38209
|
+
} | {
|
|
38210
|
+
type: "input_audio";
|
|
38211
|
+
input_audio: {
|
|
38212
|
+
data: string;
|
|
38213
|
+
format: "wav" | "mp3";
|
|
38214
|
+
};
|
|
38215
|
+
cache_control?: {
|
|
38216
|
+
type: "ephemeral";
|
|
38217
|
+
ttl?: "5m" | "1h" | undefined;
|
|
38218
|
+
} | undefined;
|
|
36647
38219
|
} | {
|
|
36648
38220
|
type: "file";
|
|
36649
38221
|
file: {
|
|
@@ -36921,6 +38493,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
36921
38493
|
type: "ephemeral";
|
|
36922
38494
|
ttl?: "5m" | "1h" | undefined;
|
|
36923
38495
|
} | undefined;
|
|
38496
|
+
} | {
|
|
38497
|
+
type: "input_audio";
|
|
38498
|
+
input_audio: {
|
|
38499
|
+
data: string;
|
|
38500
|
+
format: "wav" | "mp3";
|
|
38501
|
+
};
|
|
38502
|
+
cache_control?: {
|
|
38503
|
+
type: "ephemeral";
|
|
38504
|
+
ttl?: "5m" | "1h" | undefined;
|
|
38505
|
+
} | undefined;
|
|
36924
38506
|
} | {
|
|
36925
38507
|
type: "file";
|
|
36926
38508
|
file: {
|
|
@@ -37203,6 +38785,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
37203
38785
|
type: "ephemeral";
|
|
37204
38786
|
ttl?: "5m" | "1h" | undefined;
|
|
37205
38787
|
} | undefined;
|
|
38788
|
+
} | {
|
|
38789
|
+
type: "input_audio";
|
|
38790
|
+
input_audio: {
|
|
38791
|
+
data: string;
|
|
38792
|
+
format: "wav" | "mp3";
|
|
38793
|
+
};
|
|
38794
|
+
cache_control?: {
|
|
38795
|
+
type: "ephemeral";
|
|
38796
|
+
ttl?: "5m" | "1h" | undefined;
|
|
38797
|
+
} | undefined;
|
|
37206
38798
|
} | {
|
|
37207
38799
|
type: "file";
|
|
37208
38800
|
file: {
|
|
@@ -37484,6 +39076,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
37484
39076
|
type: "ephemeral";
|
|
37485
39077
|
ttl?: "5m" | "1h" | undefined;
|
|
37486
39078
|
} | undefined;
|
|
39079
|
+
} | {
|
|
39080
|
+
type: "input_audio";
|
|
39081
|
+
input_audio: {
|
|
39082
|
+
data: string;
|
|
39083
|
+
format: "wav" | "mp3";
|
|
39084
|
+
};
|
|
39085
|
+
cache_control?: {
|
|
39086
|
+
type: "ephemeral";
|
|
39087
|
+
ttl?: "5m" | "1h" | undefined;
|
|
39088
|
+
} | undefined;
|
|
37487
39089
|
} | {
|
|
37488
39090
|
type: "file";
|
|
37489
39091
|
file: {
|
|
@@ -37808,6 +39410,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
37808
39410
|
type: "ephemeral";
|
|
37809
39411
|
ttl?: "5m" | "1h" | undefined;
|
|
37810
39412
|
} | undefined;
|
|
39413
|
+
} | {
|
|
39414
|
+
type: "input_audio";
|
|
39415
|
+
input_audio: {
|
|
39416
|
+
data: string;
|
|
39417
|
+
format: "wav" | "mp3";
|
|
39418
|
+
};
|
|
39419
|
+
cache_control?: {
|
|
39420
|
+
type: "ephemeral";
|
|
39421
|
+
ttl?: "5m" | "1h" | undefined;
|
|
39422
|
+
} | undefined;
|
|
37811
39423
|
} | {
|
|
37812
39424
|
type: "file";
|
|
37813
39425
|
file: {
|
|
@@ -38115,6 +39727,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
38115
39727
|
type: "ephemeral";
|
|
38116
39728
|
ttl?: "5m" | "1h" | undefined;
|
|
38117
39729
|
} | undefined;
|
|
39730
|
+
} | {
|
|
39731
|
+
type: "input_audio";
|
|
39732
|
+
input_audio: {
|
|
39733
|
+
data: string;
|
|
39734
|
+
format: "wav" | "mp3";
|
|
39735
|
+
};
|
|
39736
|
+
cache_control?: {
|
|
39737
|
+
type: "ephemeral";
|
|
39738
|
+
ttl?: "5m" | "1h" | undefined;
|
|
39739
|
+
} | undefined;
|
|
38118
39740
|
} | {
|
|
38119
39741
|
type: "file";
|
|
38120
39742
|
file: {
|
|
@@ -38415,6 +40037,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
38415
40037
|
type: "ephemeral";
|
|
38416
40038
|
ttl?: "5m" | "1h" | undefined;
|
|
38417
40039
|
} | undefined;
|
|
40040
|
+
} | {
|
|
40041
|
+
type: "input_audio";
|
|
40042
|
+
input_audio: {
|
|
40043
|
+
data: string;
|
|
40044
|
+
format: "wav" | "mp3";
|
|
40045
|
+
};
|
|
40046
|
+
cache_control?: {
|
|
40047
|
+
type: "ephemeral";
|
|
40048
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40049
|
+
} | undefined;
|
|
38418
40050
|
} | {
|
|
38419
40051
|
type: "file";
|
|
38420
40052
|
file: {
|
|
@@ -38722,6 +40354,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
38722
40354
|
type: "ephemeral";
|
|
38723
40355
|
ttl?: "5m" | "1h" | undefined;
|
|
38724
40356
|
} | undefined;
|
|
40357
|
+
} | {
|
|
40358
|
+
type: "input_audio";
|
|
40359
|
+
input_audio: {
|
|
40360
|
+
data: string;
|
|
40361
|
+
format: "wav" | "mp3";
|
|
40362
|
+
};
|
|
40363
|
+
cache_control?: {
|
|
40364
|
+
type: "ephemeral";
|
|
40365
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40366
|
+
} | undefined;
|
|
38725
40367
|
} | {
|
|
38726
40368
|
type: "file";
|
|
38727
40369
|
file: {
|
|
@@ -39063,6 +40705,48 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39063
40705
|
type: "ephemeral";
|
|
39064
40706
|
ttl?: "5m" | "1h" | undefined;
|
|
39065
40707
|
} | undefined;
|
|
40708
|
+
}>, z.ZodObject<{
|
|
40709
|
+
input_audio: z.ZodObject<{
|
|
40710
|
+
data: z.ZodString;
|
|
40711
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
40712
|
+
}, "strip", z.ZodTypeAny, {
|
|
40713
|
+
data: string;
|
|
40714
|
+
format: "wav" | "mp3";
|
|
40715
|
+
}, {
|
|
40716
|
+
data: string;
|
|
40717
|
+
format: "wav" | "mp3";
|
|
40718
|
+
}>;
|
|
40719
|
+
type: z.ZodLiteral<"input_audio">;
|
|
40720
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
40721
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
40722
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
40723
|
+
}, "strip", z.ZodTypeAny, {
|
|
40724
|
+
type: "ephemeral";
|
|
40725
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40726
|
+
}, {
|
|
40727
|
+
type: "ephemeral";
|
|
40728
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40729
|
+
}>>;
|
|
40730
|
+
}, "strip", z.ZodTypeAny, {
|
|
40731
|
+
type: "input_audio";
|
|
40732
|
+
input_audio: {
|
|
40733
|
+
data: string;
|
|
40734
|
+
format: "wav" | "mp3";
|
|
40735
|
+
};
|
|
40736
|
+
cache_control?: {
|
|
40737
|
+
type: "ephemeral";
|
|
40738
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40739
|
+
} | undefined;
|
|
40740
|
+
}, {
|
|
40741
|
+
type: "input_audio";
|
|
40742
|
+
input_audio: {
|
|
40743
|
+
data: string;
|
|
40744
|
+
format: "wav" | "mp3";
|
|
40745
|
+
};
|
|
40746
|
+
cache_control?: {
|
|
40747
|
+
type: "ephemeral";
|
|
40748
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40749
|
+
} | undefined;
|
|
39066
40750
|
}>, z.ZodObject<{
|
|
39067
40751
|
file: z.ZodObject<{
|
|
39068
40752
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -39132,6 +40816,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39132
40816
|
type: "ephemeral";
|
|
39133
40817
|
ttl?: "5m" | "1h" | undefined;
|
|
39134
40818
|
} | undefined;
|
|
40819
|
+
} | {
|
|
40820
|
+
type: "input_audio";
|
|
40821
|
+
input_audio: {
|
|
40822
|
+
data: string;
|
|
40823
|
+
format: "wav" | "mp3";
|
|
40824
|
+
};
|
|
40825
|
+
cache_control?: {
|
|
40826
|
+
type: "ephemeral";
|
|
40827
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40828
|
+
} | undefined;
|
|
39135
40829
|
} | {
|
|
39136
40830
|
type: "file";
|
|
39137
40831
|
file: {
|
|
@@ -39164,6 +40858,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39164
40858
|
type: "ephemeral";
|
|
39165
40859
|
ttl?: "5m" | "1h" | undefined;
|
|
39166
40860
|
} | undefined;
|
|
40861
|
+
} | {
|
|
40862
|
+
type: "input_audio";
|
|
40863
|
+
input_audio: {
|
|
40864
|
+
data: string;
|
|
40865
|
+
format: "wav" | "mp3";
|
|
40866
|
+
};
|
|
40867
|
+
cache_control?: {
|
|
40868
|
+
type: "ephemeral";
|
|
40869
|
+
ttl?: "5m" | "1h" | undefined;
|
|
40870
|
+
} | undefined;
|
|
39167
40871
|
} | {
|
|
39168
40872
|
type: "file";
|
|
39169
40873
|
file: {
|
|
@@ -39474,6 +41178,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39474
41178
|
type: "ephemeral";
|
|
39475
41179
|
ttl?: "5m" | "1h" | undefined;
|
|
39476
41180
|
} | undefined;
|
|
41181
|
+
} | {
|
|
41182
|
+
type: "input_audio";
|
|
41183
|
+
input_audio: {
|
|
41184
|
+
data: string;
|
|
41185
|
+
format: "wav" | "mp3";
|
|
41186
|
+
};
|
|
41187
|
+
cache_control?: {
|
|
41188
|
+
type: "ephemeral";
|
|
41189
|
+
ttl?: "5m" | "1h" | undefined;
|
|
41190
|
+
} | undefined;
|
|
39477
41191
|
} | {
|
|
39478
41192
|
type: "file";
|
|
39479
41193
|
file: {
|
|
@@ -39578,6 +41292,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39578
41292
|
type: "ephemeral";
|
|
39579
41293
|
ttl?: "5m" | "1h" | undefined;
|
|
39580
41294
|
} | undefined;
|
|
41295
|
+
} | {
|
|
41296
|
+
type: "input_audio";
|
|
41297
|
+
input_audio: {
|
|
41298
|
+
data: string;
|
|
41299
|
+
format: "wav" | "mp3";
|
|
41300
|
+
};
|
|
41301
|
+
cache_control?: {
|
|
41302
|
+
type: "ephemeral";
|
|
41303
|
+
ttl?: "5m" | "1h" | undefined;
|
|
41304
|
+
} | undefined;
|
|
39581
41305
|
} | {
|
|
39582
41306
|
type: "file";
|
|
39583
41307
|
file: {
|
|
@@ -40537,6 +42261,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
40537
42261
|
type: "ephemeral";
|
|
40538
42262
|
ttl?: "5m" | "1h" | undefined;
|
|
40539
42263
|
} | undefined;
|
|
42264
|
+
} | {
|
|
42265
|
+
type: "input_audio";
|
|
42266
|
+
input_audio: {
|
|
42267
|
+
data: string;
|
|
42268
|
+
format: "wav" | "mp3";
|
|
42269
|
+
};
|
|
42270
|
+
cache_control?: {
|
|
42271
|
+
type: "ephemeral";
|
|
42272
|
+
ttl?: "5m" | "1h" | undefined;
|
|
42273
|
+
} | undefined;
|
|
40540
42274
|
} | {
|
|
40541
42275
|
type: "file";
|
|
40542
42276
|
file: {
|
|
@@ -40814,6 +42548,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
40814
42548
|
type: "ephemeral";
|
|
40815
42549
|
ttl?: "5m" | "1h" | undefined;
|
|
40816
42550
|
} | undefined;
|
|
42551
|
+
} | {
|
|
42552
|
+
type: "input_audio";
|
|
42553
|
+
input_audio: {
|
|
42554
|
+
data: string;
|
|
42555
|
+
format: "wav" | "mp3";
|
|
42556
|
+
};
|
|
42557
|
+
cache_control?: {
|
|
42558
|
+
type: "ephemeral";
|
|
42559
|
+
ttl?: "5m" | "1h" | undefined;
|
|
42560
|
+
} | undefined;
|
|
40817
42561
|
} | {
|
|
40818
42562
|
type: "file";
|
|
40819
42563
|
file: {
|
|
@@ -41096,6 +42840,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
41096
42840
|
type: "ephemeral";
|
|
41097
42841
|
ttl?: "5m" | "1h" | undefined;
|
|
41098
42842
|
} | undefined;
|
|
42843
|
+
} | {
|
|
42844
|
+
type: "input_audio";
|
|
42845
|
+
input_audio: {
|
|
42846
|
+
data: string;
|
|
42847
|
+
format: "wav" | "mp3";
|
|
42848
|
+
};
|
|
42849
|
+
cache_control?: {
|
|
42850
|
+
type: "ephemeral";
|
|
42851
|
+
ttl?: "5m" | "1h" | undefined;
|
|
42852
|
+
} | undefined;
|
|
41099
42853
|
} | {
|
|
41100
42854
|
type: "file";
|
|
41101
42855
|
file: {
|
|
@@ -41377,6 +43131,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
41377
43131
|
type: "ephemeral";
|
|
41378
43132
|
ttl?: "5m" | "1h" | undefined;
|
|
41379
43133
|
} | undefined;
|
|
43134
|
+
} | {
|
|
43135
|
+
type: "input_audio";
|
|
43136
|
+
input_audio: {
|
|
43137
|
+
data: string;
|
|
43138
|
+
format: "wav" | "mp3";
|
|
43139
|
+
};
|
|
43140
|
+
cache_control?: {
|
|
43141
|
+
type: "ephemeral";
|
|
43142
|
+
ttl?: "5m" | "1h" | undefined;
|
|
43143
|
+
} | undefined;
|
|
41380
43144
|
} | {
|
|
41381
43145
|
type: "file";
|
|
41382
43146
|
file: {
|
|
@@ -41689,6 +43453,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
41689
43453
|
type: "ephemeral";
|
|
41690
43454
|
ttl?: "5m" | "1h" | undefined;
|
|
41691
43455
|
} | undefined;
|
|
43456
|
+
} | {
|
|
43457
|
+
type: "input_audio";
|
|
43458
|
+
input_audio: {
|
|
43459
|
+
data: string;
|
|
43460
|
+
format: "wav" | "mp3";
|
|
43461
|
+
};
|
|
43462
|
+
cache_control?: {
|
|
43463
|
+
type: "ephemeral";
|
|
43464
|
+
ttl?: "5m" | "1h" | undefined;
|
|
43465
|
+
} | undefined;
|
|
41692
43466
|
} | {
|
|
41693
43467
|
type: "file";
|
|
41694
43468
|
file: {
|
|
@@ -41983,6 +43757,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
41983
43757
|
type: "ephemeral";
|
|
41984
43758
|
ttl?: "5m" | "1h" | undefined;
|
|
41985
43759
|
} | undefined;
|
|
43760
|
+
} | {
|
|
43761
|
+
type: "input_audio";
|
|
43762
|
+
input_audio: {
|
|
43763
|
+
data: string;
|
|
43764
|
+
format: "wav" | "mp3";
|
|
43765
|
+
};
|
|
43766
|
+
cache_control?: {
|
|
43767
|
+
type: "ephemeral";
|
|
43768
|
+
ttl?: "5m" | "1h" | undefined;
|
|
43769
|
+
} | undefined;
|
|
41986
43770
|
} | {
|
|
41987
43771
|
type: "file";
|
|
41988
43772
|
file: {
|
|
@@ -42245,6 +44029,48 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
42245
44029
|
type: "ephemeral";
|
|
42246
44030
|
ttl?: "5m" | "1h" | undefined;
|
|
42247
44031
|
} | undefined;
|
|
44032
|
+
}>, z.ZodObject<{
|
|
44033
|
+
input_audio: z.ZodObject<{
|
|
44034
|
+
data: z.ZodString;
|
|
44035
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
44036
|
+
}, "strip", z.ZodTypeAny, {
|
|
44037
|
+
data: string;
|
|
44038
|
+
format: "wav" | "mp3";
|
|
44039
|
+
}, {
|
|
44040
|
+
data: string;
|
|
44041
|
+
format: "wav" | "mp3";
|
|
44042
|
+
}>;
|
|
44043
|
+
type: z.ZodLiteral<"input_audio">;
|
|
44044
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
44045
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
44046
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
44047
|
+
}, "strip", z.ZodTypeAny, {
|
|
44048
|
+
type: "ephemeral";
|
|
44049
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44050
|
+
}, {
|
|
44051
|
+
type: "ephemeral";
|
|
44052
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44053
|
+
}>>;
|
|
44054
|
+
}, "strip", z.ZodTypeAny, {
|
|
44055
|
+
type: "input_audio";
|
|
44056
|
+
input_audio: {
|
|
44057
|
+
data: string;
|
|
44058
|
+
format: "wav" | "mp3";
|
|
44059
|
+
};
|
|
44060
|
+
cache_control?: {
|
|
44061
|
+
type: "ephemeral";
|
|
44062
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44063
|
+
} | undefined;
|
|
44064
|
+
}, {
|
|
44065
|
+
type: "input_audio";
|
|
44066
|
+
input_audio: {
|
|
44067
|
+
data: string;
|
|
44068
|
+
format: "wav" | "mp3";
|
|
44069
|
+
};
|
|
44070
|
+
cache_control?: {
|
|
44071
|
+
type: "ephemeral";
|
|
44072
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44073
|
+
} | undefined;
|
|
42248
44074
|
}>, z.ZodObject<{
|
|
42249
44075
|
file: z.ZodObject<{
|
|
42250
44076
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -42314,6 +44140,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
42314
44140
|
type: "ephemeral";
|
|
42315
44141
|
ttl?: "5m" | "1h" | undefined;
|
|
42316
44142
|
} | undefined;
|
|
44143
|
+
} | {
|
|
44144
|
+
type: "input_audio";
|
|
44145
|
+
input_audio: {
|
|
44146
|
+
data: string;
|
|
44147
|
+
format: "wav" | "mp3";
|
|
44148
|
+
};
|
|
44149
|
+
cache_control?: {
|
|
44150
|
+
type: "ephemeral";
|
|
44151
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44152
|
+
} | undefined;
|
|
42317
44153
|
} | {
|
|
42318
44154
|
type: "file";
|
|
42319
44155
|
file: {
|
|
@@ -42346,6 +44182,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
42346
44182
|
type: "ephemeral";
|
|
42347
44183
|
ttl?: "5m" | "1h" | undefined;
|
|
42348
44184
|
} | undefined;
|
|
44185
|
+
} | {
|
|
44186
|
+
type: "input_audio";
|
|
44187
|
+
input_audio: {
|
|
44188
|
+
data: string;
|
|
44189
|
+
format: "wav" | "mp3";
|
|
44190
|
+
};
|
|
44191
|
+
cache_control?: {
|
|
44192
|
+
type: "ephemeral";
|
|
44193
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44194
|
+
} | undefined;
|
|
42349
44195
|
} | {
|
|
42350
44196
|
type: "file";
|
|
42351
44197
|
file: {
|
|
@@ -42656,6 +44502,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
42656
44502
|
type: "ephemeral";
|
|
42657
44503
|
ttl?: "5m" | "1h" | undefined;
|
|
42658
44504
|
} | undefined;
|
|
44505
|
+
} | {
|
|
44506
|
+
type: "input_audio";
|
|
44507
|
+
input_audio: {
|
|
44508
|
+
data: string;
|
|
44509
|
+
format: "wav" | "mp3";
|
|
44510
|
+
};
|
|
44511
|
+
cache_control?: {
|
|
44512
|
+
type: "ephemeral";
|
|
44513
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44514
|
+
} | undefined;
|
|
42659
44515
|
} | {
|
|
42660
44516
|
type: "file";
|
|
42661
44517
|
file: {
|
|
@@ -42760,6 +44616,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
42760
44616
|
type: "ephemeral";
|
|
42761
44617
|
ttl?: "5m" | "1h" | undefined;
|
|
42762
44618
|
} | undefined;
|
|
44619
|
+
} | {
|
|
44620
|
+
type: "input_audio";
|
|
44621
|
+
input_audio: {
|
|
44622
|
+
data: string;
|
|
44623
|
+
format: "wav" | "mp3";
|
|
44624
|
+
};
|
|
44625
|
+
cache_control?: {
|
|
44626
|
+
type: "ephemeral";
|
|
44627
|
+
ttl?: "5m" | "1h" | undefined;
|
|
44628
|
+
} | undefined;
|
|
42763
44629
|
} | {
|
|
42764
44630
|
type: "file";
|
|
42765
44631
|
file: {
|
|
@@ -43719,6 +45585,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
43719
45585
|
type: "ephemeral";
|
|
43720
45586
|
ttl?: "5m" | "1h" | undefined;
|
|
43721
45587
|
} | undefined;
|
|
45588
|
+
} | {
|
|
45589
|
+
type: "input_audio";
|
|
45590
|
+
input_audio: {
|
|
45591
|
+
data: string;
|
|
45592
|
+
format: "wav" | "mp3";
|
|
45593
|
+
};
|
|
45594
|
+
cache_control?: {
|
|
45595
|
+
type: "ephemeral";
|
|
45596
|
+
ttl?: "5m" | "1h" | undefined;
|
|
45597
|
+
} | undefined;
|
|
43722
45598
|
} | {
|
|
43723
45599
|
type: "file";
|
|
43724
45600
|
file: {
|
|
@@ -43996,6 +45872,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
43996
45872
|
type: "ephemeral";
|
|
43997
45873
|
ttl?: "5m" | "1h" | undefined;
|
|
43998
45874
|
} | undefined;
|
|
45875
|
+
} | {
|
|
45876
|
+
type: "input_audio";
|
|
45877
|
+
input_audio: {
|
|
45878
|
+
data: string;
|
|
45879
|
+
format: "wav" | "mp3";
|
|
45880
|
+
};
|
|
45881
|
+
cache_control?: {
|
|
45882
|
+
type: "ephemeral";
|
|
45883
|
+
ttl?: "5m" | "1h" | undefined;
|
|
45884
|
+
} | undefined;
|
|
43999
45885
|
} | {
|
|
44000
45886
|
type: "file";
|
|
44001
45887
|
file: {
|
|
@@ -44278,6 +46164,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
44278
46164
|
type: "ephemeral";
|
|
44279
46165
|
ttl?: "5m" | "1h" | undefined;
|
|
44280
46166
|
} | undefined;
|
|
46167
|
+
} | {
|
|
46168
|
+
type: "input_audio";
|
|
46169
|
+
input_audio: {
|
|
46170
|
+
data: string;
|
|
46171
|
+
format: "wav" | "mp3";
|
|
46172
|
+
};
|
|
46173
|
+
cache_control?: {
|
|
46174
|
+
type: "ephemeral";
|
|
46175
|
+
ttl?: "5m" | "1h" | undefined;
|
|
46176
|
+
} | undefined;
|
|
44281
46177
|
} | {
|
|
44282
46178
|
type: "file";
|
|
44283
46179
|
file: {
|
|
@@ -44559,6 +46455,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
44559
46455
|
type: "ephemeral";
|
|
44560
46456
|
ttl?: "5m" | "1h" | undefined;
|
|
44561
46457
|
} | undefined;
|
|
46458
|
+
} | {
|
|
46459
|
+
type: "input_audio";
|
|
46460
|
+
input_audio: {
|
|
46461
|
+
data: string;
|
|
46462
|
+
format: "wav" | "mp3";
|
|
46463
|
+
};
|
|
46464
|
+
cache_control?: {
|
|
46465
|
+
type: "ephemeral";
|
|
46466
|
+
ttl?: "5m" | "1h" | undefined;
|
|
46467
|
+
} | undefined;
|
|
44562
46468
|
} | {
|
|
44563
46469
|
type: "file";
|
|
44564
46470
|
file: {
|
|
@@ -44883,6 +46789,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
44883
46789
|
type: "ephemeral";
|
|
44884
46790
|
ttl?: "5m" | "1h" | undefined;
|
|
44885
46791
|
} | undefined;
|
|
46792
|
+
} | {
|
|
46793
|
+
type: "input_audio";
|
|
46794
|
+
input_audio: {
|
|
46795
|
+
data: string;
|
|
46796
|
+
format: "wav" | "mp3";
|
|
46797
|
+
};
|
|
46798
|
+
cache_control?: {
|
|
46799
|
+
type: "ephemeral";
|
|
46800
|
+
ttl?: "5m" | "1h" | undefined;
|
|
46801
|
+
} | undefined;
|
|
44886
46802
|
} | {
|
|
44887
46803
|
type: "file";
|
|
44888
46804
|
file: {
|
|
@@ -45190,6 +47106,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
45190
47106
|
type: "ephemeral";
|
|
45191
47107
|
ttl?: "5m" | "1h" | undefined;
|
|
45192
47108
|
} | undefined;
|
|
47109
|
+
} | {
|
|
47110
|
+
type: "input_audio";
|
|
47111
|
+
input_audio: {
|
|
47112
|
+
data: string;
|
|
47113
|
+
format: "wav" | "mp3";
|
|
47114
|
+
};
|
|
47115
|
+
cache_control?: {
|
|
47116
|
+
type: "ephemeral";
|
|
47117
|
+
ttl?: "5m" | "1h" | undefined;
|
|
47118
|
+
} | undefined;
|
|
45193
47119
|
} | {
|
|
45194
47120
|
type: "file";
|
|
45195
47121
|
file: {
|
|
@@ -45490,6 +47416,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
45490
47416
|
type: "ephemeral";
|
|
45491
47417
|
ttl?: "5m" | "1h" | undefined;
|
|
45492
47418
|
} | undefined;
|
|
47419
|
+
} | {
|
|
47420
|
+
type: "input_audio";
|
|
47421
|
+
input_audio: {
|
|
47422
|
+
data: string;
|
|
47423
|
+
format: "wav" | "mp3";
|
|
47424
|
+
};
|
|
47425
|
+
cache_control?: {
|
|
47426
|
+
type: "ephemeral";
|
|
47427
|
+
ttl?: "5m" | "1h" | undefined;
|
|
47428
|
+
} | undefined;
|
|
45493
47429
|
} | {
|
|
45494
47430
|
type: "file";
|
|
45495
47431
|
file: {
|
|
@@ -45797,6 +47733,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
45797
47733
|
type: "ephemeral";
|
|
45798
47734
|
ttl?: "5m" | "1h" | undefined;
|
|
45799
47735
|
} | undefined;
|
|
47736
|
+
} | {
|
|
47737
|
+
type: "input_audio";
|
|
47738
|
+
input_audio: {
|
|
47739
|
+
data: string;
|
|
47740
|
+
format: "wav" | "mp3";
|
|
47741
|
+
};
|
|
47742
|
+
cache_control?: {
|
|
47743
|
+
type: "ephemeral";
|
|
47744
|
+
ttl?: "5m" | "1h" | undefined;
|
|
47745
|
+
} | undefined;
|
|
45800
47746
|
} | {
|
|
45801
47747
|
type: "file";
|
|
45802
47748
|
file: {
|
|
@@ -46983,20 +48929,20 @@ declare namespace graphFramework {
|
|
|
46983
48929
|
export { graphFramework_AggregatorNode as AggregatorNode, type graphFramework_BuildContext as BuildContext, graphFramework_GateNode as GateNode, graphFramework_GraphBuilder as GraphBuilder, graphFramework_InputNode as InputNode, type graphFramework_LazyGraphNode as LazyGraphNode, graphFramework_LiteralNode as LiteralNode, type graphFramework_Node as Node, type graphFramework_NodeLike as NodeLike, graphFramework_OutputNode as OutputNode, graphFramework_PromptNode as PromptNode, graphFramework_PromptTemplateNode as PromptTemplateNode, type graphFramework_ProxyVariable as ProxyVariable, type graphFramework_TransformFn as TransformFn, graphFramework_createGraph as createGraph, _default as default, graphFramework_escapePath as escapePath, graphFramework_unescapePath as unescapePath };
|
|
46984
48930
|
}
|
|
46985
48931
|
|
|
46986
|
-
declare const
|
|
46987
|
-
declare const
|
|
48932
|
+
declare const WORKFLOW_TASK_KIND = "braintrust.workflow.task";
|
|
48933
|
+
declare const WORKFLOW_SCORER_KIND = "braintrust.workflow.scorer";
|
|
46988
48934
|
type JsonPrimitive = string | number | boolean | null;
|
|
46989
48935
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
46990
48936
|
[key: string]: JsonValue;
|
|
46991
48937
|
};
|
|
46992
48938
|
/**
|
|
46993
|
-
* Minimal persistence used to reconnect provider webhooks with
|
|
46994
|
-
*
|
|
48939
|
+
* Minimal persistence used to reconnect provider webhooks with provider
|
|
48940
|
+
* submissions. Each run, case, and submission is stored under its own key. Workflow
|
|
46995
48941
|
* evaluations do not require any Braintrust backend changes.
|
|
46996
48942
|
*
|
|
46997
48943
|
* @experimental - The API for this interface is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
46998
48944
|
*/
|
|
46999
|
-
interface
|
|
48945
|
+
interface WorkflowEvalStore {
|
|
47000
48946
|
read(key: string): Promise<Uint8Array | undefined>;
|
|
47001
48947
|
write(key: string, value: Uint8Array): Promise<void>;
|
|
47002
48948
|
/** Atomically stores `value` when `key` is absent and returns its stored value. */
|
|
@@ -47004,31 +48950,40 @@ interface DurableEvalStore {
|
|
|
47004
48950
|
value: Uint8Array;
|
|
47005
48951
|
created: boolean;
|
|
47006
48952
|
}>;
|
|
48953
|
+
/**
|
|
48954
|
+
* Atomically adds a unique member to a set. Repeated additions are harmless.
|
|
48955
|
+
* Set keys are separate from byte-record keys. Implementations must retain sets
|
|
48956
|
+
* for the same lifetime as run records.
|
|
48957
|
+
*/
|
|
48958
|
+
addToSet(key: string, member: string): Promise<void>;
|
|
48959
|
+
getSetSize(key: string): Promise<number>;
|
|
47007
48960
|
}
|
|
47008
48961
|
/**
|
|
47009
|
-
* Stores
|
|
48962
|
+
* Stores workflow evaluation state in memory. State is lost when the current
|
|
47010
48963
|
* JavaScript process exits.
|
|
47011
48964
|
*
|
|
47012
48965
|
* @experimental - The API for this class is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
47013
48966
|
*/
|
|
47014
|
-
declare class
|
|
48967
|
+
declare class WorkflowEvalMemoryStore implements WorkflowEvalStore {
|
|
47015
48968
|
private readonly values;
|
|
48969
|
+
private readonly sets;
|
|
47016
48970
|
read(key: string): Promise<Uint8Array | undefined>;
|
|
47017
48971
|
write(key: string, value: Uint8Array): Promise<void>;
|
|
47018
48972
|
getOrSet(key: string, value: Uint8Array): Promise<{
|
|
47019
48973
|
value: Uint8Array;
|
|
47020
48974
|
created: boolean;
|
|
47021
48975
|
}>;
|
|
48976
|
+
addToSet(key: string, member: string): Promise<void>;
|
|
48977
|
+
getSetSize(key: string): Promise<number>;
|
|
47022
48978
|
}
|
|
47023
48979
|
/**
|
|
47024
|
-
* Stores
|
|
47025
|
-
*
|
|
47026
|
-
* required from the client. Clients from `redis` (node-redis), `ioredis`, and
|
|
48980
|
+
* Stores workflow evaluation state in Redis using an existing Redis client.
|
|
48981
|
+
* Records are base64 encoded. Atomic progress sets use Redis Lua scripts. Clients from `redis` (node-redis), `ioredis`, and
|
|
47027
48982
|
* `@upstash/redis` can be passed directly.
|
|
47028
48983
|
*
|
|
47029
48984
|
* @experimental - The API for this class is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
47030
48985
|
*/
|
|
47031
|
-
declare class
|
|
48986
|
+
declare class WorkflowEvalRedisStore implements WorkflowEvalStore {
|
|
47032
48987
|
private readonly client;
|
|
47033
48988
|
private readonly keyPrefix;
|
|
47034
48989
|
private readonly ttlMs;
|
|
@@ -47049,12 +49004,15 @@ declare class DurableEvalRedisStore implements DurableEvalStore {
|
|
|
47049
49004
|
value: Uint8Array;
|
|
47050
49005
|
created: boolean;
|
|
47051
49006
|
}>;
|
|
49007
|
+
addToSet(key: string, member: string): Promise<void>;
|
|
49008
|
+
getSetSize(key: string): Promise<number>;
|
|
49009
|
+
private evalSet;
|
|
47052
49010
|
}
|
|
47053
|
-
interface
|
|
49011
|
+
interface WorkflowSubmissionContext {
|
|
47054
49012
|
runId: string;
|
|
47055
|
-
|
|
49013
|
+
submissionId: string;
|
|
47056
49014
|
}
|
|
47057
|
-
type
|
|
49015
|
+
type WorkflowSubmissionPoll = {
|
|
47058
49016
|
status: "pending";
|
|
47059
49017
|
} | {
|
|
47060
49018
|
status: "complete";
|
|
@@ -47062,17 +49020,17 @@ type DurableBatchPoll = {
|
|
|
47062
49020
|
status: "failed";
|
|
47063
49021
|
error: unknown;
|
|
47064
49022
|
};
|
|
47065
|
-
type
|
|
49023
|
+
type WorkflowSubmissionCompletion<SubmissionData extends JsonValue> = {
|
|
47066
49024
|
mode: "poll";
|
|
47067
|
-
/** Checks whether the
|
|
47068
|
-
poll(submissionData: SubmissionData, context:
|
|
49025
|
+
/** Checks whether the provider submission is ready to collect. */
|
|
49026
|
+
poll(submissionData: SubmissionData, context: WorkflowSubmissionContext): Promise<WorkflowSubmissionPoll>;
|
|
47069
49027
|
} | {
|
|
47070
49028
|
mode: "webhook";
|
|
47071
|
-
/** Returns the provider ID used to match an incoming webhook to this
|
|
47072
|
-
getExternalId(submissionData: SubmissionData, context:
|
|
49029
|
+
/** Returns the provider ID used to match an incoming webhook to this submission. */
|
|
49030
|
+
getExternalId(submissionData: SubmissionData, context: WorkflowSubmissionContext): string;
|
|
47073
49031
|
};
|
|
47074
|
-
interface
|
|
47075
|
-
/** Stable identifier for this case and trial within the
|
|
49032
|
+
interface WorkflowTaskItem<Input, Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters> {
|
|
49033
|
+
/** Stable identifier for this case and trial within the workflow run. */
|
|
47076
49034
|
id: string;
|
|
47077
49035
|
/** Input value from the evaluation case. */
|
|
47078
49036
|
input: Input;
|
|
@@ -47082,14 +49040,12 @@ interface DurableBatchTaskItem<Input, Expected, Metadata extends BaseMetadata, P
|
|
|
47082
49040
|
metadata: Metadata;
|
|
47083
49041
|
/** Tags associated with the evaluation case. */
|
|
47084
49042
|
tags: string[] | undefined;
|
|
47085
|
-
/** Parameters supplied when the
|
|
49043
|
+
/** Parameters supplied when the workflow evaluation started. */
|
|
47086
49044
|
parameters: InferParameters<Parameters>;
|
|
47087
49045
|
/** Zero-based trial index for this case. */
|
|
47088
49046
|
trialIndex: number;
|
|
47089
49047
|
}
|
|
47090
|
-
type
|
|
47091
|
-
/** ID of the submitted item this result belongs to. */
|
|
47092
|
-
id: string;
|
|
49048
|
+
type WorkflowTaskResult<Output, Metadata extends BaseMetadata> = {
|
|
47093
49049
|
/** Task output for the item. */
|
|
47094
49050
|
output: Output;
|
|
47095
49051
|
/** Metadata to merge into the evaluation case. */
|
|
@@ -47097,82 +49053,80 @@ type DurableBatchTaskResult<Output, Metadata extends BaseMetadata> = {
|
|
|
47097
49053
|
/** Tags to replace those from the evaluation case. */
|
|
47098
49054
|
tags?: string[];
|
|
47099
49055
|
};
|
|
47100
|
-
type
|
|
47101
|
-
/** Stable identifier for this case and trial within the
|
|
49056
|
+
type WorkflowScorerItem<Input, Output, Expected, Metadata extends BaseMetadata> = EvalScorerArgs<Input, Output, Expected, Metadata> & {
|
|
49057
|
+
/** Stable identifier for this case and trial within the workflow run. */
|
|
47102
49058
|
id: string;
|
|
47103
49059
|
/** Zero-based trial index for this case. */
|
|
47104
49060
|
trialIndex: number;
|
|
47105
49061
|
};
|
|
47106
|
-
type
|
|
47107
|
-
/** ID of the submitted item this result belongs to. */
|
|
47108
|
-
id: string;
|
|
49062
|
+
type WorkflowScorerResult = {
|
|
47109
49063
|
/** Score or named scores produced for the item. */
|
|
47110
49064
|
score: OneOrMoreScores;
|
|
47111
49065
|
};
|
|
47112
|
-
interface
|
|
47113
|
-
/**
|
|
47114
|
-
|
|
47115
|
-
/**
|
|
47116
|
-
|
|
47117
|
-
/**
|
|
47118
|
-
|
|
47119
|
-
|
|
47120
|
-
|
|
47121
|
-
|
|
47122
|
-
|
|
47123
|
-
|
|
47124
|
-
|
|
47125
|
-
|
|
47126
|
-
interface DurableBatchScorer<Input, Output, Expected, Metadata extends BaseMetadata, SubmissionData extends JsonValue> {
|
|
47127
|
-
readonly kind: typeof BATCH_SCORER_KIND;
|
|
49066
|
+
interface WorkflowSubmissionProcessor<Item, Result, SubmissionData extends JsonValue> {
|
|
49067
|
+
/** Submits one case/trial and returns JSON-serializable provider data. */
|
|
49068
|
+
submit(item: Item, context: WorkflowSubmissionContext): Promise<SubmissionData>;
|
|
49069
|
+
/** Configures how the SDK learns that the submission completed. */
|
|
49070
|
+
completion: WorkflowSubmissionCompletion<SubmissionData>;
|
|
49071
|
+
/** Collects the result for a completed submission. May be called again on replay. */
|
|
49072
|
+
collect(submissionData: SubmissionData, context: WorkflowSubmissionContext): Promise<Result>;
|
|
49073
|
+
}
|
|
49074
|
+
interface WorkflowTaskDefinition<Input, Output, Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters, SubmissionData extends JsonValue> {
|
|
49075
|
+
readonly kind: typeof WORKFLOW_TASK_KIND;
|
|
49076
|
+
readonly processor: WorkflowSubmissionProcessor<WorkflowTaskItem<Input, Expected, Metadata, Parameters>, WorkflowTaskResult<Output, Metadata>, SubmissionData>;
|
|
49077
|
+
}
|
|
49078
|
+
interface WorkflowScorerDefinition<Input, Output, Expected, Metadata extends BaseMetadata, SubmissionData extends JsonValue> {
|
|
49079
|
+
readonly kind: typeof WORKFLOW_SCORER_KIND;
|
|
47128
49080
|
name: string;
|
|
47129
|
-
readonly processor:
|
|
49081
|
+
readonly processor: WorkflowSubmissionProcessor<WorkflowScorerItem<Input, Output, Expected, Metadata>, WorkflowScorerResult, SubmissionData>;
|
|
47130
49082
|
}
|
|
47131
49083
|
/**
|
|
47132
|
-
* Defines a task that
|
|
49084
|
+
* Defines a task that submits one asynchronous provider operation per case/trial.
|
|
47133
49085
|
*
|
|
47134
49086
|
* @experimental - The API for this class is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
47135
49087
|
*/
|
|
47136
|
-
declare class
|
|
47137
|
-
readonly processor:
|
|
47138
|
-
readonly kind: typeof
|
|
47139
|
-
constructor(processor:
|
|
49088
|
+
declare class WorkflowTask<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters, SubmissionData extends JsonValue = JsonValue> implements WorkflowTaskDefinition<Input, Output, Expected, Metadata, Parameters, SubmissionData> {
|
|
49089
|
+
readonly processor: WorkflowSubmissionProcessor<WorkflowTaskItem<Input, Expected, Metadata, Parameters>, WorkflowTaskResult<Output, Metadata>, SubmissionData>;
|
|
49090
|
+
readonly kind: typeof WORKFLOW_TASK_KIND;
|
|
49091
|
+
constructor(processor: WorkflowSubmissionProcessor<WorkflowTaskItem<Input, Expected, Metadata, Parameters>, WorkflowTaskResult<Output, Metadata>, SubmissionData>);
|
|
47140
49092
|
}
|
|
47141
49093
|
/**
|
|
47142
|
-
* Defines a scorer that
|
|
49094
|
+
* Defines a scorer that submits one asynchronous provider operation per case/trial.
|
|
47143
49095
|
*
|
|
47144
49096
|
* @experimental - The API for this class is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
47145
49097
|
*/
|
|
47146
|
-
declare class
|
|
47147
|
-
readonly processor:
|
|
49098
|
+
declare class WorkflowScorer<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, SubmissionData extends JsonValue = JsonValue> implements WorkflowScorerDefinition<Input, Output, Expected, Metadata, SubmissionData> {
|
|
49099
|
+
readonly processor: WorkflowSubmissionProcessor<WorkflowScorerItem<Input, Output, Expected, Metadata>, WorkflowScorerResult, SubmissionData> & {
|
|
47148
49100
|
name: string;
|
|
47149
49101
|
};
|
|
47150
|
-
readonly kind: typeof
|
|
49102
|
+
readonly kind: typeof WORKFLOW_SCORER_KIND;
|
|
47151
49103
|
readonly name: string;
|
|
47152
|
-
constructor(processor:
|
|
49104
|
+
constructor(processor: WorkflowSubmissionProcessor<WorkflowScorerItem<Input, Output, Expected, Metadata>, WorkflowScorerResult, SubmissionData> & {
|
|
47153
49105
|
name: string;
|
|
47154
49106
|
});
|
|
47155
49107
|
}
|
|
47156
|
-
type
|
|
47157
|
-
store:
|
|
49108
|
+
type WorkflowEvaluator<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters> = Omit<Evaluator<Input, Output, Expected, Metadata, Parameters>, "task" | "scores" | "timeout" | "signal" | "maxConcurrency" | "update"> & {
|
|
49109
|
+
store: WorkflowEvalStore;
|
|
49110
|
+
/** Maximum concurrent provider callbacks per invocation. Defaults to 10. */
|
|
49111
|
+
maxConcurrency?: number;
|
|
47158
49112
|
/**
|
|
47159
49113
|
* Returns a stable case ID when a data item has neither `id` nor `upsert_id`.
|
|
47160
49114
|
* The ID is shared by all trials of the same case.
|
|
47161
49115
|
*/
|
|
47162
49116
|
caseId?: (datum: EvalCase<Input, Expected, Metadata>) => string | Promise<string>;
|
|
47163
|
-
task: EvalTask<Input, Output, Expected, Metadata, Parameters> |
|
|
47164
|
-
scores?: Array<EvalScorer<Input, Output, Expected, Metadata> |
|
|
49117
|
+
task: EvalTask<Input, Output, Expected, Metadata, Parameters> | WorkflowTaskDefinition<Input, Output, Expected, Metadata, Parameters, JsonValue>;
|
|
49118
|
+
scores?: Array<EvalScorer<Input, Output, Expected, Metadata> | WorkflowScorerDefinition<Input, Output, Expected, Metadata, JsonValue>>;
|
|
47165
49119
|
};
|
|
47166
|
-
interface
|
|
49120
|
+
interface WorkflowEvalStartOptions<Parameters extends EvalParameters = EvalParameters> {
|
|
47167
49121
|
parameters?: InferParameters<Parameters>;
|
|
47168
49122
|
noSendLogs?: boolean;
|
|
47169
49123
|
}
|
|
47170
|
-
type
|
|
49124
|
+
type WorkflowSubmissionResult = {
|
|
47171
49125
|
runId: string;
|
|
47172
|
-
|
|
49126
|
+
submissionId?: string;
|
|
47173
49127
|
externalId?: string;
|
|
47174
49128
|
};
|
|
47175
|
-
type
|
|
49129
|
+
type WorkflowEvalResult = {
|
|
47176
49130
|
status: "waiting";
|
|
47177
49131
|
runId: string;
|
|
47178
49132
|
pending: {
|
|
@@ -47188,22 +49142,22 @@ type DurableEvalResult = {
|
|
|
47188
49142
|
};
|
|
47189
49143
|
summary: ExperimentSummary;
|
|
47190
49144
|
};
|
|
47191
|
-
interface
|
|
47192
|
-
start(options?:
|
|
49145
|
+
interface WorkflowEvalDefinition<Parameters extends EvalParameters> {
|
|
49146
|
+
start(options?: WorkflowEvalStartOptions<Parameters>): Promise<WorkflowEvalResult>;
|
|
47193
49147
|
status(options: {
|
|
47194
49148
|
runId: string;
|
|
47195
|
-
}): Promise<
|
|
49149
|
+
}): Promise<WorkflowEvalResult>;
|
|
47196
49150
|
poll(options: {
|
|
47197
49151
|
runId: string;
|
|
47198
|
-
}): Promise<
|
|
47199
|
-
|
|
49152
|
+
}): Promise<WorkflowEvalResult>;
|
|
49153
|
+
processSubmissionResult(result: WorkflowSubmissionResult): Promise<WorkflowEvalResult>;
|
|
47200
49154
|
}
|
|
47201
49155
|
/**
|
|
47202
|
-
* Defines a
|
|
49156
|
+
* Defines a workflow evaluation backed by a user-provided store.
|
|
47203
49157
|
*
|
|
47204
49158
|
* @experimental - The API for this function is not yet stabilized and may change or be removed across non-major versions. Functionality is not guaranteed.
|
|
47205
49159
|
*/
|
|
47206
|
-
declare function
|
|
49160
|
+
declare function defineWorkflowEval<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters>(projectName: string, evaluator: WorkflowEvaluator<Input, Output, Expected, Metadata, Parameters>): WorkflowEvalDefinition<Parameters>;
|
|
47207
49161
|
|
|
47208
49162
|
type MaybePromise<T> = T | Promise<T>;
|
|
47209
49163
|
type AssertionMatcher = RegExp | ((value: unknown) => boolean) | readonly AssertionMatcher[] | {
|
|
@@ -47485,6 +49439,7 @@ interface InstrumentationIntegrationsConfig {
|
|
|
47485
49439
|
aisdk?: boolean;
|
|
47486
49440
|
google?: boolean;
|
|
47487
49441
|
googleGenAI?: boolean;
|
|
49442
|
+
googleGenerativeAI?: boolean;
|
|
47488
49443
|
googleADK?: boolean;
|
|
47489
49444
|
huggingface?: boolean;
|
|
47490
49445
|
claudeAgentSDK?: boolean;
|
|
@@ -47512,8 +49467,10 @@ interface InstrumentationIntegrationsConfig {
|
|
|
47512
49467
|
cloudflareAgents?: boolean;
|
|
47513
49468
|
langchain?: boolean;
|
|
47514
49469
|
langgraph?: boolean;
|
|
49470
|
+
langgraphSDK?: boolean;
|
|
47515
49471
|
langsmith?: boolean;
|
|
47516
49472
|
voyageai?: boolean;
|
|
49473
|
+
elevenlabs?: boolean;
|
|
47517
49474
|
}
|
|
47518
49475
|
interface InstrumentationConfig {
|
|
47519
49476
|
/**
|
|
@@ -47636,6 +49593,23 @@ declare const braintrustFlueObserver: BraintrustFlueObserver;
|
|
|
47636
49593
|
*/
|
|
47637
49594
|
declare function configureInstrumentation(config: InstrumentationConfig): void;
|
|
47638
49595
|
|
|
49596
|
+
/**
|
|
49597
|
+
* Trace an ElevenLabs client (SDK 2.67+) with Braintrust.
|
|
49598
|
+
*
|
|
49599
|
+
* Captures speech generation, timestamped/streaming audio, and request/response
|
|
49600
|
+
* transcription. Audio is attached as the application consumes it.
|
|
49601
|
+
* Webhook transcription and Speech Engine sessions are not instrumented.
|
|
49602
|
+
*
|
|
49603
|
+
* @example
|
|
49604
|
+
* ```ts
|
|
49605
|
+
* const client = wrapElevenLabs(new ElevenLabsClient());
|
|
49606
|
+
* const audio = await client.textToSpeech.convert(voiceId, { text, modelId });
|
|
49607
|
+
* for await (const chunk of audio) { playChunk(chunk); }
|
|
49608
|
+
* ```
|
|
49609
|
+
*
|
|
49610
|
+
*/
|
|
49611
|
+
declare function wrapElevenLabs<T>(client: T): T;
|
|
49612
|
+
|
|
47639
49613
|
type exports$1_AnyDataset = AnyDataset;
|
|
47640
49614
|
type exports$1_Attachment = Attachment;
|
|
47641
49615
|
declare const exports$1_Attachment: typeof Attachment;
|
|
@@ -47650,10 +49624,6 @@ type exports$1_BaseAttachment = BaseAttachment;
|
|
|
47650
49624
|
declare const exports$1_BaseAttachment: typeof BaseAttachment;
|
|
47651
49625
|
declare const exports$1_BaseExperiment: typeof BaseExperiment;
|
|
47652
49626
|
type exports$1_BaseMetadata = BaseMetadata;
|
|
47653
|
-
type exports$1_BatchScorer<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, SubmissionData extends JsonValue = JsonValue> = BatchScorer<Input, Output, Expected, Metadata, SubmissionData>;
|
|
47654
|
-
declare const exports$1_BatchScorer: typeof BatchScorer;
|
|
47655
|
-
type exports$1_BatchTask<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters, SubmissionData extends JsonValue = JsonValue> = BatchTask<Input, Output, Expected, Metadata, Parameters, SubmissionData>;
|
|
47656
|
-
declare const exports$1_BatchTask: typeof BatchTask;
|
|
47657
49627
|
type exports$1_BraintrustLangChainCallbackHandler<IsAsyncFlush extends boolean = true> = BraintrustLangChainCallbackHandler<IsAsyncFlush>;
|
|
47658
49628
|
declare const exports$1_BraintrustLangChainCallbackHandler: typeof BraintrustLangChainCallbackHandler;
|
|
47659
49629
|
declare const exports$1_BraintrustMiddleware: typeof BraintrustMiddleware;
|
|
@@ -47693,11 +49663,6 @@ type exports$1_DatasetRestoreResult = DatasetRestoreResult;
|
|
|
47693
49663
|
type exports$1_DatasetSummary = DatasetSummary;
|
|
47694
49664
|
type exports$1_DefaultMetadataType = DefaultMetadataType;
|
|
47695
49665
|
type exports$1_DefaultPromptArgs = DefaultPromptArgs;
|
|
47696
|
-
type exports$1_DurableEvalMemoryStore = DurableEvalMemoryStore;
|
|
47697
|
-
declare const exports$1_DurableEvalMemoryStore: typeof DurableEvalMemoryStore;
|
|
47698
|
-
type exports$1_DurableEvalRedisStore = DurableEvalRedisStore;
|
|
47699
|
-
declare const exports$1_DurableEvalRedisStore: typeof DurableEvalRedisStore;
|
|
47700
|
-
type exports$1_DurableEvalStore = DurableEvalStore;
|
|
47701
49666
|
declare const exports$1_ERR_PERMALINK: typeof ERR_PERMALINK;
|
|
47702
49667
|
type exports$1_EndSpanArgs = EndSpanArgs;
|
|
47703
49668
|
declare const exports$1_Eval: typeof Eval;
|
|
@@ -47814,8 +49779,10 @@ type exports$1_SetCurrentArg = SetCurrentArg;
|
|
|
47814
49779
|
type exports$1_Span = Span;
|
|
47815
49780
|
type exports$1_SpanContext = SpanContext;
|
|
47816
49781
|
type exports$1_SpanData = SpanData;
|
|
49782
|
+
type exports$1_SpanDurationFilter = SpanDurationFilter;
|
|
47817
49783
|
type exports$1_SpanFetcher = SpanFetcher;
|
|
47818
49784
|
declare const exports$1_SpanFetcher: typeof SpanFetcher;
|
|
49785
|
+
type exports$1_SpanFilters = SpanFilters;
|
|
47819
49786
|
type exports$1_SpanImpl = SpanImpl;
|
|
47820
49787
|
declare const exports$1_SpanImpl: typeof SpanImpl;
|
|
47821
49788
|
type exports$1_StartSpanArgs = StartSpanArgs;
|
|
@@ -47834,6 +49801,15 @@ type exports$1_TraceContextHeaders = TraceContextHeaders;
|
|
|
47834
49801
|
type exports$1_UUIDGenerator = UUIDGenerator;
|
|
47835
49802
|
declare const exports$1_UUIDGenerator: typeof UUIDGenerator;
|
|
47836
49803
|
type exports$1_WithTransactionId<R> = WithTransactionId<R>;
|
|
49804
|
+
type exports$1_WorkflowEvalMemoryStore = WorkflowEvalMemoryStore;
|
|
49805
|
+
declare const exports$1_WorkflowEvalMemoryStore: typeof WorkflowEvalMemoryStore;
|
|
49806
|
+
type exports$1_WorkflowEvalRedisStore = WorkflowEvalRedisStore;
|
|
49807
|
+
declare const exports$1_WorkflowEvalRedisStore: typeof WorkflowEvalRedisStore;
|
|
49808
|
+
type exports$1_WorkflowEvalStore = WorkflowEvalStore;
|
|
49809
|
+
type exports$1_WorkflowScorer<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, SubmissionData extends JsonValue = JsonValue> = WorkflowScorer<Input, Output, Expected, Metadata, SubmissionData>;
|
|
49810
|
+
declare const exports$1_WorkflowScorer: typeof WorkflowScorer;
|
|
49811
|
+
type exports$1_WorkflowTask<Input, Output, Expected = void, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters, SubmissionData extends JsonValue = JsonValue> = WorkflowTask<Input, Output, Expected, Metadata, Parameters, SubmissionData>;
|
|
49812
|
+
declare const exports$1_WorkflowTask: typeof WorkflowTask;
|
|
47837
49813
|
declare const exports$1_X_CACHED_HEADER: typeof X_CACHED_HEADER;
|
|
47838
49814
|
declare const exports$1__exportsForTestingOnly: typeof _exportsForTestingOnly;
|
|
47839
49815
|
declare const exports$1__internalGetGlobalState: typeof _internalGetGlobalState;
|
|
@@ -47857,12 +49833,13 @@ declare const exports$1_currentLogger: typeof currentLogger;
|
|
|
47857
49833
|
declare const exports$1_currentSpan: typeof currentSpan;
|
|
47858
49834
|
declare const exports$1_deepCopyEvent: typeof deepCopyEvent;
|
|
47859
49835
|
declare const exports$1_defaultErrorScoreHandler: typeof defaultErrorScoreHandler;
|
|
47860
|
-
declare const exports$
|
|
49836
|
+
declare const exports$1_defineWorkflowEval: typeof defineWorkflowEval;
|
|
47861
49837
|
declare const exports$1_deserializePlainStringAsJSON: typeof deserializePlainStringAsJSON;
|
|
47862
49838
|
declare const exports$1_devNullWritableStream: typeof devNullWritableStream;
|
|
47863
49839
|
declare const exports$1_evaluatorDefinitionSchema: typeof evaluatorDefinitionSchema;
|
|
47864
49840
|
declare const exports$1_evaluatorDefinitionsSchema: typeof evaluatorDefinitionsSchema;
|
|
47865
49841
|
declare const exports$1_extractTraceContextFromHeaders: typeof extractTraceContextFromHeaders;
|
|
49842
|
+
declare const exports$1_failOpenAIAgentsTrace: typeof failOpenAIAgentsTrace;
|
|
47866
49843
|
declare const exports$1_flush: typeof flush;
|
|
47867
49844
|
declare const exports$1_getContextManager: typeof getContextManager;
|
|
47868
49845
|
declare const exports$1_getIdGenerator: typeof getIdGenerator;
|
|
@@ -47908,11 +49885,13 @@ declare const exports$1_runEvaluator: typeof runEvaluator;
|
|
|
47908
49885
|
declare const exports$1_setFetch: typeof setFetch;
|
|
47909
49886
|
declare const exports$1_setMaskingFunction: typeof setMaskingFunction;
|
|
47910
49887
|
declare const exports$1_spanComponentsToObjectId: typeof spanComponentsToObjectId;
|
|
49888
|
+
declare const exports$1_startOpenAIAgentsTrace: typeof startOpenAIAgentsTrace;
|
|
47911
49889
|
declare const exports$1_startSpan: typeof startSpan;
|
|
47912
49890
|
declare const exports$1_summarize: typeof summarize;
|
|
47913
49891
|
declare const exports$1_templateRegistry: typeof templateRegistry;
|
|
47914
49892
|
declare const exports$1_traceable: typeof traceable;
|
|
47915
49893
|
declare const exports$1_traced: typeof traced;
|
|
49894
|
+
declare const exports$1_updateOpenAIAgentsTrace: typeof updateOpenAIAgentsTrace;
|
|
47916
49895
|
declare const exports$1_updateSpan: typeof updateSpan;
|
|
47917
49896
|
declare const exports$1_uploadLogs3OverflowPayload: typeof uploadLogs3OverflowPayload;
|
|
47918
49897
|
declare const exports$1_utf8ByteLength: typeof utf8ByteLength;
|
|
@@ -47933,12 +49912,15 @@ declare const exports$1_wrapCloudflareThink: typeof wrapCloudflareThink;
|
|
|
47933
49912
|
declare const exports$1_wrapCohere: typeof wrapCohere;
|
|
47934
49913
|
declare const exports$1_wrapCopilotClient: typeof wrapCopilotClient;
|
|
47935
49914
|
declare const exports$1_wrapCursorSDK: typeof wrapCursorSDK;
|
|
49915
|
+
declare const exports$1_wrapElevenLabs: typeof wrapElevenLabs;
|
|
47936
49916
|
declare const exports$1_wrapGenkit: typeof wrapGenkit;
|
|
47937
49917
|
declare const exports$1_wrapGoogleADK: typeof wrapGoogleADK;
|
|
47938
49918
|
declare const exports$1_wrapGoogleGenAI: typeof wrapGoogleGenAI;
|
|
49919
|
+
declare const exports$1_wrapGoogleGenerativeAI: typeof wrapGoogleGenerativeAI;
|
|
47939
49920
|
declare const exports$1_wrapGroq: typeof wrapGroq;
|
|
47940
49921
|
declare const exports$1_wrapHuggingFace: typeof wrapHuggingFace;
|
|
47941
49922
|
declare const exports$1_wrapHuggingFaceTransformers: typeof wrapHuggingFaceTransformers;
|
|
49923
|
+
declare const exports$1_wrapLangGraphSDK: typeof wrapLangGraphSDK;
|
|
47942
49924
|
declare const exports$1_wrapLangSmithClient: typeof wrapLangSmithClient;
|
|
47943
49925
|
declare const exports$1_wrapLangSmithRunTrees: typeof wrapLangSmithRunTrees;
|
|
47944
49926
|
declare const exports$1_wrapLangSmithTraceable: typeof wrapLangSmithTraceable;
|
|
@@ -47956,7 +49938,7 @@ declare const exports$1_wrapTraced: typeof wrapTraced;
|
|
|
47956
49938
|
declare const exports$1_wrapVitest: typeof wrapVitest;
|
|
47957
49939
|
declare const exports$1_wrapVoyageAI: typeof wrapVoyageAI;
|
|
47958
49940
|
declare namespace exports$1 {
|
|
47959
|
-
export { type exports$1_AnyDataset as AnyDataset, exports$1_Attachment as Attachment, type exports$1_AttachmentParams as AttachmentParams, exports$1_AttachmentReference as AttachmentReference, exports$1_BAGGAGE_HEADER as BAGGAGE_HEADER, exports$1_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME as BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, exports$1_BRAINTRUST_PARENT_KEY as BRAINTRUST_PARENT_KEY, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BatchScorer as BatchScorer, exports$1_BatchTask as BatchTask, exports$1_BraintrustLangChainCallbackHandler as BraintrustLangChainCallbackHandler, exports$1_BraintrustMiddleware as BraintrustMiddleware, exports$1_BraintrustObservabilityExporter as BraintrustObservabilityExporter, exports$1_BraintrustState as BraintrustState, exports$1_BraintrustStream as BraintrustStream, type exports$1_BraintrustStreamChunk as BraintrustStreamChunk, exports$1_CachedSpanFetcher as CachedSpanFetcher, type exports$1_ChatPrompt as ChatPrompt, exports$1_CodeFunction as CodeFunction, type exports$1_CodeOpts as CodeOpts, exports$1_CodePrompt as CodePrompt, type exports$1_CommentEvent as CommentEvent, type exports$1_CompiledPrompt as CompiledPrompt, type exports$1_CompiledPromptParams as CompiledPromptParams, type exports$1_CompletionPrompt as CompletionPrompt, exports$1_ContextManager as ContextManager, type exports$1_ContextParentSpanIds as ContextParentSpanIds, type exports$1_CreateProjectOpts as CreateProjectOpts, type exports$1_CurrentSpanStore as CurrentSpanStore, exports$1_DEFAULT_FETCH_BATCH_SIZE as DEFAULT_FETCH_BATCH_SIZE, exports$1_DEFAULT_MAX_REQUEST_SIZE as DEFAULT_MAX_REQUEST_SIZE, type exports$1_DataSummary as DataSummary, exports$1_Dataset as Dataset, exports$1_DatasetPipeline as DatasetPipeline, type exports$1_DatasetRecord as DatasetRecord, type exports$1_DatasetRestorePreviewResult as DatasetRestorePreviewResult, type exports$1_DatasetRestoreResult as DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type exports$1_DatasetSummary as DatasetSummary, type exports$1_DefaultMetadataType as DefaultMetadataType, type exports$1_DefaultPromptArgs as DefaultPromptArgs, exports$1_DurableEvalMemoryStore as DurableEvalMemoryStore, exports$1_DurableEvalRedisStore as DurableEvalRedisStore, type exports$1_DurableEvalStore as DurableEvalStore, exports$1_ERR_PERMALINK as ERR_PERMALINK, type exports$1_EndSpanArgs as EndSpanArgs, exports$1_Eval as Eval, type exports$1_EvalCase as EvalCase, type exports$1_EvalClassifier as EvalClassifier, type exports$1_EvalHooks as EvalHooks, type exports$1_EvalParameterSerializedSchema as EvalParameterSerializedSchema, type exports$1_EvalParameters as EvalParameters, type exports$1_EvalResult as EvalResult, exports$1_EvalResultWithSummary as EvalResultWithSummary, type exports$1_EvalScorer as EvalScorer, type exports$1_EvalScorerArgs as EvalScorerArgs, type exports$1_EvalTask as EvalTask, type exports$1_Evaluator as Evaluator, type exports$1_EvaluatorDef as EvaluatorDef, type exports$1_EvaluatorDefinition as EvaluatorDefinition, type exports$1_EvaluatorDefinitions as EvaluatorDefinitions, type exports$1_EvaluatorFile as EvaluatorFile, type exports$1_EvaluatorManifest as EvaluatorManifest, exports$1_Experiment as Experiment, type exports$1_ExperimentLogFullArgs as ExperimentLogFullArgs, type exports$1_ExperimentLogPartialArgs as ExperimentLogPartialArgs, type exports$1_ExperimentSummary as ExperimentSummary, type exports$1_Exportable as Exportable, exports$1_ExternalAttachment as ExternalAttachment, type exports$1_ExternalAttachmentParams as ExternalAttachmentParams, exports$1_FailedHTTPResponse as FailedHTTPResponse, type exports$1_FullInitDatasetOptions as FullInitDatasetOptions, type exports$1_FullInitOptions as FullInitOptions, type exports$1_FullLoginOptions as FullLoginOptions, type exports$1_FunctionEvent as FunctionEvent, type exports$1_GetThreadOptions as GetThreadOptions, exports$1_IDGenerator as IDGenerator, type exports$1_IdField as IdField, type exports$1_InitDatasetOptions as InitDatasetOptions, type exports$1_InitLoggerOptions as InitLoggerOptions, type exports$1_InitOptions as InitOptions, type exports$1_InputField as InputField, type exports$1_InstrumentationConfig as InstrumentationConfig, type exports$1_InvokeFunctionArgs as InvokeFunctionArgs, type exports$1_InvokeReturn as InvokeReturn, exports$1_JSONAttachment as JSONAttachment, exports$1_LEGACY_CACHED_HEADER as LEGACY_CACHED_HEADER, exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE as LOGS3_OVERFLOW_REFERENCE_TYPE, type exports$1_LangChainCallbackHandlerOptions as LangChainCallbackHandlerOptions, exports$1_LazyValue as LazyValue, type exports$1_LoadPromptOptions as LoadPromptOptions, exports$1_LocalTrace as LocalTrace, type exports$1_LogCommentFullArgs as LogCommentFullArgs, type exports$1_LogFeedbackFullArgs as LogFeedbackFullArgs, type exports$1_LogOptions as LogOptions, exports$1_Logger as Logger, exports$1_LoginInvalidOrgError as LoginInvalidOrgError, type exports$1_LoginOptions as LoginOptions, type exports$1_Logs3OverflowInputRow as Logs3OverflowInputRow, type exports$1_Logs3OverflowUpload as Logs3OverflowUpload, type exports$1_MastraObservabilityExporter as MastraObservabilityExporter, type exports$1_MetricSummary as MetricSummary, exports$1_NOOP_SPAN as NOOP_SPAN, exports$1_NOOP_SPAN_PERMALINK as NOOP_SPAN_PERMALINK, exports$1_NoopSpan as NoopSpan, exports$1_OTELIDGenerator as OTELIDGenerator, exports$1_ObjectFetcher as ObjectFetcher, type exports$1_ObjectMetadata as ObjectMetadata, type exports$1_OtherExperimentLogFields as OtherExperimentLogFields, type exports$1_ParametersSource as ParametersSource, type exports$1_ParentExperimentIds as ParentExperimentIds, type exports$1_ParentProjectLogIds as ParentProjectLogIds, type exports$1_ParsedTraceparent as ParsedTraceparent, exports$1_Project as Project, exports$1_ProjectNameIdMap as ProjectNameIdMap, type exports$1_PromiseUnless as PromiseUnless, exports$1_Prompt as Prompt, exports$1_PromptBuilder as PromptBuilder, type exports$1_PromptContents as PromptContents, type exports$1_PromptDefinition as PromptDefinition, type exports$1_PromptDefinitionWithTools as PromptDefinitionWithTools, type exports$1_PromptOpts as PromptOpts, type exports$1_PromptRowWithId as PromptRowWithId, type exports$1_PropagatedState as PropagatedState, type exports$1_PropagationContext as PropagationContext, exports$1_ReadonlyAttachment as ReadonlyAttachment, exports$1_ReadonlyExperiment as ReadonlyExperiment, type exports$1_RegisterSandboxOptions as RegisterSandboxOptions, type exports$1_RegisterSandboxResult as RegisterSandboxResult, exports$1_Reporter as Reporter, type exports$1_ReporterBody as ReporterBody, type exports$1_SandboxConfig as SandboxConfig, type exports$1_ScoreSummary as ScoreSummary, exports$1_ScorerBuilder as ScorerBuilder, type exports$1_ScorerOpts as ScorerOpts, type exports$1_SerializedBraintrustState as SerializedBraintrustState, type exports$1_SetCurrentArg as SetCurrentArg, type exports$1_Span as Span, type exports$1_SpanContext as SpanContext, type exports$1_SpanData as SpanData, exports$1_SpanFetcher as SpanFetcher, exports$1_SpanImpl as SpanImpl, type exports$1_StartSpanArgs as StartSpanArgs, exports$1_TRACEPARENT_HEADER as TRACEPARENT_HEADER, exports$1_TRACESTATE_HEADER as TRACESTATE_HEADER, type exports$1_TemplateFormat as TemplateFormat, type exports$1_TemplateRenderer as TemplateRenderer, type exports$1_TemplateRendererPlugin as TemplateRendererPlugin, exports$1_TestBackgroundLogger as TestBackgroundLogger, exports$1_ToolBuilder as ToolBuilder, type exports$1_Trace as Trace, type exports$1_TraceContextCarrier as TraceContextCarrier, type exports$1_TraceContextHeaders as TraceContextHeaders, exports$1_UUIDGenerator as UUIDGenerator, type exports$1_WithTransactionId as WithTransactionId, exports$1_X_CACHED_HEADER as X_CACHED_HEADER, exports$1__exportsForTestingOnly as _exportsForTestingOnly, exports$1__internalGetGlobalState as _internalGetGlobalState, iso as _internalIso, exports$1__internalSetInitialState as _internalSetInitialState, exports$1_addAzureBlobHeaders as addAzureBlobHeaders, exports$1_agentAssertionScorer as agentAssertionScorer, exports$1_braintrustAISDKTelemetry as braintrustAISDKTelemetry, exports$1_braintrustEveHook as braintrustEveHook, exports$1_braintrustEveInstrumentation as braintrustEveInstrumentation, exports$1_braintrustFlueInstrumentation as braintrustFlueInstrumentation, exports$1_braintrustFlueObserver as braintrustFlueObserver, exports$1_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports$1_buildLocalSummary as buildLocalSummary, exports$1_collectAnthropicSession as collectAnthropicSession, exports$1_completeOpenAIBatchTrace as completeOpenAIBatchTrace, exports$1_configureInstrumentation as configureInstrumentation, exports$1_constructLogs3OverflowRequest as constructLogs3OverflowRequest, exports$1_createFinalValuePassThroughStream as createFinalValuePassThroughStream, exports$1_currentExperiment as currentExperiment, exports$1_currentLogger as currentLogger, exports$1_currentSpan as currentSpan, exports$1_deepCopyEvent as deepCopyEvent, exports$1_defaultErrorScoreHandler as defaultErrorScoreHandler, exports$1_defineDurableEval as defineDurableEval, exports$1_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports$1_devNullWritableStream as devNullWritableStream, exports$1_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports$1_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, exports$1_extractTraceContextFromHeaders as extractTraceContextFromHeaders, exports$1_flush as flush, exports$1_getContextManager as getContextManager, exports$1_getIdGenerator as getIdGenerator, exports$1_getPromptVersions as getPromptVersions, exports$1_getSpanParentObject as getSpanParentObject, exports$1_getTemplateRenderer as getTemplateRenderer, graphFramework as graph, exports$1_init as init, exports$1_initDataset as initDataset, exports$1_initExperiment as initExperiment, exports$1_initFunction as initFunction, exports$1_initLogger as initLogger, exports$1_initNodeTestSuite as initNodeTestSuite, exports$1_injectTraceContext as injectTraceContext, exports$1_invoke as invoke, exports$1_isTemplateFormat as isTemplateFormat, exports$1_loadParameters as loadParameters, exports$1_loadPrompt as loadPrompt, exports$1_log as log, exports$1_logError as logError, exports$1_login as login, exports$1_loginToState as loginToState, exports$1_logs3OverflowUploadSchema as logs3OverflowUploadSchema, exports$1_newId as newId, exports$1_openaiBatchesRetrieveTraced as openaiBatchesRetrieveTraced, exports$1_openaiFilesCreateTraced as openaiFilesCreateTraced, exports$1_parseCachedHeader as parseCachedHeader, exports$1_parseTemplateFormat as parseTemplateFormat, exports$1_permalink as permalink, exports$1_pickLogs3OverflowObjectIds as pickLogs3OverflowObjectIds, exports$1_projects as projects, exports$1_promptContentsSchema as promptContentsSchema, exports$1_promptDefinitionSchema as promptDefinitionSchema, exports$1_promptDefinitionToPromptData as promptDefinitionToPromptData, exports$1_promptDefinitionWithToolsSchema as promptDefinitionWithToolsSchema, exports$1_registerOtelFlush as registerOtelFlush, exports$1_registerSandbox as registerSandbox, exports$1_registerTemplatePlugin as registerTemplatePlugin, exports$1_renderMessage as renderMessage, exports$1_renderPromptParams as renderPromptParams, exports$1_renderTemplateContent as renderTemplateContent, exports$1_reportFailures as reportFailures, exports$1_runEvaluator as runEvaluator, exports$1_setFetch as setFetch, exports$1_setMaskingFunction as setMaskingFunction, exports$1_spanComponentsToObjectId as spanComponentsToObjectId, exports$1_startSpan as startSpan, exports$1_summarize as summarize, exports$1_templateRegistry as templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, exports$1_traceable as traceable, exports$1_traced as traced, exports$1_updateSpan as updateSpan, exports$1_uploadLogs3OverflowPayload as uploadLogs3OverflowPayload, exports$1_utf8ByteLength as utf8ByteLength, exports$1_withCurrent as withCurrent, exports$1_withDataset as withDataset, exports$1_withExperiment as withExperiment, exports$1_withLogger as withLogger, exports$1_withParent as withParent, exports$1_wrapAISDK as wrapAISDK, exports$1_wrapAISDKModel as wrapAISDKModel, exports$1_wrapAgentClass as wrapAgentClass, exports$1_wrapAnthropic as wrapAnthropic, exports$1_wrapBedrockRuntime as wrapBedrockRuntime, exports$1_wrapClaudeAgentSDK as wrapClaudeAgentSDK, exports$1_wrapCloudflareAIChat as wrapCloudflareAIChat, exports$1_wrapCloudflareAgent as wrapCloudflareAgent, exports$1_wrapCloudflareThink as wrapCloudflareThink, exports$1_wrapCohere as wrapCohere, exports$1_wrapCopilotClient as wrapCopilotClient, exports$1_wrapCursorSDK as wrapCursorSDK, exports$1_wrapGenkit as wrapGenkit, exports$1_wrapGoogleADK as wrapGoogleADK, exports$1_wrapGoogleGenAI as wrapGoogleGenAI, exports$1_wrapGroq as wrapGroq, exports$1_wrapHuggingFace as wrapHuggingFace, exports$1_wrapHuggingFaceTransformers as wrapHuggingFaceTransformers, exports$1_wrapLangSmithClient as wrapLangSmithClient, exports$1_wrapLangSmithRunTrees as wrapLangSmithRunTrees, exports$1_wrapLangSmithTraceable as wrapLangSmithTraceable, exports$1_wrapMastraAgent as wrapMastraAgent, exports$1_wrapMistral as wrapMistral, exports$1_wrapOllama as wrapOllama, exports$1_wrapOpenAI as wrapOpenAI, exports$1_wrapOpenAICodexSDK as wrapOpenAICodexSDK, exports$1_wrapOpenAIv4 as wrapOpenAIv4, exports$1_wrapOpenRouter as wrapOpenRouter, exports$1_wrapOpenRouterAgent as wrapOpenRouterAgent, exports$1_wrapPiCodingAgentSDK as wrapPiCodingAgentSDK, exports$1_wrapStrandsAgentSDK as wrapStrandsAgentSDK, exports$1_wrapTraced as wrapTraced, exports$1_wrapVitest as wrapVitest, exports$1_wrapVoyageAI as wrapVoyageAI };
|
|
49941
|
+
export { type exports$1_AnyDataset as AnyDataset, exports$1_Attachment as Attachment, type exports$1_AttachmentParams as AttachmentParams, exports$1_AttachmentReference as AttachmentReference, exports$1_BAGGAGE_HEADER as BAGGAGE_HEADER, exports$1_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME as BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, exports$1_BRAINTRUST_PARENT_KEY as BRAINTRUST_PARENT_KEY, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BraintrustLangChainCallbackHandler as BraintrustLangChainCallbackHandler, exports$1_BraintrustMiddleware as BraintrustMiddleware, exports$1_BraintrustObservabilityExporter as BraintrustObservabilityExporter, exports$1_BraintrustState as BraintrustState, exports$1_BraintrustStream as BraintrustStream, type exports$1_BraintrustStreamChunk as BraintrustStreamChunk, exports$1_CachedSpanFetcher as CachedSpanFetcher, type exports$1_ChatPrompt as ChatPrompt, exports$1_CodeFunction as CodeFunction, type exports$1_CodeOpts as CodeOpts, exports$1_CodePrompt as CodePrompt, type exports$1_CommentEvent as CommentEvent, type exports$1_CompiledPrompt as CompiledPrompt, type exports$1_CompiledPromptParams as CompiledPromptParams, type exports$1_CompletionPrompt as CompletionPrompt, exports$1_ContextManager as ContextManager, type exports$1_ContextParentSpanIds as ContextParentSpanIds, type exports$1_CreateProjectOpts as CreateProjectOpts, type exports$1_CurrentSpanStore as CurrentSpanStore, exports$1_DEFAULT_FETCH_BATCH_SIZE as DEFAULT_FETCH_BATCH_SIZE, exports$1_DEFAULT_MAX_REQUEST_SIZE as DEFAULT_MAX_REQUEST_SIZE, type exports$1_DataSummary as DataSummary, exports$1_Dataset as Dataset, exports$1_DatasetPipeline as DatasetPipeline, type exports$1_DatasetRecord as DatasetRecord, type exports$1_DatasetRestorePreviewResult as DatasetRestorePreviewResult, type exports$1_DatasetRestoreResult as DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type exports$1_DatasetSummary as DatasetSummary, type exports$1_DefaultMetadataType as DefaultMetadataType, type exports$1_DefaultPromptArgs as DefaultPromptArgs, exports$1_ERR_PERMALINK as ERR_PERMALINK, type exports$1_EndSpanArgs as EndSpanArgs, exports$1_Eval as Eval, type exports$1_EvalCase as EvalCase, type exports$1_EvalClassifier as EvalClassifier, type exports$1_EvalHooks as EvalHooks, type exports$1_EvalParameterSerializedSchema as EvalParameterSerializedSchema, type exports$1_EvalParameters as EvalParameters, type exports$1_EvalResult as EvalResult, exports$1_EvalResultWithSummary as EvalResultWithSummary, type exports$1_EvalScorer as EvalScorer, type exports$1_EvalScorerArgs as EvalScorerArgs, type exports$1_EvalTask as EvalTask, type exports$1_Evaluator as Evaluator, type exports$1_EvaluatorDef as EvaluatorDef, type exports$1_EvaluatorDefinition as EvaluatorDefinition, type exports$1_EvaluatorDefinitions as EvaluatorDefinitions, type exports$1_EvaluatorFile as EvaluatorFile, type exports$1_EvaluatorManifest as EvaluatorManifest, exports$1_Experiment as Experiment, type exports$1_ExperimentLogFullArgs as ExperimentLogFullArgs, type exports$1_ExperimentLogPartialArgs as ExperimentLogPartialArgs, type exports$1_ExperimentSummary as ExperimentSummary, type exports$1_Exportable as Exportable, exports$1_ExternalAttachment as ExternalAttachment, type exports$1_ExternalAttachmentParams as ExternalAttachmentParams, exports$1_FailedHTTPResponse as FailedHTTPResponse, type exports$1_FullInitDatasetOptions as FullInitDatasetOptions, type exports$1_FullInitOptions as FullInitOptions, type exports$1_FullLoginOptions as FullLoginOptions, type exports$1_FunctionEvent as FunctionEvent, type exports$1_GetThreadOptions as GetThreadOptions, exports$1_IDGenerator as IDGenerator, type exports$1_IdField as IdField, type exports$1_InitDatasetOptions as InitDatasetOptions, type exports$1_InitLoggerOptions as InitLoggerOptions, type exports$1_InitOptions as InitOptions, type exports$1_InputField as InputField, type exports$1_InstrumentationConfig as InstrumentationConfig, type exports$1_InvokeFunctionArgs as InvokeFunctionArgs, type exports$1_InvokeReturn as InvokeReturn, exports$1_JSONAttachment as JSONAttachment, exports$1_LEGACY_CACHED_HEADER as LEGACY_CACHED_HEADER, exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE as LOGS3_OVERFLOW_REFERENCE_TYPE, type exports$1_LangChainCallbackHandlerOptions as LangChainCallbackHandlerOptions, exports$1_LazyValue as LazyValue, type exports$1_LoadPromptOptions as LoadPromptOptions, exports$1_LocalTrace as LocalTrace, type exports$1_LogCommentFullArgs as LogCommentFullArgs, type exports$1_LogFeedbackFullArgs as LogFeedbackFullArgs, type exports$1_LogOptions as LogOptions, exports$1_Logger as Logger, exports$1_LoginInvalidOrgError as LoginInvalidOrgError, type exports$1_LoginOptions as LoginOptions, type exports$1_Logs3OverflowInputRow as Logs3OverflowInputRow, type exports$1_Logs3OverflowUpload as Logs3OverflowUpload, type exports$1_MastraObservabilityExporter as MastraObservabilityExporter, type exports$1_MetricSummary as MetricSummary, exports$1_NOOP_SPAN as NOOP_SPAN, exports$1_NOOP_SPAN_PERMALINK as NOOP_SPAN_PERMALINK, exports$1_NoopSpan as NoopSpan, exports$1_OTELIDGenerator as OTELIDGenerator, exports$1_ObjectFetcher as ObjectFetcher, type exports$1_ObjectMetadata as ObjectMetadata, type exports$1_OtherExperimentLogFields as OtherExperimentLogFields, type exports$1_ParametersSource as ParametersSource, type exports$1_ParentExperimentIds as ParentExperimentIds, type exports$1_ParentProjectLogIds as ParentProjectLogIds, type exports$1_ParsedTraceparent as ParsedTraceparent, exports$1_Project as Project, exports$1_ProjectNameIdMap as ProjectNameIdMap, type exports$1_PromiseUnless as PromiseUnless, exports$1_Prompt as Prompt, exports$1_PromptBuilder as PromptBuilder, type exports$1_PromptContents as PromptContents, type exports$1_PromptDefinition as PromptDefinition, type exports$1_PromptDefinitionWithTools as PromptDefinitionWithTools, type exports$1_PromptOpts as PromptOpts, type exports$1_PromptRowWithId as PromptRowWithId, type exports$1_PropagatedState as PropagatedState, type exports$1_PropagationContext as PropagationContext, exports$1_ReadonlyAttachment as ReadonlyAttachment, exports$1_ReadonlyExperiment as ReadonlyExperiment, type exports$1_RegisterSandboxOptions as RegisterSandboxOptions, type exports$1_RegisterSandboxResult as RegisterSandboxResult, exports$1_Reporter as Reporter, type exports$1_ReporterBody as ReporterBody, type exports$1_SandboxConfig as SandboxConfig, type exports$1_ScoreSummary as ScoreSummary, exports$1_ScorerBuilder as ScorerBuilder, type exports$1_ScorerOpts as ScorerOpts, type exports$1_SerializedBraintrustState as SerializedBraintrustState, type exports$1_SetCurrentArg as SetCurrentArg, type exports$1_Span as Span, type exports$1_SpanContext as SpanContext, type exports$1_SpanData as SpanData, type exports$1_SpanDurationFilter as SpanDurationFilter, exports$1_SpanFetcher as SpanFetcher, type exports$1_SpanFilters as SpanFilters, exports$1_SpanImpl as SpanImpl, type exports$1_StartSpanArgs as StartSpanArgs, exports$1_TRACEPARENT_HEADER as TRACEPARENT_HEADER, exports$1_TRACESTATE_HEADER as TRACESTATE_HEADER, type exports$1_TemplateFormat as TemplateFormat, type exports$1_TemplateRenderer as TemplateRenderer, type exports$1_TemplateRendererPlugin as TemplateRendererPlugin, exports$1_TestBackgroundLogger as TestBackgroundLogger, exports$1_ToolBuilder as ToolBuilder, type exports$1_Trace as Trace, type exports$1_TraceContextCarrier as TraceContextCarrier, type exports$1_TraceContextHeaders as TraceContextHeaders, exports$1_UUIDGenerator as UUIDGenerator, type exports$1_WithTransactionId as WithTransactionId, exports$1_WorkflowEvalMemoryStore as WorkflowEvalMemoryStore, exports$1_WorkflowEvalRedisStore as WorkflowEvalRedisStore, type exports$1_WorkflowEvalStore as WorkflowEvalStore, exports$1_WorkflowScorer as WorkflowScorer, exports$1_WorkflowTask as WorkflowTask, exports$1_X_CACHED_HEADER as X_CACHED_HEADER, exports$1__exportsForTestingOnly as _exportsForTestingOnly, exports$1__internalGetGlobalState as _internalGetGlobalState, iso as _internalIso, exports$1__internalSetInitialState as _internalSetInitialState, exports$1_addAzureBlobHeaders as addAzureBlobHeaders, exports$1_agentAssertionScorer as agentAssertionScorer, exports$1_braintrustAISDKTelemetry as braintrustAISDKTelemetry, exports$1_braintrustEveHook as braintrustEveHook, exports$1_braintrustEveInstrumentation as braintrustEveInstrumentation, exports$1_braintrustFlueInstrumentation as braintrustFlueInstrumentation, exports$1_braintrustFlueObserver as braintrustFlueObserver, exports$1_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports$1_buildLocalSummary as buildLocalSummary, exports$1_collectAnthropicSession as collectAnthropicSession, exports$1_completeOpenAIBatchTrace as completeOpenAIBatchTrace, exports$1_configureInstrumentation as configureInstrumentation, exports$1_constructLogs3OverflowRequest as constructLogs3OverflowRequest, exports$1_createFinalValuePassThroughStream as createFinalValuePassThroughStream, exports$1_currentExperiment as currentExperiment, exports$1_currentLogger as currentLogger, exports$1_currentSpan as currentSpan, exports$1_deepCopyEvent as deepCopyEvent, exports$1_defaultErrorScoreHandler as defaultErrorScoreHandler, exports$1_defineWorkflowEval as defineWorkflowEval, exports$1_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports$1_devNullWritableStream as devNullWritableStream, exports$1_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports$1_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, exports$1_extractTraceContextFromHeaders as extractTraceContextFromHeaders, exports$1_failOpenAIAgentsTrace as failOpenAIAgentsTrace, exports$1_flush as flush, exports$1_getContextManager as getContextManager, exports$1_getIdGenerator as getIdGenerator, exports$1_getPromptVersions as getPromptVersions, exports$1_getSpanParentObject as getSpanParentObject, exports$1_getTemplateRenderer as getTemplateRenderer, graphFramework as graph, exports$1_init as init, exports$1_initDataset as initDataset, exports$1_initExperiment as initExperiment, exports$1_initFunction as initFunction, exports$1_initLogger as initLogger, exports$1_initNodeTestSuite as initNodeTestSuite, exports$1_injectTraceContext as injectTraceContext, exports$1_invoke as invoke, exports$1_isTemplateFormat as isTemplateFormat, exports$1_loadParameters as loadParameters, exports$1_loadPrompt as loadPrompt, exports$1_log as log, exports$1_logError as logError, exports$1_login as login, exports$1_loginToState as loginToState, exports$1_logs3OverflowUploadSchema as logs3OverflowUploadSchema, exports$1_newId as newId, exports$1_openaiBatchesRetrieveTraced as openaiBatchesRetrieveTraced, exports$1_openaiFilesCreateTraced as openaiFilesCreateTraced, exports$1_parseCachedHeader as parseCachedHeader, exports$1_parseTemplateFormat as parseTemplateFormat, exports$1_permalink as permalink, exports$1_pickLogs3OverflowObjectIds as pickLogs3OverflowObjectIds, exports$1_projects as projects, exports$1_promptContentsSchema as promptContentsSchema, exports$1_promptDefinitionSchema as promptDefinitionSchema, exports$1_promptDefinitionToPromptData as promptDefinitionToPromptData, exports$1_promptDefinitionWithToolsSchema as promptDefinitionWithToolsSchema, exports$1_registerOtelFlush as registerOtelFlush, exports$1_registerSandbox as registerSandbox, exports$1_registerTemplatePlugin as registerTemplatePlugin, exports$1_renderMessage as renderMessage, exports$1_renderPromptParams as renderPromptParams, exports$1_renderTemplateContent as renderTemplateContent, exports$1_reportFailures as reportFailures, exports$1_runEvaluator as runEvaluator, exports$1_setFetch as setFetch, exports$1_setMaskingFunction as setMaskingFunction, exports$1_spanComponentsToObjectId as spanComponentsToObjectId, exports$1_startOpenAIAgentsTrace as startOpenAIAgentsTrace, exports$1_startSpan as startSpan, exports$1_summarize as summarize, exports$1_templateRegistry as templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, exports$1_traceable as traceable, exports$1_traced as traced, exports$1_updateOpenAIAgentsTrace as updateOpenAIAgentsTrace, exports$1_updateSpan as updateSpan, exports$1_uploadLogs3OverflowPayload as uploadLogs3OverflowPayload, exports$1_utf8ByteLength as utf8ByteLength, exports$1_withCurrent as withCurrent, exports$1_withDataset as withDataset, exports$1_withExperiment as withExperiment, exports$1_withLogger as withLogger, exports$1_withParent as withParent, exports$1_wrapAISDK as wrapAISDK, exports$1_wrapAISDKModel as wrapAISDKModel, exports$1_wrapAgentClass as wrapAgentClass, exports$1_wrapAnthropic as wrapAnthropic, exports$1_wrapBedrockRuntime as wrapBedrockRuntime, exports$1_wrapClaudeAgentSDK as wrapClaudeAgentSDK, exports$1_wrapCloudflareAIChat as wrapCloudflareAIChat, exports$1_wrapCloudflareAgent as wrapCloudflareAgent, exports$1_wrapCloudflareThink as wrapCloudflareThink, exports$1_wrapCohere as wrapCohere, exports$1_wrapCopilotClient as wrapCopilotClient, exports$1_wrapCursorSDK as wrapCursorSDK, exports$1_wrapElevenLabs as wrapElevenLabs, exports$1_wrapGenkit as wrapGenkit, exports$1_wrapGoogleADK as wrapGoogleADK, exports$1_wrapGoogleGenAI as wrapGoogleGenAI, exports$1_wrapGoogleGenerativeAI as wrapGoogleGenerativeAI, exports$1_wrapGroq as wrapGroq, exports$1_wrapHuggingFace as wrapHuggingFace, exports$1_wrapHuggingFaceTransformers as wrapHuggingFaceTransformers, exports$1_wrapLangGraphSDK as wrapLangGraphSDK, exports$1_wrapLangSmithClient as wrapLangSmithClient, exports$1_wrapLangSmithRunTrees as wrapLangSmithRunTrees, exports$1_wrapLangSmithTraceable as wrapLangSmithTraceable, exports$1_wrapMastraAgent as wrapMastraAgent, exports$1_wrapMistral as wrapMistral, exports$1_wrapOllama as wrapOllama, exports$1_wrapOpenAI as wrapOpenAI, exports$1_wrapOpenAICodexSDK as wrapOpenAICodexSDK, exports$1_wrapOpenAIv4 as wrapOpenAIv4, exports$1_wrapOpenRouter as wrapOpenRouter, exports$1_wrapOpenRouterAgent as wrapOpenRouterAgent, exports$1_wrapPiCodingAgentSDK as wrapPiCodingAgentSDK, exports$1_wrapStrandsAgentSDK as wrapStrandsAgentSDK, exports$1_wrapTraced as wrapTraced, exports$1_wrapVitest as wrapVitest, exports$1_wrapVoyageAI as wrapVoyageAI };
|
|
47960
49942
|
}
|
|
47961
49943
|
|
|
47962
|
-
export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BAGGAGE_HEADER, BRAINTRUST_CURRENT_SPAN_STORE, BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, BRAINTRUST_PARENT_KEY, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata,
|
|
49944
|
+
export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BAGGAGE_HEADER, BRAINTRUST_CURRENT_SPAN_STORE, BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, BRAINTRUST_PARENT_KEY, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BraintrustLangChainCallbackHandler, BraintrustMiddleware, BraintrustObservabilityExporter, BraintrustState, BraintrustStream, type BraintrustStreamChunk, CachedSpanFetcher, type ChatPrompt, CodeFunction, type CodeOpts, CodePrompt, type CommentEvent, type CompiledPrompt, type CompiledPromptParams, type CompletionPrompt, ContextManager, type ContextParentSpanIds, type CreateProjectOpts, type CurrentSpanStore, DEFAULT_FETCH_BATCH_SIZE, DEFAULT_MAX_REQUEST_SIZE, type DataSummary, Dataset, DatasetPipeline, type DatasetRecord, type DatasetRestorePreviewResult, type DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type DatasetSummary, type DefaultMetadataType, type DefaultPromptArgs, ERR_PERMALINK, type EndSpanArgs, Eval, type EvalCase, type EvalClassifier, type EvalHooks, type EvalParameterSerializedSchema, type EvalParameters, type EvalResult, EvalResultWithSummary, type EvalScorer, type EvalScorerArgs, type EvalTask, type Evaluator, type EvaluatorDef, type EvaluatorDefinition, type EvaluatorDefinitions, type EvaluatorFile, type EvaluatorManifest, Experiment, type ExperimentLogFullArgs, type ExperimentLogPartialArgs, type ExperimentSummary, type Exportable, ExternalAttachment, type ExternalAttachmentParams, FailedHTTPResponse, type FullInitDatasetOptions, type FullInitOptions, type FullLoginOptions, type FunctionEvent, type GetThreadOptions, IDGenerator, type IdField, type InitDatasetOptions, type InitLoggerOptions, type InitOptions, type InputField, type InstrumentationConfig, type InvokeFunctionArgs, type InvokeReturn, JSONAttachment, LEGACY_CACHED_HEADER, LOGS3_OVERFLOW_REFERENCE_TYPE, type LangChainCallbackHandlerOptions, LazyValue, type LoadPromptOptions, LocalTrace, type LogCommentFullArgs, type LogFeedbackFullArgs, type LogOptions, Logger, LoginInvalidOrgError, type LoginOptions, type Logs3OverflowInputRow, type Logs3OverflowUpload, type MastraObservabilityExporter, type MetricSummary, NOOP_SPAN, NOOP_SPAN_PERMALINK, NoopSpan, OTELIDGenerator, ObjectFetcher, type ObjectMetadata, type OtherExperimentLogFields, type ParametersSource, type ParentExperimentIds, type ParentProjectLogIds, type ParsedTraceparent, Project, ProjectNameIdMap, type PromiseUnless, Prompt, PromptBuilder, type PromptContents, type PromptDefinition, type PromptDefinitionWithTools, type PromptOpts, type PromptRowWithId, type PropagatedState, type PropagationContext, ReadonlyAttachment, ReadonlyExperiment, type RegisterSandboxOptions, type RegisterSandboxResult, Reporter, type ReporterBody, type SandboxConfig, type ScoreSummary, ScorerBuilder, type ScorerOpts, type SerializedBraintrustState, type SetCurrentArg, type Span, type SpanContext, type SpanData, type SpanDurationFilter, SpanFetcher, type SpanFilters, SpanImpl, type StartSpanArgs, TRACEPARENT_HEADER, TRACESTATE_HEADER, type TemplateFormat, type TemplateRenderer, type TemplateRendererPlugin, TestBackgroundLogger, ToolBuilder, type Trace, type TraceContextCarrier, type TraceContextHeaders, UUIDGenerator, type WithTransactionId, WorkflowEvalMemoryStore, WorkflowEvalRedisStore, type WorkflowEvalStore, WorkflowScorer, WorkflowTask, X_CACHED_HEADER, _exportsForTestingOnly, _internalGetGlobalState, iso as _internalIso, _internalSetInitialState, addAzureBlobHeaders, agentAssertionScorer, braintrustAISDKTelemetry, braintrustEveHook, braintrustEveInstrumentation, braintrustFlueInstrumentation, braintrustFlueObserver, braintrustStreamChunkSchema, buildLocalSummary, collectAnthropicSession, completeOpenAIBatchTrace, configureInstrumentation, constructLogs3OverflowRequest, createFinalValuePassThroughStream, currentExperiment, currentLogger, currentSpan, deepCopyEvent, exports$1 as default, defaultErrorScoreHandler, defineWorkflowEval, deserializePlainStringAsJSON, devNullWritableStream, evaluatorDefinitionSchema, evaluatorDefinitionsSchema, extractTraceContextFromHeaders, failOpenAIAgentsTrace, flush, getContextManager, getIdGenerator, getPromptVersions, getSpanParentObject, getTemplateRenderer, graphFramework as graph, init, initDataset, initExperiment, initFunction, initLogger, initNodeTestSuite, injectTraceContext, invoke, isTemplateFormat, loadParameters, loadPrompt, log, logError, login, loginToState, logs3OverflowUploadSchema, newId, openaiBatchesRetrieveTraced, openaiFilesCreateTraced, parseCachedHeader, parseTemplateFormat, permalink, pickLogs3OverflowObjectIds, projects, promptContentsSchema, promptDefinitionSchema, promptDefinitionToPromptData, promptDefinitionWithToolsSchema, registerOtelFlush, registerSandbox, registerTemplatePlugin, renderMessage, renderPromptParams, renderTemplateContent, reportFailures, runEvaluator, setFetch, setMaskingFunction, spanComponentsToObjectId, startOpenAIAgentsTrace, startSpan, summarize, templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, traceable, traced, updateOpenAIAgentsTrace, updateSpan, uploadLogs3OverflowPayload, utf8ByteLength, withCurrent, withDataset, withExperiment, withLogger, withParent, wrapAISDK, wrapAISDKModel, wrapAgentClass, wrapAnthropic, wrapBedrockRuntime, wrapClaudeAgentSDK, wrapCloudflareAIChat, wrapCloudflareAgent, wrapCloudflareThink, wrapCohere, wrapCopilotClient, wrapCursorSDK, wrapElevenLabs, wrapGenkit, wrapGoogleADK, wrapGoogleGenAI, wrapGoogleGenerativeAI, wrapGroq, wrapHuggingFace, wrapHuggingFaceTransformers, wrapLangGraphSDK, wrapLangSmithClient, wrapLangSmithRunTrees, wrapLangSmithTraceable, wrapMastraAgent, wrapMistral, wrapOllama, wrapOpenAI, wrapOpenAICodexSDK, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapPiCodingAgentSDK, wrapStrandsAgentSDK, wrapTraced, wrapVitest, wrapVoyageAI };
|