yandexcloud 0.339.0__py3-none-any.whl → 0.341.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/searchindex/common_pb2.py +9 -3
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +46 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +8 -6
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +26 -3
- yandex/cloud/ai/batch_inference/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/__init__.py +0 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.py +67 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2.pyi +195 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.py +230 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_service_pb2_grpc.pyi +104 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.py +45 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.pyi +119 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.py +52 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2.pyi +126 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.py +24 -0
- yandex/cloud/ai/batch_inference/v1/inference_options_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.py +8 -8
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +15 -7
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +2 -2
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +6 -6
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +16 -0
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +1 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +8 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +16 -4
- yandex/cloud/ai/vision/v1/vision_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/budget_pb2.pyi +4 -4
- yandex/cloud/cdn/v1/shielding_pb2.py +37 -0
- yandex/cloud/cdn/v1/shielding_pb2.pyi +41 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.py +24 -0
- yandex/cloud/cdn/v1/shielding_pb2_grpc.pyi +17 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.py +89 -0
- yandex/cloud/cdn/v1/shielding_service_pb2.pyi +201 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.py +281 -0
- yandex/cloud/cdn/v1/shielding_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +6 -8
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +40 -24
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +72 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +90 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +52 -0
- yandex/cloud/compute/v1/instancegroup/instance_group_pb2.pyi +1 -1
- yandex/cloud/compute/v1/instancegroup/instance_group_service_pb2.py +4 -4
- yandex/cloud/dataproc/v1/cluster_pb2.py +10 -10
- yandex/cloud/dataproc/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/k8s/v1/cluster_service_pb2.py +80 -73
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.py +133 -0
- yandex/cloud/k8s/v1/cluster_service_pb2_grpc.pyi +61 -0
- yandex/cloud/kms/v1/symmetric_key_service_pb2.py +50 -48
- yandex/cloud/logging/v1/log_entry_pb2.py +12 -12
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.py +46 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2.pyi +53 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.py +106 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2.pyi +248 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.py +315 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_extension_service_pb2_grpc.pyi +131 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.py +44 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2.pyi +59 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/clickhouse/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.py +60 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2.pyi +72 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.py +141 -0
- yandex/cloud/mdb/clickhouse/v1/extension_service_pb2_grpc.pyi +59 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +59 -43
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +67 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +44 -0
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.py +44 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2.pyi +35 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.py +101 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.py +231 -0
- yandex/cloud/mdb/greenplum/v1/user_service_pb2_grpc.pyi +105 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/extension/__init__.py +0 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.py +37 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2.pyi +34 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension/extension_type_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.py +47 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2.pyi +77 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.py +24 -0
- yandex/cloud/mdb/opensearch/v1/extension_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.py +104 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2.pyi +215 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/opensearch/v1/extension_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +120 -120
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/monitoring/v3/timeline_pb2.py +2 -2
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +4 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +1 -1
- yandex/cloud/video/v1/channel_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/episode_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/playlist_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/stream_service_pb2.pyi +5 -2
- yandex/cloud/video/v1/video_service_pb2.pyi +5 -2
- yandexcloud/__init__.py +1 -1
- yandexcloud/_sdk.py +1 -0
- yandexcloud/_wrappers/__init__.py +15 -0
- yandexcloud/_wrappers/spark/__init__.py +603 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/METADATA +2 -1
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/RECORD +115 -55
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.339.0.dist-info → yandexcloud-0.341.0.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/ai/assistants/v1/searchindex/common.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a\x1egoogle/protobuf/wrappers.proto\"U\n\x16StaticChunkingStrategy\x12\x1d\n\x15max_chunk_size_tokens\x18\x01 \x01(\x03\x12\x1c\n\x14\x63hunk_overlap_tokens\x18\x02 \x01(\x03\"|\n\x10\x43hunkingStrategy\x12\\\n\x0fstatic_strategy\x18\x01 \x01(\x0b\x32\x41.yandex.cloud.ai.assistants.v1.searchindex.StaticChunkingStrategyH\x00\x42\n\n\x08Strategy\"\x9c\x02\n\x17MeanCombinationStrategy\x12}\n\x19mean_evaluation_technique\x18\x01 \x01(\x0e\x32Z.yandex.cloud.ai.assistants.v1.searchindex.MeanCombinationStrategy.MeanEvaluationTechnique\x12\x0f\n\x07weights\x18\x02 \x03(\x01\"q\n\x17MeanEvaluationTechnique\x12)\n%MEAN_EVALUATION_TECHNIQUE_UNSPECIFIED\x10\x00\x12\x0e\n\nARITHMETIC\x10\x01\x12\r\n\tGEOMETRIC\x10\x02\x12\x0c\n\x08HARMONIC\x10\x03\"Q\n\'ReciprocalRankFusionCombinationStrategy\x12&\n\x01k\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xf0\x01\n\x13\x43ombinationStrategy\x12^\n\x10mean_combination\x18\x01 \x01(\x0b\x32\x42.yandex.cloud.ai.assistants.v1.searchindex.MeanCombinationStrategyH\x00\x12m\n\x0frrf_combination\x18\x02 \x01(\x0b\x32R.yandex.cloud.ai.assistants.v1.searchindex.ReciprocalRankFusionCombinationStrategyH\x00\x42\n\n\x08Strategy\"n\n\x0eNgramTokenizer\x12-\n\x08min_gram\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\x08max_gram\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value*T\n\x15NormalizationStrategy\x12&\n\"NORMALIZATION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0b\n\x07MIN_MAX\x10\x01\x12\x06\n\x02L2\x10\x02\x42\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/ai/assistants/v1/searchindex/common.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a\x1egoogle/protobuf/wrappers.proto\"U\n\x16StaticChunkingStrategy\x12\x1d\n\x15max_chunk_size_tokens\x18\x01 \x01(\x03\x12\x1c\n\x14\x63hunk_overlap_tokens\x18\x02 \x01(\x03\"|\n\x10\x43hunkingStrategy\x12\\\n\x0fstatic_strategy\x18\x01 \x01(\x0b\x32\x41.yandex.cloud.ai.assistants.v1.searchindex.StaticChunkingStrategyH\x00\x42\n\n\x08Strategy\"\x9c\x02\n\x17MeanCombinationStrategy\x12}\n\x19mean_evaluation_technique\x18\x01 \x01(\x0e\x32Z.yandex.cloud.ai.assistants.v1.searchindex.MeanCombinationStrategy.MeanEvaluationTechnique\x12\x0f\n\x07weights\x18\x02 \x03(\x01\"q\n\x17MeanEvaluationTechnique\x12)\n%MEAN_EVALUATION_TECHNIQUE_UNSPECIFIED\x10\x00\x12\x0e\n\nARITHMETIC\x10\x01\x12\r\n\tGEOMETRIC\x10\x02\x12\x0c\n\x08HARMONIC\x10\x03\"Q\n\'ReciprocalRankFusionCombinationStrategy\x12&\n\x01k\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xf0\x01\n\x13\x43ombinationStrategy\x12^\n\x10mean_combination\x18\x01 \x01(\x0b\x32\x42.yandex.cloud.ai.assistants.v1.searchindex.MeanCombinationStrategyH\x00\x12m\n\x0frrf_combination\x18\x02 \x01(\x0b\x32R.yandex.cloud.ai.assistants.v1.searchindex.ReciprocalRankFusionCombinationStrategyH\x00\x42\n\n\x08Strategy\"n\n\x0eNgramTokenizer\x12-\n\x08min_gram\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\x08max_gram\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x13\n\x11StandardTokenizer\"\x12\n\x10StandardAnalyzer\"\x16\n\x14YandexLemmerAnalyzer*T\n\x15NormalizationStrategy\x12&\n\"NORMALIZATION_STRATEGY_UNSPECIFIED\x10\x00\x12\x0b\n\x07MIN_MAX\x10\x01\x12\x06\n\x02L2\x10\x02\x42\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,8 +33,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.assistants.
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
36
|
-
_globals['_NORMALIZATIONSTRATEGY']._serialized_start=
|
|
37
|
-
_globals['_NORMALIZATIONSTRATEGY']._serialized_end=
|
|
36
|
+
_globals['_NORMALIZATIONSTRATEGY']._serialized_start=1136
|
|
37
|
+
_globals['_NORMALIZATIONSTRATEGY']._serialized_end=1220
|
|
38
38
|
_globals['_STATICCHUNKINGSTRATEGY']._serialized_start=133
|
|
39
39
|
_globals['_STATICCHUNKINGSTRATEGY']._serialized_end=218
|
|
40
40
|
_globals['_CHUNKINGSTRATEGY']._serialized_start=220
|
|
@@ -49,4 +49,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
49
49
|
_globals['_COMBINATIONSTRATEGY']._serialized_end=957
|
|
50
50
|
_globals['_NGRAMTOKENIZER']._serialized_start=959
|
|
51
51
|
_globals['_NGRAMTOKENIZER']._serialized_end=1069
|
|
52
|
+
_globals['_STANDARDTOKENIZER']._serialized_start=1071
|
|
53
|
+
_globals['_STANDARDTOKENIZER']._serialized_end=1090
|
|
54
|
+
_globals['_STANDARDANALYZER']._serialized_start=1092
|
|
55
|
+
_globals['_STANDARDANALYZER']._serialized_end=1110
|
|
56
|
+
_globals['_YANDEXLEMMERANALYZER']._serialized_start=1112
|
|
57
|
+
_globals['_YANDEXLEMMERANALYZER']._serialized_end=1134
|
|
52
58
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -222,3 +222,49 @@ class NgramTokenizer(google.protobuf.message.Message):
|
|
|
222
222
|
def ClearField(self, field_name: typing.Literal["max_gram", b"max_gram", "min_gram", b"min_gram"]) -> None: ...
|
|
223
223
|
|
|
224
224
|
global___NgramTokenizer = NgramTokenizer
|
|
225
|
+
|
|
226
|
+
@typing.final
|
|
227
|
+
class StandardTokenizer(google.protobuf.message.Message):
|
|
228
|
+
"""A standard tokenizer that splits text on word boundaries and removes punctuation.
|
|
229
|
+
It follows the Unicode Text Segmentation rules as specified in Unicode Standard Annex #29.
|
|
230
|
+
|
|
231
|
+
Example:
|
|
232
|
+
Input text: `Hello, world! How are you?`
|
|
233
|
+
Output tokens: `[Hello, world, How, are, you]`
|
|
234
|
+
"""
|
|
235
|
+
|
|
236
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
237
|
+
|
|
238
|
+
def __init__(
|
|
239
|
+
self,
|
|
240
|
+
) -> None: ...
|
|
241
|
+
|
|
242
|
+
global___StandardTokenizer = StandardTokenizer
|
|
243
|
+
|
|
244
|
+
@typing.final
|
|
245
|
+
class StandardAnalyzer(google.protobuf.message.Message):
|
|
246
|
+
"""A standard analyzer that uses StandardTokenizer."""
|
|
247
|
+
|
|
248
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
249
|
+
|
|
250
|
+
def __init__(
|
|
251
|
+
self,
|
|
252
|
+
) -> None: ...
|
|
253
|
+
|
|
254
|
+
global___StandardAnalyzer = StandardAnalyzer
|
|
255
|
+
|
|
256
|
+
@typing.final
|
|
257
|
+
class YandexLemmerAnalyzer(google.protobuf.message.Message):
|
|
258
|
+
"""A specialized analyzer that uses Yandex's lemmatization technology to reduce words to their base forms.
|
|
259
|
+
Particularly effective for Russian and other Slavic languages, handling their complex morphology.
|
|
260
|
+
For more information, see:
|
|
261
|
+
https://yandex.cloud/en/docs/tutorials/dataplatform/opensearch-yandex-lemmer
|
|
262
|
+
"""
|
|
263
|
+
|
|
264
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
265
|
+
|
|
266
|
+
def __init__(
|
|
267
|
+
self,
|
|
268
|
+
) -> None: ...
|
|
269
|
+
|
|
270
|
+
global___YandexLemmerAnalyzer = YandexLemmerAnalyzer
|
|
@@ -27,7 +27,7 @@ from yandex.cloud.ai.assistants.v1.searchindex import common_pb2 as yandex_dot_c
|
|
|
27
27
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/ai/assistants/v1/searchindex/search_index.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a#yandex/cloud/ai/common/common.proto\x1a\x36yandex/cloud/ai/assistants/v1/searchindex/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x05\n\x0bSearchIndex\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x07 \x01(\t\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\t \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x06labels\x18\x0b \x03(\x0b\x32\x42.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex.LabelsEntry\x12W\n\x11text_search_index\x18\x0c \x01(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.TextSearchIndexH\x00\x12[\n\x13vector_search_index\x18\r \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.VectorSearchIndexH\x00\x12[\n\x13hybrid_search_index\x18\x0e \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.HybridSearchIndexH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\tIndexType\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/ai/assistants/v1/searchindex/search_index.proto\x12)yandex.cloud.ai.assistants.v1.searchindex\x1a#yandex/cloud/ai/common/common.proto\x1a\x36yandex/cloud/ai/assistants/v1/searchindex/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x05\n\x0bSearchIndex\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x12\n\ncreated_by\x18\x05 \x01(\t\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x07 \x01(\t\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\t \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12R\n\x06labels\x18\x0b \x03(\x0b\x32\x42.yandex.cloud.ai.assistants.v1.searchindex.SearchIndex.LabelsEntry\x12W\n\x11text_search_index\x18\x0c \x01(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.TextSearchIndexH\x00\x12[\n\x13vector_search_index\x18\r \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.VectorSearchIndexH\x00\x12[\n\x13hybrid_search_index\x18\x0e \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.HybridSearchIndexH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0b\n\tIndexType\"\xfd\x03\n\x0fTextSearchIndex\x12V\n\x11\x63hunking_strategy\x18\x01 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategy\x12X\n\x0fngram_tokenizer\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.ai.assistants.v1.searchindex.NgramTokenizerB\x02\x18\x01H\x00\x12Z\n\x12standard_tokenizer\x18\x03 \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.StandardTokenizerH\x00\x12X\n\x11standard_analyzer\x18\x04 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.StandardAnalyzerH\x01\x12\x61\n\x16yandex_lemmer_analyzer\x18\x05 \x01(\x0b\x32?.yandex.cloud.ai.assistants.v1.searchindex.YandexLemmerAnalyzerH\x01\x42\x0f\n\rTextTokenizerB\x0e\n\x0cTextAnalyzer\"\xa1\x01\n\x11VectorSearchIndex\x12\x18\n\x10\x64oc_embedder_uri\x18\x01 \x01(\t\x12\x1a\n\x12query_embedder_uri\x18\x02 \x01(\t\x12V\n\x11\x63hunking_strategy\x18\x03 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategy\"\xdd\x03\n\x11HybridSearchIndex\x12U\n\x11text_search_index\x18\x01 \x01(\x0b\x32:.yandex.cloud.ai.assistants.v1.searchindex.TextSearchIndex\x12Y\n\x13vector_search_index\x18\x02 \x01(\x0b\x32<.yandex.cloud.ai.assistants.v1.searchindex.VectorSearchIndex\x12V\n\x11\x63hunking_strategy\x18\x03 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategy\x12`\n\x16normalization_strategy\x18\x04 \x01(\x0e\x32@.yandex.cloud.ai.assistants.v1.searchindex.NormalizationStrategy\x12\\\n\x14\x63ombination_strategy\x18\x05 \x01(\x0b\x32>.yandex.cloud.ai.assistants.v1.searchindex.CombinationStrategyB\x8a\x01\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindexb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,14 +37,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n-yandex.cloud.api.ai.assistants.v1.searchindexZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/searchindex;searchindex'
|
|
38
38
|
_globals['_SEARCHINDEX_LABELSENTRY']._loaded_options = None
|
|
39
39
|
_globals['_SEARCHINDEX_LABELSENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_TEXTSEARCHINDEX'].fields_by_name['ngram_tokenizer']._loaded_options = None
|
|
41
|
+
_globals['_TEXTSEARCHINDEX'].fields_by_name['ngram_tokenizer']._serialized_options = b'\030\001'
|
|
40
42
|
_globals['_SEARCHINDEX']._serialized_start=234
|
|
41
43
|
_globals['_SEARCHINDEX']._serialized_end=985
|
|
42
44
|
_globals['_SEARCHINDEX_LABELSENTRY']._serialized_start=927
|
|
43
45
|
_globals['_SEARCHINDEX_LABELSENTRY']._serialized_end=972
|
|
44
46
|
_globals['_TEXTSEARCHINDEX']._serialized_start=988
|
|
45
|
-
_globals['_TEXTSEARCHINDEX']._serialized_end=
|
|
46
|
-
_globals['_VECTORSEARCHINDEX']._serialized_start=
|
|
47
|
-
_globals['_VECTORSEARCHINDEX']._serialized_end=
|
|
48
|
-
_globals['_HYBRIDSEARCHINDEX']._serialized_start=
|
|
49
|
-
_globals['_HYBRIDSEARCHINDEX']._serialized_end=
|
|
47
|
+
_globals['_TEXTSEARCHINDEX']._serialized_end=1497
|
|
48
|
+
_globals['_VECTORSEARCHINDEX']._serialized_start=1500
|
|
49
|
+
_globals['_VECTORSEARCHINDEX']._serialized_end=1661
|
|
50
|
+
_globals['_HYBRIDSEARCHINDEX']._serialized_start=1664
|
|
51
|
+
_globals['_HYBRIDSEARCHINDEX']._serialized_end=2141
|
|
50
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -133,6 +133,9 @@ class TextSearchIndex(google.protobuf.message.Message):
|
|
|
133
133
|
|
|
134
134
|
CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
|
|
135
135
|
NGRAM_TOKENIZER_FIELD_NUMBER: builtins.int
|
|
136
|
+
STANDARD_TOKENIZER_FIELD_NUMBER: builtins.int
|
|
137
|
+
STANDARD_ANALYZER_FIELD_NUMBER: builtins.int
|
|
138
|
+
YANDEX_LEMMER_ANALYZER_FIELD_NUMBER: builtins.int
|
|
136
139
|
@property
|
|
137
140
|
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
138
141
|
"""Chunking strategy used to split text into smaller chunks before indexing.
|
|
@@ -143,15 +146,35 @@ class TextSearchIndex(google.protobuf.message.Message):
|
|
|
143
146
|
def ngram_tokenizer(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.NgramTokenizer:
|
|
144
147
|
"""Tokenizer that generates n-grams."""
|
|
145
148
|
|
|
149
|
+
@property
|
|
150
|
+
def standard_tokenizer(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.StandardTokenizer:
|
|
151
|
+
"""Tokenizer that generates words."""
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def standard_analyzer(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.StandardAnalyzer:
|
|
155
|
+
"""Standard analyzer that performs common text processing operations to normalize text."""
|
|
156
|
+
|
|
157
|
+
@property
|
|
158
|
+
def yandex_lemmer_analyzer(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.YandexLemmerAnalyzer:
|
|
159
|
+
"""Specialized analyzer that uses Yandex's lemmatization technology,
|
|
160
|
+
particularly effective for Russian and other Slavic languages.
|
|
161
|
+
"""
|
|
162
|
+
|
|
146
163
|
def __init__(
|
|
147
164
|
self,
|
|
148
165
|
*,
|
|
149
166
|
chunking_strategy: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy | None = ...,
|
|
150
167
|
ngram_tokenizer: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.NgramTokenizer | None = ...,
|
|
168
|
+
standard_tokenizer: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.StandardTokenizer | None = ...,
|
|
169
|
+
standard_analyzer: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.StandardAnalyzer | None = ...,
|
|
170
|
+
yandex_lemmer_analyzer: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.YandexLemmerAnalyzer | None = ...,
|
|
151
171
|
) -> None: ...
|
|
152
|
-
def HasField(self, field_name: typing.Literal["TextTokenizer", b"TextTokenizer", "chunking_strategy", b"chunking_strategy", "ngram_tokenizer", b"ngram_tokenizer"]) -> builtins.bool: ...
|
|
153
|
-
def ClearField(self, field_name: typing.Literal["TextTokenizer", b"TextTokenizer", "chunking_strategy", b"chunking_strategy", "ngram_tokenizer", b"ngram_tokenizer"]) -> None: ...
|
|
154
|
-
|
|
172
|
+
def HasField(self, field_name: typing.Literal["TextAnalyzer", b"TextAnalyzer", "TextTokenizer", b"TextTokenizer", "chunking_strategy", b"chunking_strategy", "ngram_tokenizer", b"ngram_tokenizer", "standard_analyzer", b"standard_analyzer", "standard_tokenizer", b"standard_tokenizer", "yandex_lemmer_analyzer", b"yandex_lemmer_analyzer"]) -> builtins.bool: ...
|
|
173
|
+
def ClearField(self, field_name: typing.Literal["TextAnalyzer", b"TextAnalyzer", "TextTokenizer", b"TextTokenizer", "chunking_strategy", b"chunking_strategy", "ngram_tokenizer", b"ngram_tokenizer", "standard_analyzer", b"standard_analyzer", "standard_tokenizer", b"standard_tokenizer", "yandex_lemmer_analyzer", b"yandex_lemmer_analyzer"]) -> None: ...
|
|
174
|
+
@typing.overload
|
|
175
|
+
def WhichOneof(self, oneof_group: typing.Literal["TextAnalyzer", b"TextAnalyzer"]) -> typing.Literal["standard_analyzer", "yandex_lemmer_analyzer"] | None: ...
|
|
176
|
+
@typing.overload
|
|
177
|
+
def WhichOneof(self, oneof_group: typing.Literal["TextTokenizer", b"TextTokenizer"]) -> typing.Literal["ngram_tokenizer", "standard_tokenizer"] | None: ...
|
|
155
178
|
|
|
156
179
|
global___TextSearchIndex = TextSearchIndex
|
|
157
180
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,67 @@
|
|
|
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/batch_inference/v1/batch_inference_service.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
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
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/ai/batch_inference/v1/batch_inference_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
26
|
+
from yandex.cloud.ai.batch_inference.v1 import batch_inference_task_pb2 as yandex_dot_cloud_dot_ai_dot_batch__inference_dot_v1_dot_batch__inference__task__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n@yandex/cloud/ai/batch_inference/v1/batch_inference_service.proto\x12\"yandex.cloud.ai.batch_inference.v1\x1a\x1dyandex/cloud/validation.proto\x1a=yandex/cloud/ai/batch_inference/v1/batch_inference_task.proto\"\xaf\x01\n\x16\x42\x61tchInferenceMetadata\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12R\n\x0btask_status\x18\x02 \x01(\x0e\x32=.yandex.cloud.ai.batch_inference.v1.BatchInferenceTask.Status\x12\x19\n\x11\x63ompleted_batches\x18\x03 \x01(\x03\x12\x15\n\rtotal_batches\x18\x04 \x01(\x03\"^\n\x16\x42\x61tchInferenceResponse\x12\x44\n\x04task\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.ai.batch_inference.v1.BatchInferenceTask\"6\n\x1d\x44\x65scribeBatchInferenceRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"f\n\x1e\x44\x65scribeBatchInferenceResponse\x12\x44\n\x04task\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.ai.batch_inference.v1.BatchInferenceTask\"\xab\x01\n\x1aListBatchInferencesRequest\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\x12M\n\x06status\x18\x04 \x01(\x0e\x32=.yandex.cloud.ai.batch_inference.v1.BatchInferenceTask.Status\"}\n\x1bListBatchInferencesResponse\x12\x45\n\x05tasks\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.ai.batch_inference.v1.BatchInferenceTask\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"4\n\x1b\x43\x61ncelBatchInferenceRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x1c\x43\x61ncelBatchInferenceResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t\"4\n\x1b\x44\x65leteBatchInferenceRequest\x12\x15\n\x07task_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x1c\x44\x65leteBatchInferenceResponse\x12\x0f\n\x07task_id\x18\x01 \x01(\t2\xd1\x04\n\x15\x42\x61tchInferenceService\x12\x91\x01\n\x08\x44\x65scribe\x12\x41.yandex.cloud.ai.batch_inference.v1.DescribeBatchInferenceRequest\x1a\x42.yandex.cloud.ai.batch_inference.v1.DescribeBatchInferenceResponse\x12\x87\x01\n\x04List\x12>.yandex.cloud.ai.batch_inference.v1.ListBatchInferencesRequest\x1a?.yandex.cloud.ai.batch_inference.v1.ListBatchInferencesResponse\x12\x8b\x01\n\x06\x43\x61ncel\x12?.yandex.cloud.ai.batch_inference.v1.CancelBatchInferenceRequest\x1a@.yandex.cloud.ai.batch_inference.v1.CancelBatchInferenceResponse\x12\x8b\x01\n\x06\x44\x65lete\x12?.yandex.cloud.ai.batch_inference.v1.DeleteBatchInferenceRequest\x1a@.yandex.cloud.ai.batch_inference.v1.DeleteBatchInferenceResponseBu\n&yandex.cloud.api.ai.batch_inference.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/batch_inference/v1;fomob\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.batch_inference.v1.batch_inference_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n&yandex.cloud.api.ai.batch_inference.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/batch_inference/v1;fomo'
|
|
37
|
+
_globals['_DESCRIBEBATCHINFERENCEREQUEST'].fields_by_name['task_id']._loaded_options = None
|
|
38
|
+
_globals['_DESCRIBEBATCHINFERENCEREQUEST'].fields_by_name['task_id']._serialized_options = b'\350\3071\001'
|
|
39
|
+
_globals['_LISTBATCHINFERENCESREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
40
|
+
_globals['_LISTBATCHINFERENCESREQUEST'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
41
|
+
_globals['_CANCELBATCHINFERENCEREQUEST'].fields_by_name['task_id']._loaded_options = None
|
|
42
|
+
_globals['_CANCELBATCHINFERENCEREQUEST'].fields_by_name['task_id']._serialized_options = b'\350\3071\001'
|
|
43
|
+
_globals['_DELETEBATCHINFERENCEREQUEST'].fields_by_name['task_id']._loaded_options = None
|
|
44
|
+
_globals['_DELETEBATCHINFERENCEREQUEST'].fields_by_name['task_id']._serialized_options = b'\350\3071\001'
|
|
45
|
+
_globals['_BATCHINFERENCEMETADATA']._serialized_start=199
|
|
46
|
+
_globals['_BATCHINFERENCEMETADATA']._serialized_end=374
|
|
47
|
+
_globals['_BATCHINFERENCERESPONSE']._serialized_start=376
|
|
48
|
+
_globals['_BATCHINFERENCERESPONSE']._serialized_end=470
|
|
49
|
+
_globals['_DESCRIBEBATCHINFERENCEREQUEST']._serialized_start=472
|
|
50
|
+
_globals['_DESCRIBEBATCHINFERENCEREQUEST']._serialized_end=526
|
|
51
|
+
_globals['_DESCRIBEBATCHINFERENCERESPONSE']._serialized_start=528
|
|
52
|
+
_globals['_DESCRIBEBATCHINFERENCERESPONSE']._serialized_end=630
|
|
53
|
+
_globals['_LISTBATCHINFERENCESREQUEST']._serialized_start=633
|
|
54
|
+
_globals['_LISTBATCHINFERENCESREQUEST']._serialized_end=804
|
|
55
|
+
_globals['_LISTBATCHINFERENCESRESPONSE']._serialized_start=806
|
|
56
|
+
_globals['_LISTBATCHINFERENCESRESPONSE']._serialized_end=931
|
|
57
|
+
_globals['_CANCELBATCHINFERENCEREQUEST']._serialized_start=933
|
|
58
|
+
_globals['_CANCELBATCHINFERENCEREQUEST']._serialized_end=985
|
|
59
|
+
_globals['_CANCELBATCHINFERENCERESPONSE']._serialized_start=987
|
|
60
|
+
_globals['_CANCELBATCHINFERENCERESPONSE']._serialized_end=1034
|
|
61
|
+
_globals['_DELETEBATCHINFERENCEREQUEST']._serialized_start=1036
|
|
62
|
+
_globals['_DELETEBATCHINFERENCEREQUEST']._serialized_end=1088
|
|
63
|
+
_globals['_DELETEBATCHINFERENCERESPONSE']._serialized_start=1090
|
|
64
|
+
_globals['_DELETEBATCHINFERENCERESPONSE']._serialized_end=1137
|
|
65
|
+
_globals['_BATCHINFERENCESERVICE']._serialized_start=1140
|
|
66
|
+
_globals['_BATCHINFERENCESERVICE']._serialized_end=1733
|
|
67
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class BatchInferenceMetadata(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
TASK_STATUS_FIELD_NUMBER: builtins.int
|
|
22
|
+
COMPLETED_BATCHES_FIELD_NUMBER: builtins.int
|
|
23
|
+
TOTAL_BATCHES_FIELD_NUMBER: builtins.int
|
|
24
|
+
task_id: builtins.str
|
|
25
|
+
task_status: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask.Status.ValueType
|
|
26
|
+
completed_batches: builtins.int
|
|
27
|
+
total_batches: builtins.int
|
|
28
|
+
def __init__(
|
|
29
|
+
self,
|
|
30
|
+
*,
|
|
31
|
+
task_id: builtins.str = ...,
|
|
32
|
+
task_status: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask.Status.ValueType = ...,
|
|
33
|
+
completed_batches: builtins.int = ...,
|
|
34
|
+
total_batches: builtins.int = ...,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def ClearField(self, field_name: typing.Literal["completed_batches", b"completed_batches", "task_id", b"task_id", "task_status", b"task_status", "total_batches", b"total_batches"]) -> None: ...
|
|
37
|
+
|
|
38
|
+
global___BatchInferenceMetadata = BatchInferenceMetadata
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class BatchInferenceResponse(google.protobuf.message.Message):
|
|
42
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
43
|
+
|
|
44
|
+
TASK_FIELD_NUMBER: builtins.int
|
|
45
|
+
@property
|
|
46
|
+
def task(self) -> yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask: ...
|
|
47
|
+
def __init__(
|
|
48
|
+
self,
|
|
49
|
+
*,
|
|
50
|
+
task: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask | None = ...,
|
|
51
|
+
) -> None: ...
|
|
52
|
+
def HasField(self, field_name: typing.Literal["task", b"task"]) -> builtins.bool: ...
|
|
53
|
+
def ClearField(self, field_name: typing.Literal["task", b"task"]) -> None: ...
|
|
54
|
+
|
|
55
|
+
global___BatchInferenceResponse = BatchInferenceResponse
|
|
56
|
+
|
|
57
|
+
@typing.final
|
|
58
|
+
class DescribeBatchInferenceRequest(google.protobuf.message.Message):
|
|
59
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
60
|
+
|
|
61
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
62
|
+
task_id: builtins.str
|
|
63
|
+
"""Required task id"""
|
|
64
|
+
def __init__(
|
|
65
|
+
self,
|
|
66
|
+
*,
|
|
67
|
+
task_id: builtins.str = ...,
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def ClearField(self, field_name: typing.Literal["task_id", b"task_id"]) -> None: ...
|
|
70
|
+
|
|
71
|
+
global___DescribeBatchInferenceRequest = DescribeBatchInferenceRequest
|
|
72
|
+
|
|
73
|
+
@typing.final
|
|
74
|
+
class DescribeBatchInferenceResponse(google.protobuf.message.Message):
|
|
75
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
76
|
+
|
|
77
|
+
TASK_FIELD_NUMBER: builtins.int
|
|
78
|
+
@property
|
|
79
|
+
def task(self) -> yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask: ...
|
|
80
|
+
def __init__(
|
|
81
|
+
self,
|
|
82
|
+
*,
|
|
83
|
+
task: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask | None = ...,
|
|
84
|
+
) -> None: ...
|
|
85
|
+
def HasField(self, field_name: typing.Literal["task", b"task"]) -> builtins.bool: ...
|
|
86
|
+
def ClearField(self, field_name: typing.Literal["task", b"task"]) -> None: ...
|
|
87
|
+
|
|
88
|
+
global___DescribeBatchInferenceResponse = DescribeBatchInferenceResponse
|
|
89
|
+
|
|
90
|
+
@typing.final
|
|
91
|
+
class ListBatchInferencesRequest(google.protobuf.message.Message):
|
|
92
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
93
|
+
|
|
94
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
95
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
96
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
97
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
98
|
+
folder_id: builtins.str
|
|
99
|
+
"""Folder ID for which the list of tasks will be provided."""
|
|
100
|
+
page_size: builtins.int
|
|
101
|
+
page_token: builtins.str
|
|
102
|
+
status: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask.Status.ValueType
|
|
103
|
+
"""Batch inference status for filtering"""
|
|
104
|
+
def __init__(
|
|
105
|
+
self,
|
|
106
|
+
*,
|
|
107
|
+
folder_id: builtins.str = ...,
|
|
108
|
+
page_size: builtins.int = ...,
|
|
109
|
+
page_token: builtins.str = ...,
|
|
110
|
+
status: yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask.Status.ValueType = ...,
|
|
111
|
+
) -> None: ...
|
|
112
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token", "status", b"status"]) -> None: ...
|
|
113
|
+
|
|
114
|
+
global___ListBatchInferencesRequest = ListBatchInferencesRequest
|
|
115
|
+
|
|
116
|
+
@typing.final
|
|
117
|
+
class ListBatchInferencesResponse(google.protobuf.message.Message):
|
|
118
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
119
|
+
|
|
120
|
+
TASKS_FIELD_NUMBER: builtins.int
|
|
121
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
122
|
+
next_page_token: builtins.str
|
|
123
|
+
@property
|
|
124
|
+
def tasks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask]: ...
|
|
125
|
+
def __init__(
|
|
126
|
+
self,
|
|
127
|
+
*,
|
|
128
|
+
tasks: collections.abc.Iterable[yandex.cloud.ai.batch_inference.v1.batch_inference_task_pb2.BatchInferenceTask] | None = ...,
|
|
129
|
+
next_page_token: builtins.str = ...,
|
|
130
|
+
) -> None: ...
|
|
131
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "tasks", b"tasks"]) -> None: ...
|
|
132
|
+
|
|
133
|
+
global___ListBatchInferencesResponse = ListBatchInferencesResponse
|
|
134
|
+
|
|
135
|
+
@typing.final
|
|
136
|
+
class CancelBatchInferenceRequest(google.protobuf.message.Message):
|
|
137
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
138
|
+
|
|
139
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
140
|
+
task_id: builtins.str
|
|
141
|
+
"""Task ID that should be canceled."""
|
|
142
|
+
def __init__(
|
|
143
|
+
self,
|
|
144
|
+
*,
|
|
145
|
+
task_id: builtins.str = ...,
|
|
146
|
+
) -> None: ...
|
|
147
|
+
def ClearField(self, field_name: typing.Literal["task_id", b"task_id"]) -> None: ...
|
|
148
|
+
|
|
149
|
+
global___CancelBatchInferenceRequest = CancelBatchInferenceRequest
|
|
150
|
+
|
|
151
|
+
@typing.final
|
|
152
|
+
class CancelBatchInferenceResponse(google.protobuf.message.Message):
|
|
153
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
154
|
+
|
|
155
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
156
|
+
task_id: builtins.str
|
|
157
|
+
def __init__(
|
|
158
|
+
self,
|
|
159
|
+
*,
|
|
160
|
+
task_id: builtins.str = ...,
|
|
161
|
+
) -> None: ...
|
|
162
|
+
def ClearField(self, field_name: typing.Literal["task_id", b"task_id"]) -> None: ...
|
|
163
|
+
|
|
164
|
+
global___CancelBatchInferenceResponse = CancelBatchInferenceResponse
|
|
165
|
+
|
|
166
|
+
@typing.final
|
|
167
|
+
class DeleteBatchInferenceRequest(google.protobuf.message.Message):
|
|
168
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
169
|
+
|
|
170
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
171
|
+
task_id: builtins.str
|
|
172
|
+
"""Task ID that should be deleted."""
|
|
173
|
+
def __init__(
|
|
174
|
+
self,
|
|
175
|
+
*,
|
|
176
|
+
task_id: builtins.str = ...,
|
|
177
|
+
) -> None: ...
|
|
178
|
+
def ClearField(self, field_name: typing.Literal["task_id", b"task_id"]) -> None: ...
|
|
179
|
+
|
|
180
|
+
global___DeleteBatchInferenceRequest = DeleteBatchInferenceRequest
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class DeleteBatchInferenceResponse(google.protobuf.message.Message):
|
|
184
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
185
|
+
|
|
186
|
+
TASK_ID_FIELD_NUMBER: builtins.int
|
|
187
|
+
task_id: builtins.str
|
|
188
|
+
def __init__(
|
|
189
|
+
self,
|
|
190
|
+
*,
|
|
191
|
+
task_id: builtins.str = ...,
|
|
192
|
+
) -> None: ...
|
|
193
|
+
def ClearField(self, field_name: typing.Literal["task_id", b"task_id"]) -> None: ...
|
|
194
|
+
|
|
195
|
+
global___DeleteBatchInferenceResponse = DeleteBatchInferenceResponse
|