@arizeai/phoenix-client 2.2.0 → 2.3.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/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/appendDatasetExamples.js +13 -1
- package/dist/esm/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/esm/datasets/getDatasetExamples.js +13 -1
- package/dist/esm/datasets/getDatasetExamples.js.map +1 -1
- package/dist/esm/datasets/getDatasetInfo.d.ts.map +1 -1
- package/dist/esm/datasets/getDatasetInfo.js +7 -0
- package/dist/esm/datasets/getDatasetInfo.js.map +1 -1
- package/dist/esm/datasets/getDatasetInfoByName.d.ts +10 -0
- package/dist/esm/datasets/getDatasetInfoByName.d.ts.map +1 -0
- package/dist/esm/datasets/getDatasetInfoByName.js +26 -0
- package/dist/esm/datasets/getDatasetInfoByName.js.map +1 -0
- package/dist/esm/experiments/runExperiment.d.ts.map +1 -1
- package/dist/esm/experiments/runExperiment.js +1 -4
- package/dist/esm/experiments/runExperiment.js.map +1 -1
- package/dist/esm/schemas/llm/anthropic/converters.d.ts +14 -14
- package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +12 -12
- package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/constants.d.ts +3 -3
- package/dist/esm/schemas/llm/converters.d.ts +12 -12
- package/dist/esm/schemas/llm/openai/converters.d.ts +3 -3
- package/dist/esm/schemas/llm/schemas.d.ts +12 -12
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types/datasets.d.ts +3 -1
- package/dist/esm/types/datasets.d.ts.map +1 -1
- package/dist/esm/types/experiments.d.ts +1 -1
- package/dist/esm/types/experiments.d.ts.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/appendDatasetExamples.js +13 -1
- package/dist/src/datasets/appendDatasetExamples.js.map +1 -1
- package/dist/src/datasets/getDatasetExamples.d.ts.map +1 -1
- package/dist/src/datasets/getDatasetExamples.js +13 -1
- package/dist/src/datasets/getDatasetExamples.js.map +1 -1
- package/dist/src/datasets/getDatasetInfo.d.ts.map +1 -1
- package/dist/src/datasets/getDatasetInfo.js +7 -0
- package/dist/src/datasets/getDatasetInfo.js.map +1 -1
- package/dist/src/datasets/getDatasetInfoByName.d.ts +10 -0
- package/dist/src/datasets/getDatasetInfoByName.d.ts.map +1 -0
- package/dist/src/datasets/getDatasetInfoByName.js +41 -0
- package/dist/src/datasets/getDatasetInfoByName.js.map +1 -0
- package/dist/src/experiments/runExperiment.d.ts.map +1 -1
- package/dist/src/experiments/runExperiment.js +1 -4
- package/dist/src/experiments/runExperiment.js.map +1 -1
- package/dist/src/schemas/llm/anthropic/converters.d.ts +14 -14
- package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +12 -12
- package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/constants.d.ts +3 -3
- package/dist/src/schemas/llm/converters.d.ts +12 -12
- package/dist/src/schemas/llm/openai/converters.d.ts +3 -3
- package/dist/src/schemas/llm/schemas.d.ts +12 -12
- package/dist/src/types/datasets.d.ts +3 -1
- package/dist/src/types/datasets.d.ts.map +1 -1
- package/dist/src/types/experiments.d.ts +1 -1
- package/dist/src/types/experiments.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/datasets/appendDatasetExamples.ts +12 -1
- package/src/datasets/getDatasetExamples.ts +12 -1
- package/src/datasets/getDatasetInfo.ts +8 -0
- package/src/datasets/getDatasetInfoByName.ts +35 -0
- package/src/experiments/runExperiment.ts +1 -4
- package/src/types/datasets.ts +2 -2
- package/src/types/experiments.ts +1 -1
|
@@ -4277,13 +4277,13 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
|
|
|
4277
4277
|
input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
|
|
4278
4278
|
}, "strip", z.ZodTypeAny, {
|
|
4279
4279
|
type: "tool_use";
|
|
4280
|
-
name: string;
|
|
4281
4280
|
id: string;
|
|
4281
|
+
name: string;
|
|
4282
4282
|
input: JSONLiteral;
|
|
4283
4283
|
}, {
|
|
4284
4284
|
type: "tool_use";
|
|
4285
|
-
name: string;
|
|
4286
4285
|
id: string;
|
|
4286
|
+
name: string;
|
|
4287
4287
|
input: JSONLiteral;
|
|
4288
4288
|
}>, z.ZodObject<{
|
|
4289
4289
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -4592,8 +4592,8 @@ export declare const safelyConvertMessageToProvider: <TargetProviderSDK extends
|
|
|
4592
4592
|
type?: "function" | undefined;
|
|
4593
4593
|
}>, {
|
|
4594
4594
|
type: "tool_use";
|
|
4595
|
-
name: string;
|
|
4596
4595
|
id: string;
|
|
4596
|
+
name: string;
|
|
4597
4597
|
input: JSONLiteral;
|
|
4598
4598
|
}, {
|
|
4599
4599
|
function: {
|
|
@@ -13378,13 +13378,13 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
|
|
|
13378
13378
|
input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
|
|
13379
13379
|
}, "strip", z.ZodTypeAny, {
|
|
13380
13380
|
type: "tool_use";
|
|
13381
|
-
name: string;
|
|
13382
13381
|
id: string;
|
|
13382
|
+
name: string;
|
|
13383
13383
|
input: JSONLiteral;
|
|
13384
13384
|
}, {
|
|
13385
13385
|
type: "tool_use";
|
|
13386
|
-
name: string;
|
|
13387
13386
|
id: string;
|
|
13387
|
+
name: string;
|
|
13388
13388
|
input: JSONLiteral;
|
|
13389
13389
|
}>, z.ZodObject<{
|
|
13390
13390
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -13693,8 +13693,8 @@ export declare const safelyConvertToolCallToProvider: <TargetProviderSDK extends
|
|
|
13693
13693
|
type?: "function" | undefined;
|
|
13694
13694
|
}>, {
|
|
13695
13695
|
type: "tool_use";
|
|
13696
|
-
name: string;
|
|
13697
13696
|
id: string;
|
|
13697
|
+
name: string;
|
|
13698
13698
|
input: JSONLiteral;
|
|
13699
13699
|
}, {
|
|
13700
13700
|
function: {
|
|
@@ -22479,13 +22479,13 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
|
|
|
22479
22479
|
input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
|
|
22480
22480
|
}, "strip", z.ZodTypeAny, {
|
|
22481
22481
|
type: "tool_use";
|
|
22482
|
-
name: string;
|
|
22483
22482
|
id: string;
|
|
22483
|
+
name: string;
|
|
22484
22484
|
input: JSONLiteral;
|
|
22485
22485
|
}, {
|
|
22486
22486
|
type: "tool_use";
|
|
22487
|
-
name: string;
|
|
22488
22487
|
id: string;
|
|
22488
|
+
name: string;
|
|
22489
22489
|
input: JSONLiteral;
|
|
22490
22490
|
}>, z.ZodObject<{
|
|
22491
22491
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -22794,8 +22794,8 @@ export declare const safelyConvertToolDefinitionToProvider: <TargetProviderSDK e
|
|
|
22794
22794
|
type?: "function" | undefined;
|
|
22795
22795
|
}>, {
|
|
22796
22796
|
type: "tool_use";
|
|
22797
|
-
name: string;
|
|
22798
22797
|
id: string;
|
|
22798
|
+
name: string;
|
|
22799
22799
|
input: JSONLiteral;
|
|
22800
22800
|
}, {
|
|
22801
22801
|
function: {
|
|
@@ -31580,13 +31580,13 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
|
|
|
31580
31580
|
input: z.ZodType<JSONLiteral, z.ZodTypeDef, JSONLiteral>;
|
|
31581
31581
|
}, "strip", z.ZodTypeAny, {
|
|
31582
31582
|
type: "tool_use";
|
|
31583
|
-
name: string;
|
|
31584
31583
|
id: string;
|
|
31584
|
+
name: string;
|
|
31585
31585
|
input: JSONLiteral;
|
|
31586
31586
|
}, {
|
|
31587
31587
|
type: "tool_use";
|
|
31588
|
-
name: string;
|
|
31589
31588
|
id: string;
|
|
31589
|
+
name: string;
|
|
31590
31590
|
input: JSONLiteral;
|
|
31591
31591
|
}>, z.ZodObject<{
|
|
31592
31592
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -31895,8 +31895,8 @@ export declare const safelyConvertToolChoiceToProvider: <TargetProviderSDK exten
|
|
|
31895
31895
|
type?: "function" | undefined;
|
|
31896
31896
|
}>, {
|
|
31897
31897
|
type: "tool_use";
|
|
31898
|
-
name: string;
|
|
31899
31898
|
id: string;
|
|
31899
|
+
name: string;
|
|
31900
31900
|
input: JSONLiteral;
|
|
31901
31901
|
}, {
|
|
31902
31902
|
function: {
|
|
@@ -460,13 +460,13 @@ export declare const openAIMessageToAnthropic: import("zod").ZodEffects<import("
|
|
|
460
460
|
input: import("zod").ZodType<import("../../jsonLiteralSchema.js").JSONLiteral, import("zod").ZodTypeDef, import("../../jsonLiteralSchema.js").JSONLiteral>;
|
|
461
461
|
}, "strip", import("zod").ZodTypeAny, {
|
|
462
462
|
type: "tool_use";
|
|
463
|
-
name: string;
|
|
464
463
|
id: string;
|
|
464
|
+
name: string;
|
|
465
465
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
466
466
|
}, {
|
|
467
467
|
type: "tool_use";
|
|
468
|
-
name: string;
|
|
469
468
|
id: string;
|
|
469
|
+
name: string;
|
|
470
470
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
471
471
|
}>, import("zod").ZodObject<{
|
|
472
472
|
type: import("zod").ZodLiteral<"tool_result">;
|
|
@@ -1726,8 +1726,8 @@ export declare const openAIToolCallToAnthropic: import("zod").ZodEffects<import(
|
|
|
1726
1726
|
type?: "function" | undefined;
|
|
1727
1727
|
}>, {
|
|
1728
1728
|
type: "tool_use";
|
|
1729
|
-
name: string;
|
|
1730
1729
|
id: string;
|
|
1730
|
+
name: string;
|
|
1731
1731
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
1732
1732
|
}, {
|
|
1733
1733
|
function: {
|
|
@@ -412,13 +412,13 @@ export declare const llmProviderMessageSchema: z.ZodUnion<[z.ZodDiscriminatedUni
|
|
|
412
412
|
input: z.ZodType<import("../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema.js").JSONLiteral>;
|
|
413
413
|
}, "strip", z.ZodTypeAny, {
|
|
414
414
|
type: "tool_use";
|
|
415
|
-
name: string;
|
|
416
415
|
id: string;
|
|
416
|
+
name: string;
|
|
417
417
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
418
418
|
}, {
|
|
419
419
|
type: "tool_use";
|
|
420
|
-
name: string;
|
|
421
420
|
id: string;
|
|
421
|
+
name: string;
|
|
422
422
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
423
423
|
}>, z.ZodObject<{
|
|
424
424
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -541,13 +541,13 @@ export declare const llmProviderMessageSchema: z.ZodUnion<[z.ZodDiscriminatedUni
|
|
|
541
541
|
input: z.ZodType<import("../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema.js").JSONLiteral>;
|
|
542
542
|
}, "strip", z.ZodTypeAny, {
|
|
543
543
|
type: "tool_use";
|
|
544
|
-
name: string;
|
|
545
544
|
id: string;
|
|
545
|
+
name: string;
|
|
546
546
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
547
547
|
}, {
|
|
548
548
|
type: "tool_use";
|
|
549
|
-
name: string;
|
|
550
549
|
id: string;
|
|
550
|
+
name: string;
|
|
551
551
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
552
552
|
}>, z.ZodObject<{
|
|
553
553
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -670,13 +670,13 @@ export declare const llmProviderMessageSchema: z.ZodUnion<[z.ZodDiscriminatedUni
|
|
|
670
670
|
input: z.ZodType<import("../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema.js").JSONLiteral>;
|
|
671
671
|
}, "strip", z.ZodTypeAny, {
|
|
672
672
|
type: "tool_use";
|
|
673
|
-
name: string;
|
|
674
673
|
id: string;
|
|
674
|
+
name: string;
|
|
675
675
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
676
676
|
}, {
|
|
677
677
|
type: "tool_use";
|
|
678
|
-
name: string;
|
|
679
678
|
id: string;
|
|
679
|
+
name: string;
|
|
680
680
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
681
681
|
}>, z.ZodObject<{
|
|
682
682
|
type: z.ZodLiteral<"tool_result">;
|
|
@@ -1025,13 +1025,13 @@ export declare const llmProviderToolCallSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1025
1025
|
input: z.ZodType<import("../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema.js").JSONLiteral>;
|
|
1026
1026
|
}, "strip", z.ZodTypeAny, {
|
|
1027
1027
|
type: "tool_use";
|
|
1028
|
-
name: string;
|
|
1029
1028
|
id: string;
|
|
1029
|
+
name: string;
|
|
1030
1030
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
1031
1031
|
}, {
|
|
1032
1032
|
type: "tool_use";
|
|
1033
|
-
name: string;
|
|
1034
1033
|
id: string;
|
|
1034
|
+
name: string;
|
|
1035
1035
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
1036
1036
|
}>, z.ZodObject<{
|
|
1037
1037
|
type: z.ZodLiteral<"tool_call">;
|
|
@@ -1125,13 +1125,13 @@ export declare const llmProviderToolCallsSchema: z.ZodArray<z.ZodUnion<[z.ZodObj
|
|
|
1125
1125
|
input: z.ZodType<import("../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../jsonLiteralSchema.js").JSONLiteral>;
|
|
1126
1126
|
}, "strip", z.ZodTypeAny, {
|
|
1127
1127
|
type: "tool_use";
|
|
1128
|
-
name: string;
|
|
1129
1128
|
id: string;
|
|
1129
|
+
name: string;
|
|
1130
1130
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
1131
1131
|
}, {
|
|
1132
1132
|
type: "tool_use";
|
|
1133
|
-
name: string;
|
|
1134
1133
|
id: string;
|
|
1134
|
+
name: string;
|
|
1135
1135
|
input: import("../jsonLiteralSchema.js").JSONLiteral;
|
|
1136
1136
|
}>, z.ZodObject<{
|
|
1137
1137
|
type: z.ZodLiteral<"tool_call">;
|
|
@@ -1208,16 +1208,16 @@ export declare const toolCallHeuristicSchema: z.ZodObject<{
|
|
|
1208
1208
|
name?: string | undefined;
|
|
1209
1209
|
arguments?: Record<string, unknown> | undefined;
|
|
1210
1210
|
} | undefined;
|
|
1211
|
-
name?: string | undefined;
|
|
1212
1211
|
id?: string | undefined;
|
|
1212
|
+
name?: string | undefined;
|
|
1213
1213
|
arguments?: Record<string, unknown> | undefined;
|
|
1214
1214
|
}, {
|
|
1215
1215
|
function?: {
|
|
1216
1216
|
name?: string | undefined;
|
|
1217
1217
|
arguments?: Record<string, unknown> | undefined;
|
|
1218
1218
|
} | undefined;
|
|
1219
|
-
name?: string | undefined;
|
|
1220
1219
|
id?: string | undefined;
|
|
1220
|
+
name?: string | undefined;
|
|
1221
1221
|
arguments?: Record<string, unknown> | undefined;
|
|
1222
1222
|
}>;
|
|
1223
1223
|
export declare const llmProviderToolChoiceSchema: z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"none">, z.ZodLiteral<"required">, z.ZodObject<{
|