@orq-ai/node 4.10.0-rc.65 → 4.10.0-rc.66

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.
Files changed (145) hide show
  1. package/funcs/identitiesCreate.js +1 -1
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +3 -3
  4. package/lib/config.js +3 -3
  5. package/models/components/embeddingcacheconfig.d.ts +33 -0
  6. package/models/components/embeddingcacheconfig.d.ts.map +1 -0
  7. package/models/components/embeddingcacheconfig.js +58 -0
  8. package/models/components/embeddingcacheconfig.js.map +1 -0
  9. package/models/components/embeddingcontactparams.d.ts +24 -0
  10. package/models/components/embeddingcontactparams.d.ts.map +1 -0
  11. package/models/components/embeddingcontactparams.js +58 -0
  12. package/models/components/embeddingcontactparams.js.map +1 -0
  13. package/models/components/embeddingloadbalancerconfig.d.ts +34 -0
  14. package/models/components/embeddingloadbalancerconfig.d.ts.map +1 -0
  15. package/models/components/embeddingloadbalancerconfig.js +59 -0
  16. package/models/components/embeddingloadbalancerconfig.js.map +1 -0
  17. package/models/components/embeddingloadbalancermodelconfig.d.ts +20 -0
  18. package/models/components/embeddingloadbalancermodelconfig.d.ts.map +1 -0
  19. package/models/components/embeddingloadbalancermodelconfig.js +50 -0
  20. package/models/components/embeddingloadbalancermodelconfig.js.map +1 -0
  21. package/models/components/embeddingorqparams.d.ts +42 -0
  22. package/models/components/embeddingorqparams.d.ts.map +1 -0
  23. package/models/components/embeddingorqparams.js +68 -0
  24. package/models/components/embeddingorqparams.js.map +1 -0
  25. package/models/components/embeddingretryconfig.d.ts +20 -0
  26. package/models/components/embeddingretryconfig.d.ts.map +1 -0
  27. package/models/components/embeddingretryconfig.js +55 -0
  28. package/models/components/embeddingretryconfig.js.map +1 -0
  29. package/models/components/embeddingtimeoutconfig.d.ts +15 -0
  30. package/models/components/embeddingtimeoutconfig.d.ts.map +1 -0
  31. package/models/components/embeddingtimeoutconfig.js +54 -0
  32. package/models/components/embeddingtimeoutconfig.js.map +1 -0
  33. package/models/components/index.d.ts +9 -0
  34. package/models/components/index.d.ts.map +1 -1
  35. package/models/components/index.js +9 -0
  36. package/models/components/index.js.map +1 -1
  37. package/models/components/publicembeddingdata.d.ts +34 -0
  38. package/models/components/publicembeddingdata.d.ts.map +1 -0
  39. package/models/components/publicembeddingdata.js +61 -0
  40. package/models/components/publicembeddingdata.js.map +1 -0
  41. package/models/components/publicembeddingusage.d.ts +17 -0
  42. package/models/components/publicembeddingusage.d.ts.map +1 -0
  43. package/models/components/publicembeddingusage.js +57 -0
  44. package/models/components/publicembeddingusage.js.map +1 -0
  45. package/models/components/publicmodelentry.d.ts +4 -4
  46. package/models/components/publicmodelentry.d.ts.map +1 -1
  47. package/models/components/publicmodelentry.js +4 -5
  48. package/models/components/publicmodelentry.js.map +1 -1
  49. package/models/components/reasoningpart.js +1 -1
  50. package/models/operations/createdataset.js +1 -1
  51. package/models/operations/createdatasetitem.js +4 -4
  52. package/models/operations/createdatasource.js +1 -1
  53. package/models/operations/createembedding.d.ts +50 -390
  54. package/models/operations/createembedding.d.ts.map +1 -1
  55. package/models/operations/createembedding.js +33 -231
  56. package/models/operations/createembedding.js.map +1 -1
  57. package/models/operations/createeval.d.ts +0 -42
  58. package/models/operations/createeval.d.ts.map +1 -1
  59. package/models/operations/createeval.js +16 -49
  60. package/models/operations/createeval.js.map +1 -1
  61. package/models/operations/createrouterresponse.d.ts +8 -8
  62. package/models/operations/createrouterresponse.d.ts.map +1 -1
  63. package/models/operations/createrouterresponse.js +13 -8
  64. package/models/operations/createrouterresponse.js.map +1 -1
  65. package/models/operations/createtool.js +6 -6
  66. package/models/operations/getalltools.js +6 -6
  67. package/models/operations/getevals.d.ts +0 -24
  68. package/models/operations/getevals.d.ts.map +1 -1
  69. package/models/operations/getevals.js +16 -40
  70. package/models/operations/getevals.js.map +1 -1
  71. package/models/operations/getv2humanevalsets.js +2 -2
  72. package/models/operations/getv2humanevalsetsid.js +2 -2
  73. package/models/operations/listchunks.d.ts +24 -4
  74. package/models/operations/listchunks.d.ts.map +1 -1
  75. package/models/operations/listchunks.js +26 -3
  76. package/models/operations/listchunks.js.map +1 -1
  77. package/models/operations/listdatasetdatapoints.js +4 -4
  78. package/models/operations/listdatasets.js +1 -1
  79. package/models/operations/listdatasources.js +1 -1
  80. package/models/operations/patchv2humanevalsetsid.js +2 -2
  81. package/models/operations/postv2feedbackevaluation.js +3 -3
  82. package/models/operations/postv2humanevalsets.js +2 -2
  83. package/models/operations/retrievedatapoint.js +4 -4
  84. package/models/operations/retrievedataset.js +1 -1
  85. package/models/operations/retrievedatasource.js +1 -1
  86. package/models/operations/retrievetool.js +6 -6
  87. package/models/operations/runagent.js +1 -1
  88. package/models/operations/streamrunagent.js +1 -1
  89. package/models/operations/updatedatapoint.js +4 -4
  90. package/models/operations/updatedataset.js +1 -1
  91. package/models/operations/updatedatasource.js +1 -1
  92. package/models/operations/updateeval.d.ts +0 -30
  93. package/models/operations/updateeval.d.ts.map +1 -1
  94. package/models/operations/updateeval.js +16 -43
  95. package/models/operations/updateeval.js.map +1 -1
  96. package/models/operations/updatetool.js +7 -7
  97. package/package.json +7 -7
  98. package/sdk/router.d.ts +2 -2
  99. package/sdk/router.d.ts.map +1 -1
  100. package/sdk/router.js +3 -3
  101. package/sdk/router.js.map +1 -1
  102. package/src/funcs/identitiesCreate.ts +1 -1
  103. package/src/lib/config.ts +3 -3
  104. package/src/models/components/embeddingcacheconfig.ts +59 -0
  105. package/src/models/components/embeddingcontactparams.ts +48 -0
  106. package/src/models/components/embeddingloadbalancerconfig.ts +66 -0
  107. package/src/models/components/embeddingloadbalancermodelconfig.ts +42 -0
  108. package/src/models/components/embeddingorqparams.ts +101 -0
  109. package/src/models/components/embeddingretryconfig.ts +45 -0
  110. package/src/models/components/embeddingtimeoutconfig.ts +39 -0
  111. package/src/models/components/index.ts +9 -0
  112. package/src/models/components/publicembeddingdata.ts +60 -0
  113. package/src/models/components/publicembeddingusage.ts +45 -0
  114. package/src/models/components/publicmodelentry.ts +7 -6
  115. package/src/models/components/reasoningpart.ts +1 -1
  116. package/src/models/operations/createdataset.ts +1 -1
  117. package/src/models/operations/createdatasetitem.ts +4 -4
  118. package/src/models/operations/createdatasource.ts +1 -1
  119. package/src/models/operations/createembedding.ts +82 -810
  120. package/src/models/operations/createeval.ts +16 -91
  121. package/src/models/operations/createrouterresponse.ts +25 -14
  122. package/src/models/operations/createtool.ts +6 -6
  123. package/src/models/operations/getalltools.ts +6 -6
  124. package/src/models/operations/getevals.ts +16 -64
  125. package/src/models/operations/getv2humanevalsets.ts +2 -2
  126. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  127. package/src/models/operations/listchunks.ts +35 -6
  128. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  129. package/src/models/operations/listdatasets.ts +1 -1
  130. package/src/models/operations/listdatasources.ts +1 -1
  131. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  132. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  133. package/src/models/operations/postv2humanevalsets.ts +2 -2
  134. package/src/models/operations/retrievedatapoint.ts +4 -4
  135. package/src/models/operations/retrievedataset.ts +1 -1
  136. package/src/models/operations/retrievedatasource.ts +1 -1
  137. package/src/models/operations/retrievetool.ts +6 -6
  138. package/src/models/operations/runagent.ts +1 -1
  139. package/src/models/operations/streamrunagent.ts +1 -1
  140. package/src/models/operations/updatedatapoint.ts +4 -4
  141. package/src/models/operations/updatedataset.ts +1 -1
  142. package/src/models/operations/updatedatasource.ts +1 -1
  143. package/src/models/operations/updateeval.ts +16 -73
  144. package/src/models/operations/updatetool.ts +7 -7
  145. package/src/sdk/router.ts +5 -5
