@apicity/openai 0.16.3 → 0.17.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/src/zod.d.ts +7 -7
- package/package.json +1 -1
package/dist/src/zod.d.ts
CHANGED
|
@@ -159,9 +159,9 @@ export declare const OpenAiEmbeddingRequestSchema: z.ZodObject<{
|
|
|
159
159
|
user: z.ZodOptional<z.ZodString>;
|
|
160
160
|
}, z.core.$strip>;
|
|
161
161
|
export declare const OpenAiImageEditRequestSchema: z.ZodObject<{
|
|
162
|
-
image: z.ZodUnion<readonly [z.
|
|
162
|
+
image: z.ZodUnion<readonly [z.ZodInstanceOf<Blob>, z.ZodArray<z.ZodInstanceOf<Blob>>]>;
|
|
163
163
|
prompt: z.ZodString;
|
|
164
|
-
mask: z.ZodOptional<z.
|
|
164
|
+
mask: z.ZodOptional<z.ZodInstanceOf<Blob>>;
|
|
165
165
|
model: z.ZodOptional<z.ZodString>;
|
|
166
166
|
n: z.ZodOptional<z.ZodNumber>;
|
|
167
167
|
size: z.ZodOptional<z.ZodEnum<{
|
|
@@ -232,7 +232,7 @@ export declare const OpenAiImageGenerationRequestSchema: z.ZodObject<{
|
|
|
232
232
|
user: z.ZodOptional<z.ZodString>;
|
|
233
233
|
}, z.core.$strip>;
|
|
234
234
|
export declare const OpenAiImageVariationRequestSchema: z.ZodObject<{
|
|
235
|
-
image: z.
|
|
235
|
+
image: z.ZodInstanceOf<Blob>;
|
|
236
236
|
model: z.ZodOptional<z.ZodString>;
|
|
237
237
|
n: z.ZodOptional<z.ZodNumber>;
|
|
238
238
|
response_format: z.ZodOptional<z.ZodEnum<{
|
|
@@ -272,7 +272,7 @@ export declare const OpenAiSpeechRequestSchema: z.ZodObject<{
|
|
|
272
272
|
instructions: z.ZodOptional<z.ZodString>;
|
|
273
273
|
}, z.core.$strip>;
|
|
274
274
|
export declare const OpenAiTranscribeRequestSchema: z.ZodObject<{
|
|
275
|
-
file: z.
|
|
275
|
+
file: z.ZodInstanceOf<Blob>;
|
|
276
276
|
model: z.ZodString;
|
|
277
277
|
response_format: z.ZodOptional<z.ZodString>;
|
|
278
278
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -280,7 +280,7 @@ export declare const OpenAiTranscribeRequestSchema: z.ZodObject<{
|
|
|
280
280
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
281
281
|
}, z.core.$strip>;
|
|
282
282
|
export declare const OpenAiTranslateRequestSchema: z.ZodObject<{
|
|
283
|
-
file: z.
|
|
283
|
+
file: z.ZodInstanceOf<Blob>;
|
|
284
284
|
model: z.ZodString;
|
|
285
285
|
response_format: z.ZodOptional<z.ZodString>;
|
|
286
286
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -318,7 +318,7 @@ export declare const OpenAiModerationRequestSchema: z.ZodObject<{
|
|
|
318
318
|
model: z.ZodOptional<z.ZodString>;
|
|
319
319
|
}, z.core.$strip>;
|
|
320
320
|
export declare const OpenAiFileUploadRequestSchema: z.ZodObject<{
|
|
321
|
-
file: z.
|
|
321
|
+
file: z.ZodInstanceOf<Blob>;
|
|
322
322
|
purpose: z.ZodEnum<{
|
|
323
323
|
"fine-tune": "fine-tune";
|
|
324
324
|
assistants: "assistants";
|
|
@@ -2665,13 +2665,13 @@ export declare const OpenAiVectorStoreCreateRequestSchema: z.ZodObject<{
|
|
|
2665
2665
|
export declare const OpenAiVectorStoreSearchComparisonFilterSchema: z.ZodObject<{
|
|
2666
2666
|
key: z.ZodString;
|
|
2667
2667
|
type: z.ZodEnum<{
|
|
2668
|
-
in: "in";
|
|
2669
2668
|
eq: "eq";
|
|
2670
2669
|
ne: "ne";
|
|
2671
2670
|
gt: "gt";
|
|
2672
2671
|
gte: "gte";
|
|
2673
2672
|
lt: "lt";
|
|
2674
2673
|
lte: "lte";
|
|
2674
|
+
in: "in";
|
|
2675
2675
|
nin: "nin";
|
|
2676
2676
|
}>;
|
|
2677
2677
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>]>;
|