yandexcloud 0.338.0__py3-none-any.whl → 0.339.0__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.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/common_pb2.py +32 -27
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +29 -2
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +32 -32
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +7 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +39 -3
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +220 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +172 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +68 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +50 -50
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +10 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.py +86 -66
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2.pyi +98 -2
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.py +88 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_service_pb2_grpc.pyi +40 -0
- yandex/cloud/backup/v1/policy_pb2.py +56 -52
- yandex/cloud/backup/v1/policy_pb2.pyi +36 -5
- yandex/cloud/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -2
- yandex/cloud/backup/v1/resource_service_pb2.py +30 -30
- yandex/cloud/backup/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/baremetal/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/__init__.py +0 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2.pyi +109 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/configuration_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +111 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2.pyi +33 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/dhcp_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.py +39 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +68 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/disk_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2.pyi +36 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2_grpc.pyi +80 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.py +44 -0
- yandex/cloud/baremetal/v1alpha/image_pb2.pyi +125 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/image_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +108 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2.pyi +364 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/image_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.py +47 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2.pyi +174 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +112 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.pyi +443 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.py +45 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2.pyi +143 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +382 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.py +54 -0
- yandex/cloud/baremetal/v1alpha/server_pb2.pyi +282 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/server_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +217 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +850 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.py +589 -0
- yandex/cloud/baremetal/v1alpha/server_service_pb2_grpc.pyi +281 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.py +46 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2.pyi +165 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/storage_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +51 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.pyi +91 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.py +145 -0
- yandex/cloud/baremetal/v1alpha/storage_service_pb2_grpc.pyi +70 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.py +42 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2.pyi +77 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/vrf_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +106 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.pyi +357 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.py +327 -0
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2_grpc.pyi +170 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.py +37 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2.pyi +29 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/zone_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +49 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.pyi +87 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.py +148 -0
- yandex/cloud/baremetal/v1alpha/zone_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +40 -40
- yandex/cloud/dataproc/manager/v1/job_pb2.pyi +26 -26
- yandex/cloud/dataproc/manager/v1/job_service_pb2.pyi +7 -7
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.py +2 -2
- yandex/cloud/dataproc/manager/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/manager/v1/manager_service_pb2.pyi +2 -2
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/manager/v1/manager_service_pb2_grpc.pyi +3 -3
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -5
- yandex/cloud/dataproc/v1/cluster_service_pb2.pyi +13 -13
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/cluster_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/job_pb2.pyi +15 -15
- yandex/cloud/dataproc/v1/job_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.py +4 -4
- yandex/cloud/dataproc/v1/job_service_pb2_grpc.pyi +6 -6
- yandex/cloud/dataproc/v1/resource_preset_pb2.pyi +2 -2
- yandex/cloud/dataproc/v1/subcluster_pb2.pyi +11 -11
- yandex/cloud/dataproc/v1/subcluster_service_pb2.pyi +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.py +3 -3
- yandex/cloud/dataproc/v1/subcluster_service_pb2_grpc.pyi +3 -3
- yandex/cloud/iam/v1/api_key_pb2.pyi +3 -1
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +3 -1
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2.py +32 -25
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.py +133 -0
- yandex/cloud/iam/v1/workload/oidc/federation_service_pb2_grpc.pyi +61 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +40 -30
- yandex/cloud/k8s/v1/cluster_pb2.pyi +94 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -42
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +70 -4
- yandex/cloud/k8s/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/k8s/v1/resource_preset_pb2.pyi +43 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/k8s/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.py +53 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2.pyi +81 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.py +146 -0
- yandex/cloud/k8s/v1/resource_preset_service_pb2_grpc.pyi +71 -0
- yandex/cloud/mdb/mysql/v1/backup_pb2.py +6 -6
- yandex/cloud/mdb/mysql/v1/backup_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +73 -2
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +26 -20
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +100 -2
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +30 -3
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +162 -0
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +46 -45
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +78 -78
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +16 -4
- yandex/cloud/mdb/postgresql/v1/config/host10_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host10_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host11_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host12_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host13_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host14_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_1c_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host15_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/host16_1c_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host16_pb2.py +25 -25
- yandex/cloud/mdb/postgresql/v1/config/host9_6_pb2.py +23 -23
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql10_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_1c_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql11_pb2.py +35 -35
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql12_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql13_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql14_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +37 -37
- yandex/cloud/mdb/postgresql/v1/config/postgresql9_6_pb2.py +29 -29
- yandex/cloud/monitoring/v3/unit_format_pb2.py +2 -2
- yandex/cloud/monitoring/v3/unit_format_pb2.pyi +16 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +28 -22
- yandex/cloud/spark/__init__.py +0 -0
- yandex/cloud/spark/v1/__init__.py +0 -0
- yandex/cloud/spark/v1/cluster_pb2.py +100 -0
- yandex/cloud/spark/v1/cluster_pb2.pyi +444 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/cluster_service_pb2.py +124 -0
- yandex/cloud/spark/v1/cluster_service_pb2.pyi +333 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.py +366 -0
- yandex/cloud/spark/v1/cluster_service_pb2_grpc.pyi +169 -0
- yandex/cloud/spark/v1/job_pb2.py +56 -0
- yandex/cloud/spark/v1/job_pb2.pyi +346 -0
- yandex/cloud/spark/v1/job_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/job_pb2_grpc.pyi +17 -0
- yandex/cloud/spark/v1/job_service_pb2.py +97 -0
- yandex/cloud/spark/v1/job_service_pb2.pyi +224 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.py +279 -0
- yandex/cloud/spark/v1/job_service_pb2_grpc.pyi +132 -0
- yandex/cloud/spark/v1/maintenance_pb2.py +53 -0
- yandex/cloud/spark/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/spark/v1/maintenance_pb2_grpc.pyi +17 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/RECORD +216 -104
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.338.0.dist-info → yandexcloud-0.339.0.dist-info}/top_level.txt +0 -0
|
@@ -827,3 +827,223 @@ class ListErrorsResponse(google.protobuf.message.Message):
|
|
|
827
827
|
def ClearField(self, field_name: typing.Literal["tuning_error", b"tuning_error"]) -> None: ...
|
|
828
828
|
|
|
829
829
|
global___ListErrorsResponse = ListErrorsResponse
|
|
830
|
+
|
|
831
|
+
@typing.final
|
|
832
|
+
class CreateTuningDraftRequest(google.protobuf.message.Message):
|
|
833
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
834
|
+
|
|
835
|
+
@typing.final
|
|
836
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
837
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
838
|
+
|
|
839
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
840
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
841
|
+
key: builtins.str
|
|
842
|
+
value: builtins.str
|
|
843
|
+
def __init__(
|
|
844
|
+
self,
|
|
845
|
+
*,
|
|
846
|
+
key: builtins.str = ...,
|
|
847
|
+
value: builtins.str = ...,
|
|
848
|
+
) -> None: ...
|
|
849
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
850
|
+
|
|
851
|
+
BASE_MODEL_URI_FIELD_NUMBER: builtins.int
|
|
852
|
+
TRAIN_DATASETS_FIELD_NUMBER: builtins.int
|
|
853
|
+
VALIDATION_DATASETS_FIELD_NUMBER: builtins.int
|
|
854
|
+
TEXT_TO_TEXT_COMPLETION_FIELD_NUMBER: builtins.int
|
|
855
|
+
TEXT_CLASSIFICATION_MULTILABEL_FIELD_NUMBER: builtins.int
|
|
856
|
+
TEXT_CLASSIFICATION_MULTICLASS_FIELD_NUMBER: builtins.int
|
|
857
|
+
TEXT_EMBEDDING_PAIR_PARAMS_FIELD_NUMBER: builtins.int
|
|
858
|
+
TEXT_EMBEDDING_TRIPLET_PARAMS_FIELD_NUMBER: builtins.int
|
|
859
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
860
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
861
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
862
|
+
base_model_uri: builtins.str
|
|
863
|
+
name: builtins.str
|
|
864
|
+
description: builtins.str
|
|
865
|
+
@property
|
|
866
|
+
def train_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TuningRequest.WeightedDataset]: ...
|
|
867
|
+
@property
|
|
868
|
+
def validation_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TuningRequest.WeightedDataset]: ...
|
|
869
|
+
@property
|
|
870
|
+
def text_to_text_completion(self) -> global___TextToTextCompletionTuningParams: ...
|
|
871
|
+
@property
|
|
872
|
+
def text_classification_multilabel(self) -> global___TextClassificationMultilabelParams: ...
|
|
873
|
+
@property
|
|
874
|
+
def text_classification_multiclass(self) -> global___TextClassificationMulticlassParams: ...
|
|
875
|
+
@property
|
|
876
|
+
def text_embedding_pair_params(self) -> global___TextEmbeddingPairParams: ...
|
|
877
|
+
@property
|
|
878
|
+
def text_embedding_triplet_params(self) -> global___TextEmbeddingTripletParams: ...
|
|
879
|
+
@property
|
|
880
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
881
|
+
def __init__(
|
|
882
|
+
self,
|
|
883
|
+
*,
|
|
884
|
+
base_model_uri: builtins.str = ...,
|
|
885
|
+
train_datasets: collections.abc.Iterable[global___TuningRequest.WeightedDataset] | None = ...,
|
|
886
|
+
validation_datasets: collections.abc.Iterable[global___TuningRequest.WeightedDataset] | None = ...,
|
|
887
|
+
text_to_text_completion: global___TextToTextCompletionTuningParams | None = ...,
|
|
888
|
+
text_classification_multilabel: global___TextClassificationMultilabelParams | None = ...,
|
|
889
|
+
text_classification_multiclass: global___TextClassificationMulticlassParams | None = ...,
|
|
890
|
+
text_embedding_pair_params: global___TextEmbeddingPairParams | None = ...,
|
|
891
|
+
text_embedding_triplet_params: global___TextEmbeddingTripletParams | None = ...,
|
|
892
|
+
name: builtins.str = ...,
|
|
893
|
+
description: builtins.str = ...,
|
|
894
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
895
|
+
) -> None: ...
|
|
896
|
+
def HasField(self, field_name: typing.Literal["text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "tuning_params", b"tuning_params"]) -> builtins.bool: ...
|
|
897
|
+
def ClearField(self, field_name: typing.Literal["base_model_uri", b"base_model_uri", "description", b"description", "labels", b"labels", "name", b"name", "text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "train_datasets", b"train_datasets", "tuning_params", b"tuning_params", "validation_datasets", b"validation_datasets"]) -> None: ...
|
|
898
|
+
def WhichOneof(self, oneof_group: typing.Literal["tuning_params", b"tuning_params"]) -> typing.Literal["text_to_text_completion", "text_classification_multilabel", "text_classification_multiclass", "text_embedding_pair_params", "text_embedding_triplet_params"] | None: ...
|
|
899
|
+
|
|
900
|
+
global___CreateTuningDraftRequest = CreateTuningDraftRequest
|
|
901
|
+
|
|
902
|
+
@typing.final
|
|
903
|
+
class CreateTuningDraftResponse(google.protobuf.message.Message):
|
|
904
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
905
|
+
|
|
906
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
907
|
+
tuning_task_id: builtins.str
|
|
908
|
+
def __init__(
|
|
909
|
+
self,
|
|
910
|
+
*,
|
|
911
|
+
tuning_task_id: builtins.str = ...,
|
|
912
|
+
) -> None: ...
|
|
913
|
+
def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
|
|
914
|
+
|
|
915
|
+
global___CreateTuningDraftResponse = CreateTuningDraftResponse
|
|
916
|
+
|
|
917
|
+
@typing.final
|
|
918
|
+
class UpdateTuningDraftRequest(google.protobuf.message.Message):
|
|
919
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
920
|
+
|
|
921
|
+
@typing.final
|
|
922
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
923
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
924
|
+
|
|
925
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
926
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
927
|
+
key: builtins.str
|
|
928
|
+
value: builtins.str
|
|
929
|
+
def __init__(
|
|
930
|
+
self,
|
|
931
|
+
*,
|
|
932
|
+
key: builtins.str = ...,
|
|
933
|
+
value: builtins.str = ...,
|
|
934
|
+
) -> None: ...
|
|
935
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
936
|
+
|
|
937
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
938
|
+
BASE_MODEL_URI_FIELD_NUMBER: builtins.int
|
|
939
|
+
TRAIN_DATASETS_FIELD_NUMBER: builtins.int
|
|
940
|
+
VALIDATION_DATASETS_FIELD_NUMBER: builtins.int
|
|
941
|
+
TEXT_TO_TEXT_COMPLETION_FIELD_NUMBER: builtins.int
|
|
942
|
+
TEXT_CLASSIFICATION_MULTILABEL_FIELD_NUMBER: builtins.int
|
|
943
|
+
TEXT_CLASSIFICATION_MULTICLASS_FIELD_NUMBER: builtins.int
|
|
944
|
+
TEXT_EMBEDDING_PAIR_PARAMS_FIELD_NUMBER: builtins.int
|
|
945
|
+
TEXT_EMBEDDING_TRIPLET_PARAMS_FIELD_NUMBER: builtins.int
|
|
946
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
947
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
948
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
949
|
+
tuning_task_id: builtins.str
|
|
950
|
+
base_model_uri: builtins.str
|
|
951
|
+
name: builtins.str
|
|
952
|
+
description: builtins.str
|
|
953
|
+
@property
|
|
954
|
+
def train_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TuningRequest.WeightedDataset]: ...
|
|
955
|
+
@property
|
|
956
|
+
def validation_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TuningRequest.WeightedDataset]: ...
|
|
957
|
+
@property
|
|
958
|
+
def text_to_text_completion(self) -> global___TextToTextCompletionTuningParams: ...
|
|
959
|
+
@property
|
|
960
|
+
def text_classification_multilabel(self) -> global___TextClassificationMultilabelParams: ...
|
|
961
|
+
@property
|
|
962
|
+
def text_classification_multiclass(self) -> global___TextClassificationMulticlassParams: ...
|
|
963
|
+
@property
|
|
964
|
+
def text_embedding_pair_params(self) -> global___TextEmbeddingPairParams: ...
|
|
965
|
+
@property
|
|
966
|
+
def text_embedding_triplet_params(self) -> global___TextEmbeddingTripletParams: ...
|
|
967
|
+
@property
|
|
968
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
969
|
+
def __init__(
|
|
970
|
+
self,
|
|
971
|
+
*,
|
|
972
|
+
tuning_task_id: builtins.str = ...,
|
|
973
|
+
base_model_uri: builtins.str = ...,
|
|
974
|
+
train_datasets: collections.abc.Iterable[global___TuningRequest.WeightedDataset] | None = ...,
|
|
975
|
+
validation_datasets: collections.abc.Iterable[global___TuningRequest.WeightedDataset] | None = ...,
|
|
976
|
+
text_to_text_completion: global___TextToTextCompletionTuningParams | None = ...,
|
|
977
|
+
text_classification_multilabel: global___TextClassificationMultilabelParams | None = ...,
|
|
978
|
+
text_classification_multiclass: global___TextClassificationMulticlassParams | None = ...,
|
|
979
|
+
text_embedding_pair_params: global___TextEmbeddingPairParams | None = ...,
|
|
980
|
+
text_embedding_triplet_params: global___TextEmbeddingTripletParams | None = ...,
|
|
981
|
+
name: builtins.str = ...,
|
|
982
|
+
description: builtins.str = ...,
|
|
983
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
984
|
+
) -> None: ...
|
|
985
|
+
def HasField(self, field_name: typing.Literal["text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "tuning_params", b"tuning_params"]) -> builtins.bool: ...
|
|
986
|
+
def ClearField(self, field_name: typing.Literal["base_model_uri", b"base_model_uri", "description", b"description", "labels", b"labels", "name", b"name", "text_classification_multiclass", b"text_classification_multiclass", "text_classification_multilabel", b"text_classification_multilabel", "text_embedding_pair_params", b"text_embedding_pair_params", "text_embedding_triplet_params", b"text_embedding_triplet_params", "text_to_text_completion", b"text_to_text_completion", "train_datasets", b"train_datasets", "tuning_params", b"tuning_params", "tuning_task_id", b"tuning_task_id", "validation_datasets", b"validation_datasets"]) -> None: ...
|
|
987
|
+
def WhichOneof(self, oneof_group: typing.Literal["tuning_params", b"tuning_params"]) -> typing.Literal["text_to_text_completion", "text_classification_multilabel", "text_classification_multiclass", "text_embedding_pair_params", "text_embedding_triplet_params"] | None: ...
|
|
988
|
+
|
|
989
|
+
global___UpdateTuningDraftRequest = UpdateTuningDraftRequest
|
|
990
|
+
|
|
991
|
+
@typing.final
|
|
992
|
+
class UpdateTuningDraftResponse(google.protobuf.message.Message):
|
|
993
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
994
|
+
|
|
995
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
996
|
+
tuning_task_id: builtins.str
|
|
997
|
+
def __init__(
|
|
998
|
+
self,
|
|
999
|
+
*,
|
|
1000
|
+
tuning_task_id: builtins.str = ...,
|
|
1001
|
+
) -> None: ...
|
|
1002
|
+
def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
|
|
1003
|
+
|
|
1004
|
+
global___UpdateTuningDraftResponse = UpdateTuningDraftResponse
|
|
1005
|
+
|
|
1006
|
+
@typing.final
|
|
1007
|
+
class DeleteTuningDraftRequest(google.protobuf.message.Message):
|
|
1008
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1009
|
+
|
|
1010
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
1011
|
+
tuning_task_id: builtins.str
|
|
1012
|
+
def __init__(
|
|
1013
|
+
self,
|
|
1014
|
+
*,
|
|
1015
|
+
tuning_task_id: builtins.str = ...,
|
|
1016
|
+
) -> None: ...
|
|
1017
|
+
def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
|
|
1018
|
+
|
|
1019
|
+
global___DeleteTuningDraftRequest = DeleteTuningDraftRequest
|
|
1020
|
+
|
|
1021
|
+
@typing.final
|
|
1022
|
+
class DeleteTuningDraftResponse(google.protobuf.message.Message):
|
|
1023
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1024
|
+
|
|
1025
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
1026
|
+
tuning_task_id: builtins.str
|
|
1027
|
+
def __init__(
|
|
1028
|
+
self,
|
|
1029
|
+
*,
|
|
1030
|
+
tuning_task_id: builtins.str = ...,
|
|
1031
|
+
) -> None: ...
|
|
1032
|
+
def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
|
|
1033
|
+
|
|
1034
|
+
global___DeleteTuningDraftResponse = DeleteTuningDraftResponse
|
|
1035
|
+
|
|
1036
|
+
@typing.final
|
|
1037
|
+
class TuneDraftRequest(google.protobuf.message.Message):
|
|
1038
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1039
|
+
|
|
1040
|
+
TUNING_TASK_ID_FIELD_NUMBER: builtins.int
|
|
1041
|
+
tuning_task_id: builtins.str
|
|
1042
|
+
def __init__(
|
|
1043
|
+
self,
|
|
1044
|
+
*,
|
|
1045
|
+
tuning_task_id: builtins.str = ...,
|
|
1046
|
+
) -> None: ...
|
|
1047
|
+
def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
|
|
1048
|
+
|
|
1049
|
+
global___TuneDraftRequest = TuneDraftRequest
|
|
@@ -70,6 +70,26 @@ class TuningServiceStub(object):
|
|
|
70
70
|
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsRequest.SerializeToString,
|
|
71
71
|
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsResponse.FromString,
|
|
72
72
|
_registered_method=True)
|
|
73
|
+
self.CreateDraft = channel.unary_unary(
|
|
74
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/CreateDraft',
|
|
75
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftRequest.SerializeToString,
|
|
76
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftResponse.FromString,
|
|
77
|
+
_registered_method=True)
|
|
78
|
+
self.UpdateDraft = channel.unary_unary(
|
|
79
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/UpdateDraft',
|
|
80
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftRequest.SerializeToString,
|
|
81
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftResponse.FromString,
|
|
82
|
+
_registered_method=True)
|
|
83
|
+
self.DeleteDraft = channel.unary_unary(
|
|
84
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/DeleteDraft',
|
|
85
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftRequest.SerializeToString,
|
|
86
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftResponse.FromString,
|
|
87
|
+
_registered_method=True)
|
|
88
|
+
self.TuneDraft = channel.unary_unary(
|
|
89
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/TuneDraft',
|
|
90
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.TuneDraftRequest.SerializeToString,
|
|
91
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
92
|
+
_registered_method=True)
|
|
73
93
|
|
|
74
94
|
|
|
75
95
|
class TuningServiceServicer(object):
|
|
@@ -117,6 +137,30 @@ class TuningServiceServicer(object):
|
|
|
117
137
|
context.set_details('Method not implemented!')
|
|
118
138
|
raise NotImplementedError('Method not implemented!')
|
|
119
139
|
|
|
140
|
+
def CreateDraft(self, request, context):
|
|
141
|
+
"""Missing associated documentation comment in .proto file."""
|
|
142
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
143
|
+
context.set_details('Method not implemented!')
|
|
144
|
+
raise NotImplementedError('Method not implemented!')
|
|
145
|
+
|
|
146
|
+
def UpdateDraft(self, request, context):
|
|
147
|
+
"""Missing associated documentation comment in .proto file."""
|
|
148
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
149
|
+
context.set_details('Method not implemented!')
|
|
150
|
+
raise NotImplementedError('Method not implemented!')
|
|
151
|
+
|
|
152
|
+
def DeleteDraft(self, request, context):
|
|
153
|
+
"""Missing associated documentation comment in .proto file."""
|
|
154
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
155
|
+
context.set_details('Method not implemented!')
|
|
156
|
+
raise NotImplementedError('Method not implemented!')
|
|
157
|
+
|
|
158
|
+
def TuneDraft(self, request, context):
|
|
159
|
+
"""Missing associated documentation comment in .proto file."""
|
|
160
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
161
|
+
context.set_details('Method not implemented!')
|
|
162
|
+
raise NotImplementedError('Method not implemented!')
|
|
163
|
+
|
|
120
164
|
|
|
121
165
|
def add_TuningServiceServicer_to_server(servicer, server):
|
|
122
166
|
rpc_method_handlers = {
|
|
@@ -155,6 +199,26 @@ def add_TuningServiceServicer_to_server(servicer, server):
|
|
|
155
199
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsRequest.FromString,
|
|
156
200
|
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsResponse.SerializeToString,
|
|
157
201
|
),
|
|
202
|
+
'CreateDraft': grpc.unary_unary_rpc_method_handler(
|
|
203
|
+
servicer.CreateDraft,
|
|
204
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftRequest.FromString,
|
|
205
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftResponse.SerializeToString,
|
|
206
|
+
),
|
|
207
|
+
'UpdateDraft': grpc.unary_unary_rpc_method_handler(
|
|
208
|
+
servicer.UpdateDraft,
|
|
209
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftRequest.FromString,
|
|
210
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftResponse.SerializeToString,
|
|
211
|
+
),
|
|
212
|
+
'DeleteDraft': grpc.unary_unary_rpc_method_handler(
|
|
213
|
+
servicer.DeleteDraft,
|
|
214
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftRequest.FromString,
|
|
215
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftResponse.SerializeToString,
|
|
216
|
+
),
|
|
217
|
+
'TuneDraft': grpc.unary_unary_rpc_method_handler(
|
|
218
|
+
servicer.TuneDraft,
|
|
219
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.TuneDraftRequest.FromString,
|
|
220
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
221
|
+
),
|
|
158
222
|
}
|
|
159
223
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
160
224
|
'yandex.cloud.ai.tuning.v1.TuningService', rpc_method_handlers)
|
|
@@ -354,3 +418,111 @@ class TuningService(object):
|
|
|
354
418
|
timeout,
|
|
355
419
|
metadata,
|
|
356
420
|
_registered_method=True)
|
|
421
|
+
|
|
422
|
+
@staticmethod
|
|
423
|
+
def CreateDraft(request,
|
|
424
|
+
target,
|
|
425
|
+
options=(),
|
|
426
|
+
channel_credentials=None,
|
|
427
|
+
call_credentials=None,
|
|
428
|
+
insecure=False,
|
|
429
|
+
compression=None,
|
|
430
|
+
wait_for_ready=None,
|
|
431
|
+
timeout=None,
|
|
432
|
+
metadata=None):
|
|
433
|
+
return grpc.experimental.unary_unary(
|
|
434
|
+
request,
|
|
435
|
+
target,
|
|
436
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/CreateDraft',
|
|
437
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftRequest.SerializeToString,
|
|
438
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.CreateTuningDraftResponse.FromString,
|
|
439
|
+
options,
|
|
440
|
+
channel_credentials,
|
|
441
|
+
insecure,
|
|
442
|
+
call_credentials,
|
|
443
|
+
compression,
|
|
444
|
+
wait_for_ready,
|
|
445
|
+
timeout,
|
|
446
|
+
metadata,
|
|
447
|
+
_registered_method=True)
|
|
448
|
+
|
|
449
|
+
@staticmethod
|
|
450
|
+
def UpdateDraft(request,
|
|
451
|
+
target,
|
|
452
|
+
options=(),
|
|
453
|
+
channel_credentials=None,
|
|
454
|
+
call_credentials=None,
|
|
455
|
+
insecure=False,
|
|
456
|
+
compression=None,
|
|
457
|
+
wait_for_ready=None,
|
|
458
|
+
timeout=None,
|
|
459
|
+
metadata=None):
|
|
460
|
+
return grpc.experimental.unary_unary(
|
|
461
|
+
request,
|
|
462
|
+
target,
|
|
463
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/UpdateDraft',
|
|
464
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftRequest.SerializeToString,
|
|
465
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.UpdateTuningDraftResponse.FromString,
|
|
466
|
+
options,
|
|
467
|
+
channel_credentials,
|
|
468
|
+
insecure,
|
|
469
|
+
call_credentials,
|
|
470
|
+
compression,
|
|
471
|
+
wait_for_ready,
|
|
472
|
+
timeout,
|
|
473
|
+
metadata,
|
|
474
|
+
_registered_method=True)
|
|
475
|
+
|
|
476
|
+
@staticmethod
|
|
477
|
+
def DeleteDraft(request,
|
|
478
|
+
target,
|
|
479
|
+
options=(),
|
|
480
|
+
channel_credentials=None,
|
|
481
|
+
call_credentials=None,
|
|
482
|
+
insecure=False,
|
|
483
|
+
compression=None,
|
|
484
|
+
wait_for_ready=None,
|
|
485
|
+
timeout=None,
|
|
486
|
+
metadata=None):
|
|
487
|
+
return grpc.experimental.unary_unary(
|
|
488
|
+
request,
|
|
489
|
+
target,
|
|
490
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/DeleteDraft',
|
|
491
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftRequest.SerializeToString,
|
|
492
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.DeleteTuningDraftResponse.FromString,
|
|
493
|
+
options,
|
|
494
|
+
channel_credentials,
|
|
495
|
+
insecure,
|
|
496
|
+
call_credentials,
|
|
497
|
+
compression,
|
|
498
|
+
wait_for_ready,
|
|
499
|
+
timeout,
|
|
500
|
+
metadata,
|
|
501
|
+
_registered_method=True)
|
|
502
|
+
|
|
503
|
+
@staticmethod
|
|
504
|
+
def TuneDraft(request,
|
|
505
|
+
target,
|
|
506
|
+
options=(),
|
|
507
|
+
channel_credentials=None,
|
|
508
|
+
call_credentials=None,
|
|
509
|
+
insecure=False,
|
|
510
|
+
compression=None,
|
|
511
|
+
wait_for_ready=None,
|
|
512
|
+
timeout=None,
|
|
513
|
+
metadata=None):
|
|
514
|
+
return grpc.experimental.unary_unary(
|
|
515
|
+
request,
|
|
516
|
+
target,
|
|
517
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/TuneDraft',
|
|
518
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.TuneDraftRequest.SerializeToString,
|
|
519
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
520
|
+
options,
|
|
521
|
+
channel_credentials,
|
|
522
|
+
insecure,
|
|
523
|
+
call_credentials,
|
|
524
|
+
compression,
|
|
525
|
+
wait_for_ready,
|
|
526
|
+
timeout,
|
|
527
|
+
metadata,
|
|
528
|
+
_registered_method=True)
|
|
@@ -55,6 +55,26 @@ class TuningServiceStub:
|
|
|
55
55
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse,
|
|
56
56
|
]
|
|
57
57
|
|
|
58
|
+
CreateDraft: grpc.UnaryUnaryMultiCallable[
|
|
59
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftRequest,
|
|
60
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftResponse,
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
UpdateDraft: grpc.UnaryUnaryMultiCallable[
|
|
64
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftRequest,
|
|
65
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftResponse,
|
|
66
|
+
]
|
|
67
|
+
|
|
68
|
+
DeleteDraft: grpc.UnaryUnaryMultiCallable[
|
|
69
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftRequest,
|
|
70
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftResponse,
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
TuneDraft: grpc.UnaryUnaryMultiCallable[
|
|
74
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.TuneDraftRequest,
|
|
75
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
76
|
+
]
|
|
77
|
+
|
|
58
78
|
class TuningServiceAsyncStub:
|
|
59
79
|
Tune: grpc.aio.UnaryUnaryMultiCallable[
|
|
60
80
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.TuningRequest,
|
|
@@ -91,6 +111,26 @@ class TuningServiceAsyncStub:
|
|
|
91
111
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse,
|
|
92
112
|
]
|
|
93
113
|
|
|
114
|
+
CreateDraft: grpc.aio.UnaryUnaryMultiCallable[
|
|
115
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftRequest,
|
|
116
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftResponse,
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
UpdateDraft: grpc.aio.UnaryUnaryMultiCallable[
|
|
120
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftRequest,
|
|
121
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftResponse,
|
|
122
|
+
]
|
|
123
|
+
|
|
124
|
+
DeleteDraft: grpc.aio.UnaryUnaryMultiCallable[
|
|
125
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftRequest,
|
|
126
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftResponse,
|
|
127
|
+
]
|
|
128
|
+
|
|
129
|
+
TuneDraft: grpc.aio.UnaryUnaryMultiCallable[
|
|
130
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.TuneDraftRequest,
|
|
131
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
132
|
+
]
|
|
133
|
+
|
|
94
134
|
class TuningServiceServicer(metaclass=abc.ABCMeta):
|
|
95
135
|
@abc.abstractmethod
|
|
96
136
|
def Tune(
|
|
@@ -141,4 +181,32 @@ class TuningServiceServicer(metaclass=abc.ABCMeta):
|
|
|
141
181
|
context: _ServicerContext,
|
|
142
182
|
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse]]: ...
|
|
143
183
|
|
|
184
|
+
@abc.abstractmethod
|
|
185
|
+
def CreateDraft(
|
|
186
|
+
self,
|
|
187
|
+
request: yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftRequest,
|
|
188
|
+
context: _ServicerContext,
|
|
189
|
+
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.CreateTuningDraftResponse]]: ...
|
|
190
|
+
|
|
191
|
+
@abc.abstractmethod
|
|
192
|
+
def UpdateDraft(
|
|
193
|
+
self,
|
|
194
|
+
request: yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftRequest,
|
|
195
|
+
context: _ServicerContext,
|
|
196
|
+
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.UpdateTuningDraftResponse]]: ...
|
|
197
|
+
|
|
198
|
+
@abc.abstractmethod
|
|
199
|
+
def DeleteDraft(
|
|
200
|
+
self,
|
|
201
|
+
request: yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftRequest,
|
|
202
|
+
context: _ServicerContext,
|
|
203
|
+
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.DeleteTuningDraftResponse]]: ...
|
|
204
|
+
|
|
205
|
+
@abc.abstractmethod
|
|
206
|
+
def TuneDraft(
|
|
207
|
+
self,
|
|
208
|
+
request: yandex.cloud.ai.tuning.v1.tuning_service_pb2.TuneDraftRequest,
|
|
209
|
+
context: _ServicerContext,
|
|
210
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]: ...
|
|
211
|
+
|
|
144
212
|
def add_TuningServiceServicer_to_server(servicer: TuningServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x96\x05\n\nTuningTask\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10source_model_uri\x18\n \x01(\t\x12\x18\n\x10target_model_uri\x18\x0b \x01(\t\x12)\n\x04name\x18\x0c \x01(\tB\x1b\xf2\xc7\x31\x17^[A-Za-z0-9 _-]{3,100}$\x12\x13\n\x0b\x64\x65scription\x18\r \x01(\t\x12\x41\n\x06labels\x18\x0e \x03(\x0b\x32\x31.yandex.cloud.ai.tuning.v1.TuningTask.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x7f\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\r\n\tCOMPLETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06\x12\t\n\x05\x44RAFT\x10\x07J\x04\x08\x02\x10\x03\x42\x63\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -39,9 +39,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
39
39
|
_globals['_TUNINGTASK'].fields_by_name['name']._loaded_options = None
|
|
40
40
|
_globals['_TUNINGTASK'].fields_by_name['name']._serialized_options = b'\362\3071\027^[A-Za-z0-9 _-]{3,100}$'
|
|
41
41
|
_globals['_TUNINGTASK']._serialized_start=139
|
|
42
|
-
_globals['_TUNINGTASK']._serialized_end=
|
|
42
|
+
_globals['_TUNINGTASK']._serialized_end=801
|
|
43
43
|
_globals['_TUNINGTASK_LABELSENTRY']._serialized_start=621
|
|
44
44
|
_globals['_TUNINGTASK_LABELSENTRY']._serialized_end=666
|
|
45
45
|
_globals['_TUNINGTASK_STATUS']._serialized_start=668
|
|
46
|
-
_globals['_TUNINGTASK_STATUS']._serialized_end=
|
|
46
|
+
_globals['_TUNINGTASK_STATUS']._serialized_end=795
|
|
47
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,6 +37,7 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
37
37
|
COMPLETED: TuningTask._Status.ValueType # 4
|
|
38
38
|
FAILED: TuningTask._Status.ValueType # 5
|
|
39
39
|
CANCELED: TuningTask._Status.ValueType # 6
|
|
40
|
+
DRAFT: TuningTask._Status.ValueType # 7
|
|
40
41
|
|
|
41
42
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
42
43
|
STATUS_UNSPECIFIED: TuningTask.Status.ValueType # 0
|
|
@@ -46,6 +47,7 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
46
47
|
COMPLETED: TuningTask.Status.ValueType # 4
|
|
47
48
|
FAILED: TuningTask.Status.ValueType # 5
|
|
48
49
|
CANCELED: TuningTask.Status.ValueType # 6
|
|
50
|
+
DRAFT: TuningTask.Status.ValueType # 7
|
|
49
51
|
|
|
50
52
|
@typing.final
|
|
51
53
|
class LabelsEntry(google.protobuf.message.Message):
|