@@ -11,808 +11,146 @@ import * as components from "../components/index.js";
11
11
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
13
  /**
14
- * Input text to embed, encoded as a string or array of tokens.
15
- */
16
- export type CreateEmbeddingInput = string | Array<string>;
17
-
18
- /**
19
- * Type of the document element
14
+ * The format to return the embeddings in. Can be either float or base64.
20
15
  */
21
16
  export const EncodingFormat = {
22
- Base64: "base64",
23
17
  Float: "float",
18
+ Base64: "base64",
24
19
  } as const;
25
20
  /**
26
- * Type of the document element
21
+ * The format to return the embeddings in. Can be either float or base64.
27
22
  */
28
23
  export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
29
24
 
30
- export type CreateEmbeddingFallbacks = {
31
- /**
32
- * Fallback model identifier
33
- */
34
- model: string;
35
- };
36
-
37
- /**
38
- * Retry configuration for the request
39
- */
40
- export type CreateEmbeddingRetry = {
41
- /**
42
- * Number of retry attempts (1-5)
43
- */
44
- count?: number | undefined;
45
- /**
46
- * HTTP status codes that trigger retry logic
47
- */
48
- onCodes?: Array<number> | undefined;
49
- };
50
-
51
- export const CreateEmbeddingType = {
52
- ExactMatch: "exact_match",
53
- } as const;
54
- export type CreateEmbeddingType = ClosedEnum<typeof CreateEmbeddingType>;
55
-
56
- /**
57
- * Cache configuration for the request.
58
- */
59
- export type CreateEmbeddingCache = {
60
- /**
61
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
62
- */
63
- ttl?: number | undefined;
64
- type: CreateEmbeddingType;
65
- };
66
-
67
- export const CreateEmbeddingLoadBalancerType = {
68
- WeightBased: "weight_based",
69
- } as const;
70
- export type CreateEmbeddingLoadBalancerType = ClosedEnum<
71
- typeof CreateEmbeddingLoadBalancerType
72
- >;
73
-
74
- export type CreateEmbeddingLoadBalancerModels = {
75
- /**
76
- * Model identifier for load balancing
77
- */
78
- model: string;
79
- /**
80
- * Weight assigned to this model for load balancing
81
- */
82
- weight?: number | undefined;
83
- };
84
-
85
- export type CreateEmbeddingLoadBalancer1 = {
86
- type: CreateEmbeddingLoadBalancerType;
87
- models: Array<CreateEmbeddingLoadBalancerModels>;
88
- };
25
+ export type Input2 = string | Array<number>;
89
26
 
90
27
  /**
91
- * Load balancer configuration for the request.
28
+ * Input text to embed, encoded as a string or array of tokens.
92
29
  */
93
- export type CreateEmbeddingLoadBalancer = CreateEmbeddingLoadBalancer1;
30
+ export type CreateEmbeddingInput = string | Array<string | Array<number>>;
94
31
 
