@mixedbread/sdk 0.58.0 → 0.60.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/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/stores/files.d.mts +113 -108
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +113 -108
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/stores.d.mts +118 -108
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +118 -108
- package/resources/stores/stores.d.ts.map +1 -1
- package/resources/stores/stores.js.map +1 -1
- package/resources/stores/stores.mjs.map +1 -1
- package/src/resources/stores/files.ts +114 -108
- package/src/resources/stores/stores.ts +120 -108
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -244,11 +244,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
244
244
|
|
|
245
245
|
file_type?: 'text/markdown';
|
|
246
246
|
|
|
247
|
-
language
|
|
247
|
+
language?: string | null;
|
|
248
248
|
|
|
249
|
-
word_count
|
|
249
|
+
word_count?: number | null;
|
|
250
250
|
|
|
251
|
-
file_size
|
|
251
|
+
file_size?: number | null;
|
|
252
252
|
|
|
253
253
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
254
254
|
|
|
@@ -284,11 +284,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
284
284
|
|
|
285
285
|
file_type?: 'text/plain';
|
|
286
286
|
|
|
287
|
-
language
|
|
287
|
+
language?: string | null;
|
|
288
288
|
|
|
289
|
-
word_count
|
|
289
|
+
word_count?: number | null;
|
|
290
290
|
|
|
291
|
-
file_size
|
|
291
|
+
file_size?: number | null;
|
|
292
292
|
|
|
293
293
|
start_line?: number;
|
|
294
294
|
|
|
@@ -304,9 +304,9 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
304
304
|
|
|
305
305
|
file_type?: 'application/pdf';
|
|
306
306
|
|
|
307
|
-
total_pages
|
|
307
|
+
total_pages?: number | null;
|
|
308
308
|
|
|
309
|
-
total_size
|
|
309
|
+
total_size?: number | null;
|
|
310
310
|
|
|
311
311
|
file_extension?: string | null;
|
|
312
312
|
|
|
@@ -318,11 +318,11 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
318
318
|
|
|
319
319
|
file_type: string;
|
|
320
320
|
|
|
321
|
-
language
|
|
321
|
+
language?: string | null;
|
|
322
322
|
|
|
323
|
-
word_count
|
|
323
|
+
word_count?: number | null;
|
|
324
324
|
|
|
325
|
-
file_size
|
|
325
|
+
file_size?: number | null;
|
|
326
326
|
|
|
327
327
|
start_line?: number;
|
|
328
328
|
|
|
@@ -336,17 +336,17 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
336
336
|
export interface AudioChunkGeneratedMetadata {
|
|
337
337
|
type?: 'audio';
|
|
338
338
|
|
|
339
|
-
file_type
|
|
339
|
+
file_type?: string;
|
|
340
340
|
|
|
341
|
-
file_size
|
|
341
|
+
file_size?: number | null;
|
|
342
342
|
|
|
343
|
-
total_duration_seconds
|
|
343
|
+
total_duration_seconds?: number | null;
|
|
344
344
|
|
|
345
|
-
sample_rate
|
|
345
|
+
sample_rate?: number | null;
|
|
346
346
|
|
|
347
|
-
channels
|
|
347
|
+
channels?: number | null;
|
|
348
348
|
|
|
349
|
-
audio_format
|
|
349
|
+
audio_format?: number | null;
|
|
350
350
|
|
|
351
351
|
bpm?: number | null;
|
|
352
352
|
|
|
@@ -358,19 +358,19 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
358
358
|
export interface VideoChunkGeneratedMetadata {
|
|
359
359
|
type?: 'video';
|
|
360
360
|
|
|
361
|
-
file_type
|
|
361
|
+
file_type?: string;
|
|
362
362
|
|
|
363
363
|
file_size?: number | null;
|
|
364
364
|
|
|
365
|
-
total_duration_seconds
|
|
365
|
+
total_duration_seconds?: number | null;
|
|
366
366
|
|
|
367
|
-
fps
|
|
367
|
+
fps?: number | null;
|
|
368
368
|
|
|
369
|
-
width
|
|
369
|
+
width?: number | null;
|
|
370
370
|
|
|
371
|
-
height
|
|
371
|
+
height?: number | null;
|
|
372
372
|
|
|
373
|
-
frame_count
|
|
373
|
+
frame_count?: number | null;
|
|
374
374
|
|
|
375
375
|
has_audio_stream?: boolean;
|
|
376
376
|
|
|
@@ -384,13 +384,13 @@ export namespace ScoredAudioURLInputChunk {
|
|
|
384
384
|
export interface ImageChunkGeneratedMetadata {
|
|
385
385
|
type?: 'image';
|
|
386
386
|
|
|
387
|
-
file_type
|
|
387
|
+
file_type?: string;
|
|
388
388
|
|
|
389
|
-
file_size
|
|
389
|
+
file_size?: number | null;
|
|
390
390
|
|
|
391
|
-
width
|
|
391
|
+
width?: number | null;
|
|
392
392
|
|
|
393
|
-
height
|
|
393
|
+
height?: number | null;
|
|
394
394
|
|
|
395
395
|
file_extension?: string | null;
|
|
396
396
|
|
|
@@ -494,11 +494,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
494
494
|
|
|
495
495
|
file_type?: 'text/markdown';
|
|
496
496
|
|
|
497
|
-
language
|
|
497
|
+
language?: string | null;
|
|
498
498
|
|
|
499
|
-
word_count
|
|
499
|
+
word_count?: number | null;
|
|
500
500
|
|
|
501
|
-
file_size
|
|
501
|
+
file_size?: number | null;
|
|
502
502
|
|
|
503
503
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
504
504
|
|
|
@@ -534,11 +534,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
534
534
|
|
|
535
535
|
file_type?: 'text/plain';
|
|
536
536
|
|
|
537
|
-
language
|
|
537
|
+
language?: string | null;
|
|
538
538
|
|
|
539
|
-
word_count
|
|
539
|
+
word_count?: number | null;
|
|
540
540
|
|
|
541
|
-
file_size
|
|
541
|
+
file_size?: number | null;
|
|
542
542
|
|
|
543
543
|
start_line?: number;
|
|
544
544
|
|
|
@@ -554,9 +554,9 @@ export namespace ScoredImageURLInputChunk {
|
|
|
554
554
|
|
|
555
555
|
file_type?: 'application/pdf';
|
|
556
556
|
|
|
557
|
-
total_pages
|
|
557
|
+
total_pages?: number | null;
|
|
558
558
|
|
|
559
|
-
total_size
|
|
559
|
+
total_size?: number | null;
|
|
560
560
|
|
|
561
561
|
file_extension?: string | null;
|
|
562
562
|
|
|
@@ -568,11 +568,11 @@ export namespace ScoredImageURLInputChunk {
|
|
|
568
568
|
|
|
569
569
|
file_type: string;
|
|
570
570
|
|
|
571
|
-
language
|
|
571
|
+
language?: string | null;
|
|
572
572
|
|
|
573
|
-
word_count
|
|
573
|
+
word_count?: number | null;
|
|
574
574
|
|
|
575
|
-
file_size
|
|
575
|
+
file_size?: number | null;
|
|
576
576
|
|
|
577
577
|
start_line?: number;
|
|
578
578
|
|
|
@@ -586,17 +586,17 @@ export namespace ScoredImageURLInputChunk {
|
|
|
586
586
|
export interface AudioChunkGeneratedMetadata {
|
|
587
587
|
type?: 'audio';
|
|
588
588
|
|
|
589
|
-
file_type
|
|
589
|
+
file_type?: string;
|
|
590
590
|
|
|
591
|
-
file_size
|
|
591
|
+
file_size?: number | null;
|
|
592
592
|
|
|
593
|
-
total_duration_seconds
|
|
593
|
+
total_duration_seconds?: number | null;
|
|
594
594
|
|
|
595
|
-
sample_rate
|
|
595
|
+
sample_rate?: number | null;
|
|
596
596
|
|
|
597
|
-
channels
|
|
597
|
+
channels?: number | null;
|
|
598
598
|
|
|
599
|
-
audio_format
|
|
599
|
+
audio_format?: number | null;
|
|
600
600
|
|
|
601
601
|
bpm?: number | null;
|
|
602
602
|
|
|
@@ -608,19 +608,19 @@ export namespace ScoredImageURLInputChunk {
|
|
|
608
608
|
export interface VideoChunkGeneratedMetadata {
|
|
609
609
|
type?: 'video';
|
|
610
610
|
|
|
611
|
-
file_type
|
|
611
|
+
file_type?: string;
|
|
612
612
|
|
|
613
613
|
file_size?: number | null;
|
|
614
614
|
|
|
615
|
-
total_duration_seconds
|
|
615
|
+
total_duration_seconds?: number | null;
|
|
616
616
|
|
|
617
|
-
fps
|
|
617
|
+
fps?: number | null;
|
|
618
618
|
|
|
619
|
-
width
|
|
619
|
+
width?: number | null;
|
|
620
620
|
|
|
621
|
-
height
|
|
621
|
+
height?: number | null;
|
|
622
622
|
|
|
623
|
-
frame_count
|
|
623
|
+
frame_count?: number | null;
|
|
624
624
|
|
|
625
625
|
has_audio_stream?: boolean;
|
|
626
626
|
|
|
@@ -634,13 +634,13 @@ export namespace ScoredImageURLInputChunk {
|
|
|
634
634
|
export interface ImageChunkGeneratedMetadata {
|
|
635
635
|
type?: 'image';
|
|
636
636
|
|
|
637
|
-
file_type
|
|
637
|
+
file_type?: string;
|
|
638
638
|
|
|
639
|
-
file_size
|
|
639
|
+
file_size?: number | null;
|
|
640
640
|
|
|
641
|
-
width
|
|
641
|
+
width?: number | null;
|
|
642
642
|
|
|
643
|
-
height
|
|
643
|
+
height?: number | null;
|
|
644
644
|
|
|
645
645
|
file_extension?: string | null;
|
|
646
646
|
|
|
@@ -744,11 +744,11 @@ export namespace ScoredTextInputChunk {
|
|
|
744
744
|
|
|
745
745
|
file_type?: 'text/markdown';
|
|
746
746
|
|
|
747
|
-
language
|
|
747
|
+
language?: string | null;
|
|
748
748
|
|
|
749
|
-
word_count
|
|
749
|
+
word_count?: number | null;
|
|
750
750
|
|
|
751
|
-
file_size
|
|
751
|
+
file_size?: number | null;
|
|
752
752
|
|
|
753
753
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
754
754
|
|
|
@@ -784,11 +784,11 @@ export namespace ScoredTextInputChunk {
|
|
|
784
784
|
|
|
785
785
|
file_type?: 'text/plain';
|
|
786
786
|
|
|
787
|
-
language
|
|
787
|
+
language?: string | null;
|
|
788
788
|
|
|
789
|
-
word_count
|
|
789
|
+
word_count?: number | null;
|
|
790
790
|
|
|
791
|
-
file_size
|
|
791
|
+
file_size?: number | null;
|
|
792
792
|
|
|
793
793
|
start_line?: number;
|
|
794
794
|
|
|
@@ -804,9 +804,9 @@ export namespace ScoredTextInputChunk {
|
|
|
804
804
|
|
|
805
805
|
file_type?: 'application/pdf';
|
|
806
806
|
|
|
807
|
-
total_pages
|
|
807
|
+
total_pages?: number | null;
|
|
808
808
|
|
|
809
|
-
total_size
|
|
809
|
+
total_size?: number | null;
|
|
810
810
|
|
|
811
811
|
file_extension?: string | null;
|
|
812
812
|
|
|
@@ -818,11 +818,11 @@ export namespace ScoredTextInputChunk {
|
|
|
818
818
|
|
|
819
819
|
file_type: string;
|
|
820
820
|
|
|
821
|
-
language
|
|
821
|
+
language?: string | null;
|
|
822
822
|
|
|
823
|
-
word_count
|
|
823
|
+
word_count?: number | null;
|
|
824
824
|
|
|
825
|
-
file_size
|
|
825
|
+
file_size?: number | null;
|
|
826
826
|
|
|
827
827
|
start_line?: number;
|
|
828
828
|
|
|
@@ -836,17 +836,17 @@ export namespace ScoredTextInputChunk {
|
|
|
836
836
|
export interface AudioChunkGeneratedMetadata {
|
|
837
837
|
type?: 'audio';
|
|
838
838
|
|
|
839
|
-
file_type
|
|
839
|
+
file_type?: string;
|
|
840
840
|
|
|
841
|
-
file_size
|
|
841
|
+
file_size?: number | null;
|
|
842
842
|
|
|
843
|
-
total_duration_seconds
|
|
843
|
+
total_duration_seconds?: number | null;
|
|
844
844
|
|
|
845
|
-
sample_rate
|
|
845
|
+
sample_rate?: number | null;
|
|
846
846
|
|
|
847
|
-
channels
|
|
847
|
+
channels?: number | null;
|
|
848
848
|
|
|
849
|
-
audio_format
|
|
849
|
+
audio_format?: number | null;
|
|
850
850
|
|
|
851
851
|
bpm?: number | null;
|
|
852
852
|
|
|
@@ -858,19 +858,19 @@ export namespace ScoredTextInputChunk {
|
|
|
858
858
|
export interface VideoChunkGeneratedMetadata {
|
|
859
859
|
type?: 'video';
|
|
860
860
|
|
|
861
|
-
file_type
|
|
861
|
+
file_type?: string;
|
|
862
862
|
|
|
863
863
|
file_size?: number | null;
|
|
864
864
|
|
|
865
|
-
total_duration_seconds
|
|
865
|
+
total_duration_seconds?: number | null;
|
|
866
866
|
|
|
867
|
-
fps
|
|
867
|
+
fps?: number | null;
|
|
868
868
|
|
|
869
|
-
width
|
|
869
|
+
width?: number | null;
|
|
870
870
|
|
|
871
|
-
height
|
|
871
|
+
height?: number | null;
|
|
872
872
|
|
|
873
|
-
frame_count
|
|
873
|
+
frame_count?: number | null;
|
|
874
874
|
|
|
875
875
|
has_audio_stream?: boolean;
|
|
876
876
|
|
|
@@ -884,13 +884,13 @@ export namespace ScoredTextInputChunk {
|
|
|
884
884
|
export interface ImageChunkGeneratedMetadata {
|
|
885
885
|
type?: 'image';
|
|
886
886
|
|
|
887
|
-
file_type
|
|
887
|
+
file_type?: string;
|
|
888
888
|
|
|
889
|
-
file_size
|
|
889
|
+
file_size?: number | null;
|
|
890
890
|
|
|
891
|
-
width
|
|
891
|
+
width?: number | null;
|
|
892
892
|
|
|
893
|
-
height
|
|
893
|
+
height?: number | null;
|
|
894
894
|
|
|
895
895
|
file_extension?: string | null;
|
|
896
896
|
|
|
@@ -984,11 +984,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
984
984
|
|
|
985
985
|
file_type?: 'text/markdown';
|
|
986
986
|
|
|
987
|
-
language
|
|
987
|
+
language?: string | null;
|
|
988
988
|
|
|
989
|
-
word_count
|
|
989
|
+
word_count?: number | null;
|
|
990
990
|
|
|
991
|
-
file_size
|
|
991
|
+
file_size?: number | null;
|
|
992
992
|
|
|
993
993
|
chunk_headings?: Array<MarkdownChunkGeneratedMetadata.ChunkHeading>;
|
|
994
994
|
|
|
@@ -1024,11 +1024,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1024
1024
|
|
|
1025
1025
|
file_type?: 'text/plain';
|
|
1026
1026
|
|
|
1027
|
-
language
|
|
1027
|
+
language?: string | null;
|
|
1028
1028
|
|
|
1029
|
-
word_count
|
|
1029
|
+
word_count?: number | null;
|
|
1030
1030
|
|
|
1031
|
-
file_size
|
|
1031
|
+
file_size?: number | null;
|
|
1032
1032
|
|
|
1033
1033
|
start_line?: number;
|
|
1034
1034
|
|
|
@@ -1044,9 +1044,9 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1044
1044
|
|
|
1045
1045
|
file_type?: 'application/pdf';
|
|
1046
1046
|
|
|
1047
|
-
total_pages
|
|
1047
|
+
total_pages?: number | null;
|
|
1048
1048
|
|
|
1049
|
-
total_size
|
|
1049
|
+
total_size?: number | null;
|
|
1050
1050
|
|
|
1051
1051
|
file_extension?: string | null;
|
|
1052
1052
|
|
|
@@ -1058,11 +1058,11 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1058
1058
|
|
|
1059
1059
|
file_type: string;
|
|
1060
1060
|
|
|
1061
|
-
language
|
|
1061
|
+
language?: string | null;
|
|
1062
1062
|
|
|
1063
|
-
word_count
|
|
1063
|
+
word_count?: number | null;
|
|
1064
1064
|
|
|
1065
|
-
file_size
|
|
1065
|
+
file_size?: number | null;
|
|
1066
1066
|
|
|
1067
1067
|
start_line?: number;
|
|
1068
1068
|
|
|
@@ -1076,17 +1076,17 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1076
1076
|
export interface AudioChunkGeneratedMetadata {
|
|
1077
1077
|
type?: 'audio';
|
|
1078
1078
|
|
|
1079
|
-
file_type
|
|
1079
|
+
file_type?: string;
|
|
1080
1080
|
|
|
1081
|
-
file_size
|
|
1081
|
+
file_size?: number | null;
|
|
1082
1082
|
|
|
1083
|
-
total_duration_seconds
|
|
1083
|
+
total_duration_seconds?: number | null;
|
|
1084
1084
|
|
|
1085
|
-
sample_rate
|
|
1085
|
+
sample_rate?: number | null;
|
|
1086
1086
|
|
|
1087
|
-
channels
|
|
1087
|
+
channels?: number | null;
|
|
1088
1088
|
|
|
1089
|
-
audio_format
|
|
1089
|
+
audio_format?: number | null;
|
|
1090
1090
|
|
|
1091
1091
|
bpm?: number | null;
|
|
1092
1092
|
|
|
@@ -1098,19 +1098,19 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1098
1098
|
export interface VideoChunkGeneratedMetadata {
|
|
1099
1099
|
type?: 'video';
|
|
1100
1100
|
|
|
1101
|
-
file_type
|
|
1101
|
+
file_type?: string;
|
|
1102
1102
|
|
|
1103
1103
|
file_size?: number | null;
|
|
1104
1104
|
|
|
1105
|
-
total_duration_seconds
|
|
1105
|
+
total_duration_seconds?: number | null;
|
|
1106
1106
|
|
|
1107
|
-
fps
|
|
1107
|
+
fps?: number | null;
|
|
1108
1108
|
|
|
1109
|
-
width
|
|
1109
|
+
width?: number | null;
|
|
1110
1110
|
|
|
1111
|
-
height
|
|
1111
|
+
height?: number | null;
|
|
1112
1112
|
|
|
1113
|
-
frame_count
|
|
1113
|
+
frame_count?: number | null;
|
|
1114
1114
|
|
|
1115
1115
|
has_audio_stream?: boolean;
|
|
1116
1116
|
|
|
@@ -1124,13 +1124,13 @@ export namespace ScoredVideoURLInputChunk {
|
|
|
1124
1124
|
export interface ImageChunkGeneratedMetadata {
|
|
1125
1125
|
type?: 'image';
|
|
1126
1126
|
|
|
1127
|
-
file_type
|
|
1127
|
+
file_type?: string;
|
|
1128
1128
|
|
|
1129
|
-
file_size
|
|
1129
|
+
file_size?: number | null;
|
|
1130
1130
|
|
|
1131
|
-
width
|
|
1131
|
+
width?: number | null;
|
|
1132
1132
|
|
|
1133
|
-
height
|
|
1133
|
+
height?: number | null;
|
|
1134
1134
|
|
|
1135
1135
|
file_extension?: string | null;
|
|
1136
1136
|
|
|
@@ -1371,6 +1371,12 @@ export namespace StoreChunkSearchOptions {
|
|
|
1371
1371
|
* Maximum queries per round
|
|
1372
1372
|
*/
|
|
1373
1373
|
queries_per_round?: number;
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Additional custom instructions (followed only when not in conflict with existing
|
|
1377
|
+
* rules)
|
|
1378
|
+
*/
|
|
1379
|
+
instructions?: string | null;
|
|
1374
1380
|
}
|
|
1375
1381
|
}
|
|
1376
1382
|
|
|
@@ -1620,6 +1626,12 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1620
1626
|
*/
|
|
1621
1627
|
stream?: boolean;
|
|
1622
1628
|
|
|
1629
|
+
/**
|
|
1630
|
+
* Additional custom instructions (followed only when not in conflict with existing
|
|
1631
|
+
* rules)
|
|
1632
|
+
*/
|
|
1633
|
+
instructions?: string | null;
|
|
1634
|
+
|
|
1623
1635
|
/**
|
|
1624
1636
|
* Question answering configuration options
|
|
1625
1637
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.60.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.60.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.60.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.60.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|