@arizeai/phoenix-client 6.7.0 → 6.8.1
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/dist/esm/__generated__/api/v1.d.ts +377 -6
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.d.ts +2 -0
- package/dist/esm/constants/serverRequirements.d.ts.map +1 -1
- package/dist/esm/constants/serverRequirements.js +15 -0
- package/dist/esm/constants/serverRequirements.js.map +1 -1
- package/dist/esm/datasets/appendDatasetExamples.d.ts +9 -3
- package/dist/esm/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/appendDatasetExamples.js +23 -3
- package/dist/esm/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/createDataset.d.ts +4 -1
- package/dist/esm/datasets/createDataset.d.ts.map +1 -1
- package/dist/esm/datasets/createDataset.js +38 -3
- package/dist/esm/datasets/createDataset.js.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.js +3 -2
- package/dist/esm/datasets/getDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/index.d.ts +0 -1
- package/dist/esm/datasets/index.d.ts.map +1 -1
- package/dist/esm/datasets/index.js +0 -1
- package/dist/esm/datasets/index.js.map +1 -1
- package/dist/esm/experiments/resumeEvaluation.d.ts.map +1 -1
- package/dist/esm/experiments/resumeEvaluation.js +2 -1
- package/dist/esm/experiments/resumeEvaluation.js.map +1 -1
- package/dist/esm/experiments/resumeExperiment.d.ts.map +1 -1
- package/dist/esm/experiments/resumeExperiment.js +3 -2
- package/dist/esm/experiments/resumeExperiment.js.map +1 -1
- package/dist/esm/experiments/runExperiment.js +1 -1
- package/dist/esm/experiments/runExperiment.js.map +1 -1
- package/dist/esm/spans/addSpanNote.d.ts +1 -1
- package/dist/esm/spans/addSpanNote.js +1 -1
- package/dist/esm/traces/addTraceNote.d.ts +43 -0
- package/dist/esm/traces/addTraceNote.d.ts.map +1 -0
- package/dist/esm/traces/addTraceNote.js +42 -0
- package/dist/esm/traces/addTraceNote.js.map +1 -0
- package/dist/esm/traces/index.d.ts +1 -0
- package/dist/esm/traces/index.d.ts.map +1 -1
- package/dist/esm/traces/index.js +1 -0
- package/dist/esm/traces/index.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types/datasets.d.ts +10 -1
- package/dist/esm/types/datasets.d.ts.map +1 -1
- package/dist/esm/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/esm/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/src/__generated__/api/v1.d.ts +377 -6
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.d.ts +2 -0
- package/dist/src/constants/serverRequirements.d.ts.map +1 -1
- package/dist/src/constants/serverRequirements.js +16 -1
- package/dist/src/constants/serverRequirements.js.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.d.ts +9 -3
- package/dist/src/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.js +24 -5
- package/dist/src/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/src/datasets/createDataset.d.ts +4 -1
- package/dist/src/datasets/createDataset.d.ts.map +1 -1
- package/dist/src/datasets/createDataset.js +42 -5
- package/dist/src/datasets/createDataset.js.map +1 -1
- package/dist/src/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/getDatasetExamples.js +15 -1
- package/dist/src/datasets/getDatasetExamples.js.map +1 -1
- package/dist/src/datasets/index.d.ts +0 -1
- package/dist/src/datasets/index.d.ts.map +1 -1
- package/dist/src/datasets/index.js +0 -1
- package/dist/src/datasets/index.js.map +1 -1
- package/dist/src/experiments/resumeEvaluation.d.ts.map +1 -1
- package/dist/src/experiments/resumeEvaluation.js +2 -1
- package/dist/src/experiments/resumeEvaluation.js.map +1 -1
- package/dist/src/experiments/resumeExperiment.d.ts.map +1 -1
- package/dist/src/experiments/resumeExperiment.js +3 -2
- package/dist/src/experiments/resumeExperiment.js.map +1 -1
- package/dist/src/experiments/runExperiment.js +1 -1
- package/dist/src/experiments/runExperiment.js.map +1 -1
- package/dist/src/spans/addSpanNote.d.ts +1 -1
- package/dist/src/spans/addSpanNote.js +1 -1
- package/dist/src/traces/addTraceNote.d.ts +43 -0
- package/dist/src/traces/addTraceNote.d.ts.map +1 -0
- package/dist/src/traces/addTraceNote.js +45 -0
- package/dist/src/traces/addTraceNote.js.map +1 -0
- package/dist/src/traces/index.d.ts +1 -0
- package/dist/src/traces/index.d.ts.map +1 -1
- package/dist/src/traces/index.js +1 -0
- package/dist/src/traces/index.js.map +1 -1
- package/dist/src/types/datasets.d.ts +10 -1
- package/dist/src/types/datasets.d.ts.map +1 -1
- package/dist/src/utils/formatPromptMessages.d.ts.map +1 -1
- package/dist/src/utils/getPromptBySelector.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/span-annotations.mdx +1 -1
- package/docs/spans.mdx +34 -1
- package/package.json +1 -1
- package/src/__generated__/api/v1.ts +377 -6
- package/src/constants/serverRequirements.ts +17 -0
- package/src/datasets/appendDatasetExamples.ts +26 -5
- package/src/datasets/createDataset.ts +66 -18
- package/src/datasets/getDatasetExamples.ts +7 -4
- package/src/datasets/index.ts +0 -1
- package/src/experiments/resumeEvaluation.ts +2 -1
- package/src/experiments/resumeExperiment.ts +3 -2
- package/src/experiments/runExperiment.ts +1 -1
- package/src/spans/addSpanNote.ts +1 -1
- package/src/traces/addTraceNote.ts +71 -0
- package/src/traces/index.ts +1 -0
- package/src/types/datasets.ts +10 -1
- package/dist/esm/datasets/createOrGetDataset.d.ts +0 -18
- package/dist/esm/datasets/createOrGetDataset.d.ts.map +0 -1
- package/dist/esm/datasets/createOrGetDataset.js +0 -29
- package/dist/esm/datasets/createOrGetDataset.js.map +0 -1
- package/dist/src/datasets/createOrGetDataset.d.ts +0 -18
- package/dist/src/datasets/createOrGetDataset.d.ts.map +0 -1
- package/dist/src/datasets/createOrGetDataset.js +0 -32
- package/dist/src/datasets/createOrGetDataset.js.map +0 -1
- package/src/datasets/createOrGetDataset.ts +0 -40
|
@@ -213,6 +213,23 @@ export interface paths {
|
|
|
213
213
|
patch?: never;
|
|
214
214
|
trace?: never;
|
|
215
215
|
};
|
|
216
|
+
"/v1/datasets/{id}/jsonl": {
|
|
217
|
+
parameters: {
|
|
218
|
+
query?: never;
|
|
219
|
+
header?: never;
|
|
220
|
+
path?: never;
|
|
221
|
+
cookie?: never;
|
|
222
|
+
};
|
|
223
|
+
/** Download dataset examples as JSONL file */
|
|
224
|
+
get: operations["getDatasetJSONL"];
|
|
225
|
+
put?: never;
|
|
226
|
+
post?: never;
|
|
227
|
+
delete?: never;
|
|
228
|
+
options?: never;
|
|
229
|
+
head?: never;
|
|
230
|
+
patch?: never;
|
|
231
|
+
trace?: never;
|
|
232
|
+
};
|
|
216
233
|
"/v1/datasets/{id}/jsonl/openai_ft": {
|
|
217
234
|
parameters: {
|
|
218
235
|
query?: never;
|
|
@@ -457,6 +474,26 @@ export interface paths {
|
|
|
457
474
|
patch?: never;
|
|
458
475
|
trace?: never;
|
|
459
476
|
};
|
|
477
|
+
"/v1/trace_notes": {
|
|
478
|
+
parameters: {
|
|
479
|
+
query?: never;
|
|
480
|
+
header?: never;
|
|
481
|
+
path?: never;
|
|
482
|
+
cookie?: never;
|
|
483
|
+
};
|
|
484
|
+
get?: never;
|
|
485
|
+
put?: never;
|
|
486
|
+
/**
|
|
487
|
+
* Create a trace note
|
|
488
|
+
* @description Add a note annotation to a trace. Notes are special annotations that allow multiple entries per trace (unlike regular annotations which are unique by name and identifier). Each note gets a unique UUIDv4 identifier.
|
|
489
|
+
*/
|
|
490
|
+
post: operations["createTraceNote"];
|
|
491
|
+
delete?: never;
|
|
492
|
+
options?: never;
|
|
493
|
+
head?: never;
|
|
494
|
+
patch?: never;
|
|
495
|
+
trace?: never;
|
|
496
|
+
};
|
|
460
497
|
"/v1/traces/{trace_identifier}": {
|
|
461
498
|
parameters: {
|
|
462
499
|
query?: never;
|
|
@@ -553,7 +590,7 @@ export interface paths {
|
|
|
553
590
|
put?: never;
|
|
554
591
|
/**
|
|
555
592
|
* Create a span note
|
|
556
|
-
* @description Add a note annotation to a span. Notes are special annotations that allow multiple entries per span (unlike regular annotations which are unique by name and identifier). Each note gets a unique
|
|
593
|
+
* @description Add a note annotation to a span. Notes are special annotations that allow multiple entries per span (unlike regular annotations which are unique by name and identifier). Each note gets a unique UUIDv4 identifier.
|
|
557
594
|
*/
|
|
558
595
|
post: operations["createSpanNote"];
|
|
559
596
|
delete?: never;
|
|
@@ -893,6 +930,26 @@ export interface paths {
|
|
|
893
930
|
patch?: never;
|
|
894
931
|
trace?: never;
|
|
895
932
|
};
|
|
933
|
+
"/v1/session_notes": {
|
|
934
|
+
parameters: {
|
|
935
|
+
query?: never;
|
|
936
|
+
header?: never;
|
|
937
|
+
path?: never;
|
|
938
|
+
cookie?: never;
|
|
939
|
+
};
|
|
940
|
+
get?: never;
|
|
941
|
+
put?: never;
|
|
942
|
+
/**
|
|
943
|
+
* Create a session note
|
|
944
|
+
* @description Add a note annotation to a session. Notes are special annotations that allow multiple entries per session (unlike regular annotations which are unique by name and identifier). Each note gets a unique UUIDv4 identifier.
|
|
945
|
+
*/
|
|
946
|
+
post: operations["createSessionNote"];
|
|
947
|
+
delete?: never;
|
|
948
|
+
options?: never;
|
|
949
|
+
head?: never;
|
|
950
|
+
patch?: never;
|
|
951
|
+
trace?: never;
|
|
952
|
+
};
|
|
896
953
|
"/v1/document_annotations": {
|
|
897
954
|
parameters: {
|
|
898
955
|
query?: never;
|
|
@@ -1264,6 +1321,14 @@ export interface components {
|
|
|
1264
1321
|
CreatePromptResponseBody: {
|
|
1265
1322
|
data: components["schemas"]["PromptVersion"];
|
|
1266
1323
|
};
|
|
1324
|
+
/** CreateSessionNoteRequestBody */
|
|
1325
|
+
CreateSessionNoteRequestBody: {
|
|
1326
|
+
data: components["schemas"]["SessionNoteData"];
|
|
1327
|
+
};
|
|
1328
|
+
/** CreateSessionNoteResponseBody */
|
|
1329
|
+
CreateSessionNoteResponseBody: {
|
|
1330
|
+
data: components["schemas"]["InsertedSessionAnnotation"];
|
|
1331
|
+
};
|
|
1267
1332
|
/** CreateSpanNoteRequestBody */
|
|
1268
1333
|
CreateSpanNoteRequestBody: {
|
|
1269
1334
|
data: components["schemas"]["SpanNoteData"];
|
|
@@ -1290,6 +1355,14 @@ export interface components {
|
|
|
1290
1355
|
*/
|
|
1291
1356
|
total_queued: number;
|
|
1292
1357
|
};
|
|
1358
|
+
/** CreateTraceNoteRequestBody */
|
|
1359
|
+
CreateTraceNoteRequestBody: {
|
|
1360
|
+
data: components["schemas"]["TraceNoteData"];
|
|
1361
|
+
};
|
|
1362
|
+
/** CreateTraceNoteResponseBody */
|
|
1363
|
+
CreateTraceNoteResponseBody: {
|
|
1364
|
+
data: components["schemas"]["InsertedTraceAnnotation"];
|
|
1365
|
+
};
|
|
1293
1366
|
/** CreateUserRequestBody */
|
|
1294
1367
|
CreateUserRequestBody: {
|
|
1295
1368
|
/** User */
|
|
@@ -1334,6 +1407,8 @@ export interface components {
|
|
|
1334
1407
|
DatasetExample: {
|
|
1335
1408
|
/** Id */
|
|
1336
1409
|
id: string;
|
|
1410
|
+
/** Node Id */
|
|
1411
|
+
node_id: string;
|
|
1337
1412
|
/** Input */
|
|
1338
1413
|
input: {
|
|
1339
1414
|
[key: string]: unknown;
|
|
@@ -2186,8 +2261,34 @@ export interface components {
|
|
|
2186
2261
|
top_p?: number;
|
|
2187
2262
|
/** Stop Sequences */
|
|
2188
2263
|
stop_sequences?: string[];
|
|
2264
|
+
output_config?: components["schemas"]["PromptAnthropicOutputConfig"];
|
|
2189
2265
|
/** Thinking */
|
|
2190
|
-
thinking?: components["schemas"]["PromptAnthropicThinkingConfigDisabled"] | components["schemas"]["PromptAnthropicThinkingConfigEnabled"];
|
|
2266
|
+
thinking?: components["schemas"]["PromptAnthropicThinkingConfigDisabled"] | components["schemas"]["PromptAnthropicThinkingConfigEnabled"] | components["schemas"]["PromptAnthropicThinkingConfigAdaptive"];
|
|
2267
|
+
/** Extra Body */
|
|
2268
|
+
extra_body?: {
|
|
2269
|
+
[key: string]: unknown;
|
|
2270
|
+
};
|
|
2271
|
+
};
|
|
2272
|
+
/** PromptAnthropicOutputConfig */
|
|
2273
|
+
PromptAnthropicOutputConfig: {
|
|
2274
|
+
/**
|
|
2275
|
+
* Effort
|
|
2276
|
+
* @enum {string}
|
|
2277
|
+
*/
|
|
2278
|
+
effort?: "low" | "medium" | "high" | "xhigh" | "max";
|
|
2279
|
+
};
|
|
2280
|
+
/** PromptAnthropicThinkingConfigAdaptive */
|
|
2281
|
+
PromptAnthropicThinkingConfigAdaptive: {
|
|
2282
|
+
/**
|
|
2283
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2284
|
+
* @enum {string}
|
|
2285
|
+
*/
|
|
2286
|
+
type: "adaptive";
|
|
2287
|
+
/**
|
|
2288
|
+
* Display
|
|
2289
|
+
* @enum {string}
|
|
2290
|
+
*/
|
|
2291
|
+
display?: "summarized" | "omitted";
|
|
2191
2292
|
};
|
|
2192
2293
|
/** PromptAnthropicThinkingConfigDisabled */
|
|
2193
2294
|
PromptAnthropicThinkingConfigDisabled: {
|
|
@@ -2206,6 +2307,11 @@ export interface components {
|
|
|
2206
2307
|
type: "enabled";
|
|
2207
2308
|
/** Budget Tokens */
|
|
2208
2309
|
budget_tokens: number;
|
|
2310
|
+
/**
|
|
2311
|
+
* Display
|
|
2312
|
+
* @enum {string}
|
|
2313
|
+
*/
|
|
2314
|
+
display?: "summarized" | "omitted";
|
|
2209
2315
|
};
|
|
2210
2316
|
/** PromptAwsInvocationParameters */
|
|
2211
2317
|
PromptAwsInvocationParameters: {
|
|
@@ -2224,6 +2330,8 @@ export interface components {
|
|
|
2224
2330
|
temperature?: number;
|
|
2225
2331
|
/** Top P */
|
|
2226
2332
|
top_p?: number;
|
|
2333
|
+
/** Stop Sequences */
|
|
2334
|
+
stop_sequences?: string[];
|
|
2227
2335
|
};
|
|
2228
2336
|
/** PromptAzureOpenAIInvocationParameters */
|
|
2229
2337
|
PromptAzureOpenAIInvocationParameters: {
|
|
@@ -2250,11 +2358,17 @@ export interface components {
|
|
|
2250
2358
|
top_p?: number;
|
|
2251
2359
|
/** Seed */
|
|
2252
2360
|
seed?: number;
|
|
2361
|
+
/** Stop */
|
|
2362
|
+
stop?: string[];
|
|
2253
2363
|
/**
|
|
2254
2364
|
* Reasoning Effort
|
|
2255
2365
|
* @enum {string}
|
|
2256
2366
|
*/
|
|
2257
2367
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2368
|
+
/** Extra Body */
|
|
2369
|
+
extra_body?: {
|
|
2370
|
+
[key: string]: unknown;
|
|
2371
|
+
};
|
|
2258
2372
|
};
|
|
2259
2373
|
/** PromptCerebrasInvocationParameters */
|
|
2260
2374
|
PromptCerebrasInvocationParameters: {
|
|
@@ -2281,11 +2395,17 @@ export interface components {
|
|
|
2281
2395
|
top_p?: number;
|
|
2282
2396
|
/** Seed */
|
|
2283
2397
|
seed?: number;
|
|
2398
|
+
/** Stop */
|
|
2399
|
+
stop?: string[];
|
|
2284
2400
|
/**
|
|
2285
2401
|
* Reasoning Effort
|
|
2286
2402
|
* @enum {string}
|
|
2287
2403
|
*/
|
|
2288
2404
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2405
|
+
/** Extra Body */
|
|
2406
|
+
extra_body?: {
|
|
2407
|
+
[key: string]: unknown;
|
|
2408
|
+
};
|
|
2289
2409
|
};
|
|
2290
2410
|
/** PromptChatTemplate */
|
|
2291
2411
|
PromptChatTemplate: {
|
|
@@ -2334,11 +2454,17 @@ export interface components {
|
|
|
2334
2454
|
top_p?: number;
|
|
2335
2455
|
/** Seed */
|
|
2336
2456
|
seed?: number;
|
|
2457
|
+
/** Stop */
|
|
2458
|
+
stop?: string[];
|
|
2337
2459
|
/**
|
|
2338
2460
|
* Reasoning Effort
|
|
2339
2461
|
* @enum {string}
|
|
2340
2462
|
*/
|
|
2341
2463
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2464
|
+
/** Extra Body */
|
|
2465
|
+
extra_body?: {
|
|
2466
|
+
[key: string]: unknown;
|
|
2467
|
+
};
|
|
2342
2468
|
};
|
|
2343
2469
|
/** PromptFireworksInvocationParameters */
|
|
2344
2470
|
PromptFireworksInvocationParameters: {
|
|
@@ -2365,11 +2491,17 @@ export interface components {
|
|
|
2365
2491
|
top_p?: number;
|
|
2366
2492
|
/** Seed */
|
|
2367
2493
|
seed?: number;
|
|
2494
|
+
/** Stop */
|
|
2495
|
+
stop?: string[];
|
|
2368
2496
|
/**
|
|
2369
2497
|
* Reasoning Effort
|
|
2370
2498
|
* @enum {string}
|
|
2371
2499
|
*/
|
|
2372
2500
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2501
|
+
/** Extra Body */
|
|
2502
|
+
extra_body?: {
|
|
2503
|
+
[key: string]: unknown;
|
|
2504
|
+
};
|
|
2373
2505
|
};
|
|
2374
2506
|
/** PromptGoogleInvocationParameters */
|
|
2375
2507
|
PromptGoogleInvocationParameters: {
|
|
@@ -2396,6 +2528,19 @@ export interface components {
|
|
|
2396
2528
|
top_p?: number;
|
|
2397
2529
|
/** Top K */
|
|
2398
2530
|
top_k?: number;
|
|
2531
|
+
thinking_config?: components["schemas"]["PromptGoogleThinkingConfig"];
|
|
2532
|
+
};
|
|
2533
|
+
/** PromptGoogleThinkingConfig */
|
|
2534
|
+
PromptGoogleThinkingConfig: {
|
|
2535
|
+
/** Thinking Budget */
|
|
2536
|
+
thinking_budget?: number;
|
|
2537
|
+
/**
|
|
2538
|
+
* Thinking Level
|
|
2539
|
+
* @enum {string}
|
|
2540
|
+
*/
|
|
2541
|
+
thinking_level?: "minimal" | "low" | "medium" | "high";
|
|
2542
|
+
/** Include Thoughts */
|
|
2543
|
+
include_thoughts?: boolean;
|
|
2399
2544
|
};
|
|
2400
2545
|
/** PromptGroqInvocationParameters */
|
|
2401
2546
|
PromptGroqInvocationParameters: {
|
|
@@ -2422,11 +2567,17 @@ export interface components {
|
|
|
2422
2567
|
top_p?: number;
|
|
2423
2568
|
/** Seed */
|
|
2424
2569
|
seed?: number;
|
|
2570
|
+
/** Stop */
|
|
2571
|
+
stop?: string[];
|
|
2425
2572
|
/**
|
|
2426
2573
|
* Reasoning Effort
|
|
2427
2574
|
* @enum {string}
|
|
2428
2575
|
*/
|
|
2429
2576
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2577
|
+
/** Extra Body */
|
|
2578
|
+
extra_body?: {
|
|
2579
|
+
[key: string]: unknown;
|
|
2580
|
+
};
|
|
2430
2581
|
};
|
|
2431
2582
|
/** PromptMessage */
|
|
2432
2583
|
PromptMessage: {
|
|
@@ -2463,11 +2614,17 @@ export interface components {
|
|
|
2463
2614
|
top_p?: number;
|
|
2464
2615
|
/** Seed */
|
|
2465
2616
|
seed?: number;
|
|
2617
|
+
/** Stop */
|
|
2618
|
+
stop?: string[];
|
|
2466
2619
|
/**
|
|
2467
2620
|
* Reasoning Effort
|
|
2468
2621
|
* @enum {string}
|
|
2469
2622
|
*/
|
|
2470
2623
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2624
|
+
/** Extra Body */
|
|
2625
|
+
extra_body?: {
|
|
2626
|
+
[key: string]: unknown;
|
|
2627
|
+
};
|
|
2471
2628
|
};
|
|
2472
2629
|
/** PromptOllamaInvocationParameters */
|
|
2473
2630
|
PromptOllamaInvocationParameters: {
|
|
@@ -2494,11 +2651,17 @@ export interface components {
|
|
|
2494
2651
|
top_p?: number;
|
|
2495
2652
|
/** Seed */
|
|
2496
2653
|
seed?: number;
|
|
2654
|
+
/** Stop */
|
|
2655
|
+
stop?: string[];
|
|
2497
2656
|
/**
|
|
2498
2657
|
* Reasoning Effort
|
|
2499
2658
|
* @enum {string}
|
|
2500
2659
|
*/
|
|
2501
2660
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2661
|
+
/** Extra Body */
|
|
2662
|
+
extra_body?: {
|
|
2663
|
+
[key: string]: unknown;
|
|
2664
|
+
};
|
|
2502
2665
|
};
|
|
2503
2666
|
/** PromptOpenAIInvocationParameters */
|
|
2504
2667
|
PromptOpenAIInvocationParameters: {
|
|
@@ -2525,11 +2688,17 @@ export interface components {
|
|
|
2525
2688
|
top_p?: number;
|
|
2526
2689
|
/** Seed */
|
|
2527
2690
|
seed?: number;
|
|
2691
|
+
/** Stop */
|
|
2692
|
+
stop?: string[];
|
|
2528
2693
|
/**
|
|
2529
2694
|
* Reasoning Effort
|
|
2530
2695
|
* @enum {string}
|
|
2531
2696
|
*/
|
|
2532
2697
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2698
|
+
/** Extra Body */
|
|
2699
|
+
extra_body?: {
|
|
2700
|
+
[key: string]: unknown;
|
|
2701
|
+
};
|
|
2533
2702
|
};
|
|
2534
2703
|
/** PromptPerplexityInvocationParameters */
|
|
2535
2704
|
PromptPerplexityInvocationParameters: {
|
|
@@ -2556,11 +2725,17 @@ export interface components {
|
|
|
2556
2725
|
top_p?: number;
|
|
2557
2726
|
/** Seed */
|
|
2558
2727
|
seed?: number;
|
|
2728
|
+
/** Stop */
|
|
2729
|
+
stop?: string[];
|
|
2559
2730
|
/**
|
|
2560
2731
|
* Reasoning Effort
|
|
2561
2732
|
* @enum {string}
|
|
2562
2733
|
*/
|
|
2563
2734
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2735
|
+
/** Extra Body */
|
|
2736
|
+
extra_body?: {
|
|
2737
|
+
[key: string]: unknown;
|
|
2738
|
+
};
|
|
2564
2739
|
};
|
|
2565
2740
|
/** PromptResponseFormatJSONSchema */
|
|
2566
2741
|
PromptResponseFormatJSONSchema: {
|
|
@@ -2629,11 +2804,17 @@ export interface components {
|
|
|
2629
2804
|
top_p?: number;
|
|
2630
2805
|
/** Seed */
|
|
2631
2806
|
seed?: number;
|
|
2807
|
+
/** Stop */
|
|
2808
|
+
stop?: string[];
|
|
2632
2809
|
/**
|
|
2633
2810
|
* Reasoning Effort
|
|
2634
2811
|
* @enum {string}
|
|
2635
2812
|
*/
|
|
2636
2813
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2814
|
+
/** Extra Body */
|
|
2815
|
+
extra_body?: {
|
|
2816
|
+
[key: string]: unknown;
|
|
2817
|
+
};
|
|
2637
2818
|
};
|
|
2638
2819
|
/** PromptToolChoiceNone */
|
|
2639
2820
|
PromptToolChoiceNone: {
|
|
@@ -2780,11 +2961,17 @@ export interface components {
|
|
|
2780
2961
|
top_p?: number;
|
|
2781
2962
|
/** Seed */
|
|
2782
2963
|
seed?: number;
|
|
2964
|
+
/** Stop */
|
|
2965
|
+
stop?: string[];
|
|
2783
2966
|
/**
|
|
2784
2967
|
* Reasoning Effort
|
|
2785
2968
|
* @enum {string}
|
|
2786
2969
|
*/
|
|
2787
2970
|
reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
|
2971
|
+
/** Extra Body */
|
|
2972
|
+
extra_body?: {
|
|
2973
|
+
[key: string]: unknown;
|
|
2974
|
+
};
|
|
2788
2975
|
};
|
|
2789
2976
|
/** ResponseBody[UpsertOrDeleteSecretsResult] */
|
|
2790
2977
|
ResponseBody_UpsertOrDeleteSecretsResult_: {
|
|
@@ -2918,6 +3105,19 @@ export interface components {
|
|
|
2918
3105
|
/** Traces */
|
|
2919
3106
|
traces: components["schemas"]["SessionTraceData"][];
|
|
2920
3107
|
};
|
|
3108
|
+
/** SessionNoteData */
|
|
3109
|
+
SessionNoteData: {
|
|
3110
|
+
/**
|
|
3111
|
+
* Session Id
|
|
3112
|
+
* @description Session ID
|
|
3113
|
+
*/
|
|
3114
|
+
session_id: string;
|
|
3115
|
+
/**
|
|
3116
|
+
* Note
|
|
3117
|
+
* @description The note text to add to the session
|
|
3118
|
+
*/
|
|
3119
|
+
note: string;
|
|
3120
|
+
};
|
|
2921
3121
|
/** SessionTraceData */
|
|
2922
3122
|
SessionTraceData: {
|
|
2923
3123
|
/** Id */
|
|
@@ -3381,6 +3581,19 @@ export interface components {
|
|
|
3381
3581
|
/** Spans */
|
|
3382
3582
|
spans?: components["schemas"]["TraceSpanData"][] | null;
|
|
3383
3583
|
};
|
|
3584
|
+
/** TraceNoteData */
|
|
3585
|
+
TraceNoteData: {
|
|
3586
|
+
/**
|
|
3587
|
+
* Trace Id
|
|
3588
|
+
* @description OpenTelemetry Trace ID (hex format w/o 0x prefix)
|
|
3589
|
+
*/
|
|
3590
|
+
trace_id: string;
|
|
3591
|
+
/**
|
|
3592
|
+
* Note
|
|
3593
|
+
* @description The note text to add to the trace
|
|
3594
|
+
*/
|
|
3595
|
+
note: string;
|
|
3596
|
+
};
|
|
3384
3597
|
/** TraceSpanData */
|
|
3385
3598
|
TraceSpanData: {
|
|
3386
3599
|
/** Id */
|
|
@@ -3426,6 +3639,12 @@ export interface components {
|
|
|
3426
3639
|
dataset_id: string;
|
|
3427
3640
|
/** Version Id */
|
|
3428
3641
|
version_id: string;
|
|
3642
|
+
/** Num Created Examples */
|
|
3643
|
+
num_created_examples: number;
|
|
3644
|
+
/** Num Updated Examples */
|
|
3645
|
+
num_updated_examples: number;
|
|
3646
|
+
/** Num Deleted Examples */
|
|
3647
|
+
num_deleted_examples: number;
|
|
3429
3648
|
};
|
|
3430
3649
|
/** UploadDatasetResponseBody */
|
|
3431
3650
|
UploadDatasetResponseBody: {
|
|
@@ -4131,7 +4350,7 @@ export interface operations {
|
|
|
4131
4350
|
content: {
|
|
4132
4351
|
"application/json": {
|
|
4133
4352
|
/** @enum {string} */
|
|
4134
|
-
action?: "create" | "append";
|
|
4353
|
+
action?: "create" | "append" | "update";
|
|
4135
4354
|
name: string;
|
|
4136
4355
|
description?: string;
|
|
4137
4356
|
inputs: Record<string, unknown>[];
|
|
@@ -4141,21 +4360,27 @@ export interface operations {
|
|
|
4141
4360
|
splits?: (string | string[] | null)[];
|
|
4142
4361
|
/** @description Span IDs to link examples back to spans */
|
|
4143
4362
|
span_ids?: (string | null)[];
|
|
4363
|
+
/** @description Optional example ID per example. If provided, it is used as the example's stable public ID. */
|
|
4364
|
+
example_ids?: (string | null)[];
|
|
4144
4365
|
};
|
|
4145
4366
|
"multipart/form-data": {
|
|
4146
4367
|
/** @enum {string} */
|
|
4147
|
-
action?: "create" | "append";
|
|
4368
|
+
action?: "create" | "append" | "update";
|
|
4148
4369
|
name: string;
|
|
4149
4370
|
description?: string;
|
|
4150
4371
|
"input_keys[]": string[];
|
|
4151
4372
|
"output_keys[]": string[];
|
|
4152
4373
|
"metadata_keys[]"?: string[];
|
|
4153
|
-
/** @description Column names for auto-assigning examples to splits */
|
|
4374
|
+
/** @description Deprecated: use split_key instead. Column names for auto-assigning examples to splits */
|
|
4154
4375
|
"split_keys[]"?: string[];
|
|
4376
|
+
/** @description Single column name containing split names (plain string or JSON list) per row */
|
|
4377
|
+
split_key?: string;
|
|
4155
4378
|
/** @description Column names whose object values should be flattened into their selected bucket */
|
|
4156
4379
|
"flatten_keys[]"?: string[];
|
|
4157
4380
|
/** @description Column name for span IDs to link examples back to spans */
|
|
4158
4381
|
span_id_key?: string;
|
|
4382
|
+
/** @description Column name containing stable IDs for examples. When provided, examples with matching IDs are updated in place when their content changes. */
|
|
4383
|
+
example_id_key?: string;
|
|
4159
4384
|
/** Format: binary */
|
|
4160
4385
|
file: string;
|
|
4161
4386
|
};
|
|
@@ -4180,7 +4405,7 @@ export interface operations {
|
|
|
4180
4405
|
"text/plain": string;
|
|
4181
4406
|
};
|
|
4182
4407
|
};
|
|
4183
|
-
/** @description Dataset
|
|
4408
|
+
/** @description Dataset with the given name already exists (action=create). */
|
|
4184
4409
|
409: {
|
|
4185
4410
|
headers: {
|
|
4186
4411
|
[name: string]: unknown;
|
|
@@ -4299,6 +4524,50 @@ export interface operations {
|
|
|
4299
4524
|
};
|
|
4300
4525
|
};
|
|
4301
4526
|
};
|
|
4527
|
+
getDatasetJSONL: {
|
|
4528
|
+
parameters: {
|
|
4529
|
+
query?: {
|
|
4530
|
+
/** @description The ID of the dataset version (if omitted, returns data from the latest version) */
|
|
4531
|
+
version_id?: string | null;
|
|
4532
|
+
};
|
|
4533
|
+
header?: never;
|
|
4534
|
+
path: {
|
|
4535
|
+
/** @description The ID of the dataset */
|
|
4536
|
+
id: string;
|
|
4537
|
+
};
|
|
4538
|
+
cookie?: never;
|
|
4539
|
+
};
|
|
4540
|
+
requestBody?: never;
|
|
4541
|
+
responses: {
|
|
4542
|
+
/** @description Successful Response */
|
|
4543
|
+
200: {
|
|
4544
|
+
headers: {
|
|
4545
|
+
[name: string]: unknown;
|
|
4546
|
+
};
|
|
4547
|
+
content: {
|
|
4548
|
+
"text/plain": string;
|
|
4549
|
+
};
|
|
4550
|
+
};
|
|
4551
|
+
/** @description Forbidden */
|
|
4552
|
+
403: {
|
|
4553
|
+
headers: {
|
|
4554
|
+
[name: string]: unknown;
|
|
4555
|
+
};
|
|
4556
|
+
content: {
|
|
4557
|
+
"text/plain": string;
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4560
|
+
/** @description Invalid dataset or version ID */
|
|
4561
|
+
422: {
|
|
4562
|
+
headers: {
|
|
4563
|
+
[name: string]: unknown;
|
|
4564
|
+
};
|
|
4565
|
+
content: {
|
|
4566
|
+
"text/plain": string;
|
|
4567
|
+
};
|
|
4568
|
+
};
|
|
4569
|
+
};
|
|
4570
|
+
};
|
|
4302
4571
|
getDatasetJSONLOpenAIFineTuning: {
|
|
4303
4572
|
parameters: {
|
|
4304
4573
|
query?: {
|
|
@@ -5081,6 +5350,57 @@ export interface operations {
|
|
|
5081
5350
|
};
|
|
5082
5351
|
};
|
|
5083
5352
|
};
|
|
5353
|
+
createTraceNote: {
|
|
5354
|
+
parameters: {
|
|
5355
|
+
query?: never;
|
|
5356
|
+
header?: never;
|
|
5357
|
+
path?: never;
|
|
5358
|
+
cookie?: never;
|
|
5359
|
+
};
|
|
5360
|
+
requestBody: {
|
|
5361
|
+
content: {
|
|
5362
|
+
"application/json": components["schemas"]["CreateTraceNoteRequestBody"];
|
|
5363
|
+
};
|
|
5364
|
+
};
|
|
5365
|
+
responses: {
|
|
5366
|
+
/** @description Trace note created successfully */
|
|
5367
|
+
200: {
|
|
5368
|
+
headers: {
|
|
5369
|
+
[name: string]: unknown;
|
|
5370
|
+
};
|
|
5371
|
+
content: {
|
|
5372
|
+
"application/json": components["schemas"]["CreateTraceNoteResponseBody"];
|
|
5373
|
+
};
|
|
5374
|
+
};
|
|
5375
|
+
/** @description Forbidden */
|
|
5376
|
+
403: {
|
|
5377
|
+
headers: {
|
|
5378
|
+
[name: string]: unknown;
|
|
5379
|
+
};
|
|
5380
|
+
content: {
|
|
5381
|
+
"text/plain": string;
|
|
5382
|
+
};
|
|
5383
|
+
};
|
|
5384
|
+
/** @description Trace not found */
|
|
5385
|
+
404: {
|
|
5386
|
+
headers: {
|
|
5387
|
+
[name: string]: unknown;
|
|
5388
|
+
};
|
|
5389
|
+
content: {
|
|
5390
|
+
"text/plain": string;
|
|
5391
|
+
};
|
|
5392
|
+
};
|
|
5393
|
+
/** @description Validation Error */
|
|
5394
|
+
422: {
|
|
5395
|
+
headers: {
|
|
5396
|
+
[name: string]: unknown;
|
|
5397
|
+
};
|
|
5398
|
+
content: {
|
|
5399
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
5400
|
+
};
|
|
5401
|
+
};
|
|
5402
|
+
};
|
|
5403
|
+
};
|
|
5084
5404
|
deleteTrace: {
|
|
5085
5405
|
parameters: {
|
|
5086
5406
|
query?: never;
|
|
@@ -6472,6 +6792,57 @@ export interface operations {
|
|
|
6472
6792
|
};
|
|
6473
6793
|
};
|
|
6474
6794
|
};
|
|
6795
|
+
createSessionNote: {
|
|
6796
|
+
parameters: {
|
|
6797
|
+
query?: never;
|
|
6798
|
+
header?: never;
|
|
6799
|
+
path?: never;
|
|
6800
|
+
cookie?: never;
|
|
6801
|
+
};
|
|
6802
|
+
requestBody: {
|
|
6803
|
+
content: {
|
|
6804
|
+
"application/json": components["schemas"]["CreateSessionNoteRequestBody"];
|
|
6805
|
+
};
|
|
6806
|
+
};
|
|
6807
|
+
responses: {
|
|
6808
|
+
/** @description Session note created successfully */
|
|
6809
|
+
200: {
|
|
6810
|
+
headers: {
|
|
6811
|
+
[name: string]: unknown;
|
|
6812
|
+
};
|
|
6813
|
+
content: {
|
|
6814
|
+
"application/json": components["schemas"]["CreateSessionNoteResponseBody"];
|
|
6815
|
+
};
|
|
6816
|
+
};
|
|
6817
|
+
/** @description Forbidden */
|
|
6818
|
+
403: {
|
|
6819
|
+
headers: {
|
|
6820
|
+
[name: string]: unknown;
|
|
6821
|
+
};
|
|
6822
|
+
content: {
|
|
6823
|
+
"text/plain": string;
|
|
6824
|
+
};
|
|
6825
|
+
};
|
|
6826
|
+
/** @description Session not found */
|
|
6827
|
+
404: {
|
|
6828
|
+
headers: {
|
|
6829
|
+
[name: string]: unknown;
|
|
6830
|
+
};
|
|
6831
|
+
content: {
|
|
6832
|
+
"text/plain": string;
|
|
6833
|
+
};
|
|
6834
|
+
};
|
|
6835
|
+
/** @description Validation Error */
|
|
6836
|
+
422: {
|
|
6837
|
+
headers: {
|
|
6838
|
+
[name: string]: unknown;
|
|
6839
|
+
};
|
|
6840
|
+
content: {
|
|
6841
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
6842
|
+
};
|
|
6843
|
+
};
|
|
6844
|
+
};
|
|
6845
|
+
};
|
|
6475
6846
|
annotateSpanDocuments: {
|
|
6476
6847
|
parameters: {
|
|
6477
6848
|
query?: {
|