yandexcloud 0.330.0__py3-none-any.whl → 0.332.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.
Files changed (133) hide show
  1. yandex/cloud/ai/assistants/v1/common_pb2.py +28 -9
  2. yandex/cloud/ai/assistants/v1/common_pb2.pyi +231 -12
  3. yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
  4. yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +20 -4
  5. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +26 -22
  6. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +50 -4
  7. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +46 -0
  8. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +29 -0
  9. yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +13 -0
  10. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +7 -7
  11. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +9 -2
  12. yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +6 -5
  13. yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +8 -1
  14. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +22 -21
  15. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +15 -2
  16. yandex/cloud/ai/dataset/v1/dataset_pb2.py +12 -10
  17. yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +23 -1
  18. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +62 -48
  19. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +89 -1
  20. yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +87 -0
  21. yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +37 -0
  22. yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +34 -28
  23. yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +73 -3
  24. yandex/cloud/ai/translate/v2/translation_pb2.pyi +2 -2
  25. yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +14 -13
  26. yandex/cloud/ai/tuning/v1/tuning_error_pb2.py +39 -0
  27. yandex/cloud/ai/tuning/v1/tuning_error_pb2.pyi +54 -0
  28. yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.py +24 -0
  29. yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.pyi +17 -0
  30. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +56 -51
  31. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +33 -2
  32. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
  33. yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
  34. yandex/cloud/ai/tuning/v1/tuning_types_pb2.pyi +1 -0
  35. yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +1 -1
  36. yandex/cloud/audittrails/v1/trail_pb2.py +17 -15
  37. yandex/cloud/audittrails/v1/trail_pb2.pyi +25 -2
  38. yandex/cloud/backup/v1/policy_pb2.py +27 -27
  39. yandex/cloud/backup/v1/policy_pb2.pyi +8 -2
  40. yandex/cloud/billing/v1/customer_service_pb2.pyi +2 -2
  41. yandex/cloud/compute/v1/disk_placement_group_service_pb2.py +28 -28
  42. yandex/cloud/compute/v1/disk_service_pb2.py +36 -36
  43. yandex/cloud/compute/v1/filesystem_service_pb2.py +24 -24
  44. yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +1 -1
  45. yandex/cloud/compute/v1/host_group_service_pb2.py +36 -36
  46. yandex/cloud/compute/v1/image_service_pb2.py +24 -24
  47. yandex/cloud/compute/v1/image_service_pb2.pyi +2 -1
  48. yandex/cloud/compute/v1/instance_service_pb2.py +130 -130
  49. yandex/cloud/compute/v1/snapshot_service_pb2.py +24 -24
  50. yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +9 -7
  51. yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +19 -0
  52. yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.py +8 -8
  53. yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +7 -3
  54. yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.py +6 -6
  55. yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +11 -4
  56. yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +33 -3
  57. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +21 -8
  58. yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +41 -5
  59. yandex/cloud/datatransfer/v1/transfer_pb2.py +48 -46
  60. yandex/cloud/datatransfer/v1/transfer_pb2.pyi +22 -2
  61. yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
  62. yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +53 -7
  63. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +20 -7
  64. yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +55 -7
  65. yandex/cloud/endpoint/api_endpoint_service_pb2.py +10 -6
  66. yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +1 -1
  67. yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +3 -3
  68. yandex/cloud/loadtesting/api/v1/config_service_pb2.py +2 -2
  69. yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.py +3 -3
  70. yandex/cloud/loadtesting/api/v1/report_service_pb2.py +2 -2
  71. yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +1 -1
  72. yandex/cloud/loadtesting/api/v1/test_service_pb2.py +2 -2
  73. yandex/cloud/lockbox/v1/payload_service_pb2.py +6 -6
  74. yandex/cloud/lockbox/v1/payload_service_pb2.pyi +4 -1
  75. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +72 -68
  76. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +33 -2
  77. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +36 -34
  78. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +34 -4
  79. yandex/cloud/mdb/clickhouse/v1/user_service_pb2.py +30 -29
  80. yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +9 -2
  81. yandex/cloud/mdb/greenplum/v1/config_pb2.py +24 -24
  82. yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +20 -2
  83. yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.py +51 -0
  84. yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.pyi +62 -0
  85. yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.py +24 -0
  86. yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.pyi +17 -0
  87. yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.py +99 -0
  88. yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.pyi +187 -0
  89. yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.py +276 -0
  90. yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.pyi +126 -0
  91. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +0 -1
  92. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +3 -9
  93. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
  94. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
  95. yandex/cloud/mdb/mysql/v1/user_pb2.py +16 -14
  96. yandex/cloud/mdb/mysql/v1/user_pb2.pyi +32 -4
  97. yandex/cloud/mdb/mysql/v1/user_service_pb2.py +30 -29
  98. yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +9 -2
  99. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +0 -1
  100. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +3 -9
  101. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
  102. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
  103. yandex/cloud/mdb/postgresql/v1/user_pb2.py +24 -22
  104. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +32 -4
  105. yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +18 -18
  106. yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +8 -2
  107. yandex/cloud/mdb/redis/v1/user_pb2.py +47 -0
  108. yandex/cloud/mdb/redis/v1/user_pb2.pyi +131 -0
  109. yandex/cloud/mdb/redis/v1/user_pb2_grpc.py +24 -0
  110. yandex/cloud/mdb/redis/v1/user_pb2_grpc.pyi +17 -0
  111. yandex/cloud/mdb/redis/v1/user_service_pb2.py +93 -0
  112. yandex/cloud/mdb/redis/v1/user_service_pb2.pyi +250 -0
  113. yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.py +281 -0
  114. yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.pyi +141 -0
  115. yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.py +1 -1
  116. yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.pyi +3 -3
  117. yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.py +1 -1
  118. yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.pyi +3 -3
  119. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +20 -18
  120. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +1 -1
  121. yandex/cloud/video/v1/episode_service_pb2.py +35 -21
  122. yandex/cloud/video/v1/episode_service_pb2.pyi +42 -0
  123. yandex/cloud/video/v1/episode_service_pb2_grpc.py +44 -0
  124. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
  125. yandex/cloud/video/v1/video_service_pb2.py +64 -63
  126. yandex/cloud/video/v1/video_service_pb2.pyi +9 -2
  127. yandexcloud/__init__.py +1 -1
  128. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/METADATA +2 -2
  129. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/RECORD +133 -113
  130. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/WHEEL +1 -1
  131. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/AUTHORS +0 -0
  132. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/LICENSE +0 -0
  133. {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/top_level.txt +0 -0
@@ -30,6 +30,7 @@ class CompletionOptions(google.protobuf.message.Message):
30
30
  STREAM_FIELD_NUMBER: builtins.int
31
31
  TEMPERATURE_FIELD_NUMBER: builtins.int
32
32
  MAX_TOKENS_FIELD_NUMBER: builtins.int
33
+ REASONING_OPTIONS_FIELD_NUMBER: builtins.int
33
34
  stream: builtins.bool
34
35
  """Enables streaming of partially generated text."""
35
36
  @property
@@ -45,18 +46,64 @@ class CompletionOptions(google.protobuf.message.Message):
45
46
  Must be greater than zero. This maximum allowed parameter value may depend on the model being used.
46
47
  """
47
48
 
49
+ @property
50
+ def reasoning_options(self) -> global___ReasoningOptions:
51
+ """Configures reasoning capabilities for the model, allowing it to perform internal reasoning before responding."""
52
+
48
53
  def __init__(
49
54
  self,
50
55
  *,
51
56
  stream: builtins.bool = ...,
52
57
  temperature: google.protobuf.wrappers_pb2.DoubleValue | None = ...,
53
58
  max_tokens: google.protobuf.wrappers_pb2.Int64Value | None = ...,
59
+ reasoning_options: global___ReasoningOptions | None = ...,
54
60
  ) -> None: ...
55
- def HasField(self, field_name: typing.Literal["max_tokens", b"max_tokens", "temperature", b"temperature"]) -> builtins.bool: ...
56
- def ClearField(self, field_name: typing.Literal["max_tokens", b"max_tokens", "stream", b"stream", "temperature", b"temperature"]) -> None: ...
61
+ def HasField(self, field_name: typing.Literal["max_tokens", b"max_tokens", "reasoning_options", b"reasoning_options", "temperature", b"temperature"]) -> builtins.bool: ...
62
+ def ClearField(self, field_name: typing.Literal["max_tokens", b"max_tokens", "reasoning_options", b"reasoning_options", "stream", b"stream", "temperature", b"temperature"]) -> None: ...
57
63
 
58
64
  global___CompletionOptions = CompletionOptions
59
65
 
66
+ @typing.final
67
+ class ReasoningOptions(google.protobuf.message.Message):
68
+ """Represents reasoning options that enable the model's ability to perform internal reasoning before generating a response."""
69
+
70
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
71
+
72
+ class _ReasoningMode:
73
+ ValueType = typing.NewType("ValueType", builtins.int)
74
+ V: typing_extensions.TypeAlias = ValueType
75
+
76
+ class _ReasoningModeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ReasoningOptions._ReasoningMode.ValueType], builtins.type):
77
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
78
+ REASONING_MODE_UNSPECIFIED: ReasoningOptions._ReasoningMode.ValueType # 0
79
+ """Unspecified reasoning mode."""
80
+ DISABLED: ReasoningOptions._ReasoningMode.ValueType # 1
81
+ """Disables reasoning. The model will generate a response without performing any internal reasoning."""
82
+ ENABLED_HIDDEN: ReasoningOptions._ReasoningMode.ValueType # 2
83
+ """Enables reasoning in a hidden manner without exposing the reasoning steps to the user."""
84
+
85
+ class ReasoningMode(_ReasoningMode, metaclass=_ReasoningModeEnumTypeWrapper):
86
+ """Enum representing the reasoning mode."""
87
+
88
+ REASONING_MODE_UNSPECIFIED: ReasoningOptions.ReasoningMode.ValueType # 0
89
+ """Unspecified reasoning mode."""
90
+ DISABLED: ReasoningOptions.ReasoningMode.ValueType # 1
91
+ """Disables reasoning. The model will generate a response without performing any internal reasoning."""
92
+ ENABLED_HIDDEN: ReasoningOptions.ReasoningMode.ValueType # 2
93
+ """Enables reasoning in a hidden manner without exposing the reasoning steps to the user."""
94
+
95
+ MODE_FIELD_NUMBER: builtins.int
96
+ mode: global___ReasoningOptions.ReasoningMode.ValueType
97
+ """Specifies the reasoning mode to be used."""
98
+ def __init__(
99
+ self,
100
+ *,
101
+ mode: global___ReasoningOptions.ReasoningMode.ValueType = ...,
102
+ ) -> None: ...
103
+ def ClearField(self, field_name: typing.Literal["mode", b"mode"]) -> None: ...
104
+
105
+ global___ReasoningOptions = ReasoningOptions
106
+
60
107
  @typing.final
