@relevanceai/sdk 1.149.0 → 2.0.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.
package/README.md CHANGED
@@ -5,20 +5,26 @@ npm i @relevanceai/sdk
5
5
  ```
6
6
  ## Features
7
7
  - Node and Browser support
8
- - Typescript definitions for almost all [relevance.ai](https://relevance.ai/) apis
8
+ - Typescript definitions for almost all [relevanceai.com](https://relevanceai.com/) apis
9
9
  - Insert millions of documents with one function call
10
10
  - Our SearchBuilder makes searching, filtering, and aggregating your data simple
11
11
  # Getting started
12
- Get started in seconds with a demo dataset of popular movies.
12
+ Get started by creating an account in [cloud.relevanceai.com](https://cloud.relevanceai.com) - select the Vector Database onboarding option. Once set up you can fetch your API key and use the below snippet.
13
+
13
14
  ```javascript
14
- import {DiscoveryClient,QueryBuilder} from "@relevanceai/sdk";
15
+ import {VecDBClient,QueryBuilder} from "@relevanceai/sdk";
15
16
 
16
- const discovery = new DiscoveryClient({
17
- project:'dummy-collections',
18
- api_key:'UzdYRktIY0JxNmlvb1NpOFNsenU6VGdTU0s4UjhUR0NsaDdnQTVwUkpKZw',
17
+ const discovery = new VecDBClient({
18
+ project: '',
19
+ api_key: '',
20
+ endpoint: ''
19
21
  });
20
22
  const dataset = discovery.dataset('1000-movies');
21
- const {results} = await dataset.search(QueryBuilder().text('Las Vegas'));
23
+
24
+ const movies = [{ title: 'Lord of the Rings: The Fellowship of the Ring', grenre: 'action', budget: 100 }, ...]
25
+ await dataset.insertDocuments(movies, [{ model_name: 'text-embedding-ada-002', field: 'title' }]);
26
+
27
+ const {results} = await dataset.search(QueryBuilder().vector('title_vector_', { query: 'LOTR', model: 'text-embeddings-ada-002' }));
22
28
  ```
23
29
  ## Set up your credentials
24
30
  ### Option 1 - Use environment variables
@@ -27,7 +33,7 @@ First, set environment variables in your shell before you run your code.
27
33
  set RELEVANCE_PROJECT to your project name.
28
34
 
29
35
  set RELEVANCE_API_KEY to your api key.
30
- for more information, view the docs here: [Authorization docs](https://discovery.relevance.ai/reference/api-usage)
36
+ for more information, view the docs here: [Authorization docs](https://discovery.relevanceai.com/reference/api-usage)
31
37
 
32
38
  Heres a template to copy and paste in for linux environments:
33
39
  ```bash
@@ -36,13 +42,13 @@ export RELEVANCE_API_KEY=#########
36
42
  ```
37
43
  The SDK will use these variables when making api calls. You can then initialise your client like this:
38
44
  ```javascript
39
- import {DiscoveryClient} from "@relevanceai/sdk";
40
- const discovery = new DiscoveryClient({});
45
+ import {VecDBClient} from "@relevanceai/sdk";
46
+ const client = new VecDBClient({});
41
47
  ```
42
48
  ### Option 2 - Passing them in code.
43
49
  ```javascript
44
- import {DiscoveryClient} from "@relevanceai/sdk";
45
- const discovery = new DiscoveryClient({
50
+ import {VecDBClient} from "@relevanceai/sdk";
51
+ const client = new VecDBClient({
46
52
  project:'########',
47
53
  api_key:'########',
48
54
  });
@@ -50,18 +56,18 @@ const discovery = new DiscoveryClient({
50
56
  # Examples
51
57
  ### You can import builders and type definitions like this
52
58
  ```javascript
53
- import {QueryBuilder,DiscoveryClient,BulkInsertOutput} from "@relevanceai/sdk";
59
+ import {QueryBuilder,VecDBClient,BulkInsertOutput} from "@relevanceai/sdk";
54
60
  ```
55
61
  ## Insert millions of items with one function call
56
62
  ```javascript
57
- const discovery = new DiscoveryClient({ });
63
+ const discovery = new VecDBClient({ ... });
58
64
  const dataset = discovery.dataset('tshirts-prod');
59
65
  // Here we create some demo data. Replace this with your real data
60
66
  const fakeVector = [];
61
67
  for (let i = 0; i < 768; i++) fakeVector.push(1);
62
68
  const tshirtsData = [];
63
69
  for (let i = 0; i < 10000; i++) {
64
- tshirtsData.push({_id:`tshirt-${i}1`,color:'red',price:i/1000,'title_text@1-0_vector_':fakeVector});
70
+ tshirtsData.push({_id:`tshirt-${i}1`,color:'red',price:i/1000,'title-fake_vector_':fakeVector});
65
71
  tshirtsData.push({_id:`tshirt-${i}2`,color:'blue',price:i/1000});
66
72
  tshirtsData.push({_id:`tshirt-${i}3`,color:'orange',price:i/1000});
67
73
  }
@@ -74,7 +80,7 @@ const res = await dataset.insertDocuments(tshirtsData,{batchSize:10000});
74
80
  ## Text Search and Vector Search
75
81
  ```javascript
76
82
  const builder = QueryBuilder();
77
- builder.query('red').text().vector('title_text@1-0_vector_',0.5).minimumRelevance(0.1);
83
+ builder.query('red').text().vector('title-fake_vector_',0.5).minimumRelevance(0.1);
78
84
  // .text() searches all fields. alternatively, use .text(field1).text(field2)... to search specific fields
79
85
  const searchResults = await dataset.search(builder);
80
86
  ```
@@ -103,41 +109,13 @@ const filteredItems = await dataset.search(filters);
103
109
  aggregateStats: {}
104
110
  }
105
111
  ```
106
- ## Summarise your data using aggregations
107
- ```javascript
108
- const aggregates = QueryBuilder();
109
- aggregates.aggregate('color').aggregateStats('price',10);
110
- const aggregatesResult = await dataset.search(aggregates);
111
- ```
112
- ### aggregates will output:
113
- ```javascript
114
- {
115
- aggregates:{
116
- color: {
117
- results: { blue: 10000, orange: 10000, red: 10000 },
118
- aggregates: {}
119
- },
120
- price: {
121
- results: {
122
- '0': 0000,
123
- '10': 3000,
124
- '20': 3000,
125
- '30': 3000,
126
- '40': 3000,
127
- '50': 3000,
128
- '60': 3000,
129
- '70': 3000,
130
- '80': 3000,
131
- '90': 3000
132
- },
133
- aggregates: {}
134
- }
135
- }
136
- }
112
+
113
+
137
114
  ```
138
115
  ## Call raw api methods directly
139
116
  ```javascript
140
- const rawClient = new DiscoveryApiClient({dataset_id:'tshirts-prod'});
141
- const {body} = await rawClient.FastSearch({filters:[{match:{key:'_id',value:`tshirt-01`}}]});
117
+ const discovery = new VecDBClient({ ... });
118
+ const dataset = discovery.dataset('tshirts-prod');
119
+ const {body} = await dataset.apiClient.FastSearch({filters:[{match:{key:'_id',value:`tshirt-01`}}]});
142
120
  expect((body.results[0] as any).color).toBe('red')
143
121
  ```
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DiscoveryApiClient = void 0;
3
+ exports.VecDBApiClient = void 0;
4
4
  const BaseClient_1 = require("../shared/BaseClient");
5
- class DiscoveryApiClient extends BaseClient_1._GenericClient {
5
+ class VecDBApiClient extends BaseClient_1._GenericClient {
6
6
  constructor(config) {
7
- super({ ...config, service_name: 'DiscoveryApi' });
7
+ super({ ...config, service_name: 'VecDBApi' });
8
8
  }
9
9
  async CreateDeployable(input, options) {
10
10
  return this.SendRequest({
@@ -166,6 +166,46 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
166
166
  options
167
167
  });
168
168
  }
169
+ async GetProjectsOrgInfo(input, options) {
170
+ return this.SendRequest({
171
+ input,
172
+ method: 'get',
173
+ path: '/projects/organization_info',
174
+ options
175
+ });
176
+ }
177
+ async ListProjectKeys(input, options) {
178
+ return this.SendRequest({
179
+ input,
180
+ method: 'get',
181
+ path: '/projects/keys/list',
182
+ options
183
+ });
184
+ }
185
+ async GetProjectKey(input, options) {
186
+ return this.SendRequest({
187
+ input,
188
+ method: 'post',
189
+ path: '/projects/keys/get',
190
+ options
191
+ });
192
+ }
193
+ async SetProjectKey(input, options) {
194
+ return this.SendRequest({
195
+ input,
196
+ method: 'post',
197
+ path: '/projects/keys/set',
198
+ options
199
+ });
200
+ }
201
+ async DeleteProjectKey(input, options) {
202
+ return this.SendRequest({
203
+ input,
204
+ method: 'post',
205
+ path: '/projects/keys/delete',
206
+ options
207
+ });
208
+ }
169
209
  async CreateUser(input, options) {
170
210
  return this.SendRequest({
171
211
  input,
@@ -430,6 +470,22 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
430
470
  options
431
471
  });
432
472
  }
473
+ async EditOneToManyClusters(input, options) {
474
+ return this.SendRequest({
475
+ input,
476
+ method: 'post',
477
+ path: '/datasets/{dataset_id}/cluster/one_to_many/edit',
478
+ options
479
+ });
480
+ }
481
+ async EditListInDocuments(input, options) {
482
+ return this.SendRequest({
483
+ input,
484
+ method: 'post',
485
+ path: '/datasets/{dataset_id}/documents/edit_list',
486
+ options
487
+ });
488
+ }
433
489
  async CreateOrganization(input, options) {
434
490
  return this.SendRequest({
435
491
  input,
@@ -510,6 +566,38 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
510
566
  options
511
567
  });
512
568
  }
569
+ async ListBillingEvents(input, options) {
570
+ return this.SendRequest({
571
+ input,
572
+ method: 'post',
573
+ path: '/organizations/{organization_id}/billing/events/list',
574
+ options
575
+ });
576
+ }
577
+ async CreateBillingEventAdmin(input, options) {
578
+ return this.SendRequest({
579
+ input,
580
+ method: 'post',
581
+ path: '/admin/organizations/{organization_id}/billing/events/create',
582
+ options
583
+ });
584
+ }
585
+ async GetBillingFrontendLink(input, options) {
586
+ return this.SendRequest({
587
+ input,
588
+ method: 'get',
589
+ path: '/organizations/{organization_id}/billing/get_billing_frontend_link',
590
+ options
591
+ });
592
+ }
593
+ async UpdateOrganizationBilling(input, options) {
594
+ return this.SendRequest({
595
+ input,
596
+ method: 'post',
597
+ path: '/organizations/{organization_id}/billing/update',
598
+ options
599
+ });
600
+ }
513
601
  async CreateConnector(input, options) {
514
602
  return this.SendRequest({
515
603
  input,
@@ -622,6 +710,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
622
710
  options
623
711
  });
624
712
  }
713
+ async GetWorkflowConfig(input, options) {
714
+ return this.SendRequest({
715
+ input,
716
+ method: 'post',
717
+ path: '/workflows/{workflow_id}/config',
718
+ options
719
+ });
720
+ }
625
721
  async DeleteWorkflowStatus(input, options) {
626
722
  return this.SendRequest({
627
723
  input,
@@ -670,6 +766,54 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
670
766
  options
671
767
  });
672
768
  }
769
+ async SearchWorkflowTypes(input, options) {
770
+ return this.SendRequest({
771
+ input,
772
+ method: 'post',
773
+ path: '/workflows/types/search',
774
+ options
775
+ });
776
+ }
777
+ async GetWorkflowTypesAsOpenAPI(input, options) {
778
+ return this.SendRequest({
779
+ input,
780
+ method: 'get',
781
+ path: '/workflows/types/openapi',
782
+ options
783
+ });
784
+ }
785
+ async AggregateWorkflowTypes(input, options) {
786
+ return this.SendRequest({
787
+ input,
788
+ method: 'post',
789
+ path: '/workflows/types/aggregate',
790
+ options
791
+ });
792
+ }
793
+ async BulkUpdateWorkflowTypesAdmin(input, options) {
794
+ return this.SendRequest({
795
+ input,
796
+ method: 'post',
797
+ path: '/workflows/types/bulk_update',
798
+ options
799
+ });
800
+ }
801
+ async UpdateWorkflowTypesVersionAliasesAdmin(input, options) {
802
+ return this.SendRequest({
803
+ input,
804
+ method: 'post',
805
+ path: '/workflows/types/version_aliases/update',
806
+ options
807
+ });
808
+ }
809
+ async GetWorkflowTypesVersionAliases(input, options) {
810
+ return this.SendRequest({
811
+ input,
812
+ method: 'post',
813
+ path: '/workflows/types/version_aliases/get',
814
+ options
815
+ });
816
+ }
673
817
  async GetWorkflowType(input, options) {
674
818
  return this.SendRequest({
675
819
  input,
@@ -710,6 +854,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
710
854
  options
711
855
  });
712
856
  }
857
+ async GetTemporaryFileUploadUrl(input, options) {
858
+ return this.SendRequest({
859
+ input,
860
+ method: 'post',
861
+ path: '/services/get_temporary_file_upload_url',
862
+ options
863
+ });
864
+ }
713
865
  async ListFileUploadsForDataset(input, options) {
714
866
  return this.SendRequest({
715
867
  input,
@@ -742,6 +894,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
742
894
  options
743
895
  });
744
896
  }
897
+ async GenerateOnboarding(input, options) {
898
+ return this.SendRequest({
899
+ input,
900
+ method: 'post',
901
+ path: '/onboard/generate',
902
+ options
903
+ });
904
+ }
745
905
  async DeleteDataset(input, options) {
746
906
  return this.SendRequest({
747
907
  input,
@@ -814,14 +974,6 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
814
974
  options
815
975
  });
816
976
  }
817
- async GetDatasetUsage(input, options) {
818
- return this.SendRequest({
819
- input,
820
- method: 'post',
821
- path: '/datasets/{dataset_id}/monitor/usage',
822
- options
823
- });
824
- }
825
977
  async GetVectorMappings(input, options) {
826
978
  return this.SendRequest({
827
979
  input,
@@ -1102,11 +1254,19 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
1102
1254
  options
1103
1255
  });
1104
1256
  }
1105
- async CreateImageFromPrompt(input, options) {
1257
+ async ListDatasetWorkflowsByFields(input, options) {
1106
1258
  return this.SendRequest({
1107
1259
  input,
1108
- method: 'post',
1109
- path: '/services/prompt_to_image/create',
1260
+ method: 'get',
1261
+ path: '/datasets/{dataset_id}/workflows_by_fields',
1262
+ options
1263
+ });
1264
+ }
1265
+ async GetAPIHealth(input, options) {
1266
+ return this.SendRequest({
1267
+ input,
1268
+ method: 'get',
1269
+ path: '/health',
1110
1270
  options
1111
1271
  });
1112
1272
  }
@@ -1254,43 +1414,43 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
1254
1414
  options
1255
1415
  });
1256
1416
  }
1257
- async ListDatasetEditorConfigurations(input, options) {
1417
+ async ListEditorConfigurations(input, options) {
1258
1418
  return this.SendRequest({
1259
1419
  input,
1260
1420
  method: 'post',
1261
- path: '/datasets/{dataset_id}/editor/configuration/list',
1421
+ path: '/editor/configuration/list',
1262
1422
  options
1263
1423
  });
1264
1424
  }
1265
- async CreateDatasetEditorConfiguration(input, options) {
1425
+ async CreateEditorConfiguration(input, options) {
1266
1426
  return this.SendRequest({
1267
1427
  input,
1268
1428
  method: 'post',
1269
- path: '/datasets/{dataset_id}/editor/configuration/create',
1429
+ path: '/editor/configuration/create',
1270
1430
  options
1271
1431
  });
1272
1432
  }
1273
- async UpdateDatasetEditorConfiguration(input, options) {
1433
+ async UpdateEditorConfiguration(input, options) {
1274
1434
  return this.SendRequest({
1275
1435
  input,
1276
1436
  method: 'post',
1277
- path: '/datasets/{dataset_id}/editor/configuration/{dataseteditorconfiguration_id}/update',
1437
+ path: '/editor/configuration/{editorconfiguration_id}/update',
1278
1438
  options
1279
1439
  });
1280
1440
  }
1281
- async DeleteDatasetEditorConfiguration(input, options) {
1441
+ async DeleteEditorConfiguration(input, options) {
1282
1442
  return this.SendRequest({
1283
1443
  input,
1284
1444
  method: 'post',
1285
- path: '/datasets/{dataset_id}/editor/configuration/{dataseteditorconfiguration_id}/delete',
1445
+ path: '/editor/configuration/{editorconfiguration_id}/delete',
1286
1446
  options
1287
1447
  });
1288
1448
  }
1289
- async GetDatasetEditorConfiguration(input, options) {
1449
+ async GetEditorConfiguration(input, options) {
1290
1450
  return this.SendRequest({
1291
1451
  input,
1292
1452
  method: 'get',
1293
- path: '/datasets/{dataset_id}/editor/configuration/{dataseteditorconfiguration_id}/get',
1453
+ path: '/editor/configuration/{editorconfiguration_id}/get',
1294
1454
  options
1295
1455
  });
1296
1456
  }
@@ -1334,6 +1494,14 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
1334
1494
  options
1335
1495
  });
1336
1496
  }
1497
+ async BulkDeleteKeyphrases(input, options) {
1498
+ return this.SendRequest({
1499
+ input,
1500
+ method: 'post',
1501
+ path: '/datasets/{dataset_id}/fields/{field}/keyphrase/bulk_delete',
1502
+ options
1503
+ });
1504
+ }
1337
1505
  async ListTaxonomys(input, options) {
1338
1506
  return this.SendRequest({
1339
1507
  input,
@@ -1374,5 +1542,141 @@ class DiscoveryApiClient extends BaseClient_1._GenericClient {
1374
1542
  options
1375
1543
  });
1376
1544
  }
1545
+ async DeleteFavouriteDataset(input, options) {
1546
+ return this.SendRequest({
1547
+ input,
1548
+ method: 'post',
1549
+ path: '/datasets/favourites/{favouritedataset_id}/delete',
1550
+ options
1551
+ });
1552
+ }
1553
+ async ListFavouriteDatasets(input, options) {
1554
+ return this.SendRequest({
1555
+ input,
1556
+ method: 'post',
1557
+ path: '/datasets/favourites/list',
1558
+ options
1559
+ });
1560
+ }
1561
+ async UpdateFavouriteDataset(input, options) {
1562
+ return this.SendRequest({
1563
+ input,
1564
+ method: 'post',
1565
+ path: '/datasets/favourites/{favouritedataset_id}/update',
1566
+ options
1567
+ });
1568
+ }
1569
+ async DeleteFavouriteDeployable(input, options) {
1570
+ return this.SendRequest({
1571
+ input,
1572
+ method: 'post',
1573
+ path: '/deployable/favourites/{favouritedeployable_id}/delete',
1574
+ options
1575
+ });
1576
+ }
1577
+ async ListFavouriteDeployables(input, options) {
1578
+ return this.SendRequest({
1579
+ input,
1580
+ method: 'post',
1581
+ path: '/deployable/favourites/list',
1582
+ options
1583
+ });
1584
+ }
1585
+ async UpdateFavouriteDeployable(input, options) {
1586
+ return this.SendRequest({
1587
+ input,
1588
+ method: 'post',
1589
+ path: '/deployable/favourites/{favouritedeployable_id}/update',
1590
+ options
1591
+ });
1592
+ }
1593
+ async DeleteUserOnboardingFlag(input, options) {
1594
+ return this.SendRequest({
1595
+ input,
1596
+ method: 'post',
1597
+ path: '/useronboardingflags/{useronboardingflag_id}/delete',
1598
+ options
1599
+ });
1600
+ }
1601
+ async ListUserOnboardingFlags(input, options) {
1602
+ return this.SendRequest({
1603
+ input,
1604
+ method: 'post',
1605
+ path: '/useronboardingflags/list',
1606
+ options
1607
+ });
1608
+ }
1609
+ async UpdateUserOnboardingFlag(input, options) {
1610
+ return this.SendRequest({
1611
+ input,
1612
+ method: 'post',
1613
+ path: '/useronboardingflags/{useronboardingflag_id}/update',
1614
+ options
1615
+ });
1616
+ }
1617
+ async GetTranscriptTagList(input, options) {
1618
+ return this.SendRequest({
1619
+ input,
1620
+ method: 'get',
1621
+ path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/get',
1622
+ options
1623
+ });
1624
+ }
1625
+ async UpdateTranscriptTagList(input, options) {
1626
+ return this.SendRequest({
1627
+ input,
1628
+ method: 'post',
1629
+ path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/{transcripttaglist_id}/update',
1630
+ options
1631
+ });
1632
+ }
1633
+ async ListTranscriptTagLists(input, options) {
1634
+ return this.SendRequest({
1635
+ input,
1636
+ method: 'post',
1637
+ path: '/datasets/{dataset_id}/fields/{field}/transcript_tags/list',
1638
+ options
1639
+ });
1640
+ }
1641
+ async ListTags(input, options) {
1642
+ return this.SendRequest({
1643
+ input,
1644
+ method: 'post',
1645
+ path: '/datasets/{dataset_id}/field/{tag_field}/tags/list',
1646
+ options
1647
+ });
1648
+ }
1649
+ async DeleteTag(input, options) {
1650
+ return this.SendRequest({
1651
+ input,
1652
+ method: 'post',
1653
+ path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/delete',
1654
+ options
1655
+ });
1656
+ }
1657
+ async GetTag(input, options) {
1658
+ return this.SendRequest({
1659
+ input,
1660
+ method: 'get',
1661
+ path: '/datasets/{dataset_id}/field/{tag_field}/tags/{tag_id}/get',
1662
+ options
1663
+ });
1664
+ }
1665
+ async BulkDeleteTags(input, options) {
1666
+ return this.SendRequest({
1667
+ input,
1668
+ method: 'post',
1669
+ path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_delete',
1670
+ options
1671
+ });
1672
+ }
1673
+ async BulkUpdateTags(input, options) {
1674
+ return this.SendRequest({
1675
+ input,
1676
+ method: 'post',
1677
+ path: '/datasets/{dataset_id}/field/{tag_field}/tags/bulk_update',
1678
+ options
1679
+ });
1680
+ }
1377
1681
  }
1378
- exports.DiscoveryApiClient = DiscoveryApiClient;
1682
+ exports.VecDBApiClient = VecDBApiClient;
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./DiscoveryApi"), exports);
17
+ __exportStar(require("./VecDBApi"), exports);
package/dist-cjs/index.js CHANGED
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./generated"), exports);
18
- // export * from './services';
18
+ __exportStar(require("./services"), exports);
@@ -1,3 +1,18 @@
1
1
  "use strict";
2
- // Not interested in this right now
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
3
17
  // export * from './discovery';
18
+ __exportStar(require("./vecdb"), exports);