@arizeai/phoenix-client 5.5.4 → 5.6.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/dist/esm/__generated__/api/v1.d.ts +5 -5
- package/dist/esm/__generated__/api/v1.d.ts.map +1 -1
- package/dist/esm/config.d.ts.map +1 -1
- package/dist/esm/config.js +5 -23
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/schemas/llm/anthropic/converters.d.ts +82 -82
- package/dist/esm/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
- package/dist/esm/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
- package/dist/esm/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
- package/dist/esm/schemas/llm/constants.d.ts +46 -46
- package/dist/esm/schemas/llm/converters.d.ts +184 -184
- package/dist/esm/schemas/llm/openai/converters.d.ts +32 -32
- package/dist/esm/schemas/llm/openai/messageSchemas.d.ts +6 -6
- package/dist/esm/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
- package/dist/esm/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
- package/dist/esm/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
- package/dist/esm/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
- package/dist/esm/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
- package/dist/esm/schemas/llm/schemas.d.ts +79 -79
- package/dist/esm/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
- package/dist/esm/schemas/llm/vercel/messageSchemas.d.ts +8 -8
- 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 +5 -5
- package/dist/src/__generated__/api/v1.d.ts.map +1 -1
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/config.js +5 -27
- package/dist/src/config.js.map +1 -1
- package/dist/src/schemas/llm/anthropic/converters.d.ts +82 -82
- package/dist/src/schemas/llm/anthropic/messagePartSchemas.d.ts +28 -28
- package/dist/src/schemas/llm/anthropic/messageSchemas.d.ts +84 -84
- package/dist/src/schemas/llm/anthropic/toolCallSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/anthropic/toolChoiceSchemas.d.ts +2 -2
- package/dist/src/schemas/llm/constants.d.ts +46 -46
- package/dist/src/schemas/llm/converters.d.ts +184 -184
- package/dist/src/schemas/llm/openai/converters.d.ts +32 -32
- package/dist/src/schemas/llm/openai/messageSchemas.d.ts +6 -6
- package/dist/src/schemas/llm/openai/toolCallSchemas.d.ts +2 -2
- package/dist/src/schemas/llm/phoenixPrompt/converters.d.ts +19 -19
- package/dist/src/schemas/llm/phoenixPrompt/messagePartSchemas.d.ts +8 -8
- package/dist/src/schemas/llm/phoenixPrompt/messageSchemas.d.ts +12 -12
- package/dist/src/schemas/llm/phoenixPrompt/toolCallSchemas.d.ts +4 -4
- package/dist/src/schemas/llm/schemas.d.ts +79 -79
- package/dist/src/schemas/llm/vercel/messagePartSchemas.d.ts +8 -8
- package/dist/src/schemas/llm/vercel/messageSchemas.d.ts +8 -8
- 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 +5 -4
- package/src/__generated__/api/v1.ts +5 -5
- package/src/config.ts +11 -28
|
@@ -30,13 +30,13 @@ export declare const vercelAIChatPartToolCallSchema: z.ZodObject<{
|
|
|
30
30
|
toolName: z.ZodString;
|
|
31
31
|
input: z.ZodType<import("../../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../../jsonLiteralSchema.js").JSONLiteral>;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
type: "tool-call";
|
|
34
33
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
34
|
+
type: "tool-call";
|
|
35
35
|
toolCallId: string;
|
|
36
36
|
toolName: string;
|
|
37
37
|
}, {
|
|
38
|
-
type: "tool-call";
|
|
39
38
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
39
|
+
type: "tool-call";
|
|
40
40
|
toolCallId: string;
|
|
41
41
|
toolName: string;
|
|
42
42
|
}>;
|
|
@@ -56,19 +56,19 @@ export declare const vercelAIChatPartToolResultSchema: z.ZodObject<{
|
|
|
56
56
|
type: "text";
|
|
57
57
|
}>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
type: "tool-result";
|
|
60
59
|
output: {
|
|
61
60
|
value: string;
|
|
62
61
|
type: "text";
|
|
63
62
|
};
|
|
63
|
+
type: "tool-result";
|
|
64
64
|
toolCallId: string;
|
|
65
65
|
toolName: string;
|
|
66
66
|
}, {
|
|
67
|
-
type: "tool-result";
|
|
68
67
|
output: {
|
|
69
68
|
value: string;
|
|
70
69
|
type: "text";
|
|
71
70
|
};
|
|
71
|
+
type: "tool-result";
|
|
72
72
|
toolCallId: string;
|
|
73
73
|
toolName: string;
|
|
74
74
|
}>;
|
|
@@ -100,13 +100,13 @@ export declare const vercelAIChatPartSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
100
100
|
toolName: z.ZodString;
|
|
101
101
|
input: z.ZodType<import("../../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../../jsonLiteralSchema.js").JSONLiteral>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
type: "tool-call";
|
|
104
103
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
104
|
+
type: "tool-call";
|
|
105
105
|
toolCallId: string;
|
|
106
106
|
toolName: string;
|
|
107
107
|
}, {
|
|
108
|
-
type: "tool-call";
|
|
109
108
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
109
|
+
type: "tool-call";
|
|
110
110
|
toolCallId: string;
|
|
111
111
|
toolName: string;
|
|
112
112
|
}>, z.ZodObject<{
|
|
@@ -124,19 +124,19 @@ export declare const vercelAIChatPartSchema: z.ZodDiscriminatedUnion<"type", [z.
|
|
|
124
124
|
type: "text";
|
|
125
125
|
}>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
type: "tool-result";
|
|
128
127
|
output: {
|
|
129
128
|
value: string;
|
|
130
129
|
type: "text";
|
|
131
130
|
};
|
|
131
|
+
type: "tool-result";
|
|
132
132
|
toolCallId: string;
|
|
133
133
|
toolName: string;
|
|
134
134
|
}, {
|
|
135
|
-
type: "tool-result";
|
|
136
135
|
output: {
|
|
137
136
|
value: string;
|
|
138
137
|
type: "text";
|
|
139
138
|
};
|
|
139
|
+
type: "tool-result";
|
|
140
140
|
toolCallId: string;
|
|
141
141
|
toolName: string;
|
|
142
142
|
}>]>;
|
|
@@ -71,13 +71,13 @@ export declare const vercelAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Z
|
|
|
71
71
|
toolName: z.ZodString;
|
|
72
72
|
input: z.ZodType<import("../../jsonLiteralSchema.js").JSONLiteral, z.ZodTypeDef, import("../../jsonLiteralSchema.js").JSONLiteral>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
type: "tool-call";
|
|
75
74
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
75
|
+
type: "tool-call";
|
|
76
76
|
toolCallId: string;
|
|
77
77
|
toolName: string;
|
|
78
78
|
}, {
|
|
79
|
-
type: "tool-call";
|
|
80
79
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
80
|
+
type: "tool-call";
|
|
81
81
|
toolCallId: string;
|
|
82
82
|
toolName: string;
|
|
83
83
|
}>]>, "many">, z.ZodString]>;
|
|
@@ -86,8 +86,8 @@ export declare const vercelAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Z
|
|
|
86
86
|
text: string;
|
|
87
87
|
type: "text";
|
|
88
88
|
} | {
|
|
89
|
-
type: "tool-call";
|
|
90
89
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
90
|
+
type: "tool-call";
|
|
91
91
|
toolCallId: string;
|
|
92
92
|
toolName: string;
|
|
93
93
|
})[];
|
|
@@ -97,8 +97,8 @@ export declare const vercelAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Z
|
|
|
97
97
|
text: string;
|
|
98
98
|
type: "text";
|
|
99
99
|
} | {
|
|
100
|
-
type: "tool-call";
|
|
101
100
|
input: import("../../jsonLiteralSchema.js").JSONLiteral;
|
|
101
|
+
type: "tool-call";
|
|
102
102
|
toolCallId: string;
|
|
103
103
|
toolName: string;
|
|
104
104
|
})[];
|
|
@@ -120,40 +120,40 @@ export declare const vercelAIMessageSchema: z.ZodDiscriminatedUnion<"role", [z.Z
|
|
|
120
120
|
type: "text";
|
|
121
121
|
}>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
type: "tool-result";
|
|
124
123
|
output: {
|
|
125
124
|
value: string;
|
|
126
125
|
type: "text";
|
|
127
126
|
};
|
|
127
|
+
type: "tool-result";
|
|
128
128
|
toolCallId: string;
|
|
129
129
|
toolName: string;
|
|
130
130
|
}, {
|
|
131
|
-
type: "tool-result";
|
|
132
131
|
output: {
|
|
133
132
|
value: string;
|
|
134
133
|
type: "text";
|
|
135
134
|
};
|
|
135
|
+
type: "tool-result";
|
|
136
136
|
toolCallId: string;
|
|
137
137
|
toolName: string;
|
|
138
138
|
}>, "many">;
|
|
139
139
|
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
content: {
|
|
141
|
-
type: "tool-result";
|
|
142
141
|
output: {
|
|
143
142
|
value: string;
|
|
144
143
|
type: "text";
|
|
145
144
|
};
|
|
145
|
+
type: "tool-result";
|
|
146
146
|
toolCallId: string;
|
|
147
147
|
toolName: string;
|
|
148
148
|
}[];
|
|
149
149
|
role: "tool";
|
|
150
150
|
}, {
|
|
151
151
|
content: {
|
|
152
|
-
type: "tool-result";
|
|
153
152
|
output: {
|
|
154
153
|
value: string;
|
|
155
154
|
type: "text";
|
|
156
155
|
};
|
|
156
|
+
type: "tool-result";
|
|
157
157
|
toolCallId: string;
|
|
158
158
|
toolName: string;
|
|
159
159
|
}[];
|