61
108
  class Message(google.protobuf.message.Message):
62
109
  """A message object representing a wrapper over the inputs and outputs of the completion model."""
@@ -103,23 +150,46 @@ class ContentUsage(google.protobuf.message.Message):
103
150
 
104
151
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
105
152
 
153
+ @typing.final
154
+ class CompletionTokensDetails(google.protobuf.message.Message):
155
+ """Provides additional information about how the completion tokens were utilized."""
156
+
157
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
158
+
159
+ REASONING_TOKENS_FIELD_NUMBER: builtins.int
160
+ reasoning_tokens: builtins.int
161
+ """The number of tokens used specifically for internal reasoning performed by the model."""
162
+ def __init__(
163
+ self,
164
+ *,
165
+ reasoning_tokens: builtins.int = ...,
166
+ ) -> None: ...
167
+ def ClearField(self, field_name: typing.Literal["reasoning_tokens", b"reasoning_tokens"]) -> None: ...
168
+
106
169
  INPUT_TEXT_TOKENS_FIELD_NUMBER: builtins.int
107
170
  COMPLETION_TOKENS_FIELD_NUMBER: builtins.int
108
171
  TOTAL_TOKENS_FIELD_NUMBER: builtins.int
172
+ COMPLETION_TOKENS_DETAILS_FIELD_NUMBER: builtins.int
109
173
  input_text_tokens: builtins.int