95
- /**
96
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
97
- */
98
- export type CreateEmbeddingTimeout = {
99
- /**
100
- * Timeout value in milliseconds
101
- */
102
- callTimeout: number;
103
- };
104
-
105
- export type CreateEmbeddingRouterEmbeddingsFallbacks = {
32
+ export type CreateEmbeddingRequestBody = {
33
+ cache?: components.EmbeddingCacheConfig | undefined;
106
34
  /**
107
- * Fallback model identifier
35
+ * The number of dimensions the resulting output embeddings should have.
108
36
  */
109
- model: string;
110
- };
111
-
112
- export const CreateEmbeddingRouterEmbeddingsType = {
113
- ExactMatch: "exact_match",
114
- } as const;
115
- export type CreateEmbeddingRouterEmbeddingsType = ClosedEnum<
116
- typeof CreateEmbeddingRouterEmbeddingsType
117
- >;
118
-
119
- /**
120
- * Cache configuration for the request.
121
- */
122
- export type CreateEmbeddingRouterEmbeddingsCache = {
37
+ dimensions?: number | undefined;
123
38
  /**
124
- * Time to live for cached responses in seconds. Maximum 259200 seconds (3 days).
39
+ * The format to return the embeddings in. Can be either float or base64.
125
40
  */
126
- ttl?: number | undefined;
127
- type: CreateEmbeddingRouterEmbeddingsType;
128
- };
129
-
130
- /**
131
- * Retry configuration for the request
132
- */
133
- export type CreateEmbeddingRouterEmbeddingsRetry = {
41
+ encodingFormat?: EncodingFormat | undefined;
134
42
  /**
135
- * Number of retry attempts (1-5)
43
+ * Array of fallback models to use if primary model fails.
136
44
  */
137
- count?: number | undefined;
45
+ fallbacks?: Array<components.FallbackConfig> | null | undefined;
138
46
  /**
139
- * HTTP status codes that trigger retry logic
47
+ * Input text to embed, encoded as a string or array of tokens.
140
48
  */
141
- onCodes?: Array<number> | undefined;
142
- };
143
-
144
- export const CreateEmbeddingLoadBalancerRouterEmbeddingsType = {
145
- WeightBased: "weight_based",
146
- } as const;
147
- export type CreateEmbeddingLoadBalancerRouterEmbeddingsType = ClosedEnum<
148
- typeof CreateEmbeddingLoadBalancerRouterEmbeddingsType
149
- >;
150
-
151
- export type CreateEmbeddingLoadBalancerRouterEmbeddingsModels = {
49
+ input: string | Array<string | Array<number>>;
50
+ loadBalancer?: components.EmbeddingLoadBalancerConfig | undefined;
152
51
  /**
153
- * Model identifier for load balancing
52
+ * ID of the model to use.
154
53
  */
155
54
  model: string;
156
- /**
157
- * Weight assigned to this model for load balancing
158
- */
159
- weight?: number | undefined;
160
- };
161
-
162
- export type CreateEmbeddingLoadBalancerRouterEmbeddings1 = {
163
- type: CreateEmbeddingLoadBalancerRouterEmbeddingsType;
164
- models: Array<CreateEmbeddingLoadBalancerRouterEmbeddingsModels>;
165
- };
166
-
167
- /**
168
- * Array of models with weights for load balancing requests
169
- */
170
- export type CreateEmbeddingRouterEmbeddingsLoadBalancer =
171
- CreateEmbeddingLoadBalancerRouterEmbeddings1;
172
-
173
- /**
174
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
175
- */
176
- export type CreateEmbeddingRouterEmbeddingsTimeout = {
177
- /**
178
- * Timeout value in milliseconds
179
- */
180
- callTimeout: number;
181
- };
182
-
183
- export type CreateEmbeddingOrq = {
184
55
  /**
185
56
  * The name to display on the trace. If not specified, the default system name will be used.
186
57
  */
187
58
  name?: string | undefined;
59
+ orq?: components.EmbeddingOrqParams | undefined;
60
+ retry?: components.EmbeddingRetryConfig | undefined;
61
+ timeout?: components.EmbeddingTimeoutConfig | undefined;
188
62
  /**
189
- * Array of fallback models to use if primary model fails
190
- */
191
- fallbacks?: Array<CreateEmbeddingRouterEmbeddingsFallbacks> | undefined;
192
- /**
193
- * Cache configuration for the request.
63
+ * A unique identifier representing your end-user.
194
64
  */
195
- cache?: CreateEmbeddingRouterEmbeddingsCache | undefined;
196
- /**
197
- * Retry configuration for the request
198
- */
199
- retry?: CreateEmbeddingRouterEmbeddingsRetry | undefined;
200
- /**
201
- * Information about the identity making the request. If the identity does not exist, it will be created automatically.
202
- */
203
- identity?: components.PublicIdentity | undefined;
204
- /**
205
- * @deprecated Use identity instead. Information about the contact making the request.
206
- *
207
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
208
- */
209
- contact?: components.PublicContact | undefined;
210
- /**
211
- * Array of models with weights for load balancing requests
212
- */
213
- loadBalancer?: CreateEmbeddingLoadBalancerRouterEmbeddings1 | undefined;
214
- /**
215
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
216
- */
217
- timeout?: CreateEmbeddingRouterEmbeddingsTimeout | undefined;
65
+ user?: string | undefined;
218
66
  };
219
67
 
220
68
  /**
221
- * input
69
+ * Always "list".
222
70
  */
223
- export type CreateEmbeddingRequestBody = {
224
- /**
225
- * Input text to embed, encoded as a string or array of tokens.
226
- */
227
- input: string | Array<string>;
228
- /**
229
- * ID of the model to use
230
- */
231
- model: string;
232
- /**
233
- * Type of the document element
234
- */
235
- encodingFormat?: EncodingFormat | undefined;
236
- /**
237
- * The number of dimensions the resulting output embeddings should have.
238
- */
239
- dimensions?: number | undefined;
240
- /**
241
- * A unique identifier representing your end-user
242
- */
243
- user?: string | undefined;
244
- /**
245
- * The name to display on the trace. If not specified, the default system name will be used.
246
- */
247
- name?: string | undefined;
248
- /**
249
- * Array of fallback models to use if primary model fails
250
- */
251
- fallbacks?: Array<CreateEmbeddingFallbacks> | undefined;
252
- /**
253
- * Retry configuration for the request
254
- */
255
- retry?: CreateEmbeddingRetry | undefined;
256
- /**
257
- * Cache configuration for the request.
258
- */
259
- cache?: CreateEmbeddingCache | undefined;
260
- /**
261
- * Load balancer configuration for the request.
262
- */
263
- loadBalancer?: CreateEmbeddingLoadBalancer1 | undefined;
264
- /**
265
- * Timeout configuration to apply to the request. If the request exceeds the timeout, it will be retried or fallback to the next model if configured.
266
- */
267
- timeout?: CreateEmbeddingTimeout | undefined;
268
- orq?: CreateEmbeddingOrq | undefined;
269
- };
270
-
271
71
  export const CreateEmbeddingObject = {
272
72
  List: "list",
273
73
  } as const;
274
- export type CreateEmbeddingObject = ClosedEnum<typeof CreateEmbeddingObject>;
275
-
276
- /**
277
- * The object type, which is always `embedding`.
278
- */
279
- export const CreateEmbeddingRouterEmbeddingsObject = {
280
- Embedding: "embedding",
281
- } as const;
282
- /**
283
- * The object type, which is always `embedding`.
284
- */
285
- export type CreateEmbeddingRouterEmbeddingsObject = ClosedEnum<
286
- typeof CreateEmbeddingRouterEmbeddingsObject
287
- >;
288
-
289
- /**
290
- * The embedding vector, which is a list of floats. The length of vector depends on the model.
291
- */
292
- export type Embedding = Array<number> | string;
293
-
294
- export type CreateEmbeddingData = {
295
- /**
296
- * The object type, which is always `embedding`.
297
- */
298
- object: CreateEmbeddingRouterEmbeddingsObject;
299
- /**
300
- * The embedding vector, which is a list of floats. The length of vector depends on the model.
301
- */
302
- embedding: Array<number> | string;
303
- /**
304
- * The index of the embedding in the list of embeddings.
305
- */
306
- index: number;
307
- };
308
-
309
74
  /**
310
- * The usage information for the request.
75
+ * Always "list".
311
76
  */
312
- export type CreateEmbeddingUsage = {
313
- /**
314
- * The number of tokens used by the prompt.
315
- */
316
- promptTokens: number;
317
- /**
318
- * The total number of tokens used by the request.
319
- */
320
- totalTokens: number;
321
- };
77
+ export type CreateEmbeddingObject = ClosedEnum<typeof CreateEmbeddingObject>;
322
78
 
323
79
  /**
324
80
  * Returns the embedding vector.
325
81
  */
326
82
  export type CreateEmbeddingResponseBody = {
327
- object: CreateEmbeddingObject;
328
- data: Array<CreateEmbeddingData>;
329
83
  /**
330
- * ID of the model to used.
84
+ * List of embedding objects.
85
+ */
86
+ data: Array<components.PublicEmbeddingData> | null;
87
+ /**
88
+ * ID of the model used.
331
89
  */
332
90
  model: string;
333
91
  /**
334
- * The usage information for the request.
92
+ * Always "list".
335
93
  */
336
- usage: CreateEmbeddingUsage;
94
+ object: CreateEmbeddingObject;
95
+ usage: components.PublicEmbeddingUsage;
337
96
  };
338
97
 
339
- /** @internal */
340
- export type CreateEmbeddingInput$Outbound = string | Array<string>;
341
-
342
- /** @internal */
343
- export const CreateEmbeddingInput$outboundSchema: z.ZodType<
344
- CreateEmbeddingInput$Outbound,
345
- z.ZodTypeDef,
346
- CreateEmbeddingInput
347
- > = z.union([z.string(), z.array(z.string())]);
348
-
349
- export function createEmbeddingInputToJSON(
350
- createEmbeddingInput: CreateEmbeddingInput,
351
- ): string {
352
- return JSON.stringify(
353
- CreateEmbeddingInput$outboundSchema.parse(createEmbeddingInput),
354
- );
355
- }
356
-
357
98
  /** @internal */
358
99
  export const EncodingFormat$outboundSchema: z.ZodNativeEnum<
359
100
  typeof EncodingFormat
360
101
  > = z.nativeEnum(EncodingFormat);
361
102
 
362
103
  /** @internal */
363
- export type CreateEmbeddingFallbacks$Outbound = {
364
- model: string;
365
- };
366
-
367
- /** @internal */
368
- export const CreateEmbeddingFallbacks$outboundSchema: z.ZodType<
369
- CreateEmbeddingFallbacks$Outbound,
370
- z.ZodTypeDef,
371
- CreateEmbeddingFallbacks
372
- > = z.object({
373
- model: z.string(),
374
- });
375
-
376
- export function createEmbeddingFallbacksToJSON(
377
- createEmbeddingFallbacks: CreateEmbeddingFallbacks,
378
- ): string {
379
- return JSON.stringify(
380
- CreateEmbeddingFallbacks$outboundSchema.parse(createEmbeddingFallbacks),
381
- );
382
- }
383
-
384
- /** @internal */
385
- export type CreateEmbeddingRetry$Outbound = {
386
- count: number;
387
- on_codes?: Array<number> | undefined;
388
- };
389
-
390
- /** @internal */
391
- export const CreateEmbeddingRetry$outboundSchema: z.ZodType<
392
- CreateEmbeddingRetry$Outbound,
393
- z.ZodTypeDef,
394
- CreateEmbeddingRetry
395
- > = z.object({
396
- count: z.number().default(3),
397
- onCodes: z.array(z.number()).optional(),
398
- }).transform((v) => {
399
- return remap$(v, {
400
- onCodes: "on_codes",
401
- });
402
- });
403
-
404
- export function createEmbeddingRetryToJSON(
405
- createEmbeddingRetry: CreateEmbeddingRetry,
406
- ): string {
407
- return JSON.stringify(
408
- CreateEmbeddingRetry$outboundSchema.parse(createEmbeddingRetry),
409
- );
410
- }
411
-
412
- /** @internal */
413
- export const CreateEmbeddingType$outboundSchema: z.ZodNativeEnum<
414
- typeof CreateEmbeddingType
415
- > = z.nativeEnum(CreateEmbeddingType);
416
-
417
- /** @internal */
418
- export type CreateEmbeddingCache$Outbound = {
419
- ttl: number;
420
- type: string;
421
- };
422
-
423
- /** @internal */
424
- export const CreateEmbeddingCache$outboundSchema: z.ZodType<
425
- CreateEmbeddingCache$Outbound,
426
- z.ZodTypeDef,
427
- CreateEmbeddingCache
428
- > = z.object({
429
- ttl: z.number().default(1800),
430
- type: CreateEmbeddingType$outboundSchema,
431
- });
432
-
433
- export function createEmbeddingCacheToJSON(
434
- createEmbeddingCache: CreateEmbeddingCache,
435
- ): string {
436
- return JSON.stringify(
437
- CreateEmbeddingCache$outboundSchema.parse(createEmbeddingCache),
438
- );
439
- }
440
-
441
- /** @internal */
442
- export const CreateEmbeddingLoadBalancerType$outboundSchema: z.ZodNativeEnum<
443
- typeof CreateEmbeddingLoadBalancerType
444
- > = z.nativeEnum(CreateEmbeddingLoadBalancerType);
104
+ export type Input2$Outbound = string | Array<number>;
445
105
 
446
106
  /** @internal */
447
- export type CreateEmbeddingLoadBalancerModels$Outbound = {
448
- model: string;
449
- weight: number;
450
- };
451
-
452
- /** @internal */
453
- export const CreateEmbeddingLoadBalancerModels$outboundSchema: z.ZodType<
454
- CreateEmbeddingLoadBalancerModels$Outbound,
455
- z.ZodTypeDef,
456
- CreateEmbeddingLoadBalancerModels
457
- > = z.object({
458
- model: z.string(),
459
- weight: z.number().default(0.5),
460
- });
461
-
462
- export function createEmbeddingLoadBalancerModelsToJSON(
463
- createEmbeddingLoadBalancerModels: CreateEmbeddingLoadBalancerModels,
464
- ): string {
465
- return JSON.stringify(
466
- CreateEmbeddingLoadBalancerModels$outboundSchema.parse(
467
- createEmbeddingLoadBalancerModels,
468
- ),
469
- );
470
- }
471
-
472
- /** @internal */
473
- export type CreateEmbeddingLoadBalancer1$Outbound = {
474
- type: string;
475
- models: Array<CreateEmbeddingLoadBalancerModels$Outbound>;
476
- };
477
-
478
- /** @internal */
479
- export const CreateEmbeddingLoadBalancer1$outboundSchema: z.ZodType<
480
- CreateEmbeddingLoadBalancer1$Outbound,
481
- z.ZodTypeDef,
482
- CreateEmbeddingLoadBalancer1
483
- > = z.object({
484
- type: CreateEmbeddingLoadBalancerType$outboundSchema,
485
- models: z.array(
486
- z.lazy(() => CreateEmbeddingLoadBalancerModels$outboundSchema),
487
- ),
488
- });
489
-
490
- export function createEmbeddingLoadBalancer1ToJSON(
491
- createEmbeddingLoadBalancer1: CreateEmbeddingLoadBalancer1,
492
- ): string {
493
- return JSON.stringify(
494
- CreateEmbeddingLoadBalancer1$outboundSchema.parse(
495
- createEmbeddingLoadBalancer1,
496
- ),
497
- );
498
- }
499
-
500
- /** @internal */
501
- export type CreateEmbeddingLoadBalancer$Outbound =
502
- CreateEmbeddingLoadBalancer1$Outbound;
503
-
504
- /** @internal */
505
- export const CreateEmbeddingLoadBalancer$outboundSchema: z.ZodType<
506
- CreateEmbeddingLoadBalancer$Outbound,
507
- z.ZodTypeDef,
508
- CreateEmbeddingLoadBalancer
509
- > = z.lazy(() => CreateEmbeddingLoadBalancer1$outboundSchema);
510
-
511
- export function createEmbeddingLoadBalancerToJSON(
512
- createEmbeddingLoadBalancer: CreateEmbeddingLoadBalancer,
513
- ): string {
514
- return JSON.stringify(
515
- CreateEmbeddingLoadBalancer$outboundSchema.parse(
516
- createEmbeddingLoadBalancer,
517
- ),
518
- );
519
- }
520
-
521
- /** @internal */
522
- export type CreateEmbeddingTimeout$Outbound = {
523
- call_timeout: number;
524
- };
525
-
526
- /** @internal */
527
- export const CreateEmbeddingTimeout$outboundSchema: z.ZodType<
528
- CreateEmbeddingTimeout$Outbound,
529
- z.ZodTypeDef,
530
- CreateEmbeddingTimeout
531
- > = z.object({
532
- callTimeout: z.number(),
533
- }).transform((v) => {
534
- return remap$(v, {
535
- callTimeout: "call_timeout",
536
- });
537
- });
538
-
539
- export function createEmbeddingTimeoutToJSON(
540
- createEmbeddingTimeout: CreateEmbeddingTimeout,
541
- ): string {
542
- return JSON.stringify(
543
- CreateEmbeddingTimeout$outboundSchema.parse(createEmbeddingTimeout),
544
- );
545
- }
546
-
547
- /** @internal */
548
- export type CreateEmbeddingRouterEmbeddingsFallbacks$Outbound = {
549
- model: string;
550
- };
551
-
552
- /** @internal */
553
- export const CreateEmbeddingRouterEmbeddingsFallbacks$outboundSchema: z.ZodType<
554
- CreateEmbeddingRouterEmbeddingsFallbacks$Outbound,
555
- z.ZodTypeDef,
556
- CreateEmbeddingRouterEmbeddingsFallbacks
557
- > = z.object({
558
- model: z.string(),
559
- });
560
-
561
- export function createEmbeddingRouterEmbeddingsFallbacksToJSON(
562
- createEmbeddingRouterEmbeddingsFallbacks:
563
- CreateEmbeddingRouterEmbeddingsFallbacks,
564
- ): string {
565
- return JSON.stringify(
566
- CreateEmbeddingRouterEmbeddingsFallbacks$outboundSchema.parse(
567
- createEmbeddingRouterEmbeddingsFallbacks,
568
- ),
569
- );
570
- }
571
-
572
- /** @internal */
573
- export const CreateEmbeddingRouterEmbeddingsType$outboundSchema:
574
- z.ZodNativeEnum<typeof CreateEmbeddingRouterEmbeddingsType> = z.nativeEnum(
575
- CreateEmbeddingRouterEmbeddingsType,
576
- );
577
-
578
- /** @internal */
579
- export type CreateEmbeddingRouterEmbeddingsCache$Outbound = {
580
- ttl: number;
581
- type: string;
582
- };
583
-
584
- /** @internal */
585
- export const CreateEmbeddingRouterEmbeddingsCache$outboundSchema: z.ZodType<
586
- CreateEmbeddingRouterEmbeddingsCache$Outbound,
587
- z.ZodTypeDef,
588
- CreateEmbeddingRouterEmbeddingsCache
589
- > = z.object({
590
- ttl: z.number().default(1800),
591
- type: CreateEmbeddingRouterEmbeddingsType$outboundSchema,
592
- });
593
-
594
- export function createEmbeddingRouterEmbeddingsCacheToJSON(
595
- createEmbeddingRouterEmbeddingsCache: CreateEmbeddingRouterEmbeddingsCache,
596
- ): string {
597
- return JSON.stringify(
598
- CreateEmbeddingRouterEmbeddingsCache$outboundSchema.parse(
599
- createEmbeddingRouterEmbeddingsCache,
600
- ),
601
- );
602
- }
603
-
604
- /** @internal */
605
- export type CreateEmbeddingRouterEmbeddingsRetry$Outbound = {
606
- count: number;
607
- on_codes?: Array<number> | undefined;
608
- };
609
-
610
- /** @internal */
611
- export const CreateEmbeddingRouterEmbeddingsRetry$outboundSchema: z.ZodType<
612
- CreateEmbeddingRouterEmbeddingsRetry$Outbound,
613
- z.ZodTypeDef,
614
- CreateEmbeddingRouterEmbeddingsRetry
615
- > = z.object({
616
- count: z.number().default(3),
617
- onCodes: z.array(z.number()).optional(),
618
- }).transform((v) => {
619
- return remap$(v, {
620
- onCodes: "on_codes",
621
- });
622
- });
623
-
624
- export function createEmbeddingRouterEmbeddingsRetryToJSON(
625
- createEmbeddingRouterEmbeddingsRetry: CreateEmbeddingRouterEmbeddingsRetry,
626
- ): string {
627
- return JSON.stringify(
628
- CreateEmbeddingRouterEmbeddingsRetry$outboundSchema.parse(
629
- createEmbeddingRouterEmbeddingsRetry,
630
- ),
631
- );
632
- }
633
-
634
- /** @internal */
635
- export const CreateEmbeddingLoadBalancerRouterEmbeddingsType$outboundSchema:
636
- z.ZodNativeEnum<typeof CreateEmbeddingLoadBalancerRouterEmbeddingsType> = z
637
- .nativeEnum(CreateEmbeddingLoadBalancerRouterEmbeddingsType);
638
-
639
- /** @internal */
640
- export type CreateEmbeddingLoadBalancerRouterEmbeddingsModels$Outbound = {
641
- model: string;
642
- weight: number;
643
- };
644
-
645
- /** @internal */
646
- export const CreateEmbeddingLoadBalancerRouterEmbeddingsModels$outboundSchema:
647
- z.ZodType<
648
- CreateEmbeddingLoadBalancerRouterEmbeddingsModels$Outbound,
649
- z.ZodTypeDef,
650
- CreateEmbeddingLoadBalancerRouterEmbeddingsModels
651
- > = z.object({
652
- model: z.string(),
653
- weight: z.number().default(0.5),
654
- });
655
-
656
- export function createEmbeddingLoadBalancerRouterEmbeddingsModelsToJSON(
657
- createEmbeddingLoadBalancerRouterEmbeddingsModels:
658
- CreateEmbeddingLoadBalancerRouterEmbeddingsModels,
659
- ): string {
660
- return JSON.stringify(
661
- CreateEmbeddingLoadBalancerRouterEmbeddingsModels$outboundSchema.parse(
662
- createEmbeddingLoadBalancerRouterEmbeddingsModels,
663
- ),
664
- );
665
- }
666
-
667
- /** @internal */
668
- export type CreateEmbeddingLoadBalancerRouterEmbeddings1$Outbound = {
669
- type: string;
670
- models: Array<CreateEmbeddingLoadBalancerRouterEmbeddingsModels$Outbound>;
671
- };
672
-
673
- /** @internal */
674
- export const CreateEmbeddingLoadBalancerRouterEmbeddings1$outboundSchema:
675
- z.ZodType<
676
- CreateEmbeddingLoadBalancerRouterEmbeddings1$Outbound,
677
- z.ZodTypeDef,
678
- CreateEmbeddingLoadBalancerRouterEmbeddings1
679
- > = z.object({
680
- type: CreateEmbeddingLoadBalancerRouterEmbeddingsType$outboundSchema,
681
- models: z.array(
682
- z.lazy(() =>
683
- CreateEmbeddingLoadBalancerRouterEmbeddingsModels$outboundSchema
684
- ),
685
- ),
686
- });
687
-
688
- export function createEmbeddingLoadBalancerRouterEmbeddings1ToJSON(
689
- createEmbeddingLoadBalancerRouterEmbeddings1:
690
- CreateEmbeddingLoadBalancerRouterEmbeddings1,
691
- ): string {
692
- return JSON.stringify(
693
- CreateEmbeddingLoadBalancerRouterEmbeddings1$outboundSchema.parse(
694
- createEmbeddingLoadBalancerRouterEmbeddings1,
695
- ),
696
- );
697
- }
698
-
699
- /** @internal */
700
- export type CreateEmbeddingRouterEmbeddingsLoadBalancer$Outbound =
701
- CreateEmbeddingLoadBalancerRouterEmbeddings1$Outbound;
702
-
703
- /** @internal */
704
- export const CreateEmbeddingRouterEmbeddingsLoadBalancer$outboundSchema:
705
- z.ZodType<
706
- CreateEmbeddingRouterEmbeddingsLoadBalancer$Outbound,
707
- z.ZodTypeDef,
708
- CreateEmbeddingRouterEmbeddingsLoadBalancer
709
- > = z.lazy(() => CreateEmbeddingLoadBalancerRouterEmbeddings1$outboundSchema);
710
-
711
- export function createEmbeddingRouterEmbeddingsLoadBalancerToJSON(
712
- createEmbeddingRouterEmbeddingsLoadBalancer:
713
- CreateEmbeddingRouterEmbeddingsLoadBalancer,
714
- ): string {
715
- return JSON.stringify(
716
- CreateEmbeddingRouterEmbeddingsLoadBalancer$outboundSchema.parse(
717
- createEmbeddingRouterEmbeddingsLoadBalancer,
718
- ),
719
- );
720
- }
721
-
722
- /** @internal */
723
- export type CreateEmbeddingRouterEmbeddingsTimeout$Outbound = {
724
- call_timeout: number;
725
- };
726
-
727
- /** @internal */
728
- export const CreateEmbeddingRouterEmbeddingsTimeout$outboundSchema: z.ZodType<
729
- CreateEmbeddingRouterEmbeddingsTimeout$Outbound,
107
+ export const Input2$outboundSchema: z.ZodType<
108
+ Input2$Outbound,
730
109
  z.ZodTypeDef,
731
- CreateEmbeddingRouterEmbeddingsTimeout
732
- > = z.object({
733
- callTimeout: z.number(),
734
- }).transform((v) => {
735
- return remap$(v, {
736
- callTimeout: "call_timeout",
737
- });
738
- });
110
+ Input2
111
+ > = z.union([z.string(), z.array(z.number().int())]);
739
112
 
740
- export function createEmbeddingRouterEmbeddingsTimeoutToJSON(
741
- createEmbeddingRouterEmbeddingsTimeout:
742
- CreateEmbeddingRouterEmbeddingsTimeout,
743
- ): string {
744
- return JSON.stringify(
745
- CreateEmbeddingRouterEmbeddingsTimeout$outboundSchema.parse(
746
- createEmbeddingRouterEmbeddingsTimeout,
747
- ),
748
- );
113
+ export function input2ToJSON(input2: Input2): string {
114
+ return JSON.stringify(Input2$outboundSchema.parse(input2));
749
115
  }
750
116
 
751
117
  /** @internal */
752
- export type CreateEmbeddingOrq$Outbound = {
753
- name?: string | undefined;
754
- fallbacks?:
755
- | Array<CreateEmbeddingRouterEmbeddingsFallbacks$Outbound>
756
- | undefined;
757
- cache?: CreateEmbeddingRouterEmbeddingsCache$Outbound | undefined;
758
- retry?: CreateEmbeddingRouterEmbeddingsRetry$Outbound | undefined;
759
- identity?: components.PublicIdentity$Outbound | undefined;
760
- contact?: components.PublicContact$Outbound | undefined;
761
- load_balancer?:
762
- | CreateEmbeddingLoadBalancerRouterEmbeddings1$Outbound
763
- | undefined;
764
- timeout?: CreateEmbeddingRouterEmbeddingsTimeout$Outbound | undefined;
765
- };
118
+ export type CreateEmbeddingInput$Outbound =
119
+ | string
120
+ | Array<string | Array<number>>;
766
121
 
767
122
  /** @internal */
768
- export const CreateEmbeddingOrq$outboundSchema: z.ZodType<
769
- CreateEmbeddingOrq$Outbound,
123
+ export const CreateEmbeddingInput$outboundSchema: z.ZodType<
124
+ CreateEmbeddingInput$Outbound,
770
125
  z.ZodTypeDef,
771
- CreateEmbeddingOrq
772
- > = z.object({
773
- name: z.string().optional(),
774
- fallbacks: z.array(
775
- z.lazy(() => CreateEmbeddingRouterEmbeddingsFallbacks$outboundSchema),
776
- ).optional(),
777
- cache: z.lazy(() => CreateEmbeddingRouterEmbeddingsCache$outboundSchema)
778
- .optional(),
779
- retry: z.lazy(() => CreateEmbeddingRouterEmbeddingsRetry$outboundSchema)
780
- .optional(),
781
- identity: components.PublicIdentity$outboundSchema.optional(),
782
- contact: components.PublicContact$outboundSchema.optional(),
783
- loadBalancer: z.lazy(() =>
784
- CreateEmbeddingLoadBalancerRouterEmbeddings1$outboundSchema
785
- ).optional(),
786
- timeout: z.lazy(() => CreateEmbeddingRouterEmbeddingsTimeout$outboundSchema)
787
- .optional(),
788
- }).transform((v) => {
789
- return remap$(v, {
790
- loadBalancer: "load_balancer",
791
- });
792
- });
126
+ CreateEmbeddingInput
127
+ > = z.union([
128
+ z.string(),
129
+ z.array(z.union([z.string(), z.array(z.number().int())])),
130
+ ]);
793
131
 
794
- export function createEmbeddingOrqToJSON(
795
- createEmbeddingOrq: CreateEmbeddingOrq,
132
+ export function createEmbeddingInputToJSON(
133
+ createEmbeddingInput: CreateEmbeddingInput,
796
134
  ): string {
797
135
  return JSON.stringify(
798
- CreateEmbeddingOrq$outboundSchema.parse(createEmbeddingOrq),
136
+ CreateEmbeddingInput$outboundSchema.parse(createEmbeddingInput),
799
137
  );
800
138
  }
801
139
 
802
140
  /** @internal */
803
141
  export type CreateEmbeddingRequestBody$Outbound = {
804
- input: string | Array<string>;
805
- model: string;
806
- encoding_format: string;
142
+ cache?: components.EmbeddingCacheConfig$Outbound | undefined;
807
143
  dimensions?: number | undefined;
808
- user?: string | undefined;
144
+ encoding_format?: string | undefined;
145
+ fallbacks?: Array<components.FallbackConfig$Outbound> | null | undefined;
146
+ input: string | Array<string | Array<number>>;
147
+ load_balancer?: components.EmbeddingLoadBalancerConfig$Outbound | undefined;
148
+ model: string;
809
149
  name?: string | undefined;
810
- fallbacks?: Array<CreateEmbeddingFallbacks$Outbound> | undefined;
811
- retry?: CreateEmbeddingRetry$Outbound | undefined;
812
- cache?: CreateEmbeddingCache$Outbound | undefined;
813
- load_balancer?: CreateEmbeddingLoadBalancer1$Outbound | undefined;
814
- timeout?: CreateEmbeddingTimeout$Outbound | undefined;
815
- orq?: CreateEmbeddingOrq$Outbound | undefined;
150
+ orq?: components.EmbeddingOrqParams$Outbound | undefined;
151
+ retry?: components.EmbeddingRetryConfig$Outbound | undefined;
152
+ timeout?: components.EmbeddingTimeoutConfig$Outbound | undefined;
153
+ user?: string | undefined;
816
154
  };
817
155
 
818
156
  /** @internal */
@@ -821,20 +159,23 @@ export const CreateEmbeddingRequestBody$outboundSchema: z.ZodType<
821
159
  z.ZodTypeDef,
822
160
  CreateEmbeddingRequestBody
823
161
  > = z.object({
824
- input: z.union([z.string(), z.array(z.string())]),
825
- model: z.string(),
826
- encodingFormat: EncodingFormat$outboundSchema.default("float"),
827
- dimensions: z.number().optional(),
828
- user: z.string().optional(),
829
- name: z.string().optional(),
830
- fallbacks: z.array(z.lazy(() => CreateEmbeddingFallbacks$outboundSchema))
162
+ cache: components.EmbeddingCacheConfig$outboundSchema.optional(),
163
+ dimensions: z.number().int().optional(),
164
+ encodingFormat: EncodingFormat$outboundSchema.optional(),
165
+ fallbacks: z.nullable(z.array(components.FallbackConfig$outboundSchema))
831
166
  .optional(),
832
- retry: z.lazy(() => CreateEmbeddingRetry$outboundSchema).optional(),
833
- cache: z.lazy(() => CreateEmbeddingCache$outboundSchema).optional(),
834
- loadBalancer: z.lazy(() => CreateEmbeddingLoadBalancer1$outboundSchema)
167
+ input: z.union([
168
+ z.string(),
169
+ z.array(z.union([z.string(), z.array(z.number().int())])),
170
+ ]),
171
+ loadBalancer: components.EmbeddingLoadBalancerConfig$outboundSchema
835
172
  .optional(),
836
- timeout: z.lazy(() => CreateEmbeddingTimeout$outboundSchema).optional(),
837
- orq: z.lazy(() => CreateEmbeddingOrq$outboundSchema).optional(),
173
+ model: z.string(),
174
+ name: z.string().optional(),
175
+ orq: components.EmbeddingOrqParams$outboundSchema.optional(),
176
+ retry: components.EmbeddingRetryConfig$outboundSchema.optional(),
177
+ timeout: components.EmbeddingTimeoutConfig$outboundSchema.optional(),
178
+ user: z.string().optional(),
838
179
  }).transform((v) => {
839
180
  return remap$(v, {
840
181
  encodingFormat: "encoding_format",
@@ -855,85 +196,16 @@ export const CreateEmbeddingObject$inboundSchema: z.ZodNativeEnum<
855
196
  typeof CreateEmbeddingObject
856
197
  > = z.nativeEnum(CreateEmbeddingObject);
857
198
 
858
- /** @internal */
859
- export const CreateEmbeddingRouterEmbeddingsObject$inboundSchema:
860
- z.ZodNativeEnum<typeof CreateEmbeddingRouterEmbeddingsObject> = z.nativeEnum(
861
- CreateEmbeddingRouterEmbeddingsObject,
862
- );
863
-
864
- /** @internal */
865
- export const Embedding$inboundSchema: z.ZodType<
866
- Embedding,
867
- z.ZodTypeDef,
868
- unknown
869
- > = z.union([z.array(z.number()), z.string()]);
870
-
871
- export function embeddingFromJSON(
872
- jsonString: string,
873
- ): SafeParseResult<Embedding, SDKValidationError> {
874
- return safeParse(
875
- jsonString,
876
- (x) => Embedding$inboundSchema.parse(JSON.parse(x)),
877
- `Failed to parse 'Embedding' from JSON`,
878
- );
879
- }
880
-
881
- /** @internal */
882
- export const CreateEmbeddingData$inboundSchema: z.ZodType<
883
- CreateEmbeddingData,
884
- z.ZodTypeDef,
885
- unknown
886
- > = z.object({
887
- object: CreateEmbeddingRouterEmbeddingsObject$inboundSchema,
888
- embedding: z.union([z.array(z.number()), z.string()]),
889
- index: z.number(),
890
- });
891
-
892
- export function createEmbeddingDataFromJSON(
893
- jsonString: string,
894
- ): SafeParseResult<CreateEmbeddingData, SDKValidationError> {
895
- return safeParse(
896
- jsonString,
897
- (x) => CreateEmbeddingData$inboundSchema.parse(JSON.parse(x)),
898
- `Failed to parse 'CreateEmbeddingData' from JSON`,
899
- );
900
- }
901
-
902
- /** @internal */
903
- export const CreateEmbeddingUsage$inboundSchema: z.ZodType<
904
- CreateEmbeddingUsage,
905
- z.ZodTypeDef,
906
- unknown
907
- > = z.object({
908
- prompt_tokens: z.number(),
909
- total_tokens: z.number(),
910
- }).transform((v) => {
911
- return remap$(v, {
912
- "prompt_tokens": "promptTokens",
913
- "total_tokens": "totalTokens",
914
- });
915
- });
916
-
917
- export function createEmbeddingUsageFromJSON(
918
- jsonString: string,
919
- ): SafeParseResult<CreateEmbeddingUsage, SDKValidationError> {
920
- return safeParse(
921
- jsonString,
922
- (x) => CreateEmbeddingUsage$inboundSchema.parse(JSON.parse(x)),
923
- `Failed to parse 'CreateEmbeddingUsage' from JSON`,
924
- );
925
- }
926
-
927
199
  /** @internal */
928
200
  export const CreateEmbeddingResponseBody$inboundSchema: z.ZodType<
929
201
  CreateEmbeddingResponseBody,
930
202
  z.ZodTypeDef,
931
203
  unknown
932
204
  > = z.object({
933
- object: CreateEmbeddingObject$inboundSchema,
934
- data: z.array(z.lazy(() => CreateEmbeddingData$inboundSchema)),
205
+ data: z.nullable(z.array(components.PublicEmbeddingData$inboundSchema)),
935
206
  model: z.string(),
936
- usage: z.lazy(() => CreateEmbeddingUsage$inboundSchema),
207
+ object: CreateEmbeddingObject$inboundSchema,
208
+ usage: components.PublicEmbeddingUsage$inboundSchema,
937
209
  });
938
210
 
939
211
  export function createEmbeddingResponseBodyFromJSON(