mixpeek 0.14.0__tar.gz → 0.15.1__tar.gz
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-0.14.0 → mixpeek-0.15.1}/PKG-INFO +12 -22
- {mixpeek-0.14.0 → mixpeek-0.15.1}/README-PYPI.md +11 -21
- {mixpeek-0.14.0 → mixpeek-0.15.1}/pyproject.toml +1 -1
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/_version.py +1 -1
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/assets.py +8 -8
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/collections.py +4 -4
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/featureextractors.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/features.py +20 -20
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/ingest.py +12 -54
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/__init__.py +27 -108
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/assetresponse.py +4 -4
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/availableindexesresponse.py +2 -2
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/availablemodels.py +4 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/createnamespacerequest.py +4 -4
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/embeddingrequest.py +2 -2
- mixpeek-0.15.1/src/mixpeek/models/entitysettings.py +50 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/featureextractionembeddingrequest.py +2 -2
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/imagedescribesettings.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/imagereadsettings.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/imagesettings.py +17 -4
- mixpeek-0.15.1/src/mixpeek/models/internal/__init__.py +5 -0
- mixpeek-0.15.1/src/mixpeek/models/internal/globals.py +22 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/listassetsrequest.py +3 -3
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/listfeaturesrequest.py +3 -3
- mixpeek-0.14.0/src/mixpeek/models/logicaloperator_input.py → mixpeek-0.15.1/src/mixpeek/models/logicaloperator.py +8 -8
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/namespaceresponse.py +2 -2
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/processimageurlinput.py +1 -13
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/processtextinput.py +1 -13
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/processvideourlinput.py +1 -13
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/search_features_features_search_postop.py +4 -7
- mixpeek-0.14.0/src/mixpeek/models/search_model_searchquery_input.py → mixpeek-0.15.1/src/mixpeek/models/search_model_searchquery.py +7 -7
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/searchassetsrequest.py +3 -3
- mixpeek-0.14.0/src/mixpeek/models/searchrequestfeatures_output.py → mixpeek-0.15.1/src/mixpeek/models/searchrequestfeatures.py +11 -11
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/security.py +2 -2
- mixpeek-0.15.1/src/mixpeek/models/taskresponse.py +55 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/taskstatus.py +1 -0
- mixpeek-0.15.1/src/mixpeek/models/taxonomyextractionconfig.py +31 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/textsettings.py +10 -4
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/vectormodel.py +4 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/videodescribesettings.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/videoreadsettings.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/videosettings.py +17 -3
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/videotranscriptionsettings.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/namespaces.py +6 -6
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/sdk.py +15 -11
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/sdkconfiguration.py +4 -2
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/tasks.py +4 -4
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/security.py +2 -2
- mixpeek-0.14.0/src/mixpeek/interactions.py +0 -228
- mixpeek-0.14.0/src/mixpeek/models/create_interaction_features_search_interactions_postop.py +0 -59
- mixpeek-0.14.0/src/mixpeek/models/db_model_taskresponse.py +0 -20
- mixpeek-0.14.0/src/mixpeek/models/delete_interaction_features_search_interactions_interaction_id_deleteop.py +0 -59
- mixpeek-0.14.0/src/mixpeek/models/get_interaction_features_search_interactions_interaction_id_getop.py +0 -59
- mixpeek-0.14.0/src/mixpeek/models/interactionresponse.py +0 -87
- mixpeek-0.14.0/src/mixpeek/models/interactiontype.py +0 -11
- mixpeek-0.14.0/src/mixpeek/models/list_interactions_features_search_interactions_getop.py +0 -96
- mixpeek-0.14.0/src/mixpeek/models/logicaloperator_output.py +0 -103
- mixpeek-0.14.0/src/mixpeek/models/percolaterequest.py +0 -57
- mixpeek-0.14.0/src/mixpeek/models/searchinteraction.py +0 -82
- mixpeek-0.14.0/src/mixpeek/models/searchquery_output.py +0 -79
- mixpeek-0.14.0/src/mixpeek/models/searchrequestfeatures_input.py +0 -151
- mixpeek-0.14.0/src/mixpeek/models/tasks_model_taskresponse.py +0 -24
- mixpeek-0.14.0/src/mixpeek/searchinteractions.py +0 -666
- {mixpeek-0.14.0 → mixpeek-0.15.1}/py.typed +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/_hooks/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/_hooks/registration.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/_hooks/sdkhooks.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/_hooks/types.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/basesdk.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/health.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/httpclient.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/actionusage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/apierror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/apikey.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/apikeyupdate.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/assetfeatures.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/assets_model_searchquery.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/assetupdate.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/boolindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/collectionmodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/collectionresult.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/create_api_key_organizations_users_user_email_api_keys_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/create_collection_collections_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/createcollectionrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/datetimeindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/dateusage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/db_model_paginationresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_api_key_organizations_users_user_email_api_keys_key_name_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_asset_assets_asset_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_collection_collections_collection_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_feature_features_feature_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_namespace_namespaces_namespace_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/delete_user_organizations_users_user_email_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/denseembedding.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/embeddingresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/errordetail.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/errorresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/facedetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/featureresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/features_model_paginationresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/featureupdaterequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/filtercondition.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/floatindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/full_asset_update_assets_asset_id_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/full_feature_update_features_feature_id_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/geoindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_asset_assets_asset_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_asset_with_features_assets_asset_id_features_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_collection_collections_collection_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_feature_features_feature_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_namespace_namespaces_namespace_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_task_tasks_task_id_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/get_user_organizations_users_user_email_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/groupbyoptions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/groupbyoptionsasset.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/groupedassetdata.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/healthcheckresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/httpvalidationerror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/imagedetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/ingest_image_url_ingest_images_url_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/ingest_text_ingest_text_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/ingest_video_url_ingest_videos_url_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/inputtype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/integerindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/jsonimageoutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/jsontextoutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/jsonvideooutputsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/keywordindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/kill_task_tasks_task_id_deleteop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/list_assets_assets_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/list_collections_collections_getop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/list_features_features_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/listassetsresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/listcollectionsresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/listfeaturesresponse.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/logodetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/modality.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/modeldetails.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/organizationmodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/partial_asset_update_assets_asset_id_patchop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/payloadindexconfig.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/payloadindextype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/payloadschematype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/permission.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/querysettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/rerankingoptions.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/search_assets_assets_search_postop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/sortoption.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/sparseembedding.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/textindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/tokenizertype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/update_api_key_organizations_users_user_email_api_keys_key_name_patchop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/update_collection_collections_collection_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/update_namespace_namespaces_namespace_putop.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/updateassetrequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/updatenamespacerequest.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/usage.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/usermodel_input.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/usermodel_output.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/uuidindexparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/validationerror.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/vectortype.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/models/videodetectsettings.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/organizations.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/py.typed +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/types/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/types/basemodel.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/__init__.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/annotations.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/enums.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/eventstreaming.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/forms.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/headers.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/logger.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/metadata.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/queryparams.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/requestbodies.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/retries.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/serializers.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/url.py +0 -0
- {mixpeek-0.14.0 → mixpeek-0.15.1}/src/mixpeek/utils/values.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mixpeek
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.15.1
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
5
5
|
Home-page: https://github.com/mixpeek/python-sdk.git
|
6
6
|
Author: Speakeasy
|
@@ -94,7 +94,7 @@ from mixpeek import Mixpeek
|
|
94
94
|
import os
|
95
95
|
|
96
96
|
with Mixpeek(
|
97
|
-
|
97
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
98
98
|
) as mixpeek:
|
99
99
|
|
100
100
|
res = mixpeek.organizations.get()
|
@@ -114,7 +114,7 @@ import os
|
|
114
114
|
|
115
115
|
async def main():
|
116
116
|
async with Mixpeek(
|
117
|
-
|
117
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
118
118
|
) as mixpeek:
|
119
119
|
|
120
120
|
res = await mixpeek.organizations.get_async()
|
@@ -133,17 +133,17 @@ asyncio.run(main())
|
|
133
133
|
|
134
134
|
This SDK supports the following security scheme globally:
|
135
135
|
|
136
|
-
| Name
|
137
|
-
|
|
138
|
-
| `
|
136
|
+
| Name | Type | Scheme | Environment Variable |
|
137
|
+
| ------- | ---- | ----------- | -------------------- |
|
138
|
+
| `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
|
139
139
|
|
140
|
-
To authenticate with the API the `
|
140
|
+
To authenticate with the API the `token` parameter must be set when initializing the SDK client instance. For example:
|
141
141
|
```python
|
142
142
|
from mixpeek import Mixpeek
|
143
143
|
import os
|
144
144
|
|
145
145
|
with Mixpeek(
|
146
|
-
|
146
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
147
147
|
) as mixpeek:
|
148
148
|
|
149
149
|
res = mixpeek.organizations.get()
|
@@ -200,10 +200,6 @@ with Mixpeek(
|
|
200
200
|
* [video_from_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#video_from_url) - Ingest Video Url
|
201
201
|
* [image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#image_url) - Ingest Image Url
|
202
202
|
|
203
|
-
### [interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md)
|
204
|
-
|
205
|
-
* [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md#list) - List Interactions
|
206
|
-
|
207
203
|
|
208
204
|
### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
|
209
205
|
|
@@ -225,12 +221,6 @@ with Mixpeek(
|
|
225
221
|
* [delete_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_api_key) - Delete Api Key
|
226
222
|
* [update_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#update_api_key) - Update Api Key
|
227
223
|
|
228
|
-
### [search_interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md)
|
229
|
-
|
230
|
-
* [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#create) - Create Interaction
|
231
|
-
* [get_interaction](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#get_interaction) - Get Interaction
|
232
|
-
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#delete) - Delete Interaction
|
233
|
-
|
234
224
|
### [tasks](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md)
|
235
225
|
|
236
226
|
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#delete) - Kill Task
|
@@ -251,7 +241,7 @@ from mixpeek.utils import BackoffStrategy, RetryConfig
|
|
251
241
|
import os
|
252
242
|
|
253
243
|
with Mixpeek(
|
254
|
-
|
244
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
255
245
|
) as mixpeek:
|
256
246
|
|
257
247
|
res = mixpeek.organizations.get(,
|
@@ -270,7 +260,7 @@ import os
|
|
270
260
|
|
271
261
|
with Mixpeek(
|
272
262
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
273
|
-
|
263
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
274
264
|
) as mixpeek:
|
275
265
|
|
276
266
|
res = mixpeek.organizations.get()
|
@@ -310,7 +300,7 @@ from mixpeek import Mixpeek, models
|
|
310
300
|
import os
|
311
301
|
|
312
302
|
with Mixpeek(
|
313
|
-
|
303
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
314
304
|
) as mixpeek:
|
315
305
|
res = None
|
316
306
|
try:
|
@@ -344,7 +334,7 @@ import os
|
|
344
334
|
|
345
335
|
with Mixpeek(
|
346
336
|
server_url="https://api.mixpeek.com/",
|
347
|
-
|
337
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
348
338
|
) as mixpeek:
|
349
339
|
|
350
340
|
res = mixpeek.organizations.get()
|
@@ -71,7 +71,7 @@ from mixpeek import Mixpeek
|
|
71
71
|
import os
|
72
72
|
|
73
73
|
with Mixpeek(
|
74
|
-
|
74
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
75
75
|
) as mixpeek:
|
76
76
|
|
77
77
|
res = mixpeek.organizations.get()
|
@@ -91,7 +91,7 @@ import os
|
|
91
91
|
|
92
92
|
async def main():
|
93
93
|
async with Mixpeek(
|
94
|
-
|
94
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
95
95
|
) as mixpeek:
|
96
96
|
|
97
97
|
res = await mixpeek.organizations.get_async()
|
@@ -110,17 +110,17 @@ asyncio.run(main())
|
|
110
110
|
|
111
111
|
This SDK supports the following security scheme globally:
|
112
112
|
|
113
|
-
| Name
|
114
|
-
|
|
115
|
-
| `
|
113
|
+
| Name | Type | Scheme | Environment Variable |
|
114
|
+
| ------- | ---- | ----------- | -------------------- |
|
115
|
+
| `token` | http | HTTP Bearer | `MIXPEEK_TOKEN` |
|
116
116
|
|
117
|
-
To authenticate with the API the `
|
117
|
+
To authenticate with the API the `token` parameter must be set when initializing the SDK client instance. For example:
|
118
118
|
```python
|
119
119
|
from mixpeek import Mixpeek
|
120
120
|
import os
|
121
121
|
|
122
122
|
with Mixpeek(
|
123
|
-
|
123
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
124
124
|
) as mixpeek:
|
125
125
|
|
126
126
|
res = mixpeek.organizations.get()
|
@@ -177,10 +177,6 @@ with Mixpeek(
|
|
177
177
|
* [video_from_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#video_from_url) - Ingest Video Url
|
178
178
|
* [image_url](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/ingest/README.md#image_url) - Ingest Image Url
|
179
179
|
|
180
|
-
### [interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md)
|
181
|
-
|
182
|
-
* [list](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/interactions/README.md#list) - List Interactions
|
183
|
-
|
184
180
|
|
185
181
|
### [namespaces](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/namespaces/README.md)
|
186
182
|
|
@@ -202,12 +198,6 @@ with Mixpeek(
|
|
202
198
|
* [delete_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#delete_api_key) - Delete Api Key
|
203
199
|
* [update_api_key](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/organizations/README.md#update_api_key) - Update Api Key
|
204
200
|
|
205
|
-
### [search_interactions](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md)
|
206
|
-
|
207
|
-
* [create](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#create) - Create Interaction
|
208
|
-
* [get_interaction](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#get_interaction) - Get Interaction
|
209
|
-
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/searchinteractions/README.md#delete) - Delete Interaction
|
210
|
-
|
211
201
|
### [tasks](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md)
|
212
202
|
|
213
203
|
* [delete](https://github.com/mixpeek/python-sdk/blob/master/docs/sdks/tasks/README.md#delete) - Kill Task
|
@@ -228,7 +218,7 @@ from mixpeek.utils import BackoffStrategy, RetryConfig
|
|
228
218
|
import os
|
229
219
|
|
230
220
|
with Mixpeek(
|
231
|
-
|
221
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
232
222
|
) as mixpeek:
|
233
223
|
|
234
224
|
res = mixpeek.organizations.get(,
|
@@ -247,7 +237,7 @@ import os
|
|
247
237
|
|
248
238
|
with Mixpeek(
|
249
239
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
250
|
-
|
240
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
251
241
|
) as mixpeek:
|
252
242
|
|
253
243
|
res = mixpeek.organizations.get()
|
@@ -287,7 +277,7 @@ from mixpeek import Mixpeek, models
|
|
287
277
|
import os
|
288
278
|
|
289
279
|
with Mixpeek(
|
290
|
-
|
280
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
291
281
|
) as mixpeek:
|
292
282
|
res = None
|
293
283
|
try:
|
@@ -321,7 +311,7 @@ import os
|
|
321
311
|
|
322
312
|
with Mixpeek(
|
323
313
|
server_url="https://api.mixpeek.com/",
|
324
|
-
|
314
|
+
token=os.getenv("MIXPEEK_TOKEN", ""),
|
325
315
|
) as mixpeek:
|
326
316
|
|
327
317
|
res = mixpeek.organizations.get()
|
@@ -1075,7 +1075,7 @@ class Assets(BaseSDK):
|
|
1075
1075
|
page_size: Optional[int] = 10,
|
1076
1076
|
x_namespace: OptionalNullable[str] = UNSET,
|
1077
1077
|
filters: OptionalNullable[
|
1078
|
-
Union[models.
|
1078
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
1079
1079
|
] = UNSET,
|
1080
1080
|
group_by: OptionalNullable[
|
1081
1081
|
Union[models.GroupByOptionsAsset, models.GroupByOptionsAssetTypedDict]
|
@@ -1121,7 +1121,7 @@ class Assets(BaseSDK):
|
|
1121
1121
|
list_assets_request=models.ListAssetsRequest(
|
1122
1122
|
collections=collections,
|
1123
1123
|
filters=utils.get_pydantic_model(
|
1124
|
-
filters, OptionalNullable[models.
|
1124
|
+
filters, OptionalNullable[models.LogicalOperator]
|
1125
1125
|
),
|
1126
1126
|
group_by=utils.get_pydantic_model(
|
1127
1127
|
group_by, OptionalNullable[models.GroupByOptionsAsset]
|
@@ -1212,7 +1212,7 @@ class Assets(BaseSDK):
|
|
1212
1212
|
page_size: Optional[int] = 10,
|
1213
1213
|
x_namespace: OptionalNullable[str] = UNSET,
|
1214
1214
|
filters: OptionalNullable[
|
1215
|
-
Union[models.
|
1215
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
1216
1216
|
] = UNSET,
|
1217
1217
|
group_by: OptionalNullable[
|
1218
1218
|
Union[models.GroupByOptionsAsset, models.GroupByOptionsAssetTypedDict]
|
@@ -1258,7 +1258,7 @@ class Assets(BaseSDK):
|
|
1258
1258
|
list_assets_request=models.ListAssetsRequest(
|
1259
1259
|
collections=collections,
|
1260
1260
|
filters=utils.get_pydantic_model(
|
1261
|
-
filters, OptionalNullable[models.
|
1261
|
+
filters, OptionalNullable[models.LogicalOperator]
|
1262
1262
|
),
|
1263
1263
|
group_by=utils.get_pydantic_model(
|
1264
1264
|
group_by, OptionalNullable[models.GroupByOptionsAsset]
|
@@ -1350,7 +1350,7 @@ class Assets(BaseSDK):
|
|
1350
1350
|
Union[models.AssetsModelSearchQuery, models.AssetsModelSearchQueryTypedDict]
|
1351
1351
|
] = UNSET,
|
1352
1352
|
filters: OptionalNullable[
|
1353
|
-
Union[models.
|
1353
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
1354
1354
|
] = UNSET,
|
1355
1355
|
sort: OptionalNullable[
|
1356
1356
|
Union[models.SortOption, models.SortOptionTypedDict]
|
@@ -1392,7 +1392,7 @@ class Assets(BaseSDK):
|
|
1392
1392
|
),
|
1393
1393
|
collections=collections,
|
1394
1394
|
filters=utils.get_pydantic_model(
|
1395
|
-
filters, OptionalNullable[models.
|
1395
|
+
filters, OptionalNullable[models.LogicalOperator]
|
1396
1396
|
),
|
1397
1397
|
sort=utils.get_pydantic_model(
|
1398
1398
|
sort, OptionalNullable[models.SortOption]
|
@@ -1481,7 +1481,7 @@ class Assets(BaseSDK):
|
|
1481
1481
|
Union[models.AssetsModelSearchQuery, models.AssetsModelSearchQueryTypedDict]
|
1482
1482
|
] = UNSET,
|
1483
1483
|
filters: OptionalNullable[
|
1484
|
-
Union[models.
|
1484
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
1485
1485
|
] = UNSET,
|
1486
1486
|
sort: OptionalNullable[
|
1487
1487
|
Union[models.SortOption, models.SortOptionTypedDict]
|
@@ -1523,7 +1523,7 @@ class Assets(BaseSDK):
|
|
1523
1523
|
),
|
1524
1524
|
collections=collections,
|
1525
1525
|
filters=utils.get_pydantic_model(
|
1526
|
-
filters, OptionalNullable[models.
|
1526
|
+
filters, OptionalNullable[models.LogicalOperator]
|
1527
1527
|
),
|
1528
1528
|
sort=utils.get_pydantic_model(
|
1529
1529
|
sort, OptionalNullable[models.SortOption]
|
@@ -442,7 +442,7 @@ class Collections(BaseSDK):
|
|
442
442
|
server_url: Optional[str] = None,
|
443
443
|
timeout_ms: Optional[int] = None,
|
444
444
|
http_headers: Optional[Mapping[str, str]] = None,
|
445
|
-
) ->
|
445
|
+
) -> models.TaskResponse:
|
446
446
|
r"""Delete Collection
|
447
447
|
|
448
448
|
Delete a collection using either its name or ID
|
@@ -506,7 +506,7 @@ class Collections(BaseSDK):
|
|
506
506
|
|
507
507
|
data: Any = None
|
508
508
|
if utils.match_response(http_res, "200", "application/json"):
|
509
|
-
return utils.unmarshal_json(http_res.text,
|
509
|
+
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
510
510
|
if utils.match_response(
|
511
511
|
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
512
512
|
):
|
@@ -539,7 +539,7 @@ class Collections(BaseSDK):
|
|
539
539
|
server_url: Optional[str] = None,
|
540
540
|
timeout_ms: Optional[int] = None,
|
541
541
|
http_headers: Optional[Mapping[str, str]] = None,
|
542
|
-
) ->
|
542
|
+
) -> models.TaskResponse:
|
543
543
|
r"""Delete Collection
|
544
544
|
|
545
545
|
Delete a collection using either its name or ID
|
@@ -603,7 +603,7 @@ class Collections(BaseSDK):
|
|
603
603
|
|
604
604
|
data: Any = None
|
605
605
|
if utils.match_response(http_res, "200", "application/json"):
|
606
|
-
return utils.unmarshal_json(http_res.text,
|
606
|
+
return utils.unmarshal_json(http_res.text, models.TaskResponse)
|
607
607
|
if utils.match_response(
|
608
608
|
http_res, ["400", "401", "403", "404", "500"], "application/json"
|
609
609
|
):
|
@@ -13,7 +13,7 @@ class FeatureExtractors(BaseSDK):
|
|
13
13
|
self,
|
14
14
|
*,
|
15
15
|
type_: models.InputType,
|
16
|
-
|
16
|
+
embedding_model: models.VectorModel,
|
17
17
|
value: OptionalNullable[str] = UNSET,
|
18
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
19
19
|
server_url: Optional[str] = None,
|
@@ -23,7 +23,7 @@ class FeatureExtractors(BaseSDK):
|
|
23
23
|
r"""Extract Embeddings
|
24
24
|
|
25
25
|
:param type:
|
26
|
-
:param
|
26
|
+
:param embedding_model:
|
27
27
|
:param value: The input content to embed. Could be a URL, text content, file path, or base64 encoded string
|
28
28
|
:param retries: Override the default retry configuration for this method
|
29
29
|
:param server_url: Override the default server URL for this method
|
@@ -41,7 +41,7 @@ class FeatureExtractors(BaseSDK):
|
|
41
41
|
request = models.FeatureExtractionEmbeddingRequest(
|
42
42
|
type=type_,
|
43
43
|
value=value,
|
44
|
-
|
44
|
+
embedding_model=embedding_model,
|
45
45
|
)
|
46
46
|
|
47
47
|
req = self._build_request(
|
@@ -114,7 +114,7 @@ class FeatureExtractors(BaseSDK):
|
|
114
114
|
self,
|
115
115
|
*,
|
116
116
|
type_: models.InputType,
|
117
|
-
|
117
|
+
embedding_model: models.VectorModel,
|
118
118
|
value: OptionalNullable[str] = UNSET,
|
119
119
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
120
120
|
server_url: Optional[str] = None,
|
@@ -124,7 +124,7 @@ class FeatureExtractors(BaseSDK):
|
|
124
124
|
r"""Extract Embeddings
|
125
125
|
|
126
126
|
:param type:
|
127
|
-
:param
|
127
|
+
:param embedding_model:
|
128
128
|
:param value: The input content to embed. Could be a URL, text content, file path, or base64 encoded string
|
129
129
|
:param retries: Override the default retry configuration for this method
|
130
130
|
:param server_url: Override the default server URL for this method
|
@@ -142,7 +142,7 @@ class FeatureExtractors(BaseSDK):
|
|
142
142
|
request = models.FeatureExtractionEmbeddingRequest(
|
143
143
|
type=type_,
|
144
144
|
value=value,
|
145
|
-
|
145
|
+
embedding_model=embedding_model,
|
146
146
|
)
|
147
147
|
|
148
148
|
req = self._build_request_async(
|
@@ -627,7 +627,7 @@ class Features(BaseSDK):
|
|
627
627
|
page_size: Optional[int] = 10,
|
628
628
|
x_namespace: OptionalNullable[str] = UNSET,
|
629
629
|
filters: OptionalNullable[
|
630
|
-
Union[models.
|
630
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
631
631
|
] = UNSET,
|
632
632
|
sort: OptionalNullable[
|
633
633
|
Union[models.SortOption, models.SortOptionTypedDict]
|
@@ -673,7 +673,7 @@ class Features(BaseSDK):
|
|
673
673
|
list_features_request=models.ListFeaturesRequest(
|
674
674
|
collections=collections,
|
675
675
|
filters=utils.get_pydantic_model(
|
676
|
-
filters, OptionalNullable[models.
|
676
|
+
filters, OptionalNullable[models.LogicalOperator]
|
677
677
|
),
|
678
678
|
sort=utils.get_pydantic_model(
|
679
679
|
sort, OptionalNullable[models.SortOption]
|
@@ -761,7 +761,7 @@ class Features(BaseSDK):
|
|
761
761
|
page_size: Optional[int] = 10,
|
762
762
|
x_namespace: OptionalNullable[str] = UNSET,
|
763
763
|
filters: OptionalNullable[
|
764
|
-
Union[models.
|
764
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
765
765
|
] = UNSET,
|
766
766
|
sort: OptionalNullable[
|
767
767
|
Union[models.SortOption, models.SortOptionTypedDict]
|
@@ -807,7 +807,7 @@ class Features(BaseSDK):
|
|
807
807
|
list_features_request=models.ListFeaturesRequest(
|
808
808
|
collections=collections,
|
809
809
|
filters=utils.get_pydantic_model(
|
810
|
-
filters, OptionalNullable[models.
|
810
|
+
filters, OptionalNullable[models.LogicalOperator]
|
811
811
|
),
|
812
812
|
sort=utils.get_pydantic_model(
|
813
813
|
sort, OptionalNullable[models.SortOption]
|
@@ -891,15 +891,15 @@ class Features(BaseSDK):
|
|
891
891
|
self,
|
892
892
|
*,
|
893
893
|
queries: Union[
|
894
|
-
List[models.
|
895
|
-
List[models.
|
894
|
+
List[models.SearchModelSearchQuery],
|
895
|
+
List[models.SearchModelSearchQueryTypedDict],
|
896
896
|
],
|
897
897
|
collections: List[str],
|
898
898
|
offset_position: OptionalNullable[int] = UNSET,
|
899
899
|
page_size: Optional[int] = 10,
|
900
900
|
x_namespace: OptionalNullable[str] = UNSET,
|
901
901
|
filters: OptionalNullable[
|
902
|
-
Union[models.
|
902
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
903
903
|
] = UNSET,
|
904
904
|
group_by: OptionalNullable[
|
905
905
|
Union[models.GroupByOptions, models.GroupByOptionsTypedDict]
|
@@ -953,13 +953,13 @@ class Features(BaseSDK):
|
|
953
953
|
offset_position=offset_position,
|
954
954
|
page_size=page_size,
|
955
955
|
x_namespace=x_namespace,
|
956
|
-
|
956
|
+
search_request_features=models.SearchRequestFeatures(
|
957
957
|
queries=utils.get_pydantic_model(
|
958
|
-
queries, List[models.
|
958
|
+
queries, List[models.SearchModelSearchQuery]
|
959
959
|
),
|
960
960
|
collections=collections,
|
961
961
|
filters=utils.get_pydantic_model(
|
962
|
-
filters, OptionalNullable[models.
|
962
|
+
filters, OptionalNullable[models.LogicalOperator]
|
963
963
|
),
|
964
964
|
group_by=utils.get_pydantic_model(
|
965
965
|
group_by, OptionalNullable[models.GroupByOptions]
|
@@ -990,11 +990,11 @@ class Features(BaseSDK):
|
|
990
990
|
http_headers=http_headers,
|
991
991
|
security=self.sdk_configuration.security,
|
992
992
|
get_serialized_body=lambda: utils.serialize_request_body(
|
993
|
-
request.
|
993
|
+
request.search_request_features,
|
994
994
|
False,
|
995
995
|
False,
|
996
996
|
"json",
|
997
|
-
models.
|
997
|
+
models.SearchRequestFeatures,
|
998
998
|
),
|
999
999
|
timeout_ms=timeout_ms,
|
1000
1000
|
)
|
@@ -1053,15 +1053,15 @@ class Features(BaseSDK):
|
|
1053
1053
|
self,
|
1054
1054
|
*,
|
1055
1055
|
queries: Union[
|
1056
|
-
List[models.
|
1057
|
-
List[models.
|
1056
|
+
List[models.SearchModelSearchQuery],
|
1057
|
+
List[models.SearchModelSearchQueryTypedDict],
|
1058
1058
|
],
|
1059
1059
|
collections: List[str],
|
1060
1060
|
offset_position: OptionalNullable[int] = UNSET,
|
1061
1061
|
page_size: Optional[int] = 10,
|
1062
1062
|
x_namespace: OptionalNullable[str] = UNSET,
|
1063
1063
|
filters: OptionalNullable[
|
1064
|
-
Union[models.
|
1064
|
+
Union[models.LogicalOperator, models.LogicalOperatorTypedDict]
|
1065
1065
|
] = UNSET,
|
1066
1066
|
group_by: OptionalNullable[
|
1067
1067
|
Union[models.GroupByOptions, models.GroupByOptionsTypedDict]
|
@@ -1115,13 +1115,13 @@ class Features(BaseSDK):
|
|
1115
1115
|
offset_position=offset_position,
|
1116
1116
|
page_size=page_size,
|
1117
1117
|
x_namespace=x_namespace,
|
1118
|
-
|
1118
|
+
search_request_features=models.SearchRequestFeatures(
|
1119
1119
|
queries=utils.get_pydantic_model(
|
1120
|
-
queries, List[models.
|
1120
|
+
queries, List[models.SearchModelSearchQuery]
|
1121
1121
|
),
|
1122
1122
|
collections=collections,
|
1123
1123
|
filters=utils.get_pydantic_model(
|
1124
|
-
filters, OptionalNullable[models.
|
1124
|
+
filters, OptionalNullable[models.LogicalOperator]
|
1125
1125
|
),
|
1126
1126
|
group_by=utils.get_pydantic_model(
|
1127
1127
|
group_by, OptionalNullable[models.GroupByOptions]
|
@@ -1152,11 +1152,11 @@ class Features(BaseSDK):
|
|
1152
1152
|
http_headers=http_headers,
|
1153
1153
|
security=self.sdk_configuration.security,
|
1154
1154
|
get_serialized_body=lambda: utils.serialize_request_body(
|
1155
|
-
request.
|
1155
|
+
request.search_request_features,
|
1156
1156
|
False,
|
1157
1157
|
False,
|
1158
1158
|
"json",
|
1159
|
-
models.
|
1159
|
+
models.SearchRequestFeatures,
|
1160
1160
|
),
|
1161
1161
|
timeout_ms=timeout_ms,
|
1162
1162
|
)
|