@arizeai/phoenix-client 6.10.0 → 6.10.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 +251 -27
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/experiments/helpers/getExampleGlobalId.d.ts +8 -0
- package/dist/esm/experiments/helpers/getExampleGlobalId.d.ts.map +1 -0
- package/dist/esm/experiments/helpers/getExampleGlobalId.js +9 -0
- package/dist/esm/experiments/helpers/getExampleGlobalId.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/esm/experiments/runExperiment.js +6 -3
- package/dist/esm/experiments/runExperiment.js.map +1 -1
- package/dist/esm/tsconfig.esm.tsbuildinfo +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 +251 -27
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/experiments/helpers/getExampleGlobalId.d.ts +8 -0
- package/dist/src/experiments/helpers/getExampleGlobalId.d.ts.map +1 -0
- package/dist/src/experiments/helpers/getExampleGlobalId.js +13 -0
- package/dist/src/experiments/helpers/getExampleGlobalId.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/src/experiments/runExperiment.js +6 -3
- package/dist/src/experiments/runExperiment.js.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/package.json +1 -1
- package/src/__generated__/api/v1.ts +251 -27
- package/src/experiments/helpers/getExampleGlobalId.ts +12 -0
- package/src/experiments/resumeEvaluation.ts +2 -1
- package/src/experiments/resumeExperiment.ts +3 -2
- package/src/experiments/runExperiment.ts +6 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatPromptMessages.d.ts","sourceRoot":"","sources":["../../../src/utils/formatPromptMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGhF;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,iBAAiB,EAAE,EACnC,SAAS,GAAE,SAAc;;;;;;;
|
|
1
|
+
{"version":3,"file":"formatPromptMessages.d.ts","sourceRoot":"","sources":["../../../src/utils/formatPromptMessages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAGhF;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,oBAAoB,EAC5B,cAAc,EAAE,iBAAiB,EAAE,EACnC,SAAS,GAAE,SAAc;;;;;;;mBA4Dm2/J,uDAAsB;;;;;;;;;IAlBn5/J"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getPromptBySelector.d.ts","sourceRoot":"","sources":["../../../src/utils/getPromptBySelector.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG;IACjD;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,MAAM,EAAE,OAAO,EACf,MAAM,GACP,EAAE,yBAAyB;;
|
|
1
|
+
{"version":3,"file":"getPromptBySelector.d.ts","sourceRoot":"","sources":["../../../src/utils/getPromptBySelector.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,QAAQ,GAAG;IACjD;;OAEG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,EACxC,MAAM,EAAE,OAAO,EACf,MAAM,GACP,EAAE,yBAAyB;;oBAkD+yrI,uDAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAA0P,uDAAsB;qBAAoD,uDAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAD1rsI"}
|
|
@@ -1382,22 +1382,6 @@ export interface paths {
|
|
|
1382
1382
|
export type webhooks = Record<string, never>;
|
|
1383
1383
|
export interface components {
|
|
1384
1384
|
schemas: {
|
|
1385
|
-
/**
|
|
1386
|
-
* AgentCapabilities
|
|
1387
|
-
* @description Runtime capability state sent by the browser for a chat turn.
|
|
1388
|
-
*/
|
|
1389
|
-
AgentCapabilities: {
|
|
1390
|
-
/**
|
|
1391
|
-
* Bash.Retaininactivesessions
|
|
1392
|
-
* @default false
|
|
1393
|
-
*/
|
|
1394
|
-
"bash.retainInactiveSessions"?: boolean;
|
|
1395
|
-
/**
|
|
1396
|
-
* Graphql.Mutations
|
|
1397
|
-
* @default false
|
|
1398
|
-
*/
|
|
1399
|
-
"graphql.mutations"?: boolean;
|
|
1400
|
-
};
|
|
1401
1385
|
/**
|
|
1402
1386
|
* AgentSpanContext
|
|
1403
1387
|
* @description Span the user has selected.
|
|
@@ -1624,12 +1608,8 @@ export interface components {
|
|
|
1624
1608
|
/**
|
|
1625
1609
|
* ChatContext
|
|
1626
1610
|
* @description Discriminated union of every UI-state context the agent understands.
|
|
1627
|
-
*
|
|
1628
|
-
* Wrapped in ``RootModel`` so the generated OpenAPI schema exposes a single
|
|
1629
|
-
* named ``ChatContext`` component instead of inlining the ``oneOf`` at every
|
|
1630
|
-
* reference site. The actual member is accessible via ``.root``.
|
|
1631
1611
|
*/
|
|
1632
|
-
ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"];
|
|
1612
|
+
ChatContext: components["schemas"]["AppContext"] | components["schemas"]["ProjectContext"] | components["schemas"]["TraceContext"] | components["schemas"]["AgentSpanContext"] | components["schemas"]["PlaygroundContext"] | components["schemas"]["CodeEvaluatorContext"] | components["schemas"]["LlmEvaluatorContext"] | components["schemas"]["DatasetContext"] | components["schemas"]["GraphQLContext"] | components["schemas"]["WebAccessContext"];
|
|
1633
1613
|
/**
|
|
1634
1614
|
* ChatRegenerateMessage
|
|
1635
1615
|
* @description Regenerate message extended with Phoenix-specific fields.
|
|
@@ -1658,7 +1638,17 @@ export interface components {
|
|
|
1658
1638
|
exportRemoteTraces?: boolean;
|
|
1659
1639
|
/** Contexts */
|
|
1660
1640
|
contexts?: components["schemas"]["ChatContext"][];
|
|
1661
|
-
|
|
1641
|
+
/**
|
|
1642
|
+
* Editpermission
|
|
1643
|
+
* @default manual
|
|
1644
|
+
* @enum {string}
|
|
1645
|
+
*/
|
|
1646
|
+
editPermission?: "manual" | "bypass";
|
|
1647
|
+
/**
|
|
1648
|
+
* Requestedskills
|
|
1649
|
+
* @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
|
|
1650
|
+
*/
|
|
1651
|
+
requestedSkills?: string[];
|
|
1662
1652
|
/** Model */
|
|
1663
1653
|
model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
|
|
1664
1654
|
} & {
|
|
@@ -1695,12 +1685,35 @@ export interface components {
|
|
|
1695
1685
|
exportRemoteTraces?: boolean;
|
|
1696
1686
|
/** Contexts */
|
|
1697
1687
|
contexts?: components["schemas"]["ChatContext"][];
|
|
1698
|
-
|
|
1688
|
+
/**
|
|
1689
|
+
* Editpermission
|
|
1690
|
+
* @default manual
|
|
1691
|
+
* @enum {string}
|
|
1692
|
+
*/
|
|
1693
|
+
editPermission?: "manual" | "bypass";
|
|
1694
|
+
/**
|
|
1695
|
+
* Requestedskills
|
|
1696
|
+
* @description Skills the user explicitly requested via the prompt's slash-command affordance. The server force-loads each available skill by injecting a synthetic load_skill tool call/result at the tail of the message history. Unknown or context-unavailable names are ignored.
|
|
1697
|
+
*/
|
|
1698
|
+
requestedSkills?: string[];
|
|
1699
1699
|
/** Model */
|
|
1700
1700
|
model: components["schemas"]["CustomProviderModelSelection"] | components["schemas"]["BuiltInProviderModelSelection"];
|
|
1701
1701
|
} & {
|
|
1702
1702
|
[key: string]: unknown;
|
|
1703
1703
|
};
|
|
1704
|
+
/**
|
|
1705
|
+
* CodeEvaluatorContext
|
|
1706
|
+
* @description Code-evaluator create/edit form mounted in the current browser route.
|
|
1707
|
+
*/
|
|
1708
|
+
CodeEvaluatorContext: {
|
|
1709
|
+
/**
|
|
1710
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1711
|
+
* @enum {string}
|
|
1712
|
+
*/
|
|
1713
|
+
type: "code_evaluator";
|
|
1714
|
+
/** Evaluatornodeid */
|
|
1715
|
+
evaluatorNodeId?: string | null;
|
|
1716
|
+
};
|
|
1704
1717
|
/** ContinuousAnnotationConfig */
|
|
1705
1718
|
ContinuousAnnotationConfig: {
|
|
1706
1719
|
/** Name */
|
|
@@ -1968,6 +1981,26 @@ export interface components {
|
|
|
1968
1981
|
/** Example Count */
|
|
1969
1982
|
example_count: number;
|
|
1970
1983
|
};
|
|
1984
|
+
/**
|
|
1985
|
+
* DatasetContext
|
|
1986
|
+
* @description Dataset the user is currently viewing or has bound to a workflow.
|
|
1987
|
+
*
|
|
1988
|
+
* Carries the dataset's relay node id and, when known, the active version
|
|
1989
|
+
* node id. These IDs scope the create-form handoff link and the sampling of
|
|
1990
|
+
* active dataset examples used as prompt context; the dataset schema itself
|
|
1991
|
+
* is open.
|
|
1992
|
+
*/
|
|
1993
|
+
DatasetContext: {
|
|
1994
|
+
/**
|
|
1995
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1996
|
+
* @enum {string}
|
|
1997
|
+
*/
|
|
1998
|
+
type: "dataset";
|
|
1999
|
+
/** Datasetnodeid */
|
|
2000
|
+
datasetNodeId: string;
|
|
2001
|
+
/** Datasetversionnodeid */
|
|
2002
|
+
datasetVersionNodeId?: string | null;
|
|
2003
|
+
};
|
|
1971
2004
|
/** DatasetExample */
|
|
1972
2005
|
DatasetExample: {
|
|
1973
2006
|
/** Id */
|
|
@@ -2061,6 +2094,8 @@ export interface components {
|
|
|
2061
2094
|
toolName: string;
|
|
2062
2095
|
/** Toolcallid */
|
|
2063
2096
|
toolCallId: string;
|
|
2097
|
+
/** Title */
|
|
2098
|
+
title?: string | null;
|
|
2064
2099
|
/**
|
|
2065
2100
|
* State
|
|
2066
2101
|
* @default approval-requested
|
|
@@ -2069,6 +2104,8 @@ export interface components {
|
|
|
2069
2104
|
state?: "approval-requested";
|
|
2070
2105
|
/** Input */
|
|
2071
2106
|
input: unknown;
|
|
2107
|
+
/** Providerexecuted */
|
|
2108
|
+
providerExecuted?: boolean | null;
|
|
2072
2109
|
/** Callprovidermetadata */
|
|
2073
2110
|
callProviderMetadata?: {
|
|
2074
2111
|
[key: string]: {
|
|
@@ -2093,6 +2130,8 @@ export interface components {
|
|
|
2093
2130
|
toolName: string;
|
|
2094
2131
|
/** Toolcallid */
|
|
2095
2132
|
toolCallId: string;
|
|
2133
|
+
/** Title */
|
|
2134
|
+
title?: string | null;
|
|
2096
2135
|
/**
|
|
2097
2136
|
* State
|
|
2098
2137
|
* @default approval-responded
|
|
@@ -2101,6 +2140,8 @@ export interface components {
|
|
|
2101
2140
|
state?: "approval-responded";
|
|
2102
2141
|
/** Input */
|
|
2103
2142
|
input: unknown;
|
|
2143
|
+
/** Providerexecuted */
|
|
2144
|
+
providerExecuted?: boolean | null;
|
|
2104
2145
|
/** Callprovidermetadata */
|
|
2105
2146
|
callProviderMetadata?: {
|
|
2106
2147
|
[key: string]: {
|
|
@@ -2125,6 +2166,8 @@ export interface components {
|
|
|
2125
2166
|
toolName: string;
|
|
2126
2167
|
/** Toolcallid */
|
|
2127
2168
|
toolCallId: string;
|
|
2169
|
+
/** Title */
|
|
2170
|
+
title?: string | null;
|
|
2128
2171
|
/**
|
|
2129
2172
|
* State
|
|
2130
2173
|
* @default input-available
|
|
@@ -2133,6 +2176,8 @@ export interface components {
|
|
|
2133
2176
|
state?: "input-available";
|
|
2134
2177
|
/** Input */
|
|
2135
2178
|
input: unknown;
|
|
2179
|
+
/** Providerexecuted */
|
|
2180
|
+
providerExecuted?: boolean | null;
|
|
2136
2181
|
/** Callprovidermetadata */
|
|
2137
2182
|
callProviderMetadata?: {
|
|
2138
2183
|
[key: string]: {
|
|
@@ -2157,6 +2202,8 @@ export interface components {
|
|
|
2157
2202
|
toolName: string;
|
|
2158
2203
|
/** Toolcallid */
|
|
2159
2204
|
toolCallId: string;
|
|
2205
|
+
/** Title */
|
|
2206
|
+
title?: string | null;
|
|
2160
2207
|
/**
|
|
2161
2208
|
* State
|
|
2162
2209
|
* @default input-streaming
|
|
@@ -2165,6 +2212,8 @@ export interface components {
|
|
|
2165
2212
|
state?: "input-streaming";
|
|
2166
2213
|
/** Input */
|
|
2167
2214
|
input?: unknown | null;
|
|
2215
|
+
/** Providerexecuted */
|
|
2216
|
+
providerExecuted?: boolean | null;
|
|
2168
2217
|
/** Callprovidermetadata */
|
|
2169
2218
|
callProviderMetadata?: {
|
|
2170
2219
|
[key: string]: {
|
|
@@ -2189,6 +2238,8 @@ export interface components {
|
|
|
2189
2238
|
toolName: string;
|
|
2190
2239
|
/** Toolcallid */
|
|
2191
2240
|
toolCallId: string;
|
|
2241
|
+
/** Title */
|
|
2242
|
+
title?: string | null;
|
|
2192
2243
|
/**
|
|
2193
2244
|
* State
|
|
2194
2245
|
* @default output-available
|
|
@@ -2199,6 +2250,8 @@ export interface components {
|
|
|
2199
2250
|
input: unknown;
|
|
2200
2251
|
/** Output */
|
|
2201
2252
|
output: unknown;
|
|
2253
|
+
/** Providerexecuted */
|
|
2254
|
+
providerExecuted?: boolean | null;
|
|
2202
2255
|
/** Callprovidermetadata */
|
|
2203
2256
|
callProviderMetadata?: {
|
|
2204
2257
|
[key: string]: {
|
|
@@ -2225,6 +2278,8 @@ export interface components {
|
|
|
2225
2278
|
toolName: string;
|
|
2226
2279
|
/** Toolcallid */
|
|
2227
2280
|
toolCallId: string;
|
|
2281
|
+
/** Title */
|
|
2282
|
+
title?: string | null;
|
|
2228
2283
|
/**
|
|
2229
2284
|
* State
|
|
2230
2285
|
* @default output-denied
|
|
@@ -2233,6 +2288,8 @@ export interface components {
|
|
|
2233
2288
|
state?: "output-denied";
|
|
2234
2289
|
/** Input */
|
|
2235
2290
|
input: unknown;
|
|
2291
|
+
/** Providerexecuted */
|
|
2292
|
+
providerExecuted?: boolean | null;
|
|
2236
2293
|
/** Callprovidermetadata */
|
|
2237
2294
|
callProviderMetadata?: {
|
|
2238
2295
|
[key: string]: {
|
|
@@ -2257,6 +2314,8 @@ export interface components {
|
|
|
2257
2314
|
toolName: string;
|
|
2258
2315
|
/** Toolcallid */
|
|
2259
2316
|
toolCallId: string;
|
|
2317
|
+
/** Title */
|
|
2318
|
+
title?: string | null;
|
|
2260
2319
|
/**
|
|
2261
2320
|
* State
|
|
2262
2321
|
* @default output-error
|
|
@@ -2267,6 +2326,8 @@ export interface components {
|
|
|
2267
2326
|
input: unknown;
|
|
2268
2327
|
/** Errortext */
|
|
2269
2328
|
errorText: string;
|
|
2329
|
+
/** Providerexecuted */
|
|
2330
|
+
providerExecuted?: boolean | null;
|
|
2270
2331
|
/** Callprovidermetadata */
|
|
2271
2332
|
callProviderMetadata?: {
|
|
2272
2333
|
[key: string]: {
|
|
@@ -2446,6 +2507,13 @@ export interface components {
|
|
|
2446
2507
|
type: "FREEFORM";
|
|
2447
2508
|
/** Description */
|
|
2448
2509
|
description?: string | null;
|
|
2510
|
+
optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
|
|
2511
|
+
/** Threshold */
|
|
2512
|
+
threshold?: number | null;
|
|
2513
|
+
/** Lower Bound */
|
|
2514
|
+
lower_bound?: number | null;
|
|
2515
|
+
/** Upper Bound */
|
|
2516
|
+
upper_bound?: number | null;
|
|
2449
2517
|
/** Id */
|
|
2450
2518
|
id: string;
|
|
2451
2519
|
};
|
|
@@ -2460,6 +2528,13 @@ export interface components {
|
|
|
2460
2528
|
type: "FREEFORM";
|
|
2461
2529
|
/** Description */
|
|
2462
2530
|
description?: string | null;
|
|
2531
|
+
optimization_direction?: components["schemas"]["OptimizationDirection"] | null;
|
|
2532
|
+
/** Threshold */
|
|
2533
|
+
threshold?: number | null;
|
|
2534
|
+
/** Lower Bound */
|
|
2535
|
+
lower_bound?: number | null;
|
|
2536
|
+
/** Upper Bound */
|
|
2537
|
+
upper_bound?: number | null;
|
|
2463
2538
|
};
|
|
2464
2539
|
/** GetAnnotationConfigResponseBody */
|
|
2465
2540
|
GetAnnotationConfigResponseBody: {
|
|
@@ -2561,6 +2636,19 @@ export interface components {
|
|
|
2561
2636
|
/** Data */
|
|
2562
2637
|
data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"] | components["schemas"]["AnonymousUser"];
|
|
2563
2638
|
};
|
|
2639
|
+
/**
|
|
2640
|
+
* GraphQLContext
|
|
2641
|
+
* @description GraphQL runtime state.
|
|
2642
|
+
*/
|
|
2643
|
+
GraphQLContext: {
|
|
2644
|
+
/**
|
|
2645
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2646
|
+
* @enum {string}
|
|
2647
|
+
*/
|
|
2648
|
+
type: "graphql";
|
|
2649
|
+
/** Mutationsenabled */
|
|
2650
|
+
mutationsEnabled: boolean;
|
|
2651
|
+
};
|
|
2564
2652
|
/** HTTPValidationError */
|
|
2565
2653
|
HTTPValidationError: {
|
|
2566
2654
|
/** Detail */
|
|
@@ -2717,6 +2805,19 @@ export interface components {
|
|
|
2717
2805
|
/** Next Cursor */
|
|
2718
2806
|
next_cursor: string | null;
|
|
2719
2807
|
};
|
|
2808
|
+
/**
|
|
2809
|
+
* LlmEvaluatorContext
|
|
2810
|
+
* @description LLM-evaluator create/edit form mounted in the current browser route.
|
|
2811
|
+
*/
|
|
2812
|
+
LlmEvaluatorContext: {
|
|
2813
|
+
/**
|
|
2814
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2815
|
+
* @enum {string}
|
|
2816
|
+
*/
|
|
2817
|
+
type: "llm_evaluator";
|
|
2818
|
+
/** Evaluatornodeid */
|
|
2819
|
+
evaluatorNodeId?: string | null;
|
|
2820
|
+
};
|
|
2720
2821
|
/** LocalUser */
|
|
2721
2822
|
LocalUser: {
|
|
2722
2823
|
/** Id */
|
|
@@ -3038,6 +3139,21 @@ export interface components {
|
|
|
3038
3139
|
*/
|
|
3039
3140
|
message?: string | null;
|
|
3040
3141
|
};
|
|
3142
|
+
/**
|
|
3143
|
+
* PlaygroundBuiltinModelContext
|
|
3144
|
+
* @description Built-in playground model selection.
|
|
3145
|
+
*/
|
|
3146
|
+
PlaygroundBuiltinModelContext: {
|
|
3147
|
+
/**
|
|
3148
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3149
|
+
* @enum {string}
|
|
3150
|
+
*/
|
|
3151
|
+
type: "builtin";
|
|
3152
|
+
/** Provider */
|
|
3153
|
+
provider: string;
|
|
3154
|
+
/** Modelname */
|
|
3155
|
+
modelName: string;
|
|
3156
|
+
};
|
|
3041
3157
|
/**
|
|
3042
3158
|
* PlaygroundContext
|
|
3043
3159
|
* @description Playground prompt editor state mounted in the current browser route.
|
|
@@ -3048,8 +3164,76 @@ export interface components {
|
|
|
3048
3164
|
* @enum {string}
|
|
3049
3165
|
*/
|
|
3050
3166
|
type: "playground";
|
|
3051
|
-
/**
|
|
3052
|
-
|
|
3167
|
+
/**
|
|
3168
|
+
* Recordexperiments
|
|
3169
|
+
* @default true
|
|
3170
|
+
*/
|
|
3171
|
+
recordExperiments?: boolean;
|
|
3172
|
+
/**
|
|
3173
|
+
* Repetitions
|
|
3174
|
+
* @default 1
|
|
3175
|
+
*/
|
|
3176
|
+
repetitions?: number;
|
|
3177
|
+
/** Instances */
|
|
3178
|
+
instances?: components["schemas"]["PlaygroundInstanceContext"][];
|
|
3179
|
+
/** Evaluators */
|
|
3180
|
+
evaluators?: components["schemas"]["PlaygroundEvaluatorContext"][];
|
|
3181
|
+
};
|
|
3182
|
+
/**
|
|
3183
|
+
* PlaygroundCustomProviderModelContext
|
|
3184
|
+
* @description Custom-provider playground model selection.
|
|
3185
|
+
*/
|
|
3186
|
+
PlaygroundCustomProviderModelContext: {
|
|
3187
|
+
/**
|
|
3188
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3189
|
+
* @enum {string}
|
|
3190
|
+
*/
|
|
3191
|
+
type: "custom";
|
|
3192
|
+
/** Customproviderid */
|
|
3193
|
+
customProviderId: string;
|
|
3194
|
+
/** Customprovidername */
|
|
3195
|
+
customProviderName: string;
|
|
3196
|
+
/** Provider */
|
|
3197
|
+
provider: string;
|
|
3198
|
+
/** Modelname */
|
|
3199
|
+
modelName: string;
|
|
3200
|
+
};
|
|
3201
|
+
/**
|
|
3202
|
+
* PlaygroundEvaluatorContext
|
|
3203
|
+
* @description One dataset evaluator on the mounted playground's roster. ``name`` is
|
|
3204
|
+
* user-controlled; sanitize at every model-visible boundary.
|
|
3205
|
+
*/
|
|
3206
|
+
PlaygroundEvaluatorContext: {
|
|
3207
|
+
/** Datasetevaluatorid */
|
|
3208
|
+
datasetEvaluatorId: string;
|
|
3209
|
+
/** Name */
|
|
3210
|
+
name: string;
|
|
3211
|
+
/**
|
|
3212
|
+
* Kind
|
|
3213
|
+
* @enum {string}
|
|
3214
|
+
*/
|
|
3215
|
+
kind: "LLM" | "CODE" | "BUILTIN";
|
|
3216
|
+
/** Isbuiltin */
|
|
3217
|
+
isBuiltin: boolean;
|
|
3218
|
+
/** Isapplied */
|
|
3219
|
+
isApplied: boolean;
|
|
3220
|
+
};
|
|
3221
|
+
/**
|
|
3222
|
+
* PlaygroundInstanceContext
|
|
3223
|
+
* @description One mounted playground instance and its current model selection.
|
|
3224
|
+
*
|
|
3225
|
+
* ``experiment_id`` carries the relay node id of the experiment produced by
|
|
3226
|
+
* this instance's last dataset-backed run, or ``None`` when the instance has
|
|
3227
|
+
* not produced one. Ephemeral experiments are included: they remain queryable
|
|
3228
|
+
* until the server sweeps them ~24h after their last update.
|
|
3229
|
+
*/
|
|
3230
|
+
PlaygroundInstanceContext: {
|
|
3231
|
+
/** Instanceid */
|
|
3232
|
+
instanceId: number;
|
|
3233
|
+
/** Model */
|
|
3234
|
+
model?: (components["schemas"]["PlaygroundBuiltinModelContext"] | components["schemas"]["PlaygroundCustomProviderModelContext"]) | null;
|
|
3235
|
+
/** Experimentid */
|
|
3236
|
+
experimentId?: string | null;
|
|
3053
3237
|
};
|
|
3054
3238
|
/** Project */
|
|
3055
3239
|
Project: {
|
|
@@ -4451,6 +4635,8 @@ export interface components {
|
|
|
4451
4635
|
type: string;
|
|
4452
4636
|
/** Toolcallid */
|
|
4453
4637
|
toolCallId: string;
|
|
4638
|
+
/** Title */
|
|
4639
|
+
title?: string | null;
|
|
4454
4640
|
/**
|
|
4455
4641
|
* State
|
|
4456
4642
|
* @default approval-requested
|
|
@@ -4491,6 +4677,8 @@ export interface components {
|
|
|
4491
4677
|
type: string;
|
|
4492
4678
|
/** Toolcallid */
|
|
4493
4679
|
toolCallId: string;
|
|
4680
|
+
/** Title */
|
|
4681
|
+
title?: string | null;
|
|
4494
4682
|
/**
|
|
4495
4683
|
* State
|
|
4496
4684
|
* @default approval-responded
|
|
@@ -4543,6 +4731,8 @@ export interface components {
|
|
|
4543
4731
|
type: string;
|
|
4544
4732
|
/** Toolcallid */
|
|
4545
4733
|
toolCallId: string;
|
|
4734
|
+
/** Title */
|
|
4735
|
+
title?: string | null;
|
|
4546
4736
|
/**
|
|
4547
4737
|
* State
|
|
4548
4738
|
* @default input-available
|
|
@@ -4571,6 +4761,8 @@ export interface components {
|
|
|
4571
4761
|
type: string;
|
|
4572
4762
|
/** Toolcallid */
|
|
4573
4763
|
toolCallId: string;
|
|
4764
|
+
/** Title */
|
|
4765
|
+
title?: string | null;
|
|
4574
4766
|
/**
|
|
4575
4767
|
* State
|
|
4576
4768
|
* @default input-streaming
|
|
@@ -4599,6 +4791,8 @@ export interface components {
|
|
|
4599
4791
|
type: string;
|
|
4600
4792
|
/** Toolcallid */
|
|
4601
4793
|
toolCallId: string;
|
|
4794
|
+
/** Title */
|
|
4795
|
+
title?: string | null;
|
|
4602
4796
|
/**
|
|
4603
4797
|
* State
|
|
4604
4798
|
* @default output-available
|
|
@@ -4631,6 +4825,8 @@ export interface components {
|
|
|
4631
4825
|
type: string;
|
|
4632
4826
|
/** Toolcallid */
|
|
4633
4827
|
toolCallId: string;
|
|
4828
|
+
/** Title */
|
|
4829
|
+
title?: string | null;
|
|
4634
4830
|
/**
|
|
4635
4831
|
* State
|
|
4636
4832
|
* @default output-denied
|
|
@@ -4659,6 +4855,8 @@ export interface components {
|
|
|
4659
4855
|
type: string;
|
|
4660
4856
|
/** Toolcallid */
|
|
4661
4857
|
toolCallId: string;
|
|
4858
|
+
/** Title */
|
|
4859
|
+
title?: string | null;
|
|
4662
4860
|
/**
|
|
4663
4861
|
* State
|
|
4664
4862
|
* @default output-error
|
|
@@ -5026,6 +5224,19 @@ export interface components {
|
|
|
5026
5224
|
/** Context */
|
|
5027
5225
|
ctx?: Record<string, unknown>;
|
|
5028
5226
|
};
|
|
5227
|
+
/**
|
|
5228
|
+
* WebAccessContext
|
|
5229
|
+
* @description User's per-turn request to expose web search / fetch tools.
|
|
5230
|
+
*/
|
|
5231
|
+
WebAccessContext: {
|
|
5232
|
+
/**
|
|
5233
|
+
* @description discriminator enum property added by openapi-typescript
|
|
5234
|
+
* @enum {string}
|
|
5235
|
+
*/
|
|
5236
|
+
type: "web_access";
|
|
5237
|
+
/** Enabled */
|
|
5238
|
+
enabled: boolean;
|
|
5239
|
+
};
|
|
5029
5240
|
/**
|
|
5030
5241
|
* _SummarizeRequest
|
|
5031
5242
|
* @description Body for POST /agents/{agent_id}/sessions/{session_id}/summary.
|
|
@@ -5054,6 +5265,19 @@ export interface components {
|
|
|
5054
5265
|
/** Summary */
|
|
5055
5266
|
summary: string;
|
|
5056
5267
|
};
|
|
5268
|
+
/**
|
|
5269
|
+
* ToolCallProviderMetadata
|
|
5270
|
+
* @description Payload Phoenix stamps under the ``phoenix`` namespace of Vercel AI
|
|
5271
|
+
* ``providerMetadata`` on tool-call chunks (``tool-input-start`` and
|
|
5272
|
+
* ``tool-input-available``).
|
|
5273
|
+
*/
|
|
5274
|
+
ToolCallProviderMetadata: {
|
|
5275
|
+
/**
|
|
5276
|
+
* Tool Execution Environment
|
|
5277
|
+
* @enum {string}
|
|
5278
|
+
*/
|
|
5279
|
+
tool_execution_environment: "client" | "server";
|
|
5280
|
+
};
|
|
5057
5281
|
};
|
|
5058
5282
|
responses: never;
|
|
5059
5283
|
parameters: never;
|
|
@@ -8879,13 +9103,13 @@ export interface operations {
|
|
|
8879
9103
|
};
|
|
8880
9104
|
};
|
|
8881
9105
|
responses: {
|
|
8882
|
-
/** @description
|
|
9106
|
+
/** @description Successful Response */
|
|
8883
9107
|
200: {
|
|
8884
9108
|
headers: {
|
|
8885
9109
|
[name: string]: unknown;
|
|
8886
9110
|
};
|
|
8887
9111
|
content: {
|
|
8888
|
-
"application/json":
|
|
9112
|
+
"application/json": unknown;
|
|
8889
9113
|
};
|
|
8890
9114
|
};
|
|
8891
9115
|
/** @description Validation Error */
|