@mixedbread/sdk 0.30.0 → 0.31.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +18 -18
  3. package/bin/migration-config.json +70 -0
  4. package/client.d.mts +3 -0
  5. package/client.d.mts.map +1 -1
  6. package/client.d.ts +3 -0
  7. package/client.d.ts.map +1 -1
  8. package/client.js +3 -0
  9. package/client.js.map +1 -1
  10. package/client.mjs +3 -0
  11. package/client.mjs.map +1 -1
  12. package/package.json +1 -1
  13. package/resources/index.d.mts +1 -0
  14. package/resources/index.d.mts.map +1 -1
  15. package/resources/index.d.ts +1 -0
  16. package/resources/index.d.ts.map +1 -1
  17. package/resources/index.js +3 -1
  18. package/resources/index.js.map +1 -1
  19. package/resources/index.mjs +1 -0
  20. package/resources/index.mjs.map +1 -1
  21. package/resources/stores/files.d.mts +593 -0
  22. package/resources/stores/files.d.mts.map +1 -0
  23. package/resources/stores/files.d.ts +593 -0
  24. package/resources/stores/files.d.ts.map +1 -0
  25. package/resources/stores/files.js +136 -0
  26. package/resources/stores/files.js.map +1 -0
  27. package/resources/stores/files.mjs +131 -0
  28. package/resources/stores/files.mjs.map +1 -0
  29. package/resources/stores/index.d.mts +3 -0
  30. package/resources/stores/index.d.mts.map +1 -0
  31. package/resources/stores/index.d.ts +3 -0
  32. package/resources/stores/index.d.ts.map +1 -0
  33. package/resources/stores/index.js +9 -0
  34. package/resources/stores/index.js.map +1 -0
  35. package/resources/stores/index.mjs +4 -0
  36. package/resources/stores/index.mjs.map +1 -0
  37. package/resources/stores/stores.d.mts +372 -0
  38. package/resources/stores/stores.d.mts.map +1 -0
  39. package/resources/stores/stores.d.ts +372 -0
  40. package/resources/stores/stores.d.ts.map +1 -0
  41. package/resources/stores/stores.js +100 -0
  42. package/resources/stores/stores.js.map +1 -0
  43. package/resources/stores/stores.mjs +95 -0
  44. package/resources/stores/stores.mjs.map +1 -0
  45. package/resources/stores.d.mts +2 -0
  46. package/resources/stores.d.mts.map +1 -0
  47. package/resources/stores.d.ts +2 -0
  48. package/resources/stores.d.ts.map +1 -0
  49. package/resources/stores.js +6 -0
  50. package/resources/stores.js.map +1 -0
  51. package/resources/stores.mjs +3 -0
  52. package/resources/stores.mjs.map +1 -0
  53. package/resources/vector-stores/files.d.mts +11 -10
  54. package/resources/vector-stores/files.d.mts.map +1 -1
  55. package/resources/vector-stores/files.d.ts +11 -10
  56. package/resources/vector-stores/files.d.ts.map +1 -1
  57. package/resources/vector-stores/files.js +5 -5
  58. package/resources/vector-stores/files.js.map +1 -1
  59. package/resources/vector-stores/files.mjs +5 -5
  60. package/resources/vector-stores/files.mjs.map +1 -1
  61. package/resources/vector-stores/vector-stores.d.mts +7 -7
  62. package/resources/vector-stores/vector-stores.d.ts +7 -7
  63. package/resources/vector-stores/vector-stores.js +7 -7
  64. package/resources/vector-stores/vector-stores.mjs +7 -7
  65. package/src/client.ts +31 -0
  66. package/src/resources/index.ts +14 -0
  67. package/src/resources/stores/files.ts +796 -0
  68. package/src/resources/stores/index.ts +30 -0
  69. package/src/resources/stores/stores.ts +523 -0
  70. package/src/resources/stores.ts +3 -0
  71. package/src/resources/vector-stores/files.ts +11 -10
  72. package/src/resources/vector-stores/vector-stores.ts +7 -7
  73. package/src/version.ts +1 -1
  74. package/version.d.mts +1 -1
  75. package/version.d.ts +1 -1
  76. package/version.js +1 -1
  77. package/version.mjs +1 -1
