mixpeek 0.15.2__py3-none-any.whl → 0.16.1__py3-none-any.whl
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.
- mixpeek/_hooks/__init__.py +0 -1
- mixpeek/_hooks/sdkhooks.py +0 -2
- mixpeek/_version.py +1 -1
- mixpeek/assets.py +74 -56
- mixpeek/collections.py +46 -40
- mixpeek/{featureextractors.py → feature_extractors.py} +6 -6
- mixpeek/feature_search.py +334 -0
- mixpeek/features.py +44 -356
- mixpeek/health.py +3 -15
- mixpeek/{ingest.py → ingest_assets.py} +43 -25
- mixpeek/models/__init__.py +291 -160
- mixpeek/models/assignmentconfig.py +25 -0
- mixpeek/models/availablemodels.py +2 -1
- mixpeek/models/{availableindexesresponse.py → availablemodelsresponse.py} +8 -4
- mixpeek/models/classificationmatch.py +72 -0
- mixpeek/models/classificationwithfeature.py +73 -0
- mixpeek/models/classify_features_v1_entities_taxonomies_taxonomy_classify_postop.py +73 -0
- mixpeek/models/{create_api_key_organizations_users_user_email_api_keys_postop.py → create_api_key_v1_organizations_users_user_email_api_keys_postop.py} +2 -2
- mixpeek/models/{create_collection_collections_postop.py → create_collection_v1_collections_postop.py} +2 -2
- mixpeek/models/create_taxonomy_v1_entities_taxonomies_postop.py +59 -0
- mixpeek/models/createnamespacerequest.py +2 -2
- mixpeek/models/{delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py → delete_api_key_v1_organizations_users_user_email_api_keys_key_name_deleteop.py} +2 -2
- mixpeek/models/{delete_asset_assets_asset_id_deleteop.py → delete_asset_v1_assets_asset_id_deleteop.py} +2 -2
- mixpeek/models/delete_classifications_v1_entities_taxonomies_taxonomy_classifications_classification_id_deleteop.py +70 -0
- mixpeek/models/{delete_collection_collections_collection_deleteop.py → delete_collection_v1_collections_collection_deleteop.py} +2 -2
- mixpeek/models/{delete_feature_features_feature_id_deleteop.py → delete_feature_v1_features_feature_id_deleteop.py} +2 -2
- mixpeek/models/{delete_namespace_namespaces_namespace_deleteop.py → delete_namespace_v1_namespaces_namespace_deleteop.py} +2 -2
- mixpeek/models/delete_taxonomy_v1_entities_taxonomies_taxonomy_deleteop.py +59 -0
- mixpeek/models/{delete_user_organizations_users_user_email_deleteop.py → delete_user_v1_organizations_users_user_email_deleteop.py} +2 -2
- mixpeek/models/discoverrequest.py +74 -0
- mixpeek/models/embeddingconfig.py +33 -0
- mixpeek/models/embeddingrequest.py +40 -7
- mixpeek/models/featureoptions.py +25 -0
- mixpeek/models/{full_asset_update_assets_asset_id_putop.py → full_asset_update_v1_assets_asset_id_putop.py} +2 -2
- mixpeek/models/{full_feature_update_features_feature_id_putop.py → full_feature_update_v1_features_feature_id_putop.py} +2 -2
- mixpeek/models/genericsuccessresponse.py +17 -0
- mixpeek/models/{get_asset_assets_asset_id_getop.py → get_asset_v1_assets_asset_id_getop.py} +2 -2
- mixpeek/models/{get_asset_with_features_assets_asset_id_features_getop.py → get_asset_with_features_v1_assets_asset_id_features_getop.py} +2 -2
- mixpeek/models/{get_collection_collections_collection_getop.py → get_collection_v1_collections_collection_getop.py} +2 -2
- mixpeek/models/{get_feature_features_feature_id_getop.py → get_feature_v1_features_feature_id_getop.py} +2 -2
- mixpeek/models/{get_namespace_namespaces_namespace_getop.py → get_namespace_v1_namespaces_namespace_getop.py} +2 -2
- mixpeek/models/{get_task_tasks_task_id_getop.py → get_task_v1_tasks_task_id_getop.py} +2 -2
- mixpeek/models/get_taxonomy_node_v1_entities_taxonomies_nodes_node_getop.py +59 -0
- mixpeek/models/get_taxonomy_v1_entities_taxonomies_taxonomy_getop.py +59 -0
- mixpeek/models/{get_user_organizations_users_user_email_getop.py → get_user_v1_organizations_users_user_email_getop.py} +2 -2
- mixpeek/models/{ingest_image_url_ingest_images_url_postop.py → ingest_image_url_v1_ingest_images_url_postop.py} +2 -2
- mixpeek/models/{ingest_text_ingest_text_postop.py → ingest_text_v1_ingest_text_postop.py} +2 -2
- mixpeek/models/{ingest_video_url_ingest_videos_url_postop.py → ingest_video_url_v1_ingest_videos_url_postop.py} +2 -2
- mixpeek/models/{kill_task_tasks_task_id_deleteop.py → kill_task_v1_tasks_task_id_deleteop.py} +2 -2
- mixpeek/models/{list_assets_assets_postop.py → list_assets_v1_assets_postop.py} +2 -2
- mixpeek/models/list_classifications_v1_entities_taxonomies_taxonomy_classifications_postop.py +92 -0
- mixpeek/models/{list_collections_collections_getop.py → list_collections_v1_collections_getop.py} +2 -2
- mixpeek/models/{list_features_features_postop.py → list_features_v1_features_postop.py} +2 -2
- mixpeek/models/list_taxonomies_v1_entities_taxonomies_getop.py +67 -0
- mixpeek/models/listclassificationsrequest.py +69 -0
- mixpeek/models/listclassificationsresponse.py +31 -0
- mixpeek/models/listtaxonomiesresponse.py +24 -0
- mixpeek/models/modeldetails.py +9 -5
- mixpeek/models/nodeoptions.py +16 -0
- mixpeek/models/nodeupdate.py +51 -0
- mixpeek/models/{partial_asset_update_assets_asset_id_patchop.py → partial_asset_update_v1_assets_asset_id_patchop.py} +2 -2
- mixpeek/models/permission.py +12 -0
- mixpeek/models/{search_assets_assets_search_postop.py → search_assets_v1_assets_search_postop.py} +2 -2
- mixpeek/models/{search_features_features_search_postop.py → search_features_v1_features_search_postop.py} +4 -4
- mixpeek/models/searchrequestfeatures.py +9 -7
- mixpeek/models/taxonomycreate.py +20 -0
- mixpeek/models/taxonomymodel.py +27 -0
- mixpeek/models/taxonomynode.py +101 -0
- mixpeek/models/taxonomynodecreate.py +63 -0
- mixpeek/models/taxonomyupdate.py +55 -0
- mixpeek/models/{update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py → update_api_key_v1_organizations_users_user_email_api_keys_key_name_patchop.py} +2 -2
- mixpeek/models/{update_collection_collections_collection_putop.py → update_collection_v1_collections_collection_putop.py} +2 -2
- mixpeek/models/{update_namespace_namespaces_namespace_putop.py → update_namespace_v1_namespaces_namespace_putop.py} +2 -2
- mixpeek/models/update_node_v1_entities_taxonomies_nodes_node_patchop.py +71 -0
- mixpeek/models/update_taxonomy_v1_entities_taxonomies_taxonomy_patchop.py +71 -0
- mixpeek/models/vectormodel.py +1 -0
- mixpeek/namespaces.py +52 -52
- mixpeek/organizations.py +82 -58
- mixpeek/sdk.py +12 -6
- mixpeek/sdkconfiguration.py +4 -4
- mixpeek/tasks.py +22 -16
- mixpeek/taxonomy_entities.py +2214 -0
- {mixpeek-0.15.2.dist-info → mixpeek-0.16.1.dist-info}/METADATA +64 -49
- {mixpeek-0.15.2.dist-info → mixpeek-0.16.1.dist-info}/RECORD +85 -56
- {mixpeek-0.15.2.dist-info → mixpeek-0.16.1.dist-info}/WHEEL +1 -1
mixpeek/collections.py
CHANGED
@@ -9,7 +9,7 @@ from typing import Any, Mapping, Optional, Union
|
|
9
9
|
|
10
10
|
|
11
11
|
class Collections(BaseSDK):
|
12
|
-
def
|
12
|
+
def list_collections_v1_collections_get(
|
13
13
|
self,
|
14
14
|
*,
|
15
15
|
page: OptionalNullable[int] = UNSET,
|
@@ -38,7 +38,7 @@ class Collections(BaseSDK):
|
|
38
38
|
if server_url is not None:
|
39
39
|
base_url = server_url
|
40
40
|
|
41
|
-
request = models.
|
41
|
+
request = models.ListCollectionsV1CollectionsGetRequest(
|
42
42
|
page=page,
|
43
43
|
page_size=page_size,
|
44
44
|
x_namespace=x_namespace,
|
@@ -46,7 +46,7 @@ class Collections(BaseSDK):
|
|
46
46
|
|
47
47
|
req = self._build_request(
|
48
48
|
method="GET",
|
49
|
-
path="/collections",
|
49
|
+
path="/v1/collections",
|
50
50
|
base_url=base_url,
|
51
51
|
url_variables=url_variables,
|
52
52
|
request=request,
|
@@ -70,7 +70,7 @@ class Collections(BaseSDK):
|
|
70
70
|
|
71
71
|
http_res = self.do_request(
|
72
72
|
hook_ctx=HookContext(
|
73
|
-
operation_id="
|
73
|
+
operation_id="list_collections_v1_collections_get",
|
74
74
|
oauth2_scopes=[],
|
75
75
|
security_source=get_security_from_env(
|
76
76
|
self.sdk_configuration.security, models.Security
|
@@ -107,7 +107,7 @@ class Collections(BaseSDK):
|
|
107
107
|
http_res,
|
108
108
|
)
|
109
109
|
|
110
|
-
async def
|
110
|
+
async def list_collections_v1_collections_get_async(
|
111
111
|
self,
|
112
112
|
*,
|
113
113
|
page: OptionalNullable[int] = UNSET,
|
@@ -136,7 +136,7 @@ class Collections(BaseSDK):
|
|
136
136
|
if server_url is not None:
|
137
137
|
base_url = server_url
|
138
138
|
|
139
|
-
request = models.
|
139
|
+
request = models.ListCollectionsV1CollectionsGetRequest(
|
140
140
|
page=page,
|
141
141
|
page_size=page_size,
|
142
142
|
x_namespace=x_namespace,
|
@@ -144,7 +144,7 @@ class Collections(BaseSDK):
|
|
144
144
|
|
145
145
|
req = self._build_request_async(
|
146
146
|
method="GET",
|
147
|
-
path="/collections",
|
147
|
+
path="/v1/collections",
|
148
148
|
base_url=base_url,
|
149
149
|
url_variables=url_variables,
|
150
150
|
request=request,
|
@@ -168,7 +168,7 @@ class Collections(BaseSDK):
|
|
168
168
|
|
169
169
|
http_res = await self.do_request_async(
|
170
170
|
hook_ctx=HookContext(
|
171
|
-
operation_id="
|
171
|
+
operation_id="list_collections_v1_collections_get",
|
172
172
|
oauth2_scopes=[],
|
173
173
|
security_source=get_security_from_env(
|
174
174
|
self.sdk_configuration.security, models.Security
|
@@ -205,7 +205,7 @@ class Collections(BaseSDK):
|
|
205
205
|
http_res,
|
206
206
|
)
|
207
207
|
|
208
|
-
def
|
208
|
+
def create_collection_v1_collections_post(
|
209
209
|
self,
|
210
210
|
*,
|
211
211
|
collection_name: str,
|
@@ -223,6 +223,9 @@ class Collections(BaseSDK):
|
|
223
223
|
) -> models.CollectionModel:
|
224
224
|
r"""Create Collection
|
225
225
|
|
226
|
+
**Requirements:**
|
227
|
+
- Required permissions: write
|
228
|
+
|
226
229
|
:param collection_name: Name for the collection
|
227
230
|
:param x_namespace: Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.
|
228
231
|
:param metadata: Optional metadata for the collection
|
@@ -239,7 +242,7 @@ class Collections(BaseSDK):
|
|
239
242
|
if server_url is not None:
|
240
243
|
base_url = server_url
|
241
244
|
|
242
|
-
request = models.
|
245
|
+
request = models.CreateCollectionV1CollectionsPostRequest(
|
243
246
|
x_namespace=x_namespace,
|
244
247
|
create_collection_request=models.CreateCollectionRequest(
|
245
248
|
collection_name=collection_name,
|
@@ -251,7 +254,7 @@ class Collections(BaseSDK):
|
|
251
254
|
|
252
255
|
req = self._build_request(
|
253
256
|
method="POST",
|
254
|
-
path="/collections",
|
257
|
+
path="/v1/collections",
|
255
258
|
base_url=base_url,
|
256
259
|
url_variables=url_variables,
|
257
260
|
request=request,
|
@@ -282,7 +285,7 @@ class Collections(BaseSDK):
|
|
282
285
|
|
283
286
|
http_res = self.do_request(
|
284
287
|
hook_ctx=HookContext(
|
285
|
-
operation_id="
|
288
|
+
operation_id="create_collection_v1_collections_post",
|
286
289
|
oauth2_scopes=[],
|
287
290
|
security_source=get_security_from_env(
|
288
291
|
self.sdk_configuration.security, models.Security
|
@@ -319,7 +322,7 @@ class Collections(BaseSDK):
|
|
319
322
|
http_res,
|
320
323
|
)
|
321
324
|
|
322
|
-
async def
|
325
|
+
async def create_collection_v1_collections_post_async(
|
323
326
|
self,
|
324
327
|
*,
|
325
328
|
collection_name: str,
|
@@ -337,6 +340,9 @@ class Collections(BaseSDK):
|
|
337
340
|
) -> models.CollectionModel:
|
338
341
|
r"""Create Collection
|
339
342
|
|
343
|
+
**Requirements:**
|
344
|
+
- Required permissions: write
|
345
|
+
|
340
346
|
:param collection_name: Name for the collection
|
341
347
|
:param x_namespace: Optional namespace for data isolation. This can be a namespace name or namespace ID. Example: 'netflix_prod' or 'ns_1234567890'. To create a namespace, use the /namespaces endpoint.
|
342
348
|
:param metadata: Optional metadata for the collection
|
@@ -353,7 +359,7 @@ class Collections(BaseSDK):
|
|
353
359
|
if server_url is not None:
|
354
360
|
base_url = server_url
|
355
361
|
|
356
|
-
request = models.
|
362
|
+
request = models.CreateCollectionV1CollectionsPostRequest(
|
357
363
|
x_namespace=x_namespace,
|
358
364
|
create_collection_request=models.CreateCollectionRequest(
|
359
365
|
collection_name=collection_name,
|
@@ -365,7 +371,7 @@ class Collections(BaseSDK):
|
|
365
371
|
|
366
372
|
req = self._build_request_async(
|
367
373
|
method="POST",
|
368
|
-
path="/collections",
|
374
|
+
path="/v1/collections",
|
369
375
|
base_url=base_url,
|
370
376
|
url_variables=url_variables,
|
371
377
|
request=request,
|
@@ -396,7 +402,7 @@ class Collections(BaseSDK):
|
|
396
402
|
|
397
403
|
http_res = await self.do_request_async(
|
398
404
|
hook_ctx=HookContext(
|
399
|
-
operation_id="
|
405
|
+
operation_id="create_collection_v1_collections_post",
|
400
406
|
oauth2_scopes=[],
|
401
407
|
security_source=get_security_from_env(
|
402
408
|
self.sdk_configuration.security, models.Security
|
@@ -433,7 +439,7 @@ class Collections(BaseSDK):
|
|
433
439
|
http_res,
|
434
440
|
)
|
435
441
|
|
436
|
-
def
|
442
|
+
def delete_collection_v1_collections_collection_delete(
|
437
443
|
self,
|
438
444
|
*,
|
439
445
|
collection: str,
|
@@ -462,14 +468,14 @@ class Collections(BaseSDK):
|
|
462
468
|
if server_url is not None:
|
463
469
|
base_url = server_url
|
464
470
|
|
465
|
-
request = models.
|
471
|
+
request = models.DeleteCollectionV1CollectionsCollectionDeleteRequest(
|
466
472
|
collection=collection,
|
467
473
|
x_namespace=x_namespace,
|
468
474
|
)
|
469
475
|
|
470
476
|
req = self._build_request(
|
471
477
|
method="DELETE",
|
472
|
-
path="/collections/{collection}",
|
478
|
+
path="/v1/collections/{collection}",
|
473
479
|
base_url=base_url,
|
474
480
|
url_variables=url_variables,
|
475
481
|
request=request,
|
@@ -493,7 +499,7 @@ class Collections(BaseSDK):
|
|
493
499
|
|
494
500
|
http_res = self.do_request(
|
495
501
|
hook_ctx=HookContext(
|
496
|
-
operation_id="
|
502
|
+
operation_id="delete_collection_v1_collections__collection__delete",
|
497
503
|
oauth2_scopes=[],
|
498
504
|
security_source=get_security_from_env(
|
499
505
|
self.sdk_configuration.security, models.Security
|
@@ -530,7 +536,7 @@ class Collections(BaseSDK):
|
|
530
536
|
http_res,
|
531
537
|
)
|
532
538
|
|
533
|
-
async def
|
539
|
+
async def delete_collection_v1_collections_collection_delete_async(
|
534
540
|
self,
|
535
541
|
*,
|
536
542
|
collection: str,
|
@@ -559,14 +565,14 @@ class Collections(BaseSDK):
|
|
559
565
|
if server_url is not None:
|
560
566
|
base_url = server_url
|
561
567
|
|
562
|
-
request = models.
|
568
|
+
request = models.DeleteCollectionV1CollectionsCollectionDeleteRequest(
|
563
569
|
collection=collection,
|
564
570
|
x_namespace=x_namespace,
|
565
571
|
)
|
566
572
|
|
567
573
|
req = self._build_request_async(
|
568
574
|
method="DELETE",
|
569
|
-
path="/collections/{collection}",
|
575
|
+
path="/v1/collections/{collection}",
|
570
576
|
base_url=base_url,
|
571
577
|
url_variables=url_variables,
|
572
578
|
request=request,
|
@@ -590,7 +596,7 @@ class Collections(BaseSDK):
|
|
590
596
|
|
591
597
|
http_res = await self.do_request_async(
|
592
598
|
hook_ctx=HookContext(
|
593
|
-
operation_id="
|
599
|
+
operation_id="delete_collection_v1_collections__collection__delete",
|
594
600
|
oauth2_scopes=[],
|
595
601
|
security_source=get_security_from_env(
|
596
602
|
self.sdk_configuration.security, models.Security
|
@@ -627,7 +633,7 @@ class Collections(BaseSDK):
|
|
627
633
|
http_res,
|
628
634
|
)
|
629
635
|
|
630
|
-
def
|
636
|
+
def update_collection_v1_collections_collection_put(
|
631
637
|
self,
|
632
638
|
*,
|
633
639
|
collection: str,
|
@@ -665,7 +671,7 @@ class Collections(BaseSDK):
|
|
665
671
|
if server_url is not None:
|
666
672
|
base_url = server_url
|
667
673
|
|
668
|
-
request = models.
|
674
|
+
request = models.UpdateCollectionV1CollectionsCollectionPutRequest(
|
669
675
|
collection=collection,
|
670
676
|
x_namespace=x_namespace,
|
671
677
|
create_collection_request=models.CreateCollectionRequest(
|
@@ -678,7 +684,7 @@ class Collections(BaseSDK):
|
|
678
684
|
|
679
685
|
req = self._build_request(
|
680
686
|
method="PUT",
|
681
|
-
path="/collections/{collection}",
|
687
|
+
path="/v1/collections/{collection}",
|
682
688
|
base_url=base_url,
|
683
689
|
url_variables=url_variables,
|
684
690
|
request=request,
|
@@ -709,7 +715,7 @@ class Collections(BaseSDK):
|
|
709
715
|
|
710
716
|
http_res = self.do_request(
|
711
717
|
hook_ctx=HookContext(
|
712
|
-
operation_id="
|
718
|
+
operation_id="update_collection_v1_collections__collection__put",
|
713
719
|
oauth2_scopes=[],
|
714
720
|
security_source=get_security_from_env(
|
715
721
|
self.sdk_configuration.security, models.Security
|
@@ -746,7 +752,7 @@ class Collections(BaseSDK):
|
|
746
752
|
http_res,
|
747
753
|
)
|
748
754
|
|
749
|
-
async def
|
755
|
+
async def update_collection_v1_collections_collection_put_async(
|
750
756
|
self,
|
751
757
|
*,
|
752
758
|
collection: str,
|
@@ -784,7 +790,7 @@ class Collections(BaseSDK):
|
|
784
790
|
if server_url is not None:
|
785
791
|
base_url = server_url
|
786
792
|
|
787
|
-
request = models.
|
793
|
+
request = models.UpdateCollectionV1CollectionsCollectionPutRequest(
|
788
794
|
collection=collection,
|
789
795
|
x_namespace=x_namespace,
|
790
796
|
create_collection_request=models.CreateCollectionRequest(
|
@@ -797,7 +803,7 @@ class Collections(BaseSDK):
|
|
797
803
|
|
798
804
|
req = self._build_request_async(
|
799
805
|
method="PUT",
|
800
|
-
path="/collections/{collection}",
|
806
|
+
path="/v1/collections/{collection}",
|
801
807
|
base_url=base_url,
|
802
808
|
url_variables=url_variables,
|
803
809
|
request=request,
|
@@ -828,7 +834,7 @@ class Collections(BaseSDK):
|
|
828
834
|
|
829
835
|
http_res = await self.do_request_async(
|
830
836
|
hook_ctx=HookContext(
|
831
|
-
operation_id="
|
837
|
+
operation_id="update_collection_v1_collections__collection__put",
|
832
838
|
oauth2_scopes=[],
|
833
839
|
security_source=get_security_from_env(
|
834
840
|
self.sdk_configuration.security, models.Security
|
@@ -865,7 +871,7 @@ class Collections(BaseSDK):
|
|
865
871
|
http_res,
|
866
872
|
)
|
867
873
|
|
868
|
-
def
|
874
|
+
def get_collection_v1_collections_collection_get(
|
869
875
|
self,
|
870
876
|
*,
|
871
877
|
collection: str,
|
@@ -894,14 +900,14 @@ class Collections(BaseSDK):
|
|
894
900
|
if server_url is not None:
|
895
901
|
base_url = server_url
|
896
902
|
|
897
|
-
request = models.
|
903
|
+
request = models.GetCollectionV1CollectionsCollectionGetRequest(
|
898
904
|
collection=collection,
|
899
905
|
x_namespace=x_namespace,
|
900
906
|
)
|
901
907
|
|
902
908
|
req = self._build_request(
|
903
909
|
method="GET",
|
904
|
-
path="/collections/{collection}",
|
910
|
+
path="/v1/collections/{collection}",
|
905
911
|
base_url=base_url,
|
906
912
|
url_variables=url_variables,
|
907
913
|
request=request,
|
@@ -925,7 +931,7 @@ class Collections(BaseSDK):
|
|
925
931
|
|
926
932
|
http_res = self.do_request(
|
927
933
|
hook_ctx=HookContext(
|
928
|
-
operation_id="
|
934
|
+
operation_id="get_collection_v1_collections__collection__get",
|
929
935
|
oauth2_scopes=[],
|
930
936
|
security_source=get_security_from_env(
|
931
937
|
self.sdk_configuration.security, models.Security
|
@@ -962,7 +968,7 @@ class Collections(BaseSDK):
|
|
962
968
|
http_res,
|
963
969
|
)
|
964
970
|
|
965
|
-
async def
|
971
|
+
async def get_collection_v1_collections_collection_get_async(
|
966
972
|
self,
|
967
973
|
*,
|
968
974
|
collection: str,
|
@@ -991,14 +997,14 @@ class Collections(BaseSDK):
|
|
991
997
|
if server_url is not None:
|
992
998
|
base_url = server_url
|
993
999
|
|
994
|
-
request = models.
|
1000
|
+
request = models.GetCollectionV1CollectionsCollectionGetRequest(
|
995
1001
|
collection=collection,
|
996
1002
|
x_namespace=x_namespace,
|
997
1003
|
)
|
998
1004
|
|
999
1005
|
req = self._build_request_async(
|
1000
1006
|
method="GET",
|
1001
|
-
path="/collections/{collection}",
|
1007
|
+
path="/v1/collections/{collection}",
|
1002
1008
|
base_url=base_url,
|
1003
1009
|
url_variables=url_variables,
|
1004
1010
|
request=request,
|
@@ -1022,7 +1028,7 @@ class Collections(BaseSDK):
|
|
1022
1028
|
|
1023
1029
|
http_res = await self.do_request_async(
|
1024
1030
|
hook_ctx=HookContext(
|
1025
|
-
operation_id="
|
1031
|
+
operation_id="get_collection_v1_collections__collection__get",
|
1026
1032
|
oauth2_scopes=[],
|
1027
1033
|
security_source=get_security_from_env(
|
1028
1034
|
self.sdk_configuration.security, models.Security
|
@@ -9,7 +9,7 @@ from typing import Any, Mapping, Optional
|
|
9
9
|
|
10
10
|
|
11
11
|
class FeatureExtractors(BaseSDK):
|
12
|
-
def
|
12
|
+
def extract_embeddings_v1_features_extractors_embed_post(
|
13
13
|
self,
|
14
14
|
*,
|
15
15
|
type_: models.InputType,
|
@@ -46,7 +46,7 @@ class FeatureExtractors(BaseSDK):
|
|
46
46
|
|
47
47
|
req = self._build_request(
|
48
48
|
method="POST",
|
49
|
-
path="/features/extractors/embed",
|
49
|
+
path="/v1/features/extractors/embed",
|
50
50
|
base_url=base_url,
|
51
51
|
url_variables=url_variables,
|
52
52
|
request=request,
|
@@ -73,7 +73,7 @@ class FeatureExtractors(BaseSDK):
|
|
73
73
|
|
74
74
|
http_res = self.do_request(
|
75
75
|
hook_ctx=HookContext(
|
76
|
-
operation_id="
|
76
|
+
operation_id="extract_embeddings_v1_features_extractors_embed_post",
|
77
77
|
oauth2_scopes=[],
|
78
78
|
security_source=get_security_from_env(
|
79
79
|
self.sdk_configuration.security, models.Security
|
@@ -110,7 +110,7 @@ class FeatureExtractors(BaseSDK):
|
|
110
110
|
http_res,
|
111
111
|
)
|
112
112
|
|
113
|
-
async def
|
113
|
+
async def extract_embeddings_v1_features_extractors_embed_post_async(
|
114
114
|
self,
|
115
115
|
*,
|
116
116
|
type_: models.InputType,
|
@@ -147,7 +147,7 @@ class FeatureExtractors(BaseSDK):
|
|
147
147
|
|
148
148
|
req = self._build_request_async(
|
149
149
|
method="POST",
|
150
|
-
path="/features/extractors/embed",
|
150
|
+
path="/v1/features/extractors/embed",
|
151
151
|
base_url=base_url,
|
152
152
|
url_variables=url_variables,
|
153
153
|
request=request,
|
@@ -174,7 +174,7 @@ class FeatureExtractors(BaseSDK):
|
|
174
174
|
|
175
175
|
http_res = await self.do_request_async(
|
176
176
|
hook_ctx=HookContext(
|
177
|
-
operation_id="
|
177
|
+
operation_id="extract_embeddings_v1_features_extractors_embed_post",
|
178
178
|
oauth2_scopes=[],
|
179
179
|
security_source=get_security_from_env(
|
180
180
|
self.sdk_configuration.security, models.Security
|