110
174
  """The number of tokens in the textual part of the model input."""
111
175
  completion_tokens: builtins.int
112
176
  """The number of tokens in the generated completion."""
113
177
  total_tokens: builtins.int
114
178
  """The total number of tokens, including all input tokens and all generated tokens."""
179
+ @property
180
+ def completion_tokens_details(self) -> global___ContentUsage.CompletionTokensDetails:
181
+ """Provides additional information about how the completion tokens were utilized."""
182
+
115
183
  def __init__(
116
184
  self,
117
185
  *,
118
186
  input_text_tokens: builtins.int = ...,
119
187
  completion_tokens: builtins.int = ...,
120
188
  total_tokens: builtins.int = ...,
189
+ completion_tokens_details: global___ContentUsage.CompletionTokensDetails | None = ...,
121
190
  ) -> None: ...
122
- def ClearField(self, field_name: typing.Literal["completion_tokens", b"completion_tokens", "input_text_tokens", b"input_text_tokens", "total_tokens", b"total_tokens"]) -> None: ...
191
+ def HasField(self, field_name: typing.Literal["completion_tokens_details", b"completion_tokens_details"]) -> builtins.bool: ...
192
+ def ClearField(self, field_name: typing.Literal["completion_tokens", b"completion_tokens", "completion_tokens_details", b"completion_tokens_details", "input_text_tokens", b"input_text_tokens", "total_tokens", b"total_tokens"]) -> None: ...
123
193
 
124
194
  global___ContentUsage = ContentUsage
125
195
 
@@ -20,7 +20,7 @@ class TranslatedText(google.protobuf.message.Message):
20
20
  """Translated text."""
21
21
  detected_language_code: builtins.str
22
22
  """The language code of the source text.
23
- Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` en ``).
23
+ Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
24
24
  """
