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.
- yandex/cloud/ai/assistants/v1/common_pb2.py +28 -9
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +231 -12
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +20 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +26 -22
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +50 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +46 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +29 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +13 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +7 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +9 -2
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +6 -5
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +8 -1
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +22 -21
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +15 -2
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +12 -10
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +23 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +62 -48
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +89 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +87 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +37 -0
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +34 -28
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +73 -3
- yandex/cloud/ai/translate/v2/translation_pb2.pyi +2 -2
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +14 -13
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.py +39 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.pyi +54 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.py +24 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +56 -51
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +33 -2
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2.pyi +1 -0
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +1 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +17 -15
- yandex/cloud/audittrails/v1/trail_pb2.pyi +25 -2
- yandex/cloud/backup/v1/policy_pb2.py +27 -27
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -2
- yandex/cloud/billing/v1/customer_service_pb2.pyi +2 -2
- yandex/cloud/compute/v1/disk_placement_group_service_pb2.py +28 -28
- yandex/cloud/compute/v1/disk_service_pb2.py +36 -36
- yandex/cloud/compute/v1/filesystem_service_pb2.py +24 -24
- yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +1 -1
- yandex/cloud/compute/v1/host_group_service_pb2.py +36 -36
- yandex/cloud/compute/v1/image_service_pb2.py +24 -24
- yandex/cloud/compute/v1/image_service_pb2.pyi +2 -1
- yandex/cloud/compute/v1/instance_service_pb2.py +130 -130
- yandex/cloud/compute/v1/snapshot_service_pb2.py +24 -24
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +9 -7
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +19 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +7 -3
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.py +6 -6
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +11 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +33 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +21 -8
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +41 -5
- yandex/cloud/datatransfer/v1/transfer_pb2.py +48 -46
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +22 -2
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +53 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +20 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +55 -7
- yandex/cloud/endpoint/api_endpoint_service_pb2.py +10 -6
- yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/config_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/report_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/test_service_pb2.py +2 -2
- yandex/cloud/lockbox/v1/payload_service_pb2.py +6 -6
- yandex/cloud/lockbox/v1/payload_service_pb2.pyi +4 -1
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +72 -68
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +33 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +36 -34
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +34 -4
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +24 -24
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +20 -2
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.py +51 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.pyi +62 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.py +99 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/mysql/v1/user_pb2.py +16 -14
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/mysql/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +18 -18
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/user_pb2.py +47 -0
- yandex/cloud/mdb/redis/v1/user_pb2.pyi +131 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.py +93 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.pyi +250 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.pyi +141 -0
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.pyi +3 -3
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.pyi +3 -3
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +20 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +1 -1
- yandex/cloud/video/v1/episode_service_pb2.py +35 -21
- yandex/cloud/video/v1/episode_service_pb2.pyi +42 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +44 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/video_service_pb2.py +64 -63
- yandex/cloud/video/v1/video_service_pb2.pyi +9 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/METADATA +2 -2
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/RECORD +133 -113
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.330.0.dist-info → yandexcloud-0.332.0.dist-info}/top_level.txt +0 -0
|
@@ -53,6 +53,7 @@ class CreateRunRequest(google.protobuf.message.Message):
|
|
|
53
53
|
CUSTOM_PROMPT_TRUNCATION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
54
54
|
CUSTOM_COMPLETION_OPTIONS_FIELD_NUMBER: builtins.int
|
|
55
55
|
STREAM_FIELD_NUMBER: builtins.int
|
|
56
|
+
TOOLS_FIELD_NUMBER: builtins.int
|
|
56
57
|
assistant_id: builtins.str
|
|
57
58
|
"""ID of the assistant for which the run is being created"""
|
|
58
59
|
thread_id: builtins.str
|
|
@@ -79,6 +80,10 @@ class CreateRunRequest(google.protobuf.message.Message):
|
|
|
79
80
|
If specified, these options will override the assistant's completion settings for this run.
|
|
80
81
|
"""
|
|
81
82
|
|
|
83
|
+
@property
|
|
84
|
+
def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.common_pb2.Tool]:
|
|
85
|
+
"""List of tools that are available for the assistant to use in this run."""
|
|
86
|
+
|
|
82
87
|
def __init__(
|
|
83
88
|
self,
|
|
84
89
|
*,
|
|
@@ -89,9 +94,10 @@ class CreateRunRequest(google.protobuf.message.Message):
|
|
|
89
94
|
custom_prompt_truncation_options: yandex.cloud.ai.assistants.v1.common_pb2.PromptTruncationOptions | None = ...,
|
|
90
95
|
custom_completion_options: yandex.cloud.ai.assistants.v1.common_pb2.CompletionOptions | None = ...,
|
|
91
96
|
stream: builtins.bool = ...,
|
|
97
|
+
tools: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.common_pb2.Tool] | None = ...,
|
|
92
98
|
) -> None: ...
|
|
93
99
|
def HasField(self, field_name: typing.Literal["custom_completion_options", b"custom_completion_options", "custom_prompt_truncation_options", b"custom_prompt_truncation_options"]) -> builtins.bool: ...
|
|
94
|
-
def ClearField(self, field_name: typing.Literal["additional_messages", b"additional_messages", "assistant_id", b"assistant_id", "custom_completion_options", b"custom_completion_options", "custom_prompt_truncation_options", b"custom_prompt_truncation_options", "labels", b"labels", "stream", b"stream", "thread_id", b"thread_id"]) -> None: ...
|
|
100
|
+
def ClearField(self, field_name: typing.Literal["additional_messages", b"additional_messages", "assistant_id", b"assistant_id", "custom_completion_options", b"custom_completion_options", "custom_prompt_truncation_options", b"custom_prompt_truncation_options", "labels", b"labels", "stream", b"stream", "thread_id", b"thread_id", "tools", b"tools"]) -> None: ...
|
|
95
101
|
|
|
96
102
|
global___CreateRunRequest = CreateRunRequest
|
|
97
103
|
|
|
@@ -120,6 +126,36 @@ class ListenRunRequest(google.protobuf.message.Message):
|
|
|
120
126
|
|
|
121
127
|
global___ListenRunRequest = ListenRunRequest
|
|
122
128
|
|
|
129
|
+
@typing.final
|
|
130
|
+
class AttachRunRequest(google.protobuf.message.Message):
|
|
131
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
132
|
+
|
|
133
|
+
RUN_ID_FIELD_NUMBER: builtins.int
|
|
134
|
+
EVENTS_START_IDX_FIELD_NUMBER: builtins.int
|
|
135
|
+
TOOL_RESULT_LIST_FIELD_NUMBER: builtins.int
|
|
136
|
+
run_id: builtins.str
|
|
137
|
+
"""ID of the run to listen to."""
|
|
138
|
+
@property
|
|
139
|
+
def events_start_idx(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
140
|
+
"""Starting index for events. If provided, listening will start from this event."""
|
|
141
|
+
|
|
142
|
+
@property
|
|
143
|
+
def tool_result_list(self) -> yandex.cloud.ai.assistants.v1.common_pb2.ToolResultList:
|
|
144
|
+
"""A list of tool results to submit to the run, such as the output of a function call."""
|
|
145
|
+
|
|
146
|
+
def __init__(
|
|
147
|
+
self,
|
|
148
|
+
*,
|
|
149
|
+
run_id: builtins.str = ...,
|
|
150
|
+
events_start_idx: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
151
|
+
tool_result_list: yandex.cloud.ai.assistants.v1.common_pb2.ToolResultList | None = ...,
|
|
152
|
+
) -> None: ...
|
|
153
|
+
def HasField(self, field_name: typing.Literal["Event", b"Event", "events_start_idx", b"events_start_idx", "tool_result_list", b"tool_result_list"]) -> builtins.bool: ...
|
|
154
|
+
def ClearField(self, field_name: typing.Literal["Event", b"Event", "events_start_idx", b"events_start_idx", "run_id", b"run_id", "tool_result_list", b"tool_result_list"]) -> None: ...
|
|
155
|
+
def WhichOneof(self, oneof_group: typing.Literal["Event", b"Event"]) -> typing.Literal["tool_result_list"] | None: ...
|
|
156
|
+
|
|
157
|
+
global___AttachRunRequest = AttachRunRequest
|
|
158
|
+
|
|
123
159
|
@typing.final
|
|
124
160
|
class GetRunRequest(google.protobuf.message.Message):
|
|
125
161
|
"""Request message for retrieving a specific run by its ID."""
|
|
@@ -248,6 +284,8 @@ class StreamEvent(google.protobuf.message.Message):
|
|
|
248
284
|
"""Run has failed due to an error."""
|
|
249
285
|
DONE: StreamEvent._EventType.ValueType # 3
|
|
250
286
|
"""The run has completed."""
|
|
287
|
+
TOOL_CALLS: StreamEvent._EventType.ValueType # 4
|
|
288
|
+
"""The run is waiting for tool calls to be executed and their results to be submitted."""
|
|
251
289
|
|
|
252
290
|
class EventType(_EventType, metaclass=_EventTypeEnumTypeWrapper):
|
|
253
291
|
"""Enum representing events that can occur in the stream."""
|
|
@@ -260,12 +298,15 @@ class StreamEvent(google.protobuf.message.Message):
|
|
|
260
298
|
"""Run has failed due to an error."""
|
|
261
299
|
DONE: StreamEvent.EventType.ValueType # 3
|
|
262
300
|
"""The run has completed."""
|
|
301
|
+
TOOL_CALLS: StreamEvent.EventType.ValueType # 4
|
|
302
|
+
"""The run is waiting for tool calls to be executed and their results to be submitted."""
|
|
263
303
|
|
|
264
304
|
EVENT_TYPE_FIELD_NUMBER: builtins.int
|
|
265
305
|
STREAM_CURSOR_FIELD_NUMBER: builtins.int
|
|
266
306
|
ERROR_FIELD_NUMBER: builtins.int
|
|
267
307
|
PARTIAL_MESSAGE_FIELD_NUMBER: builtins.int
|
|
268
308
|
COMPLETED_MESSAGE_FIELD_NUMBER: builtins.int
|
|
309
|
+
TOOL_CALL_LIST_FIELD_NUMBER: builtins.int
|
|
269
310
|
event_type: global___StreamEvent.EventType.ValueType
|
|
270
311
|
"""The type of event."""
|
|
271
312
|
@property
|
|
@@ -284,6 +325,10 @@ class StreamEvent(google.protobuf.message.Message):
|
|
|
284
325
|
def completed_message(self) -> yandex.cloud.ai.assistants.v1.threads.message_pb2.Message:
|
|
285
326
|
"""Final message generated by an assistant if a run has completed successfully."""
|
|
286
327
|
|
|
328
|
+
@property
|
|
329
|
+
def tool_call_list(self) -> yandex.cloud.ai.assistants.v1.common_pb2.ToolCallList:
|
|
330
|
+
"""A list of tool calls requested by the assistant."""
|
|
331
|
+
|
|
287
332
|
def __init__(
|
|
288
333
|
self,
|
|
289
334
|
*,
|
|
@@ -292,9 +337,10 @@ class StreamEvent(google.protobuf.message.Message):
|
|
|
292
337
|
error: yandex.cloud.ai.common.common_pb2.Error | None = ...,
|
|
293
338
|
partial_message: yandex.cloud.ai.assistants.v1.threads.message_pb2.MessageContent | None = ...,
|
|
294
339
|
completed_message: yandex.cloud.ai.assistants.v1.threads.message_pb2.Message | None = ...,
|
|
340
|
+
tool_call_list: yandex.cloud.ai.assistants.v1.common_pb2.ToolCallList | None = ...,
|
|
295
341
|
) -> None: ...
|
|
296
|
-
def HasField(self, field_name: typing.Literal["EventData", b"EventData", "completed_message", b"completed_message", "error", b"error", "partial_message", b"partial_message", "stream_cursor", b"stream_cursor"]) -> builtins.bool: ...
|
|
297
|
-
def ClearField(self, field_name: typing.Literal["EventData", b"EventData", "completed_message", b"completed_message", "error", b"error", "event_type", b"event_type", "partial_message", b"partial_message", "stream_cursor", b"stream_cursor"]) -> None: ...
|
|
298
|
-
def WhichOneof(self, oneof_group: typing.Literal["EventData", b"EventData"]) -> typing.Literal["error", "partial_message", "completed_message"] | None: ...
|
|
342
|
+
def HasField(self, field_name: typing.Literal["EventData", b"EventData", "completed_message", b"completed_message", "error", b"error", "partial_message", b"partial_message", "stream_cursor", b"stream_cursor", "tool_call_list", b"tool_call_list"]) -> builtins.bool: ...
|
|
343
|
+
def ClearField(self, field_name: typing.Literal["EventData", b"EventData", "completed_message", b"completed_message", "error", b"error", "event_type", b"event_type", "partial_message", b"partial_message", "stream_cursor", b"stream_cursor", "tool_call_list", b"tool_call_list"]) -> None: ...
|
|
344
|
+
def WhichOneof(self, oneof_group: typing.Literal["EventData", b"EventData"]) -> typing.Literal["error", "partial_message", "completed_message", "tool_call_list"] | None: ...
|
|
299
345
|
|
|
300
346
|
global___StreamEvent = StreamEvent
|
|
@@ -46,6 +46,11 @@ class RunServiceStub(object):
|
|
|
46
46
|
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListenRunRequest.SerializeToString,
|
|
47
47
|
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.FromString,
|
|
48
48
|
_registered_method=True)
|
|
49
|
+
self.Attach = channel.stream_stream(
|
|
50
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/Attach',
|
|
51
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.AttachRunRequest.SerializeToString,
|
|
52
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.FromString,
|
|
53
|
+
_registered_method=True)
|
|
49
54
|
self.Get = channel.unary_unary(
|
|
50
55
|
'/yandex.cloud.ai.assistants.v1.runs.RunService/Get',
|
|
51
56
|
request_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetRunRequest.SerializeToString,
|
|
@@ -83,6 +88,15 @@ class RunServiceServicer(object):
|
|
|
83
88
|
context.set_details('Method not implemented!')
|
|
84
89
|
raise NotImplementedError('Method not implemented!')
|
|
85
90
|
|
|
91
|
+
def Attach(self, request_iterator, context):
|
|
92
|
+
"""Bi-directional streaming method to interact with a specific run.
|
|
93
|
+
Like `Listen`, `Attach` streams events from the run, but also allows clients to send events back.
|
|
94
|
+
For example, it can be used to submit function call results when the run is waiting for user input.
|
|
95
|
+
"""
|
|
96
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
97
|
+
context.set_details('Method not implemented!')
|
|
98
|
+
raise NotImplementedError('Method not implemented!')
|
|
99
|
+
|
|
86
100
|
def Get(self, request, context):
|
|
87
101
|
"""Retrieve details of a specific run by its ID.
|
|
88
102
|
"""
|
|
@@ -117,6 +131,11 @@ def add_RunServiceServicer_to_server(servicer, server):
|
|
|
117
131
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.ListenRunRequest.FromString,
|
|
118
132
|
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.SerializeToString,
|
|
119
133
|
),
|
|
134
|
+
'Attach': grpc.stream_stream_rpc_method_handler(
|
|
135
|
+
servicer.Attach,
|
|
136
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.AttachRunRequest.FromString,
|
|
137
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.SerializeToString,
|
|
138
|
+
),
|
|
120
139
|
'Get': grpc.unary_unary_rpc_method_handler(
|
|
121
140
|
servicer.Get,
|
|
122
141
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.GetRunRequest.FromString,
|
|
@@ -198,6 +217,33 @@ class RunService(object):
|
|
|
198
217
|
metadata,
|
|
199
218
|
_registered_method=True)
|
|
200
219
|
|
|
220
|
+
@staticmethod
|
|
221
|
+
def Attach(request_iterator,
|
|
222
|
+
target,
|
|
223
|
+
options=(),
|
|
224
|
+
channel_credentials=None,
|
|
225
|
+
call_credentials=None,
|
|
226
|
+
insecure=False,
|
|
227
|
+
compression=None,
|
|
228
|
+
wait_for_ready=None,
|
|
229
|
+
timeout=None,
|
|
230
|
+
metadata=None):
|
|
231
|
+
return grpc.experimental.stream_stream(
|
|
232
|
+
request_iterator,
|
|
233
|
+
target,
|
|
234
|
+
'/yandex.cloud.ai.assistants.v1.runs.RunService/Attach',
|
|
235
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.AttachRunRequest.SerializeToString,
|
|
236
|
+
yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_runs_dot_run__service__pb2.StreamEvent.FromString,
|
|
237
|
+
options,
|
|
238
|
+
channel_credentials,
|
|
239
|
+
insecure,
|
|
240
|
+
call_credentials,
|
|
241
|
+
compression,
|
|
242
|
+
wait_for_ready,
|
|
243
|
+
timeout,
|
|
244
|
+
metadata,
|
|
245
|
+
_registered_method=True)
|
|
246
|
+
|
|
201
247
|
@staticmethod
|
|
202
248
|
def Get(request,
|
|
203
249
|
target,
|
|
@@ -37,6 +37,15 @@ class RunServiceStub:
|
|
|
37
37
|
and will not stream partial messages or intermediate events.
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
|
+
Attach: grpc.StreamStreamMultiCallable[
|
|
41
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.AttachRunRequest,
|
|
42
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent,
|
|
43
|
+
]
|
|
44
|
+
"""Bi-directional streaming method to interact with a specific run.
|
|
45
|
+
Like `Listen`, `Attach` streams events from the run, but also allows clients to send events back.
|
|
46
|
+
For example, it can be used to submit function call results when the run is waiting for user input.
|
|
47
|
+
"""
|
|
48
|
+
|
|
40
49
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
41
50
|
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetRunRequest,
|
|
42
51
|
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
@@ -73,6 +82,15 @@ class RunServiceAsyncStub:
|
|
|
73
82
|
and will not stream partial messages or intermediate events.
|
|
74
83
|
"""
|
|
75
84
|
|
|
85
|
+
Attach: grpc.aio.StreamStreamMultiCallable[
|
|
86
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.AttachRunRequest,
|
|
87
|
+
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent,
|
|
88
|
+
]
|
|
89
|
+
"""Bi-directional streaming method to interact with a specific run.
|
|
90
|
+
Like `Listen`, `Attach` streams events from the run, but also allows clients to send events back.
|
|
91
|
+
For example, it can be used to submit function call results when the run is waiting for user input.
|
|
92
|
+
"""
|
|
93
|
+
|
|
76
94
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
77
95
|
yandex.cloud.ai.assistants.v1.runs.run_service_pb2.GetRunRequest,
|
|
78
96
|
yandex.cloud.ai.assistants.v1.runs.run_pb2.Run,
|
|
@@ -113,6 +131,17 @@ class RunServiceServicer(metaclass=abc.ABCMeta):
|
|
|
113
131
|
and will not stream partial messages or intermediate events.
|
|
114
132
|
"""
|
|
115
133
|
|
|
134
|
+
@abc.abstractmethod
|
|
135
|
+
def Attach(
|
|
136
|
+
self,
|
|
137
|
+
request_iterator: _MaybeAsyncIterator[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.AttachRunRequest],
|
|
138
|
+
context: _ServicerContext,
|
|
139
|
+
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent], collections.abc.AsyncIterator[yandex.cloud.ai.assistants.v1.runs.run_service_pb2.StreamEvent]]:
|
|
140
|
+
"""Bi-directional streaming method to interact with a specific run.
|
|
141
|
+
Like `Listen`, `Attach` streams events from the run, but also allows clients to send events back.
|
|
142
|
+
For example, it can be used to submit function call results when the run is waiting for user input.
|
|
143
|
+
"""
|
|
144
|
+
|
|
116
145
|
@abc.abstractmethod
|
|
117
146
|
def Get(
|
|
118
147
|
self,
|
|
@@ -187,6 +187,19 @@ global___CombinationStrategy = CombinationStrategy
|
|
|
187
187
|
|
|
188
188
|
@typing.final
|
|
189
189
|
class NgramTokenizer(google.protobuf.message.Message):
|
|
190
|
+
"""Configuration for the NgramTokenizer, which splits text into overlapping character sequences (n-grams) of specified lengths.
|
|
191
|
+
|
|
192
|
+
Example:
|
|
193
|
+
Input text: `hello`
|
|
194
|
+
min_gram = 2, max_gram = 3
|
|
195
|
+
|
|
196
|
+
Generated tokens:
|
|
197
|
+
* For n = 2 (2-character n-grams): `he`, `el`, `ll`, `lo`
|
|
198
|
+
* For n = 3 (3-character n-grams): `hel`, `ell`, `llo`
|
|
199
|
+
|
|
200
|
+
Final tokens: `[he, el, ll, lo, hel, ell, llo]`
|
|
201
|
+
"""
|
|
202
|
+
|
|
190
203
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
191
204
|
|
|
192
205
|
MIN_GRAM_FIELD_NUMBER: builtins.int
|
|
@@ -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\"\xd0\x01\n\x0fTextSearchIndex\x12V\n\x11\x63hunking_strategy\x18\x01 \x01(\x0b\x32;.yandex.cloud.ai.assistants.v1.searchindex.ChunkingStrategy\x12T\n\x0fngram_tokenizer\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.ai.assistants.v1.searchindex.NgramTokenizerH\x00\x42\x0f\n\rTextTokenizer\"\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)
|
|
@@ -41,10 +41,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_SEARCHINDEX']._serialized_end=985
|
|
42
42
|
_globals['_SEARCHINDEX_LABELSENTRY']._serialized_start=927
|
|
43
43
|
_globals['_SEARCHINDEX_LABELSENTRY']._serialized_end=972
|
|
44
|
-
_globals['_TEXTSEARCHINDEX']._serialized_start=
|
|
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=
|
|
44
|
+
_globals['_TEXTSEARCHINDEX']._serialized_start=988
|
|
45
|
+
_globals['_TEXTSEARCHINDEX']._serialized_end=1196
|
|
46
|
+
_globals['_VECTORSEARCHINDEX']._serialized_start=1199
|
|
47
|
+
_globals['_VECTORSEARCHINDEX']._serialized_end=1360
|
|
48
|
+
_globals['_HYBRIDSEARCHINDEX']._serialized_start=1363
|
|
49
|
+
_globals['_HYBRIDSEARCHINDEX']._serialized_end=1840
|
|
50
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -132,19 +132,26 @@ class TextSearchIndex(google.protobuf.message.Message):
|
|
|
132
132
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
133
133
|
|
|
134
134
|
CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
|
|
135
|
+
NGRAM_TOKENIZER_FIELD_NUMBER: builtins.int
|
|
135
136
|
@property
|
|
136
137
|
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
137
138
|
"""Chunking strategy used to split text into smaller chunks before indexing.
|
|
138
139
|
In the case of text search, tokens are individual text characters.
|
|
139
140
|
"""
|
|
140
141
|
|
|
142
|
+
@property
|
|
143
|
+
def ngram_tokenizer(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.NgramTokenizer:
|
|
144
|
+
"""Tokenizer that generates n-grams."""
|
|
145
|
+
|
|
141
146
|
def __init__(
|
|
142
147
|
self,
|
|
143
148
|
*,
|
|
144
149
|
chunking_strategy: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy | None = ...,
|
|
150
|
+
ngram_tokenizer: yandex.cloud.ai.assistants.v1.searchindex.common_pb2.NgramTokenizer | None = ...,
|
|
145
151
|
) -> None: ...
|
|
146
|
-
def HasField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy"]) -> builtins.bool: ...
|
|
147
|
-
def ClearField(self, field_name: typing.Literal["chunking_strategy", b"chunking_strategy"]) -> 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
|
+
def WhichOneof(self, oneof_group: typing.Literal["TextTokenizer", b"TextTokenizer"]) -> typing.Literal["ngram_tokenizer"] | None: ...
|
|
148
155
|
|
|
149
156
|
global___TextSearchIndex = TextSearchIndex
|
|
150
157
|
|
|
@@ -22,11 +22,12 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
|
22
22
|
_sym_db = _symbol_database.Default()
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
from yandex.cloud.ai.assistants.v1 import common_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_common__pb2
|
|
25
26
|
from yandex.cloud.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
|
|
26
27
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
28
|
|
|
28
29
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/ai/assistants/v1/threads/thread.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a#yandex/cloud/ai/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/ai/assistants/v1/threads/thread.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a*yandex/cloud/ai/assistants/v1/common.proto\x1a#yandex/cloud/ai/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x98\x04\n\x06Thread\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!\n\x19\x64\x65\x66\x61ult_message_author_id\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\t\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\n \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12I\n\x06labels\x18\x0c \x03(\x0b\x32\x39.yandex.cloud.ai.assistants.v1.threads.Thread.LabelsEntry\x12\x32\n\x05tools\x18\r \x03(\x0b\x32#.yandex.cloud.ai.assistants.v1.Tool\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42~\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threadsb\x06proto3')
|
|
30
31
|
|
|
31
32
|
_globals = globals()
|
|
32
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,8 +37,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threads'
|
|
37
38
|
_globals['_THREAD_LABELSENTRY']._loaded_options = None
|
|
38
39
|
_globals['_THREAD_LABELSENTRY']._serialized_options = b'8\001'
|
|
39
|
-
_globals['_THREAD']._serialized_start=
|
|
40
|
-
_globals['_THREAD']._serialized_end=
|
|
41
|
-
_globals['_THREAD_LABELSENTRY']._serialized_start=
|
|
42
|
-
_globals['_THREAD_LABELSENTRY']._serialized_end=
|
|
40
|
+
_globals['_THREAD']._serialized_start=208
|
|
41
|
+
_globals['_THREAD']._serialized_end=744
|
|
42
|
+
_globals['_THREAD_LABELSENTRY']._serialized_start=699
|
|
43
|
+
_globals['_THREAD_LABELSENTRY']._serialized_end=744
|
|
43
44
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.internal.containers
|
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import google.protobuf.timestamp_pb2
|
|
12
12
|
import typing
|
|
13
|
+
import yandex.cloud.ai.assistants.v1.common_pb2
|
|
13
14
|
import yandex.cloud.ai.common.common_pb2
|
|
14
15
|
|
|
15
16
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
@@ -46,6 +47,7 @@ class Thread(google.protobuf.message.Message):
|
|
|
46
47
|
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
47
48
|
EXPIRES_AT_FIELD_NUMBER: builtins.int
|
|
48
49
|
LABELS_FIELD_NUMBER: builtins.int
|
|
50
|
+
TOOLS_FIELD_NUMBER: builtins.int
|
|
49
51
|
id: builtins.str
|
|
50
52
|
"""Unique identifier of the thread."""
|
|
51
53
|
folder_id: builtins.str
|
|
@@ -80,6 +82,10 @@ class Thread(google.protobuf.message.Message):
|
|
|
80
82
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
81
83
|
"""Set of key-value pairs that can be used to organize and categorize the thread."""
|
|
82
84
|
|
|
85
|
+
@property
|
|
86
|
+
def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.common_pb2.Tool]:
|
|
87
|
+
"""List of tools that are available for assistants to use in this thread."""
|
|
88
|
+
|
|
83
89
|
def __init__(
|
|
84
90
|
self,
|
|
85
91
|
*,
|
|
@@ -95,8 +101,9 @@ class Thread(google.protobuf.message.Message):
|
|
|
95
101
|
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
96
102
|
expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
97
103
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
104
|
+
tools: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.common_pb2.Tool] | None = ...,
|
|
98
105
|
) -> None: ...
|
|
99
106
|
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
100
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "default_message_author_id", b"default_message_author_id", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
|
|
107
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "default_message_author_id", b"default_message_author_id", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "tools", b"tools", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
|
|
101
108
|
|
|
102
109
|
global___Thread = Thread
|
|
@@ -23,6 +23,7 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from yandex.cloud.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
|
|
26
|
+
from yandex.cloud.ai.assistants.v1 import common_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_common__pb2
|
|
26
27
|
from yandex.cloud.ai.assistants.v1.threads import message_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_message__pb2
|
|
27
28
|
from yandex.cloud.ai.assistants.v1.threads import thread_pb2 as yandex_dot_cloud_dot_ai_dot_assistants_dot_v1_dot_threads_dot_thread__pb2
|
|
28
29
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
@@ -30,7 +31,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
30
31
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
31
32
|
|
|
32
33
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/ai/assistants/v1/threads/thread_service.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a#yandex/cloud/ai/common/common.proto\x1a\x33yandex/cloud/ai/assistants/v1/threads/message.proto\x1a\x32yandex/cloud/ai/assistants/v1/threads/thread.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"\
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/ai/assistants/v1/threads/thread_service.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a#yandex/cloud/ai/common/common.proto\x1a*yandex/cloud/ai/assistants/v1/common.proto\x1a\x33yandex/cloud/ai/assistants/v1/threads/message.proto\x1a\x32yandex/cloud/ai/assistants/v1/threads/thread.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"\xba\x03\n\x13\x43reateThreadRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x44\n\x08messages\x18\x02 \x03(\x0b\x32\x32.yandex.cloud.ai.assistants.v1.threads.MessageData\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12!\n\x19\x64\x65\x66\x61ult_message_author_id\x18\x05 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x06 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12V\n\x06labels\x18\x07 \x03(\x0b\x32\x46.yandex.cloud.ai.assistants.v1.threads.CreateThreadRequest.LabelsEntry\x12\x32\n\x05tools\x18\x08 \x03(\x0b\x32#.yandex.cloud.ai.assistants.v1.Tool\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x10GetThreadRequest\x12\x17\n\tthread_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x88\x03\n\x13UpdateThreadRequest\x12\x17\n\tthread_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x05 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12V\n\x06labels\x18\x06 \x03(\x0b\x32\x46.yandex.cloud.ai.assistants.v1.threads.UpdateThreadRequest.LabelsEntry\x12\x32\n\x05tools\x18\x07 \x03(\x0b\x32#.yandex.cloud.ai.assistants.v1.Tool\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x13\x44\x65leteThreadRequest\x12\x17\n\tthread_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x16\n\x14\x44\x65leteThreadResponse\"T\n\x12ListThreadsRequest\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\"n\n\x13ListThreadsResponse\x12>\n\x07threads\x18\x01 \x03(\x0b\x32-.yandex.cloud.ai.assistants.v1.threads.Thread\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb9\x06\n\rThreadService\x12\x96\x01\n\x06\x43reate\x12:.yandex.cloud.ai.assistants.v1.threads.CreateThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/assistants/v1/threads:\x01*\x12\x99\x01\n\x03Get\x12\x37.yandex.cloud.ai.assistants.v1.threads.GetThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"*\x82\xd3\xe4\x93\x02$\x12\"/assistants/v1/threads/{thread_id}\x12\xa2\x01\n\x06Update\x12:.yandex.cloud.ai.assistants.v1.threads.UpdateThreadRequest\x1a-.yandex.cloud.ai.assistants.v1.threads.Thread\"-\x82\xd3\xe4\x93\x02\'2\"/assistants/v1/threads/{thread_id}:\x01*\x12\xad\x01\n\x06\x44\x65lete\x12:.yandex.cloud.ai.assistants.v1.threads.DeleteThreadRequest\x1a;.yandex.cloud.ai.assistants.v1.threads.DeleteThreadResponse\"*\x82\xd3\xe4\x93\x02$*\"/assistants/v1/threads/{thread_id}\x12\x9d\x01\n\x04List\x12\x39.yandex.cloud.ai.assistants.v1.threads.ListThreadsRequest\x1a:.yandex.cloud.ai.assistants.v1.threads.ListThreadsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/assistants/v1/threadsB~\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threadsb\x06proto3')
|
|
34
35
|
|
|
35
36
|
_globals = globals()
|
|
36
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -64,24 +65,24 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
64
65
|
_globals['_THREADSERVICE'].methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002$*\"/assistants/v1/threads/{thread_id}'
|
|
65
66
|
_globals['_THREADSERVICE'].methods_by_name['List']._loaded_options = None
|
|
66
67
|
_globals['_THREADSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\030\022\026/assistants/v1/threads'
|
|
67
|
-
_globals['_CREATETHREADREQUEST']._serialized_start=
|
|
68
|
-
_globals['_CREATETHREADREQUEST']._serialized_end=
|
|
69
|
-
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_start=
|
|
70
|
-
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_end=
|
|
71
|
-
_globals['_GETTHREADREQUEST']._serialized_start=
|
|
72
|
-
_globals['_GETTHREADREQUEST']._serialized_end=
|
|
73
|
-
_globals['_UPDATETHREADREQUEST']._serialized_start=
|
|
74
|
-
_globals['_UPDATETHREADREQUEST']._serialized_end=
|
|
75
|
-
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_start=
|
|
76
|
-
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_end=
|
|
77
|
-
_globals['_DELETETHREADREQUEST']._serialized_start=
|
|
78
|
-
_globals['_DELETETHREADREQUEST']._serialized_end=
|
|
79
|
-
_globals['_DELETETHREADRESPONSE']._serialized_start=
|
|
80
|
-
_globals['_DELETETHREADRESPONSE']._serialized_end=
|
|
81
|
-
_globals['_LISTTHREADSREQUEST']._serialized_start=
|
|
82
|
-
_globals['_LISTTHREADSREQUEST']._serialized_end=
|
|
83
|
-
_globals['_LISTTHREADSRESPONSE']._serialized_start=
|
|
84
|
-
_globals['_LISTTHREADSRESPONSE']._serialized_end=
|
|
85
|
-
_globals['_THREADSERVICE']._serialized_start=
|
|
86
|
-
_globals['_THREADSERVICE']._serialized_end=
|
|
68
|
+
_globals['_CREATETHREADREQUEST']._serialized_start=383
|
|
69
|
+
_globals['_CREATETHREADREQUEST']._serialized_end=825
|
|
70
|
+
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_start=780
|
|
71
|
+
_globals['_CREATETHREADREQUEST_LABELSENTRY']._serialized_end=825
|
|
72
|
+
_globals['_GETTHREADREQUEST']._serialized_start=827
|
|
73
|
+
_globals['_GETTHREADREQUEST']._serialized_end=870
|
|
74
|
+
_globals['_UPDATETHREADREQUEST']._serialized_start=873
|
|
75
|
+
_globals['_UPDATETHREADREQUEST']._serialized_end=1265
|
|
76
|
+
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_start=780
|
|
77
|
+
_globals['_UPDATETHREADREQUEST_LABELSENTRY']._serialized_end=825
|
|
78
|
+
_globals['_DELETETHREADREQUEST']._serialized_start=1267
|
|
79
|
+
_globals['_DELETETHREADREQUEST']._serialized_end=1313
|
|
80
|
+
_globals['_DELETETHREADRESPONSE']._serialized_start=1315
|
|
81
|
+
_globals['_DELETETHREADRESPONSE']._serialized_end=1337
|
|
82
|
+
_globals['_LISTTHREADSREQUEST']._serialized_start=1339
|
|
83
|
+
_globals['_LISTTHREADSREQUEST']._serialized_end=1423
|
|
84
|
+
_globals['_LISTTHREADSRESPONSE']._serialized_start=1425
|
|
85
|
+
_globals['_LISTTHREADSRESPONSE']._serialized_end=1535
|
|
86
|
+
_globals['_THREADSERVICE']._serialized_start=1538
|
|
87
|
+
_globals['_THREADSERVICE']._serialized_end=2363
|
|
87
88
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.field_mask_pb2
|
|
|
10
10
|
import google.protobuf.internal.containers
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import typing
|
|
13
|
+
import yandex.cloud.ai.assistants.v1.common_pb2
|
|
13
14
|
import yandex.cloud.ai.assistants.v1.threads.message_pb2
|
|
14
15
|
import yandex.cloud.ai.assistants.v1.threads.thread_pb2
|
|
15
16
|
import yandex.cloud.ai.common.common_pb2
|
|
@@ -45,6 +46,7 @@ class CreateThreadRequest(google.protobuf.message.Message):
|
|
|
45
46
|
DEFAULT_MESSAGE_AUTHOR_ID_FIELD_NUMBER: builtins.int
|
|
46
47
|
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
47
48
|
LABELS_FIELD_NUMBER: builtins.int
|
|
49
|
+
TOOLS_FIELD_NUMBER: builtins.int
|
|
48
50
|
folder_id: builtins.str
|
|
49
51
|
name: builtins.str
|
|
50
52
|
"""Name of the thread."""
|
|
@@ -64,6 +66,10 @@ class CreateThreadRequest(google.protobuf.message.Message):
|
|
|
64
66
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
65
67
|
"""Set of key-value pairs to label the thread."""
|
|
66
68
|
|
|
69
|
+
@property
|
|
70
|
+
def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.common_pb2.Tool]:
|
|
71
|
+
"""List of tools that are available for assistants to use in this thread."""
|
|
72
|
+
|
|
67
73
|
def __init__(
|
|
68
74
|
self,
|
|
69
75
|
*,
|
|
@@ -74,9 +80,10 @@ class CreateThreadRequest(google.protobuf.message.Message):
|
|
|
74
80
|
default_message_author_id: builtins.str = ...,
|
|
75
81
|
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
76
82
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
83
|
+
tools: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.common_pb2.Tool] | None = ...,
|
|
77
84
|
) -> None: ...
|
|
78
85
|
def HasField(self, field_name: typing.Literal["expiration_config", b"expiration_config"]) -> builtins.bool: ...
|
|
79
|
-
def ClearField(self, field_name: typing.Literal["default_message_author_id", b"default_message_author_id", "description", b"description", "expiration_config", b"expiration_config", "folder_id", b"folder_id", "labels", b"labels", "messages", b"messages", "name", b"name"]) -> None: ...
|
|
86
|
+
def ClearField(self, field_name: typing.Literal["default_message_author_id", b"default_message_author_id", "description", b"description", "expiration_config", b"expiration_config", "folder_id", b"folder_id", "labels", b"labels", "messages", b"messages", "name", b"name", "tools", b"tools"]) -> None: ...
|
|
80
87
|
|
|
81
88
|
global___CreateThreadRequest = CreateThreadRequest
|
|
82
89
|
|
|
@@ -126,6 +133,7 @@ class UpdateThreadRequest(google.protobuf.message.Message):
|
|
|
126
133
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
127
134
|
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
128
135
|
LABELS_FIELD_NUMBER: builtins.int
|
|
136
|
+
TOOLS_FIELD_NUMBER: builtins.int
|
|
129
137
|
thread_id: builtins.str
|
|
130
138
|
"""ID of the thread to update."""
|
|
131
139
|
name: builtins.str
|
|
@@ -144,6 +152,10 @@ class UpdateThreadRequest(google.protobuf.message.Message):
|
|
|
144
152
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
145
153
|
"""New set of labels for the thread."""
|
|
146
154
|
|
|
155
|
+
@property
|
|
156
|
+
def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.common_pb2.Tool]:
|
|
157
|
+
"""A new list of tools that are available for assistants to use in this thread."""
|
|
158
|
+
|
|
147
159
|
def __init__(
|
|
148
160
|
self,
|
|
149
161
|
*,
|
|
@@ -153,9 +165,10 @@ class UpdateThreadRequest(google.protobuf.message.Message):
|
|
|
153
165
|
description: builtins.str = ...,
|
|
154
166
|
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
155
167
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
168
|
+
tools: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.common_pb2.Tool] | None = ...,
|
|
156
169
|
) -> None: ...
|
|
157
170
|
def HasField(self, field_name: typing.Literal["expiration_config", b"expiration_config", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
158
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "expiration_config", b"expiration_config", "labels", b"labels", "name", b"name", "thread_id", b"thread_id", "update_mask", b"update_mask"]) -> None: ...
|
|
171
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "expiration_config", b"expiration_config", "labels", b"labels", "name", b"name", "thread_id", b"thread_id", "tools", b"tools", "update_mask", b"update_mask"]) -> None: ...
|
|
159
172
|
|
|
160
173
|
global___UpdateThreadRequest = UpdateThreadRequest
|
|
161
174
|
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/dataset/v1/dataset.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/ai/dataset/v1/dataset.proto\x12\x1ayandex.cloud.ai.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbd\x05\n\x0b\x44\x61tasetInfo\x12\x12\n\ndataset_id\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\x10\n\x08metadata\x18\x05 \x01(\t\x12>\n\x06status\x18\x06 \x01(\x0e\x32..yandex.cloud.ai.dataset.v1.DatasetInfo.Status\x12\x11\n\ttask_type\x18\x07 \x01(\t\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04rows\x18\n \x01(\x03\x12\x12\n\nsize_bytes\x18\x0b \x01(\x03\x12\x19\n\rcreated_by_id\x18\x0c \x01(\tB\x02\x18\x01\x12\x43\n\x06labels\x18\r \x03(\x0b\x32\x33.yandex.cloud.ai.dataset.v1.DatasetInfo.LabelsEntry\x12\x12\n\ncreated_by\x18\x0e \x01(\t\x12\x12\n\nupdated_by\x18\x0f \x01(\t\x12\x45\n\x10validation_error\x18\x15 \x03(\x0b\x32+.yandex.cloud.ai.dataset.v1.ValidationError\x12\x16\n\x0e\x61llow_data_log\x18\x16 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0e\n\nVALIDATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0b\n\x07INVALID\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05J\x04\x08\x10\x10\x15\"P\n\x0fValidationError\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x19\n\x11\x65rror_description\x18\x02 \x01(\t\x12\x13\n\x0brow_numbers\x18\x03 \x03(\x03\"O\n\x13\x44\x61tasetUploadSchema\x12\x11\n\ttask_type\x18\x01 \x01(\t\x12\x15\n\rupload_format\x18\x02 \x01(\t\x12\x0e\n\x06schema\x18\x03 \x01(\t\"2\n\x16\x44\x61tasetFileDownloadUrl\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\tBe\n\x1eyandex.cloud.api.ai.dataset.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/dataset/v1;fomob\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -38,13 +38,15 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
38
38
|
_globals['_DATASETINFO'].fields_by_name['created_by_id']._loaded_options = None
|
|
39
39
|
_globals['_DATASETINFO'].fields_by_name['created_by_id']._serialized_options = b'\030\001'
|
|
40
40
|
_globals['_DATASETINFO']._serialized_start=106
|
|
41
|
-
_globals['_DATASETINFO']._serialized_end=
|
|
42
|
-
_globals['_DATASETINFO_LABELSENTRY']._serialized_start=
|
|
43
|
-
_globals['_DATASETINFO_LABELSENTRY']._serialized_end=
|
|
44
|
-
_globals['_DATASETINFO_STATUS']._serialized_start=
|
|
45
|
-
_globals['_DATASETINFO_STATUS']._serialized_end=
|
|
46
|
-
_globals['_VALIDATIONERROR']._serialized_start=
|
|
47
|
-
_globals['_VALIDATIONERROR']._serialized_end=
|
|
48
|
-
_globals['_DATASETUPLOADSCHEMA']._serialized_start=
|
|
49
|
-
_globals['_DATASETUPLOADSCHEMA']._serialized_end=
|
|
41
|
+
_globals['_DATASETINFO']._serialized_end=807
|
|
42
|
+
_globals['_DATASETINFO_LABELSENTRY']._serialized_start=657
|
|
43
|
+
_globals['_DATASETINFO_LABELSENTRY']._serialized_end=702
|
|
44
|
+
_globals['_DATASETINFO_STATUS']._serialized_start=704
|
|
45
|
+
_globals['_DATASETINFO_STATUS']._serialized_end=801
|
|
46
|
+
_globals['_VALIDATIONERROR']._serialized_start=809
|
|
47
|
+
_globals['_VALIDATIONERROR']._serialized_end=889
|
|
48
|
+
_globals['_DATASETUPLOADSCHEMA']._serialized_start=891
|
|
49
|
+
_globals['_DATASETUPLOADSCHEMA']._serialized_end=970
|
|
50
|
+
_globals['_DATASETFILEDOWNLOADURL']._serialized_start=972
|
|
51
|
+
_globals['_DATASETFILEDOWNLOADURL']._serialized_end=1022
|
|
50
52
|
# @@protoc_insertion_point(module_scope)
|