Skip to content

Commit 60ae684

Browse files
feat: regenerate proto
1 parent c9eefb1 commit 60ae684

File tree

70 files changed

+2746
-1953
lines changed

Some content is hidden

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

70 files changed

+2746
-1953
lines changed

cloudapi

Submodule cloudapi updated 39 files

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

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

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Assistant(google.protobuf.message.Message):
5353
PROMPT_TRUNCATION_OPTIONS_FIELD_NUMBER: builtins.int
5454
COMPLETION_OPTIONS_FIELD_NUMBER: builtins.int
5555
TOOLS_FIELD_NUMBER: builtins.int
56+
RESPONSE_FORMAT_FIELD_NUMBER: builtins.int
5657
id: builtins.str
5758
"""Unique identifier of the assistant."""
5859
folder_id: builtins.str
@@ -105,6 +106,10 @@ class Assistant(google.protobuf.message.Message):
105106
One example is the SearchIndexTool, which is used for Retrieval-Augmented Generation (RAG).
106107
"""
107108

109+
@property
110+
def response_format(self) -> yandex.cloud.ai.assistants.v1.common_pb2.ResponseFormat:
111+
"""Specifies the format of the model's response."""
112+
108113
def __init__(
109114
self,
110115
*,
@@ -124,8 +129,9 @@ class Assistant(google.protobuf.message.Message):
124129
prompt_truncation_options: yandex.cloud.ai.assistants.v1.common_pb2.PromptTruncationOptions | None = ...,
125130
completion_options: yandex.cloud.ai.assistants.v1.common_pb2.CompletionOptions | None = ...,
126131
tools: collections.abc.Iterable[yandex.cloud.ai.assistants.v1.common_pb2.Tool] | None = ...,
132+
response_format: yandex.cloud.ai.assistants.v1.common_pb2.ResponseFormat | None = ...,
127133
) -> None: ...
128-
def HasField(self, field_name: typing.Literal["completion_options", b"completion_options", "created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "prompt_truncation_options", b"prompt_truncation_options", "updated_at", b"updated_at"]) -> builtins.bool: ...
129-
def ClearField(self, field_name: typing.Literal["completion_options", b"completion_options", "created_at", b"created_at", "created_by", b"created_by", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "instruction", b"instruction", "labels", b"labels", "model_uri", b"model_uri", "name", b"name", "prompt_truncation_options", b"prompt_truncation_options", "tools", b"tools", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
134+
def HasField(self, field_name: typing.Literal["completion_options", b"completion_options", "created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "prompt_truncation_options", b"prompt_truncation_options", "response_format", b"response_format", "updated_at", b"updated_at"]) -> builtins.bool: ...
135+
def ClearField(self, field_name: typing.Literal["completion_options", b"completion_options", "created_at", b"created_at", "created_by", b"created_by", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "instruction", b"instruction", "labels", b"labels", "model_uri", b"model_uri", "name", b"name", "prompt_truncation_options", b"prompt_truncation_options", "response_format", b"response_format", "tools", b"tools", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
130136

131137
global___Assistant = Assistant

0 commit comments

Comments
 (0)