Skip to content

Commit bcee91c

Browse files
feat: regenerate proto
1 parent 1f2b3f1 commit bcee91c

210 files changed

Lines changed: 16304 additions & 1665 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cloudapi

Submodule cloudapi updated 90 files

yandex/cloud/ai/assistants/v1/common_pb2.py

Lines changed: 32 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yandex/cloud/ai/assistants/v1/common_pb2.pyi

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ class SearchIndexTool(google.protobuf.message.Message):
234234

235235
SEARCH_INDEX_IDS_FIELD_NUMBER: builtins.int
236236
MAX_NUM_RESULTS_FIELD_NUMBER: builtins.int
237+
REPHRASER_OPTIONS_FIELD_NUMBER: builtins.int
237238
@property
238239
def search_index_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
239240
"""A list of search index IDs that this tool will query. Currently, only a single index ID is supported."""
@@ -245,14 +246,22 @@ class SearchIndexTool(google.protobuf.message.Message):
245246
This ensures that the combined prompt and search results do not exceed the token constraints.
246247
"""
247248

249+
@property
250+
def rephraser_options(self) -> global___RephraserOptions:
251+
"""Options for rephrasing user queries.
252+
Used to rewrite the last user message for search,
253+
incorporating context from the previous conversation.
254+
"""
255+
248256
def __init__(
249257
self,
250258
*,
251259
search_index_ids: collections.abc.Iterable[builtins.str] | None = ...,
252260
max_num_results: google.protobuf.wrappers_pb2.Int64Value | None = ...,
261+
rephraser_options: global___RephraserOptions | None = ...,
253262
) -> None: ...
254-
def HasField(self, field_name: typing.Literal["max_num_results", b"max_num_results"]) -> builtins.bool: ...
255-
def ClearField(self, field_name: typing.Literal["max_num_results", b"max_num_results", "search_index_ids", b"search_index_ids"]) -> None: ...
263+
def HasField(self, field_name: typing.Literal["max_num_results", b"max_num_results", "rephraser_options", b"rephraser_options"]) -> builtins.bool: ...
264+
def ClearField(self, field_name: typing.Literal["max_num_results", b"max_num_results", "rephraser_options", b"rephraser_options", "search_index_ids", b"search_index_ids"]) -> None: ...
256265

257266
global___SearchIndexTool = SearchIndexTool
258267

@@ -339,3 +348,21 @@ class FunctionResult(google.protobuf.message.Message):
339348
def WhichOneof(self, oneof_group: typing.Literal["ContentType", b"ContentType"]) -> typing.Literal["content"] | None: ...
340349

341350
global___FunctionResult = FunctionResult
351+
352+
@typing.final
353+
class RephraserOptions(google.protobuf.message.Message):
354+
"""Options for configuring the rephrasing the last user message for search using context from previous conversation."""
355+
356+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
357+
358+
REPHRASER_URI_FIELD_NUMBER: builtins.int
359+
rephraser_uri: builtins.str
360+
"""The ID of the model used to rephrase the last user message for search."""
361+
def __init__(
362+
self,
363+
*,
364+
rephraser_uri: builtins.str = ...,
365+
) -> None: ...
366+
def ClearField(self, field_name: typing.Literal["rephraser_uri", b"rephraser_uri"]) -> None: ...
367+
368+
global___RephraserOptions = RephraserOptions

yandex/cloud/ai/dataset/v1/dataset_service_pb2.py

Lines changed: 32 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,7 @@ class ListDatasetsRequest(google.protobuf.message.Message):
461461
TASK_TYPE_FILTER_FIELD_NUMBER: builtins.int
462462
PAGE_SIZE_FIELD_NUMBER: builtins.int
463463
PAGE_TOKEN_FIELD_NUMBER: builtins.int
464+
DATASET_IDS_FIELD_NUMBER: builtins.int
464465
folder_id: builtins.str
465466
"""Folder ID of the datasets to list."""
466467
dataset_name_pattern: builtins.str
@@ -483,6 +484,10 @@ class ListDatasetsRequest(google.protobuf.message.Message):
483484
def task_type_filter(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
484485
"""Task types of the datasets to list. Optional."""
485486

487+
@property
488+
def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
489+
"""Dataset Id of the datasets to list. Optional."""
490+
486491
def __init__(
487492
self,
488493
*,
@@ -492,8 +497,9 @@ class ListDatasetsRequest(google.protobuf.message.Message):
492497
task_type_filter: collections.abc.Iterable[builtins.str] | None = ...,
493498
page_size: builtins.int = ...,
494499
page_token: builtins.str = ...,
500+
dataset_ids: collections.abc.Iterable[builtins.str] | None = ...,
495501
) -> None: ...
496-
def ClearField(self, field_name: typing.Literal["dataset_name_pattern", b"dataset_name_pattern", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token", "status", b"status", "task_type_filter", b"task_type_filter"]) -> None: ...
502+
def ClearField(self, field_name: typing.Literal["dataset_ids", b"dataset_ids", "dataset_name_pattern", b"dataset_name_pattern", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token", "status", b"status", "task_type_filter", b"task_type_filter"]) -> None: ...
497503

498504
global___ListDatasetsRequest = ListDatasetsRequest
499505

0 commit comments

Comments
 (0)