@@ -0,0 +1,593 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as Shared from "../shared.js";
3
+ import * as VectorStoresFilesAPI from "../vector-stores/files.js";
4
+ import * as VectorStoresAPI from "../vector-stores/vector-stores.js";
5
+ import { APIPromise } from "../../core/api-promise.js";
6
+ import { RequestOptions } from "../../internal/request-options.js";
7
+ import { Uploadable } from "../../uploads.js";
8
+ export declare class Files extends APIResource {
9
+ /**
10
+ * Upload a file to a store.
11
+ *
12
+ * Args: store_identifier: The ID or name of the store. file_add_params: The file
13
+ * to add to the store.
14
+ *
15
+ * Returns: VectorStoreFile: The uploaded file details.
16
+ */
17
+ create(storeIdentifier: string, body: FileCreateParams, options?: RequestOptions): APIPromise<StoreFile>;
18
+ /**
19
+ * Get a file from a store.
20
+ *
21
+ * Args: store_identifier: The ID or name of the store. file_id: The ID or name of
22
+ * the file. options: Get file options.
23
+ *
24
+ * Returns: VectorStoreFile: The file details.
25
+ */
26
+ retrieve(fileID: string, params: FileRetrieveParams, options?: RequestOptions): APIPromise<StoreFile>;
27
+ /**
28
+ * List files indexed in a vector store with pagination and metadata filter.
29
+ *
30
+ * Args: vector_store_identifier: The ID or name of the vector store pagination:
31
+ * Pagination parameters and metadata filter
32
+ *
33
+ * Returns: VectorStoreFileListResponse: Paginated list of vector store files
34
+ */
35
+ list(storeIdentifier: string, body: FileListParams, options?: RequestOptions): APIPromise<FileListResponse>;
36
+ /**
37
+ * Delete a file from a store.
38
+ *
39
+ * Args: store_identifier: The ID or name of the store. file_id: The ID or name of
40
+ * the file to delete.
41
+ *
42
+ * Returns: VectorStoreFileDeleted: The deleted file details.
43
+ */
44
+ delete(fileID: string, params: FileDeleteParams, options?: RequestOptions): APIPromise<FileDeleteResponse>;
45
+ /**
46
+ * Search for files within a store based on semantic similarity.
47
+ *
48
+ * Args: store_identifier: The ID or name of the store to search within
49
+ * search_params: Search configuration including query text, pagination, and
50
+ * filters
51
+ *
52
+ * Returns: StoreFileSearchResponse: List of matching files with relevance scores
53
+ */
54
+ search(body: FileSearchParams, options?: RequestOptions): APIPromise<FileSearchResponse>;
55
+ /**
56
+ * Poll for a file's processing status until it reaches a terminal state.
57
+ *
58
+ * @param storeIdentifier - The identifier of the store
59
+ * @param fileId - The ID of the file to poll
60
+ * @param pollIntervalMs - The interval between polls in milliseconds (default: 500)
61
+ * @param pollTimeoutMs - The maximum time to poll for in milliseconds (default: no timeout)
62
+ * @param options - Additional request options
63
+ * @returns The file object once it reaches a terminal state
64
+ */
65
+ poll(storeIdentifier: string, fileId: string, pollIntervalMs?: number, pollTimeoutMs?: number, options?: RequestOptions): Promise<StoreFile>;
66
+ /**
67
+ * Create a file in a vector store and wait for it to be processed.
68
+ *
69
+ * @param storeIdentifier - The identifier of the store to upload to
70
+ * @param body - The file creation parameters
71
+ * @param pollIntervalMs - The interval between polls in milliseconds (default: 500)
72
+ * @param pollTimeoutMs - The maximum time to poll for in milliseconds (default: no timeout)
73
+ * @param options - Additional request options
74
+ * @returns The file object once it reaches a terminal state
75
+ */
76
+ createAndPoll(storeIdentifier: string, body: FileCreateParams, pollIntervalMs?: number, pollTimeoutMs?: number, options?: RequestOptions): Promise<StoreFile>;
77
+ /**
78
+ * Upload a file to the files API and then create a file in a vector store.
79
+ * Note the file will be asynchronously processed.
80
+ *
81
+ * @param storeIdentifier - The identifier of the store to add the file to
82
+ * @param file - The file to upload
83
+ * @param body - Additional parameters for the vector store file
84
+ * @param options - Additional request options
85
+ * @returns The created vector store file
86
+ */
87
+ upload(storeIdentifier: string, file: Uploadable, body?: Omit<FileCreateParams, 'file_id'>, options?: RequestOptions): Promise<StoreFile>;
88
+ /**
89
+ * Upload a file to files API, create a file in a vector store, and poll until processing is complete.
90
+ *
91
+ * @param storeIdentifier - The identifier of the store to add the file to
92
+ * @param file - The file to upload
93
+ * @param body - Additional parameters for the vector store file
94
+ * @param pollIntervalMs - The interval between polls in milliseconds (default: 500)
95
+ * @param pollTimeoutMs - The maximum time to poll for in milliseconds (default: no timeout)
96
+ * @param options - Additional request options
97
+ * @returns The vector store file object once it reaches a terminal state
98
+ */
99
+ uploadAndPoll(storeIdentifier: string, file: Uploadable, body?: Omit<FileCreateParams, 'file_id'>, pollIntervalMs?: number, pollTimeoutMs?: number, options?: RequestOptions): Promise<StoreFile>;
100
+ }
101
+ /**
102
+ * Represents a scored store file.
103
+ */
104
+ export interface ScoredStoreFile {
105
+ /**
106
+ * Unique identifier for the file
107
+ */
108
+ id: string;
109
+ /**
110
+ * Name of the file
111
+ */
112
+ filename?: string;
113
+ /**
114
+ * Optional file metadata
115
+ */
116
+ metadata?: unknown;
117
+ /**
118
+ * Processing status of the file
119
+ */
120
+ status?: StoreFileStatus;
121
+ /**
122
+ * Last error message if processing failed
123
+ */
124
+ last_error?: unknown;
125
+ /**
126
+ * ID of the containing store
127
+ */
128
+ store_id: string;
129
+ /**
130
+ * Timestamp of store file creation
131
+ */
132
+ created_at: string;
133
+ /**
134
+ * Version number of the file
135
+ */
136
+ version?: number | null;
137
+ /**
138
+ * Storage usage in bytes
139
+ */
140
+ usage_bytes?: number | null;
141
+ /**
142
+ * Type of the object
143
+ */
144
+ object?: 'store.file';
145
+ /**
146
+ * Array of scored file chunks
147
+ */
148
+ chunks: Array<VectorStoresAPI.ScoredTextInputChunk | VectorStoresAPI.ScoredImageURLInputChunk | VectorStoresAPI.ScoredAudioURLInputChunk | VectorStoresAPI.ScoredVideoURLInputChunk> | null;
149
+ /**
150
+ * score of the file
151
+ */
152
+ score: number;
153
+ }
154
+ export type StoreFileStatus = 'pending' | 'in_progress' | 'cancelled' | 'completed' | 'failed';
155
+ /**
156
+ * Represents a file stored in a store.
157
+ */
158
+ export interface StoreFile {
159
+ /**
160
+ * Unique identifier for the file
161
+ */
162
+ id: string;
163
+ /**
164
+ * Name of the file
165
+ */
166
+ filename?: string;
167
+ /**
168
+ * Optional file metadata
169
+ */
170
+ metadata?: unknown;
171
+ /**
172
+ * Processing status of the file
173
+ */
174
+ status?: StoreFileStatus;
175
+ /**
176
+ * Last error message if processing failed
177
+ */
178
+ last_error?: unknown;
179
+ /**
180
+ * ID of the containing store
181
+ */
182
+ store_id: string;
183
+ /**
184
+ * Timestamp of store file creation
185
+ */
186
+ created_at: string;
187
+ /**
188
+ * Version number of the file
189
+ */
190
+ version?: number | null;
191
+ /**
192
+ * Storage usage in bytes
193
+ */
194
+ usage_bytes?: number | null;
195
+ /**
196
+ * Type of the object
197
+ */
198
+ object?: 'store.file';
199
+ /**
200
+ * chunks
201
+ */
202
+ chunks?: Array<StoreFile.TextInputChunk | StoreFile.ImageURLInputChunk | StoreFile.AudioURLInputChunk | StoreFile.VideoURLInputChunk> | null;
203
+ }
204
+ export declare namespace StoreFile {
205
+ interface TextInputChunk {
206
+ /**
207
+ * position of the chunk in a file
208
+ */
209
+ chunk_index: number;
210
+ /**
211
+ * mime type of the chunk
212
+ */
213
+ mime_type?: string;
214
+ /**
215
+ * metadata of the chunk
216
+ */
217
+ generated_metadata?: {
218
+ [key: string]: unknown;
219
+ } | null;
220
+ /**
221
+ * model used for this chunk
222
+ */
223
+ model?: string | null;
224
+ /**
225
+ * Input type identifier
226
+ */
227
+ type?: 'text';
228
+ /**
229
+ * The offset of the text in the file relative to the start of the file.
230
+ */
231
+ offset?: number;
232
+ /**
233
+ * Text content to process
234
+ */
235
+ text: string;
236
+ }
237
+ interface ImageURLInputChunk {
238
+ /**
239
+ * position of the chunk in a file
240
+ */
241
+ chunk_index: number;
242
+ /**
243
+ * mime type of the chunk
244
+ */
245
+ mime_type?: string;
246
+ /**
247
+ * metadata of the chunk
248
+ */
249
+ generated_metadata?: {
250
+ [key: string]: unknown;
251
+ } | null;
252
+ /**
253
+ * model used for this chunk
254
+ */
255
+ model?: string | null;
256
+ /**
257
+ * Input type identifier
258
+ */
259
+ type?: 'image_url';
260
+ /**
261
+ * ocr text of the image
262
+ */
263
+ ocr_text?: string | null;
264
+ /**
265
+ * summary of the image
266
+ */
267
+ summary?: string | null;
268
+ /**
269
+ * The image input specification.
270
+ */
271
+ image_url: ImageURLInputChunk.ImageURL;
272
+ }
273
+ namespace ImageURLInputChunk {
274
+ /**
275
+ * The image input specification.
276
+ */
277
+ interface ImageURL {
278
+ /**
279
+ * The image URL. Can be either a URL or a Data URI.
280
+ */
281
+ url: string;
282
+ /**
283
+ * The image format/mimetype
284
+ */
285
+ format?: string;
286
+ }
287
+ }
288
+ interface AudioURLInputChunk {
289
+ /**
290
+ * position of the chunk in a file
291
+ */
292
+ chunk_index: number;
293
+ /**
294
+ * mime type of the chunk
295
+ */
296
+ mime_type?: string;
297
+ /**
298
+ * metadata of the chunk
299
+ */
300
+ generated_metadata?: {
301
+ [key: string]: unknown;
302
+ } | null;
303
+ /**
304
+ * model used for this chunk
305
+ */
306
+ model?: string | null;
307
+ /**
308
+ * Input type identifier
309
+ */
310
+ type?: 'audio_url';
311
+ /**
312
+ * speech recognition (sr) text of the audio
313
+ */
314
+ transcription?: string | null;
315
+ /**
316
+ * summary of the audio
317
+ */
318
+ summary?: string | null;
319
+ /**
320
+ * The audio input specification.
321
+ */
322
+ audio_url: AudioURLInputChunk.AudioURL;
323
+ /**
324
+ * The sampling rate of the audio.
325
+ */
326
+ sampling_rate: number;
327
+ }
328
+ namespace AudioURLInputChunk {
329
+ /**
330
+ * The audio input specification.
331
+ */
332
+ interface AudioURL {
333
+ /**
334
+ * The audio URL. Can be either a URL or a Data URI.
335
+ */
336
+ url: string;
337
+ }
338
+ }
339
+ interface VideoURLInputChunk {
340
+ /**
341
+ * position of the chunk in a file
342
+ */
343
+ chunk_index: number;
344
+ /**
345
+ * mime type of the chunk
346
+ */
347
+ mime_type?: string;
348
+ /**
349
+ * metadata of the chunk
350
+ */
351
+ generated_metadata?: {
352
+ [key: string]: unknown;
353
+ } | null;
354
+ /**
355
+ * model used for this chunk
356
+ */
357
+ model?: string | null;
358
+ /**
359
+ * Input type identifier
360
+ */
361
+ type?: 'video_url';
362
+ /**
363
+ * speech recognition (sr) text of the video
364
+ */
365
+ transcription?: string | null;
366
+ /**
367
+ * summary of the video
368
+ */
369
+ summary?: string | null;
370
+ /**
371
+ * The video input specification.
372
+ */
373
+ video_url: VideoURLInputChunk.VideoURL;
374
+ }
375
+ namespace VideoURLInputChunk {
376
+ /**
377
+ * The video input specification.
378
+ */
379
+ interface VideoURL {
380
+ /**
381
+ * The video URL. Can be either a URL or a Data URI.
382
+ */
383
+ url: string;
384
+ }
385
+ }
386
+ }
387
+ export interface FileListResponse {
388
+ /**
389
+ * Response model for cursor-based pagination.
390
+ */
391
+ pagination: FileListResponse.Pagination;
392
+ /**
393
+ * The object type of the response
394
+ */
395
+ object?: 'list';
396
+ /**
397
+ * The list of store files
398
+ */
399
+ data: Array<StoreFile>;
400
+ }
401
+ export declare namespace FileListResponse {
402
+ /**
403
+ * Response model for cursor-based pagination.
404
+ */
405
+ interface Pagination {
406
+ /**
407
+ * Contextual direction-aware flag: True if more items exist in the requested
408
+ * pagination direction. For 'after': more items after this page. For 'before':
409
+ * more items before this page.
410
+ */
411
+ has_more: boolean;
412
+ /**
413
+ * Cursor of the first item in this page. Use for backward pagination. None if page
414
+ * is empty.
415
+ */
416
+ first_cursor: string | null;
417
+ /**
418
+ * Cursor of the last item in this page. Use for forward pagination. None if page
419
+ * is empty.
420
+ */
421
+ last_cursor: string | null;
422
+ /**
423
+ * Total number of items available across all pages. Only included when
424
+ * include_total=true was requested. Expensive operation - use sparingly.
425
+ */
426
+ total?: number | null;
427
+ }
428
+ }
429
+ /**
430
+ * Response model for file deletion.
431
+ */
432
+ export interface FileDeleteResponse {
433
+ /**
434
+ * ID of the deleted file
435
+ */
436
+ id: string;
437
+ /**
438
+ * Whether the deletion was successful
439
+ */
440
+ deleted?: boolean;
441
+ /**
442
+ * Type of the deleted object
443
+ */
444
+ object?: 'store.file';
445
+ }
446
+ export interface FileSearchResponse {
447
+ /**
448
+ * The object type of the response
449
+ */
450
+ object?: 'list';
451
+ /**
452
+ * The list of scored store files
453
+ */
454
+ data: Array<ScoredStoreFile>;
455
+ }
456
+ export interface FileCreateParams {
457
+ /**
458
+ * Optional metadata for the file
459
+ */
460
+ metadata?: unknown;
461
+ /**
462
+ * Strategy for adding the file
463
+ */
464
+ experimental?: FileCreateParams.Experimental;
465
+ /**
466
+ * ID of the file to add
467
+ */
468
+ file_id: string;
469
+ }
470
+ export declare namespace FileCreateParams {
471
+ /**
472
+ * Strategy for adding the file
473
+ */
474
+ interface Experimental {
475
+ /**
476
+ * Strategy for adding the file
477
+ */
478
+ parsing_strategy?: 'fast' | 'high_quality';
479
+ /**
480
+ * Whether to contextualize the file
481
+ */
482
+ contextualization?: boolean;
483
+ }
484
+ }
485
+ export interface FileRetrieveParams {
486
+ /**
487
+ * Path param: The ID or name of the store
488
+ */
489
+ store_identifier: string;
490
+ /**
491
+ * Query param: Whether to return the chunks for the file
492
+ */
493
+ return_chunks?: boolean;
494
+ }
495
+ export interface FileListParams {
496
+ /**
497
+ * Maximum number of items to return per page (1-100)
498
+ */
499
+ limit?: number;
500
+ /**
501
+ * Cursor for forward pagination - get items after this position. Use last_cursor
502
+ * from previous response.
503
+ */
504
+ after?: string | null;
505
+ /**
506
+ * Cursor for backward pagination - get items before this position. Use
507
+ * first_cursor from previous response.
508
+ */
509
+ before?: string | null;
510
+ /**
511
+ * Whether to include total count in response (expensive operation)
512
+ */
513
+ include_total?: boolean;
514
+ /**
515
+ * Status to filter by
516
+ */
517
+ statuses?: Array<StoreFileStatus> | null;
518
+ /**
519
+ * Metadata filter to apply to the query
520
+ */
521
+ metadata_filter?: Shared.SearchFilter | Shared.SearchFilterCondition | Array<Shared.SearchFilter | Shared.SearchFilterCondition> | null;
522
+ }
523
+ export interface FileDeleteParams {
524
+ /**
525
+ * The ID or name of the store
526
+ */
527
+ store_identifier: string;
528
+ }
529
+ export interface FileSearchParams {
530
+ /**
531
+ * Search query text
532
+ */
533
+ query: string;
534
+ /**
535
+ * IDs or names of stores to search
536
+ */
537
+ store_identifiers: Array<string>;
538
+ /**
539
+ * Number of results to return
540
+ */
541
+ top_k?: number;
542
+ /**
543
+ * Optional filter conditions
544
+ */
545
+ filters?: Shared.SearchFilter | Shared.SearchFilterCondition | Array<Shared.SearchFilter | Shared.SearchFilterCondition> | null;
546
+ /**
547
+ * Optional list of file IDs to filter chunks by (inclusion filter)
548
+ */
549
+ file_ids?: Array<unknown> | Array<string> | null;
550
+ /**
551
+ * Search configuration options
552
+ */
553
+ search_options?: FileSearchParams.SearchOptions;
554
+ }
555
+ export declare namespace FileSearchParams {
556
+ /**
557
+ * Search configuration options
558
+ */
559
+ interface SearchOptions {
560
+ /**
561
+ * Minimum similarity score threshold
562
+ */
563
+ score_threshold?: number;
564
+ /**
565
+ * Whether to rewrite the query
566
+ */
567
+ rewrite_query?: boolean;
568
+ /**
569
+ * Whether to rerank results and optional reranking configuration
570
+ */
571
+ rerank?: boolean | VectorStoresFilesAPI.RerankConfig | null;
572
+ /**
573
+ * Whether to return file metadata
574
+ */
575
+ return_metadata?: boolean;
576
+ /**
577
+ * Whether to return matching text chunks
578
+ */
579
+ return_chunks?: boolean;
580
+ /**
581
+ * Number of chunks to return for each file
582
+ */
583
+ chunks_per_file?: number;
584
+ /**
585
+ * Whether to apply search rules
586
+ */
587
+ apply_search_rules?: boolean;
588
+ }
589
+ }
590
+ export declare namespace Files {
591
+ export { type ScoredStoreFile as ScoredStoreFile, type StoreFileStatus as StoreFileStatus, type StoreFile as StoreFile, type FileListResponse as FileListResponse, type FileDeleteResponse as FileDeleteResponse, type FileSearchResponse as FileSearchResponse, type FileCreateParams as FileCreateParams, type FileRetrieveParams as FileRetrieveParams, type FileListParams as FileListParams, type FileDeleteParams as FileDeleteParams, type FileSearchParams as FileSearchParams, };
592
+ }
593
+ //# sourceMappingURL=files.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/resources/stores/files.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,oBAAoB;OACzB,KAAK,eAAe;OACpB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;OAElB,EAAE,UAAU,EAAE;AAGrB,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,MAAM,CAAC,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;IAIxG;;;;;;;OAOG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,MAA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