@mixedbread/sdk 0.66.0 → 0.68.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/stores/files.d.mts +37 -1
- package/resources/stores/files.d.mts.map +1 -1
- package/resources/stores/files.d.ts +37 -1
- package/resources/stores/files.d.ts.map +1 -1
- package/resources/stores/stores.d.mts +131 -19
- package/resources/stores/stores.d.mts.map +1 -1
- package/resources/stores/stores.d.ts +131 -19
- package/resources/stores/stores.d.ts.map +1 -1
- package/resources/stores/stores.js +1 -1
- package/resources/stores/stores.js.map +1 -1
- package/resources/stores/stores.mjs +1 -1
- package/resources/stores/stores.mjs.map +1 -1
- package/src/client.ts +0 -1
- package/src/resources/shared.ts +0 -20
- package/src/resources/stores/files.ts +44 -2
- package/src/resources/stores/stores.ts +155 -24
- 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
|
@@ -184,8 +184,8 @@ export class Stores extends APIResource {
|
|
|
184
184
|
* @example
|
|
185
185
|
* ```ts
|
|
186
186
|
* const response = await client.stores.search({
|
|
187
|
-
* query: 'how to configure SSL',
|
|
188
187
|
* store_identifiers: ['string'],
|
|
188
|
+
* query: 'how to configure SSL',
|
|
189
189
|
* });
|
|
190
190
|
* ```
|
|
191
191
|
*/
|
|
@@ -227,6 +227,13 @@ export interface AgenticSearchConfig {
|
|
|
227
227
|
* rules)
|
|
228
228
|
*/
|
|
229
229
|
instructions?: string | null;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Internal: when set, the response includes a `trace` field with the full
|
|
233
|
+
* tool-call timeline. Used by the Mixedbread playground; not part of the
|
|
234
|
+
* documented public API.
|
|
235
|
+
*/
|
|
236
|
+
verbose?: boolean;
|
|
230
237
|
}
|
|
231
238
|
|
|
232
239
|
export interface AudioChunkGeneratedMetadata {
|
|
@@ -1119,12 +1126,7 @@ export interface StoreListParams extends CursorParams {
|
|
|
1119
1126
|
|
|
1120
1127
|
export interface StoreMetadataFacetsParams {
|
|
1121
1128
|
/**
|
|
1122
|
-
*
|
|
1123
|
-
*/
|
|
1124
|
-
query?: string | null;
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* IDs or names of stores to search
|
|
1129
|
+
* IDs or names of stores
|
|
1128
1130
|
*/
|
|
1129
1131
|
store_identifiers: Array<string>;
|
|
1130
1132
|
|
|
@@ -1137,9 +1139,9 @@ export interface StoreMetadataFacetsParams {
|
|
|
1137
1139
|
* Optional filter conditions
|
|
1138
1140
|
*/
|
|
1139
1141
|
filters?:
|
|
1140
|
-
|
|
|
1142
|
+
| StoreMetadataFacetsParams.SearchFilterInput
|
|
1141
1143
|
| Shared.SearchFilterCondition
|
|
1142
|
-
| Array<
|
|
1144
|
+
| Array<StoreMetadataFacetsParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1143
1145
|
| null;
|
|
1144
1146
|
|
|
1145
1147
|
/**
|
|
@@ -1147,6 +1149,11 @@ export interface StoreMetadataFacetsParams {
|
|
|
1147
1149
|
*/
|
|
1148
1150
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1149
1151
|
|
|
1152
|
+
/**
|
|
1153
|
+
* Search query text
|
|
1154
|
+
*/
|
|
1155
|
+
query?: string | null;
|
|
1156
|
+
|
|
1150
1157
|
/**
|
|
1151
1158
|
* Search configuration options
|
|
1152
1159
|
*/
|
|
@@ -1173,15 +1180,51 @@ export interface StoreMetadataFacetsParams {
|
|
|
1173
1180
|
max_files?: number;
|
|
1174
1181
|
}
|
|
1175
1182
|
|
|
1176
|
-
export
|
|
1183
|
+
export namespace StoreMetadataFacetsParams {
|
|
1177
1184
|
/**
|
|
1178
|
-
*
|
|
1179
|
-
* passed messages.
|
|
1185
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1180
1186
|
*/
|
|
1181
|
-
|
|
1187
|
+
export interface SearchFilterInput {
|
|
1188
|
+
/**
|
|
1189
|
+
* List of conditions or filters to be ANDed together
|
|
1190
|
+
*/
|
|
1191
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* List of conditions or filters to be ORed together
|
|
1195
|
+
*/
|
|
1196
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* List of conditions or filters to be NOTed
|
|
1200
|
+
*/
|
|
1201
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1202
|
+
}
|
|
1182
1203
|
|
|
1183
1204
|
/**
|
|
1184
|
-
*
|
|
1205
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1206
|
+
*/
|
|
1207
|
+
export interface SearchFilterInput {
|
|
1208
|
+
/**
|
|
1209
|
+
* List of conditions or filters to be ANDed together
|
|
1210
|
+
*/
|
|
1211
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* List of conditions or filters to be ORed together
|
|
1215
|
+
*/
|
|
1216
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* List of conditions or filters to be NOTed
|
|
1220
|
+
*/
|
|
1221
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export interface StoreQuestionAnsweringParams {
|
|
1226
|
+
/**
|
|
1227
|
+
* IDs or names of stores
|
|
1185
1228
|
*/
|
|
1186
1229
|
store_identifiers: Array<string>;
|
|
1187
1230
|
|
|
@@ -1194,9 +1237,9 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1194
1237
|
* Optional filter conditions
|
|
1195
1238
|
*/
|
|
1196
1239
|
filters?:
|
|
1197
|
-
|
|
|
1240
|
+
| StoreQuestionAnsweringParams.SearchFilterInput
|
|
1198
1241
|
| Shared.SearchFilterCondition
|
|
1199
|
-
| Array<
|
|
1242
|
+
| Array<StoreQuestionAnsweringParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1200
1243
|
| null;
|
|
1201
1244
|
|
|
1202
1245
|
/**
|
|
@@ -1204,6 +1247,12 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1204
1247
|
*/
|
|
1205
1248
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1206
1249
|
|
|
1250
|
+
/**
|
|
1251
|
+
* Question to answer. If not provided, the question will be extracted from the
|
|
1252
|
+
* passed messages.
|
|
1253
|
+
*/
|
|
1254
|
+
query?: string;
|
|
1255
|
+
|
|
1207
1256
|
/**
|
|
1208
1257
|
* Search configuration options
|
|
1209
1258
|
*/
|
|
@@ -1227,6 +1276,46 @@ export interface StoreQuestionAnsweringParams {
|
|
|
1227
1276
|
}
|
|
1228
1277
|
|
|
1229
1278
|
export namespace StoreQuestionAnsweringParams {
|
|
1279
|
+
/**
|
|
1280
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1281
|
+
*/
|
|
1282
|
+
export interface SearchFilterInput {
|
|
1283
|
+
/**
|
|
1284
|
+
* List of conditions or filters to be ANDed together
|
|
1285
|
+
*/
|
|
1286
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* List of conditions or filters to be ORed together
|
|
1290
|
+
*/
|
|
1291
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* List of conditions or filters to be NOTed
|
|
1295
|
+
*/
|
|
1296
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1301
|
+
*/
|
|
1302
|
+
export interface SearchFilterInput {
|
|
1303
|
+
/**
|
|
1304
|
+
* List of conditions or filters to be ANDed together
|
|
1305
|
+
*/
|
|
1306
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* List of conditions or filters to be ORed together
|
|
1310
|
+
*/
|
|
1311
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* List of conditions or filters to be NOTed
|
|
1315
|
+
*/
|
|
1316
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1230
1319
|
/**
|
|
1231
1320
|
* Question answering configuration options
|
|
1232
1321
|
*/
|
|
@@ -1245,12 +1334,7 @@ export namespace StoreQuestionAnsweringParams {
|
|
|
1245
1334
|
|
|
1246
1335
|
export interface StoreSearchParams {
|
|
1247
1336
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*/
|
|
1250
|
-
query: string | ContentAPI.ImageURLInput | ContentAPI.TextInput;
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* IDs or names of stores to search
|
|
1337
|
+
* IDs or names of stores
|
|
1254
1338
|
*/
|
|
1255
1339
|
store_identifiers: Array<string>;
|
|
1256
1340
|
|
|
@@ -1263,9 +1347,9 @@ export interface StoreSearchParams {
|
|
|
1263
1347
|
* Optional filter conditions
|
|
1264
1348
|
*/
|
|
1265
1349
|
filters?:
|
|
1266
|
-
|
|
|
1350
|
+
| StoreSearchParams.SearchFilterInput
|
|
1267
1351
|
| Shared.SearchFilterCondition
|
|
1268
|
-
| Array<
|
|
1352
|
+
| Array<StoreSearchParams.SearchFilterInput | Shared.SearchFilterCondition>
|
|
1269
1353
|
| null;
|
|
1270
1354
|
|
|
1271
1355
|
/**
|
|
@@ -1273,12 +1357,59 @@ export interface StoreSearchParams {
|
|
|
1273
1357
|
*/
|
|
1274
1358
|
file_ids?: Array<unknown> | Array<string> | null;
|
|
1275
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* Search query text
|
|
1362
|
+
*/
|
|
1363
|
+
query: string | ContentAPI.ImageURLInput | ContentAPI.TextInput;
|
|
1364
|
+
|
|
1276
1365
|
/**
|
|
1277
1366
|
* Search configuration options
|
|
1278
1367
|
*/
|
|
1279
1368
|
search_options?: StoreChunkSearchOptions;
|
|
1280
1369
|
}
|
|
1281
1370
|
|
|
1371
|
+
export namespace StoreSearchParams {
|
|
1372
|
+
/**
|
|
1373
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1374
|
+
*/
|
|
1375
|
+
export interface SearchFilterInput {
|
|
1376
|
+
/**
|
|
1377
|
+
* List of conditions or filters to be ANDed together
|
|
1378
|
+
*/
|
|
1379
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* List of conditions or filters to be ORed together
|
|
1383
|
+
*/
|
|
1384
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* List of conditions or filters to be NOTed
|
|
1388
|
+
*/
|
|
1389
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Represents a filter with AND, OR, and NOT conditions.
|
|
1394
|
+
*/
|
|
1395
|
+
export interface SearchFilterInput {
|
|
1396
|
+
/**
|
|
1397
|
+
* List of conditions or filters to be ANDed together
|
|
1398
|
+
*/
|
|
1399
|
+
all?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* List of conditions or filters to be ORed together
|
|
1403
|
+
*/
|
|
1404
|
+
any?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* List of conditions or filters to be NOTed
|
|
1408
|
+
*/
|
|
1409
|
+
none?: Array<unknown | Shared.SearchFilterCondition> | null;
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1282
1413
|
Stores.Files = Files;
|
|
1283
1414
|
|
|
1284
1415
|
export declare namespace Stores {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.68.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.68.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.68.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.68.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|