@mixedbread/sdk 0.19.2 → 0.21.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/client.d.mts +0 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +0 -1
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/shared.d.mts +0 -17
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -17
- package/resources/shared.d.ts.map +1 -1
- package/resources/vector-stores/files.d.mts +36 -19
- package/resources/vector-stores/files.d.mts.map +1 -1
- package/resources/vector-stores/files.d.ts +36 -19
- package/resources/vector-stores/files.d.ts.map +1 -1
- package/resources/vector-stores/files.js +0 -12
- package/resources/vector-stores/files.js.map +1 -1
- package/resources/vector-stores/files.mjs +0 -12
- package/resources/vector-stores/files.mjs.map +1 -1
- package/resources/vector-stores/index.d.mts +1 -1
- package/resources/vector-stores/index.d.mts.map +1 -1
- package/resources/vector-stores/index.d.ts +1 -1
- package/resources/vector-stores/index.d.ts.map +1 -1
- package/resources/vector-stores/index.js.map +1 -1
- package/resources/vector-stores/index.mjs.map +1 -1
- package/resources/vector-stores/vector-stores.d.mts +74 -4
- package/resources/vector-stores/vector-stores.d.mts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts +74 -4
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/src/client.ts +0 -1
- package/src/resources/shared.ts +0 -20
- package/src/resources/vector-stores/files.ts +42 -34
- package/src/resources/vector-stores/index.ts +0 -2
- package/src/resources/vector-stores/vector-stores.ts +91 -8
- 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
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
FileCreateParams,
|
|
8
8
|
FileDeleteParams,
|
|
9
9
|
FileDeleteResponse,
|
|
10
|
-
FileListParams,
|
|
11
10
|
FileRetrieveParams,
|
|
12
11
|
FileSearchParams,
|
|
13
12
|
FileSearchResponse,
|
|
@@ -16,7 +15,6 @@ import {
|
|
|
16
15
|
ScoredVectorStoreFile,
|
|
17
16
|
VectorStoreFile,
|
|
18
17
|
VectorStoreFileStatus,
|
|
19
|
-
VectorStoreFilesCursor,
|
|
20
18
|
} from './files';
|
|
21
19
|
import { APIPromise } from '../../core/api-promise';
|
|
22
20
|
import { Cursor, type CursorParams, PagePromise } from '../../core/pagination';
|
|
@@ -732,9 +730,12 @@ export interface VectorStoreQuestionAnsweringParams {
|
|
|
732
730
|
* Optional filter conditions
|
|
733
731
|
*/
|
|
734
732
|
filters?:
|
|
735
|
-
|
|
|
733
|
+
| VectorStoreQuestionAnsweringParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
|
|
736
734
|
| Shared.SearchFilterCondition
|
|
737
|
-
| Array<
|
|
735
|
+
| Array<
|
|
736
|
+
| VectorStoreQuestionAnsweringParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
|
|
737
|
+
| Shared.SearchFilterCondition
|
|
738
|
+
>
|
|
738
739
|
| null;
|
|
739
740
|
|
|
740
741
|
/**
|
|
@@ -759,6 +760,46 @@ export interface VectorStoreQuestionAnsweringParams {
|
|
|
759
760
|
}
|
|
760
761
|
|
|
761
762
|
export namespace VectorStoreQuestionAnsweringParams {
|
|
763
|
+
/**
|
|
764
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
765
|
+
*/
|
|
766
|
+
export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
|
|
767
|
+
/**
|
|
768
|
+
* List of conditions or filters to be ANDed together
|
|
769
|
+
*/
|
|
770
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* List of conditions or filters to be ORed together
|
|
774
|
+
*/
|
|
775
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* List of conditions or filters to be NOTed
|
|
779
|
+
*/
|
|
780
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
785
|
+
*/
|
|
786
|
+
export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
|
|
787
|
+
/**
|
|
788
|
+
* List of conditions or filters to be ANDed together
|
|
789
|
+
*/
|
|
790
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* List of conditions or filters to be ORed together
|
|
794
|
+
*/
|
|
795
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* List of conditions or filters to be NOTed
|
|
799
|
+
*/
|
|
800
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
801
|
+
}
|
|
802
|
+
|
|
762
803
|
/**
|
|
763
804
|
* Question answering configuration options
|
|
764
805
|
*/
|
|
@@ -800,9 +841,11 @@ export interface VectorStoreSearchParams {
|
|
|
800
841
|
* Optional filter conditions
|
|
801
842
|
*/
|
|
802
843
|
filters?:
|
|
803
|
-
|
|
|
844
|
+
| VectorStoreSearchParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1
|
|
804
845
|
| Shared.SearchFilterCondition
|
|
805
|
-
| Array<
|
|
846
|
+
| Array<
|
|
847
|
+
VectorStoreSearchParams.MxbaiOmniCoreVectorStoreModelsSearchFilter1 | Shared.SearchFilterCondition
|
|
848
|
+
>
|
|
806
849
|
| null;
|
|
807
850
|
|
|
808
851
|
/**
|
|
@@ -816,6 +859,48 @@ export interface VectorStoreSearchParams {
|
|
|
816
859
|
search_options?: VectorStoreChunkSearchOptions;
|
|
817
860
|
}
|
|
818
861
|
|
|
862
|
+
export namespace VectorStoreSearchParams {
|
|
863
|
+
/**
|
|
864
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
865
|
+
*/
|
|
866
|
+
export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
|
|
867
|
+
/**
|
|
868
|
+
* List of conditions or filters to be ANDed together
|
|
869
|
+
*/
|
|
870
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* List of conditions or filters to be ORed together
|
|
874
|
+
*/
|
|
875
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* List of conditions or filters to be NOTed
|
|
879
|
+
*/
|
|
880
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
885
|
+
*/
|
|
886
|
+
export interface MxbaiOmniCoreVectorStoreModelsSearchFilter1 {
|
|
887
|
+
/**
|
|
888
|
+
* List of conditions or filters to be ANDed together
|
|
889
|
+
*/
|
|
890
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* List of conditions or filters to be ORed together
|
|
894
|
+
*/
|
|
895
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* List of conditions or filters to be NOTed
|
|
899
|
+
*/
|
|
900
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
819
904
|
VectorStores.Files = Files;
|
|
820
905
|
|
|
821
906
|
export declare namespace VectorStores {
|
|
@@ -846,10 +931,8 @@ export declare namespace VectorStores {
|
|
|
846
931
|
type VectorStoreFile as VectorStoreFile,
|
|
847
932
|
type FileDeleteResponse as FileDeleteResponse,
|
|
848
933
|
type FileSearchResponse as FileSearchResponse,
|
|
849
|
-
type VectorStoreFilesCursor as VectorStoreFilesCursor,
|
|
850
934
|
type FileCreateParams as FileCreateParams,
|
|
851
935
|
type FileRetrieveParams as FileRetrieveParams,
|
|
852
|
-
type FileListParams as FileListParams,
|
|
853
936
|
type FileDeleteParams as FileDeleteParams,
|
|
854
937
|
type FileSearchParams as FileSearchParams,
|
|
855
938
|
};
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.21.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.21.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.21.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.21.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|