25
25
  def __init__(
26
26
  self,
@@ -40,7 +40,7 @@ class Language(google.protobuf.message.Message):
40
40
  NAME_FIELD_NUMBER: builtins.int
41
41
  code: builtins.str
42
42
  """The language code.
43
- Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` en ``).
43
+ Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
44
44
  """
45
45
  name: builtins.str
46
46
  """The name of the language (for example, `` English ``)."""
@@ -53,25 +53,25 @@ class TranslateRequest(google.protobuf.message.Message):
53
53
  SPELLER_FIELD_NUMBER: builtins.int
54
54
  source_language_code: builtins.str
55
55
  """The text language to translate from.
56
- Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``).
56
+ Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
57
57
 
58
- Required for translating with glossary.
58
+ Required for translating with [glossary](/docs/translate/concepts/glossary).
59
59
  """
60
60
  target_language_code: builtins.str
61
61
  """The target language to translate the text.
62
- Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` en ``).
62
+ Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
63
63
  """
64
64
  format: global___TranslateRequest.Format.ValueType
65
- """Format of the text."""
65
+ """Format of the text to be translated."""
66
66
  folder_id: builtins.str
67
67
  """ID of the folder to which you have access.
68
- Required for authorization with a user account (see [yandex.cloud.iam.v1.UserAccount] resource).
69
- Don't specify this field if you make the request on behalf of a service account.
68
+ Required for authorization with a [user account](/docs/iam/concepts/users/accounts).
69
+ Do not specify this field if you make the request on behalf of a [service account](/docs/iam/concepts/users/accounts#sa).
70
70
  """
71
71
  model: builtins.str
72
- """Do not specify this field, custom models are not supported yet."""
72
+ """Model ID if you use custom model."""
73
73
  speller: builtins.bool
74
- """use speller"""
74
+ """Enable spell checking."""
75
75
  @property
76
76
  def texts(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
77
77
  """Array of the strings to translate.
@@ -106,7 +106,7 @@ class TranslateGlossaryConfig(google.protobuf.message.Message):
106
106
  GLOSSARY_DATA_FIELD_NUMBER: builtins.int
107
107
  @property
108
108
  def glossary_data(self) -> global___GlossaryData:
109
- """Pass glossary data in the request. Currently, only this way to pass glossary is supported."""
109
+ """Pass glossary data in the request. Currently, the only way to pass glossary."""
110
110
 
111
111
  def __init__(
112
112
  self,
@@ -153,6 +153,7 @@ class GlossaryPair(google.protobuf.message.Message):
153
153
  translated_text: builtins.str
154
154
  """Text in the target language."""
155
155
  exact: builtins.bool
156
+ """Allows to add translations for specific terms to [neuroglossaries](/docs/translate/concepts/glossary#word-forms)."""
156
157
  def __init__(
157
158
  self,
158
159
  *,
@@ -199,7 +200,7 @@ class DetectLanguageRequest(google.protobuf.message.Message):
199
200
  @property
200
201
  def language_code_hints(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
201
202
  """List of the most likely languages. These languages will be given preference when detecting the text language.
202
- Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``).
203
+ Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
203
204
 
204
205
  To get the list of supported languages, use a [TranslationService.ListLanguages] request.
205
206
  """
@@ -221,7 +222,7 @@ class DetectLanguageResponse(google.protobuf.message.Message):
221
222
 
222
223
  LANGUAGE_CODE_FIELD_NUMBER: builtins.int
223
224
  language_code: builtins.str
224
- """The text language in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``).
225
+ """Most languages are specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `` ru ``), but the field are not limited to it.
225
226
 
226
227
  To get the language name, use a [TranslationService.ListLanguages] request.
227
228
  """
@@ -241,8 +242,8 @@ class ListLanguagesRequest(google.protobuf.message.Message):
241
242
  FOLDER_ID_FIELD_NUMBER: builtins.int
242
243
  folder_id: builtins.str
243
244
  """ID of the folder to which you have access.
244
- Required for authorization with a user account (see [yandex.cloud.iam.v1.UserAccount] resource).
245
- Don't specify this field if you make the request on behalf of a service account.
245
+ Required for authorization with a [user account](/docs/iam/concepts/users/accounts).
246
+ Do not specify this field if you make the request on behalf of a [service account](/docs/iam/concepts/users/accounts#sa).
246
247
  """
247
248
  def __init__(
248
249
  self,
@@ -0,0 +1,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/ai/tuning/v1/tuning_error.proto
5
+ # Protobuf Python Version: 5.28.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 28,
16
+ 1,
17
+ '',
18
+ 'yandex/cloud/ai/tuning/v1/tuning_error.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/ai/tuning/v1/tuning_error.proto\x12\x19yandex.cloud.ai.tuning.v1\"\xa9\x01\n\x0bTuningError\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x39\n\x04type\x18\x03 \x01(\x0e\x32+.yandex.cloud.ai.tuning.v1.TuningError.Type\"6\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PUBLIC\x10\x01\x12\x0c\n\x08INTERNAL\x10\x02\x42\x63\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.tuning.v1.tuning_error_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\035yandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomo'
35
+ _globals['_TUNINGERROR']._serialized_start=76
36
+ _globals['_TUNINGERROR']._serialized_end=245
37
+ _globals['_TUNINGERROR_TYPE']._serialized_start=191
38
+ _globals['_TUNINGERROR_TYPE']._serialized_end=245
39
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,54 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import sys
11
+ import typing
12
+
13
+ if sys.version_info >= (3, 10):
14
+ import typing as typing_extensions
15
+ else:
16
+ import typing_extensions
17
+
18
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
19
+
20
+ @typing.final
21
+ class TuningError(google.protobuf.message.Message):
22
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
23
+
24
+ class _Type:
25
+ ValueType = typing.NewType("ValueType", builtins.int)
26
+ V: typing_extensions.TypeAlias = ValueType
27
+
28
+ class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TuningError._Type.ValueType], builtins.type):
29
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
30
+ TYPE_UNSPECIFIED: TuningError._Type.ValueType # 0
31
+ PUBLIC: TuningError._Type.ValueType # 1
32
+ INTERNAL: TuningError._Type.ValueType # 2
33
+
34
+ class Type(_Type, metaclass=_TypeEnumTypeWrapper): ...
35
+ TYPE_UNSPECIFIED: TuningError.Type.ValueType # 0
36
+ PUBLIC: TuningError.Type.ValueType # 1
37
+ INTERNAL: TuningError.Type.ValueType # 2
38
+
39
+ TUNING_TASK_ID_FIELD_NUMBER: builtins.int
40
+ MESSAGE_FIELD_NUMBER: builtins.int
41
+ TYPE_FIELD_NUMBER: builtins.int
42
+ tuning_task_id: builtins.str
43
+ message: builtins.str
44
+ type: global___TuningError.Type.ValueType
45
+ def __init__(
46
+ self,
47
+ *,
48
+ tuning_task_id: builtins.str = ...,
49
+ message: builtins.str = ...,
50
+ type: global___TuningError.Type.ValueType = ...,
51
+ ) -> None: ...
52
+ def ClearField(self, field_name: typing.Literal["message", b"message", "tuning_task_id", b"tuning_task_id", "type", b"type"]) -> None: ...
53
+
54
+ global___TuningError = TuningError
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.68.1'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -29,9 +29,10 @@ from yandex.cloud.ai.tuning.v1 import tuning_task_pb2 as yandex_dot_cloud_dot_ai
29
29
  from yandex.cloud.ai.tuning.v1 import tuning_types_pb2 as yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__types__pb2
30
30
  from yandex.cloud.ai.tuning.v1 import tuning_optimizers_pb2 as yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__optimizers__pb2
31
31
  from yandex.cloud.ai.tuning.v1 import tuning_schedulers_pb2 as yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__schedulers__pb2
32
+ from yandex.cloud.ai.tuning.v1 import tuning_error_pb2 as yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__error__pb2
32
33
 
33
34
 
34
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/ai/tuning/v1/tuning_service.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a+yandex/cloud/ai/tuning/v1/tuning_task.proto\x1a,yandex/cloud/ai/tuning/v1/tuning_types.proto\x1a\x31yandex/cloud/ai/tuning/v1/tuning_optimizers.proto\x1a\x31yandex/cloud/ai/tuning/v1/tuning_schedulers.proto\"\x92\x01\n\x12ListTuningsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\"k\n\x13ListTuningsResponse\x12;\n\x0ctuning_tasks\x18\x01 \x03(\x0b\x32%.yandex.cloud.ai.tuning.v1.TuningTask\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"5\n\x15\x44\x65scribeTuningRequest\x12\x1c\n\x0etuning_task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"T\n\x16\x44\x65scribeTuningResponse\x12:\n\x0btuning_task\x18\x01 \x01(\x0b\x32%.yandex.cloud.ai.tuning.v1.TuningTask\"3\n\x13\x43\x61ncelTuningRequest\x12\x1c\n\x0etuning_task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\".\n\x14\x43\x61ncelTuningResponse\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\"\x8c\x01\n\x0eTuningResponse\x12\x16\n\x0etuning_task_id\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x18\n\x10target_model_uri\x18\x05 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\x91\x01\n\x0eTuningMetadata\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x13\n\x0btotal_steps\x18\x03 \x01(\x03\x12\x14\n\x0c\x63urrent_step\x18\x04 \x01(\x03\"\x86\x06\n\rTuningRequest\x12\x1c\n\x0e\x62\x61se_model_uri\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12X\n\x0etrain_datasets\x18\x02 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDatasetB\x06\x82\xc8\x31\x02>0\x12U\n\x13validation_datasets\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12^\n\x17text_to_text_completion\x18\x64 \x01(\x0b\x32;.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParamsH\x00\x12g\n\x1etext_classification_multilabel\x18\x65 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParamsH\x00\x12g\n\x1etext_classification_multiclass\x18\x66 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParamsH\x00\x12\r\n\x04name\x18\xc8\x01 \x01(\t\x12\x14\n\x0b\x64\x65scription\x18\xc9\x01 \x01(\t\x12\x45\n\x06labels\x18\xca\x01 \x03(\x0b\x32\x34.yandex.cloud.ai.tuning.v1.TuningRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x0fWeightedDataset\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x0e\n\x06weight\x18\x02 \x01(\x01\x42\x0f\n\rtuning_paramsJ\x04\x08\x04\x10\x64J\x05\x08g\x10\xc8\x01\"\x89\x06\n TextToTextCompletionTuningParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12Y\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32\x45.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParams.Scheduler\x12Y\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32\x45.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"\x8f\x06\n\"TextClassificationMultilabelParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12[\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParams.Scheduler\x12[\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"\x8f\x06\n\"TextClassificationMulticlassParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12[\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParams.Scheduler\x12[\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"-\n\x14GetMetricsUrlRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\")\n\x15GetMetricsUrlResponse\x12\x10\n\x08load_url\x18\x01 \x01(\t\"*\n\x11GetOptionsRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xaf\x04\n\x12GetOptionsResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\x0e\x62\x61se_model_uri\x18\x02 \x01(\t\x12P\n\x0etrain_datasets\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12U\n\x13validation_datasets\x18\x04 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12^\n\x17text_to_text_completion\x18\x64 \x01(\x0b\x32;.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParamsH\x00\x12g\n\x1etext_classification_multilabel\x18\x65 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParamsH\x00\x12g\n\x1etext_classification_multiclass\x18\x66 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParamsH\x00\x42\x0f\n\rtuning_paramsJ\x04\x08\x05\x10\x64\x32\xac\x05\n\rTuningService\x12y\n\x04Tune\x12(.yandex.cloud.ai.tuning.v1.TuningRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x0eTuningMetadata\x12\x0eTuningResponse\x12\x65\n\x04List\x12-.yandex.cloud.ai.tuning.v1.ListTuningsRequest\x1a..yandex.cloud.ai.tuning.v1.ListTuningsResponse\x12o\n\x08\x44\x65scribe\x12\x30.yandex.cloud.ai.tuning.v1.DescribeTuningRequest\x1a\x31.yandex.cloud.ai.tuning.v1.DescribeTuningResponse\x12i\n\x06\x43\x61ncel\x12..yandex.cloud.ai.tuning.v1.CancelTuningRequest\x1a/.yandex.cloud.ai.tuning.v1.CancelTuningResponse\x12r\n\rGetMetricsUrl\x12/.yandex.cloud.ai.tuning.v1.GetMetricsUrlRequest\x1a\x30.yandex.cloud.ai.tuning.v1.GetMetricsUrlResponse\x12i\n\nGetOptions\x12,.yandex.cloud.ai.tuning.v1.GetOptionsRequest\x1a-.yandex.cloud.ai.tuning.v1.GetOptionsResponseBc\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/ai/tuning/v1/tuning_service.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a+yandex/cloud/ai/tuning/v1/tuning_task.proto\x1a,yandex/cloud/ai/tuning/v1/tuning_types.proto\x1a\x31yandex/cloud/ai/tuning/v1/tuning_optimizers.proto\x1a\x31yandex/cloud/ai/tuning/v1/tuning_schedulers.proto\x1a,yandex/cloud/ai/tuning/v1/tuning_error.proto\"\x92\x01\n\x12ListTuningsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\"k\n\x13ListTuningsResponse\x12;\n\x0ctuning_tasks\x18\x01 \x03(\x0b\x32%.yandex.cloud.ai.tuning.v1.TuningTask\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"5\n\x15\x44\x65scribeTuningRequest\x12\x1c\n\x0etuning_task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"T\n\x16\x44\x65scribeTuningResponse\x12:\n\x0btuning_task\x18\x01 \x01(\x0b\x32%.yandex.cloud.ai.tuning.v1.TuningTask\"3\n\x13\x43\x61ncelTuningRequest\x12\x1c\n\x0etuning_task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\".\n\x14\x43\x61ncelTuningResponse\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\"\x8c\x01\n\x0eTuningResponse\x12\x16\n\x0etuning_task_id\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x18\n\x10target_model_uri\x18\x05 \x01(\tJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\x91\x01\n\x0eTuningMetadata\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x13\n\x0btotal_steps\x18\x03 \x01(\x03\x12\x14\n\x0c\x63urrent_step\x18\x04 \x01(\x03\"\x86\x06\n\rTuningRequest\x12\x1c\n\x0e\x62\x61se_model_uri\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12X\n\x0etrain_datasets\x18\x02 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDatasetB\x06\x82\xc8\x31\x02>0\x12U\n\x13validation_datasets\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12^\n\x17text_to_text_completion\x18\x64 \x01(\x0b\x32;.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParamsH\x00\x12g\n\x1etext_classification_multilabel\x18\x65 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParamsH\x00\x12g\n\x1etext_classification_multiclass\x18\x66 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParamsH\x00\x12\r\n\x04name\x18\xc8\x01 \x01(\t\x12\x14\n\x0b\x64\x65scription\x18\xc9\x01 \x01(\t\x12\x45\n\x06labels\x18\xca\x01 \x03(\x0b\x32\x34.yandex.cloud.ai.tuning.v1.TuningRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x0fWeightedDataset\x12\x18\n\ndataset_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x0e\n\x06weight\x18\x02 \x01(\x01\x42\x0f\n\rtuning_paramsJ\x04\x08\x04\x10\x64J\x05\x08g\x10\xc8\x01\"\x89\x06\n TextToTextCompletionTuningParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12Y\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32\x45.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParams.Scheduler\x12Y\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32\x45.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"\x8f\x06\n\"TextClassificationMultilabelParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12[\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParams.Scheduler\x12[\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"\x8f\x06\n\"TextClassificationMulticlassParams\x12\x0c\n\x04seed\x18\x01 \x01(\x03\x12\n\n\x02lr\x18\x02 \x01(\x01\x12\x11\n\tn_samples\x18\x03 \x01(\x03\x12\x1c\n\x14\x61\x64\x64itional_arguments\x18\x07 \x01(\t\x12\x39\n\x04lora\x18\x64 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.TuningTypeLoraH\x00\x12\x46\n\x0bprompt_tune\x18\x65 \x01(\x0b\x32/.yandex.cloud.ai.tuning.v1.TuningTypePromptTuneH\x00\x12[\n\tscheduler\x18\xc8\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParams.Scheduler\x12[\n\toptimizer\x18\xc9\x01 \x01(\x0b\x32G.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParams.Optimizer\x1a\xed\x01\n\tScheduler\x12<\n\x06linear\x18\x01 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerLinearH\x00\x12@\n\x08\x63onstant\x18\x02 \x01(\x0b\x32,.yandex.cloud.ai.tuning.v1.SchedulerConstantH\x00\x12<\n\x06\x63osine\x18\x03 \x01(\x0b\x32*.yandex.cloud.ai.tuning.v1.SchedulerCosineH\x00\x12\x14\n\x0cwarmup_ratio\x18\x65 \x01(\x01\x42\x06\n\x04typeJ\x04\x08\x04\x10\x65\x1aO\n\tOptimizer\x12:\n\x05\x61\x64\x61mw\x18\x01 \x01(\x0b\x32).yandex.cloud.ai.tuning.v1.OptimizerAdamwH\x00\x42\x06\n\x04typeB\r\n\x0btuning_typeJ\x04\x08\x04\x10\x07J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xc8\x01\"-\n\x14GetMetricsUrlRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\")\n\x15GetMetricsUrlResponse\x12\x10\n\x08load_url\x18\x01 \x01(\t\"*\n\x11GetOptionsRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xaf\x04\n\x12GetOptionsResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x16\n\x0e\x62\x61se_model_uri\x18\x02 \x01(\t\x12P\n\x0etrain_datasets\x18\x03 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12U\n\x13validation_datasets\x18\x04 \x03(\x0b\x32\x38.yandex.cloud.ai.tuning.v1.TuningRequest.WeightedDataset\x12^\n\x17text_to_text_completion\x18\x64 \x01(\x0b\x32;.yandex.cloud.ai.tuning.v1.TextToTextCompletionTuningParamsH\x00\x12g\n\x1etext_classification_multilabel\x18\x65 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMultilabelParamsH\x00\x12g\n\x1etext_classification_multiclass\x18\x66 \x01(\x0b\x32=.yandex.cloud.ai.tuning.v1.TextClassificationMulticlassParamsH\x00\x42\x0f\n\rtuning_paramsJ\x04\x08\x05\x10\x64\"+\n\x11ListErrorsRequest\x12\x16\n\x0etuning_task_id\x18\x01 \x01(\t\"R\n\x12ListErrorsResponse\x12<\n\x0ctuning_error\x18\x01 \x03(\x0b\x32&.yandex.cloud.ai.tuning.v1.TuningError2\x97\x06\n\rTuningService\x12y\n\x04Tune\x12(.yandex.cloud.ai.tuning.v1.TuningRequest\x1a!.yandex.cloud.operation.Operation\"$\xb2\xd2* \n\x0eTuningMetadata\x12\x0eTuningResponse\x12\x65\n\x04List\x12-.yandex.cloud.ai.tuning.v1.ListTuningsRequest\x1a..yandex.cloud.ai.tuning.v1.ListTuningsResponse\x12o\n\x08\x44\x65scribe\x12\x30.yandex.cloud.ai.tuning.v1.DescribeTuningRequest\x1a\x31.yandex.cloud.ai.tuning.v1.DescribeTuningResponse\x12i\n\x06\x43\x61ncel\x12..yandex.cloud.ai.tuning.v1.CancelTuningRequest\x1a/.yandex.cloud.ai.tuning.v1.CancelTuningResponse\x12r\n\rGetMetricsUrl\x12/.yandex.cloud.ai.tuning.v1.GetMetricsUrlRequest\x1a\x30.yandex.cloud.ai.tuning.v1.GetMetricsUrlResponse\x12i\n\nGetOptions\x12,.yandex.cloud.ai.tuning.v1.GetOptionsRequest\x1a-.yandex.cloud.ai.tuning.v1.GetOptionsResponse\x12i\n\nListErrors\x12,.yandex.cloud.ai.tuning.v1.ListErrorsRequest\x1a-.yandex.cloud.ai.tuning.v1.ListErrorsResponseBc\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
35
36
 
36
37
  _globals = globals()
37
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -59,54 +60,58 @@ if not _descriptor._USE_C_DESCRIPTORS:
59
60
  _globals['_GETOPTIONSREQUEST'].fields_by_name['task_id']._serialized_options = b'\350\3071\001'
60
61
  _globals['_TUNINGSERVICE'].methods_by_name['Tune']._loaded_options = None
61
62
  _globals['_TUNINGSERVICE'].methods_by_name['Tune']._serialized_options = b'\262\322* \n\016TuningMetadata\022\016TuningResponse'
62
- _globals['_LISTTUNINGSREQUEST']._serialized_start=376
63
- _globals['_LISTTUNINGSREQUEST']._serialized_end=522
64
- _globals['_LISTTUNINGSRESPONSE']._serialized_start=524
65
- _globals['_LISTTUNINGSRESPONSE']._serialized_end=631
66
- _globals['_DESCRIBETUNINGREQUEST']._serialized_start=633
67
- _globals['_DESCRIBETUNINGREQUEST']._serialized_end=686
68
- _globals['_DESCRIBETUNINGRESPONSE']._serialized_start=688
69
- _globals['_DESCRIBETUNINGRESPONSE']._serialized_end=772
70
- _globals['_CANCELTUNINGREQUEST']._serialized_start=774
71
- _globals['_CANCELTUNINGREQUEST']._serialized_end=825
72
- _globals['_CANCELTUNINGRESPONSE']._serialized_start=827
73
- _globals['_CANCELTUNINGRESPONSE']._serialized_end=873
74
- _globals['_TUNINGRESPONSE']._serialized_start=876
75
- _globals['_TUNINGRESPONSE']._serialized_end=1016
76
- _globals['_TUNINGMETADATA']._serialized_start=1019
77
- _globals['_TUNINGMETADATA']._serialized_end=1164
78
- _globals['_TUNINGREQUEST']._serialized_start=1167
79
- _globals['_TUNINGREQUEST']._serialized_end=1941
80
- _globals['_TUNINGREQUEST_LABELSENTRY']._serialized_start=1805
81
- _globals['_TUNINGREQUEST_LABELSENTRY']._serialized_end=1850
82
- _globals['_TUNINGREQUEST_WEIGHTEDDATASET']._serialized_start=1852
83
- _globals['_TUNINGREQUEST_WEIGHTEDDATASET']._serialized_end=1911
84
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS']._serialized_start=1944
85
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS']._serialized_end=2721
86
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_SCHEDULER']._serialized_start=2369
87
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_SCHEDULER']._serialized_end=2606
88
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_OPTIMIZER']._serialized_start=2608
89
- _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_OPTIMIZER']._serialized_end=2687
90
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS']._serialized_start=2724
91
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS']._serialized_end=3507
92
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_SCHEDULER']._serialized_start=2369
93
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_SCHEDULER']._serialized_end=2606
94
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_OPTIMIZER']._serialized_start=2608
95
- _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_OPTIMIZER']._serialized_end=2687
96
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS']._serialized_start=3510
97
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS']._serialized_end=4293
98
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_SCHEDULER']._serialized_start=2369
99
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_SCHEDULER']._serialized_end=2606
100
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_OPTIMIZER']._serialized_start=2608
101
- _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_OPTIMIZER']._serialized_end=2687
102
- _globals['_GETMETRICSURLREQUEST']._serialized_start=4295
103
- _globals['_GETMETRICSURLREQUEST']._serialized_end=4340
104
- _globals['_GETMETRICSURLRESPONSE']._serialized_start=4342
105
- _globals['_GETMETRICSURLRESPONSE']._serialized_end=4383
106
- _globals['_GETOPTIONSREQUEST']._serialized_start=4385
107
- _globals['_GETOPTIONSREQUEST']._serialized_end=4427
108
- _globals['_GETOPTIONSRESPONSE']._serialized_start=4430
109
- _globals['_GETOPTIONSRESPONSE']._serialized_end=4989
110
- _globals['_TUNINGSERVICE']._serialized_start=4992
111
- _globals['_TUNINGSERVICE']._serialized_end=5676
63
+ _globals['_LISTTUNINGSREQUEST']._serialized_start=422
64
+ _globals['_LISTTUNINGSREQUEST']._serialized_end=568
65
+ _globals['_LISTTUNINGSRESPONSE']._serialized_start=570
66
+ _globals['_LISTTUNINGSRESPONSE']._serialized_end=677
67
+ _globals['_DESCRIBETUNINGREQUEST']._serialized_start=679
68
+ _globals['_DESCRIBETUNINGREQUEST']._serialized_end=732
69
+ _globals['_DESCRIBETUNINGRESPONSE']._serialized_start=734
70
+ _globals['_DESCRIBETUNINGRESPONSE']._serialized_end=818
71
+ _globals['_CANCELTUNINGREQUEST']._serialized_start=820
72
+ _globals['_CANCELTUNINGREQUEST']._serialized_end=871
73
+ _globals['_CANCELTUNINGRESPONSE']._serialized_start=873
74
+ _globals['_CANCELTUNINGRESPONSE']._serialized_end=919
75
+ _globals['_TUNINGRESPONSE']._serialized_start=922
76
+ _globals['_TUNINGRESPONSE']._serialized_end=1062
77
+ _globals['_TUNINGMETADATA']._serialized_start=1065
78
+ _globals['_TUNINGMETADATA']._serialized_end=1210
79
+ _globals['_TUNINGREQUEST']._serialized_start=1213
80
+ _globals['_TUNINGREQUEST']._serialized_end=1987
81
+ _globals['_TUNINGREQUEST_LABELSENTRY']._serialized_start=1851
82
+ _globals['_TUNINGREQUEST_LABELSENTRY']._serialized_end=1896
83
+ _globals['_TUNINGREQUEST_WEIGHTEDDATASET']._serialized_start=1898
84
+ _globals['_TUNINGREQUEST_WEIGHTEDDATASET']._serialized_end=1957
85
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS']._serialized_start=1990
86
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS']._serialized_end=2767
87
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_SCHEDULER']._serialized_start=2415
88
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_SCHEDULER']._serialized_end=2652
89
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_OPTIMIZER']._serialized_start=2654
90
+ _globals['_TEXTTOTEXTCOMPLETIONTUNINGPARAMS_OPTIMIZER']._serialized_end=2733
91
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS']._serialized_start=2770
92
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS']._serialized_end=3553
93
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_SCHEDULER']._serialized_start=2415
94
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_SCHEDULER']._serialized_end=2652
95
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_OPTIMIZER']._serialized_start=2654
96
+ _globals['_TEXTCLASSIFICATIONMULTILABELPARAMS_OPTIMIZER']._serialized_end=2733
97
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS']._serialized_start=3556
98
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS']._serialized_end=4339
99
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_SCHEDULER']._serialized_start=2415
100
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_SCHEDULER']._serialized_end=2652
101
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_OPTIMIZER']._serialized_start=2654
102
+ _globals['_TEXTCLASSIFICATIONMULTICLASSPARAMS_OPTIMIZER']._serialized_end=2733
103
+ _globals['_GETMETRICSURLREQUEST']._serialized_start=4341
104
+ _globals['_GETMETRICSURLREQUEST']._serialized_end=4386
105
+ _globals['_GETMETRICSURLRESPONSE']._serialized_start=4388
106
+ _globals['_GETMETRICSURLRESPONSE']._serialized_end=4429
107
+ _globals['_GETOPTIONSREQUEST']._serialized_start=4431
108
+ _globals['_GETOPTIONSREQUEST']._serialized_end=4473
109
+ _globals['_GETOPTIONSRESPONSE']._serialized_start=4476
110
+ _globals['_GETOPTIONSRESPONSE']._serialized_end=5035
111
+ _globals['_LISTERRORSREQUEST']._serialized_start=5037
112
+ _globals['_LISTERRORSREQUEST']._serialized_end=5080
113
+ _globals['_LISTERRORSRESPONSE']._serialized_start=5082
114
+ _globals['_LISTERRORSRESPONSE']._serialized_end=5164
115
+ _globals['_TUNINGSERVICE']._serialized_start=5167
116
+ _globals['_TUNINGSERVICE']._serialized_end=5958
112
117
  # @@protoc_insertion_point(module_scope)
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
9
9
  import google.protobuf.internal.containers
10
10
  import google.protobuf.message
11
11
  import typing
12
+ import yandex.cloud.ai.tuning.v1.tuning_error_pb2
12
13
  import yandex.cloud.ai.tuning.v1.tuning_optimizers_pb2
13
14
  import yandex.cloud.ai.tuning.v1.tuning_schedulers_pb2
14
15
  import yandex.cloud.ai.tuning.v1.tuning_task_pb2
@@ -218,9 +219,8 @@ class TuningRequest(google.protobuf.message.Message):
218
219
  DESCRIPTION_FIELD_NUMBER: builtins.int
219
220
  LABELS_FIELD_NUMBER: builtins.int
220
221
  base_model_uri: builtins.str
221
- """Format like a gpt://{folder_id}/yandex-gpt/latest"""
222
+ """Format like a `gpt://{folder_id}/yandex-gpt/latest`"""
222
223
  name: builtins.str
223
- """common params"""
224
224
  description: builtins.str
225
225
  @property
226
226
  def train_datasets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___TuningRequest.WeightedDataset]: ...
@@ -592,3 +592,34 @@ class GetOptionsResponse(google.protobuf.message.Message):
592
592
  def WhichOneof(self, oneof_group: typing.Literal["tuning_params", b"tuning_params"]) -> typing.Literal["text_to_text_completion", "text_classification_multilabel", "text_classification_multiclass"] | None: ...
593
593
 
594
594
  global___GetOptionsResponse = GetOptionsResponse
595
+
596
+ @typing.final
597
+ class ListErrorsRequest(google.protobuf.message.Message):
598
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
599
+
600
+ TUNING_TASK_ID_FIELD_NUMBER: builtins.int
601
+ tuning_task_id: builtins.str
602
+ def __init__(
603
+ self,
604
+ *,
605
+ tuning_task_id: builtins.str = ...,
606
+ ) -> None: ...
607
+ def ClearField(self, field_name: typing.Literal["tuning_task_id", b"tuning_task_id"]) -> None: ...
608
+
609
+ global___ListErrorsRequest = ListErrorsRequest
610
+
611
+ @typing.final
612
+ class ListErrorsResponse(google.protobuf.message.Message):
613
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
614
+
615
+ TUNING_ERROR_FIELD_NUMBER: builtins.int
616
+ @property
617
+ def tuning_error(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.tuning.v1.tuning_error_pb2.TuningError]: ...
618
+ def __init__(
619
+ self,
620
+ *,
621
+ tuning_error: collections.abc.Iterable[yandex.cloud.ai.tuning.v1.tuning_error_pb2.TuningError] | None = ...,
622
+ ) -> None: ...
623
+ def ClearField(self, field_name: typing.Literal["tuning_error", b"tuning_error"]) -> None: ...
624
+
625
+ global___ListErrorsResponse = ListErrorsResponse