yandexcloud 0.321.0__py3-none-any.whl → 0.322.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/assistant_pb2.pyi +38 -8
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +89 -15
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +18 -9
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +30 -6
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +37 -6
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +55 -9
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +74 -11
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +18 -8
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +35 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +15 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +8 -1
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +15 -1
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +10 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +14 -2
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +45 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +52 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +18 -16
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +84 -10
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +21 -3
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +13 -6
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +24 -3
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +22 -5
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +47 -7
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +21 -5
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +43 -6
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +16 -8
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +26 -5
- yandex/cloud/ai/dataset/__init__.py +0 -0
- yandex/cloud/ai/dataset/v1/__init__.py +0 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +35 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +161 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2_grpc.py +4 -0
- yandex/cloud/ai/dataset/v1/dataset_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +117 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +520 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +378 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +237 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +22 -5
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +53 -6
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +18 -9
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +30 -6
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +30 -13
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +197 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +14 -14
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +9 -1
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.py +52 -51
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +11 -1
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2.py +35 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2.pyi +62 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2_grpc.py +4 -0
- yandex/cloud/apploadbalancer/v1/rate_limit_pb2_grpc.pyi +17 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +44 -43
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +25 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +30 -29
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +17 -4
- yandex/cloud/compute/v1/disk_pb2.py +12 -11
- yandex/cloud/compute/v1/disk_pb2.pyi +9 -2
- yandex/cloud/compute/v1/disk_service_pb2.py +36 -34
- yandex/cloud/compute/v1/disk_service_pb2.pyi +5 -1
- yandex/cloud/compute/v1/image_pb2.py +12 -11
- yandex/cloud/compute/v1/image_pb2.pyi +9 -2
- yandex/cloud/compute/v1/instance_service_pb2.py +39 -37
- yandex/cloud/compute/v1/instance_service_pb2.pyi +11 -7
- yandex/cloud/compute/v1/kek_pb2.py +26 -0
- yandex/cloud/compute/v1/kek_pb2.pyi +31 -0
- yandex/cloud/compute/v1/kek_pb2_grpc.py +4 -0
- yandex/cloud/compute/v1/kek_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/snapshot_pb2.py +8 -7
- yandex/cloud/compute/v1/snapshot_pb2.pyi +9 -2
- yandex/cloud/datasphere/v1/project_pb2.py +6 -8
- yandex/cloud/datasphere/v1/project_pb2.pyi +1 -35
- yandex/cloud/datasphere/v1/project_service_pb2.py +39 -70
- yandex/cloud/datasphere/v1/project_service_pb2.pyi +0 -171
- yandex/cloud/datasphere/v1/project_service_pb2_grpc.py +0 -102
- yandex/cloud/datasphere/v1/project_service_pb2_grpc.pyi +0 -60
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +21 -19
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +50 -1
- yandex/cloud/datasphere/v2/project_pb2.py +11 -15
- yandex/cloud/datasphere/v2/project_pb2.pyi +1 -55
- yandex/cloud/datasphere/v2/project_service_pb2.py +73 -84
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +102 -119
- yandex/cloud/datasphere/v2/project_service_pb2_grpc.py +34 -70
- yandex/cloud/datasphere/v2/project_service_pb2_grpc.pyi +20 -52
- yandex/cloud/datasphere/v2/resource_types_pb2.py +2 -2
- yandex/cloud/datasphere/v2/resource_types_pb2.pyi +0 -4
- yandex/cloud/k8s/v1/cluster_service_pb2.py +38 -38
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +26 -24
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -5
- yandex/cloud/mdb/kafka/v1/connector_service_pb2.py +37 -37
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +1 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +16 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +56 -2
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/RECORD +103 -85
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.321.0.dist-info → yandexcloud-0.322.0.dist-info}/top_level.txt +0 -0
|
@@ -7,7 +7,8 @@ from yandex.cloud.ai.assistants.v1.searchindex import search_index_file_service_
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class SearchIndexFileServiceStub(object):
|
|
10
|
-
"""
|
|
10
|
+
"""ThreadService provides operations for managing files within search indexes.
|
|
11
|
+
"""
|
|
11
12
|
|
|
12
13
|
def __init__(self, channel):
|
|
13
14
|
"""Constructor.
|
|
@@ -28,16 +29,19 @@ class SearchIndexFileServiceStub(object):
|
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
class SearchIndexFileServiceServicer(object):
|
|
31
|
-
"""
|
|
32
|
+
"""ThreadService provides operations for managing files within search indexes.
|
|
33
|
+
"""
|
|
32
34
|
|
|
33
35
|
def Get(self, request, context):
|
|
34
|
-
"""
|
|
36
|
+
"""Retrieves details of a specific file that has been indexed within a search index.
|
|
37
|
+
"""
|
|
35
38
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
36
39
|
context.set_details('Method not implemented!')
|
|
37
40
|
raise NotImplementedError('Method not implemented!')
|
|
38
41
|
|
|
39
42
|
def List(self, request, context):
|
|
40
|
-
"""
|
|
43
|
+
"""List files that are indexed within a specific search index.
|
|
44
|
+
"""
|
|
41
45
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
42
46
|
context.set_details('Method not implemented!')
|
|
43
47
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -63,7 +67,8 @@ def add_SearchIndexFileServiceServicer_to_server(servicer, server):
|
|
|
63
67
|
|
|
64
68
|
# This class is part of an EXPERIMENTAL API.
|
|
65
69
|
class SearchIndexFileService(object):
|
|
66
|
-
"""
|
|
70
|
+
"""ThreadService provides operations for managing files within search indexes.
|
|
71
|
+
"""
|
|
67
72
|
|
|
68
73
|
@staticmethod
|
|
69
74
|
def Get(request,
|
|
@@ -19,41 +19,53 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
19
19
|
...
|
|
20
20
|
|
|
21
21
|
class SearchIndexFileServiceStub:
|
|
22
|
+
"""ThreadService provides operations for managing files within search indexes."""
|
|
23
|
+
|
|
22
24
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
23
25
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
24
26
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
|
|
25
27
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile,
|
|
26
28
|
]
|
|
29
|
+
"""Retrieves details of a specific file that has been indexed within a search index."""
|
|
27
30
|
|
|
28
31
|
List: grpc.UnaryUnaryMultiCallable[
|
|
29
32
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
|
|
30
33
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse,
|
|
31
34
|
]
|
|
35
|
+
"""List files that are indexed within a specific search index."""
|
|
32
36
|
|
|
33
37
|
class SearchIndexFileServiceAsyncStub:
|
|
38
|
+
"""ThreadService provides operations for managing files within search indexes."""
|
|
39
|
+
|
|
34
40
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
35
41
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
|
|
36
42
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile,
|
|
37
43
|
]
|
|
44
|
+
"""Retrieves details of a specific file that has been indexed within a search index."""
|
|
38
45
|
|
|
39
46
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
40
47
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
|
|
41
48
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse,
|
|
42
49
|
]
|
|
50
|
+
"""List files that are indexed within a specific search index."""
|
|
43
51
|
|
|
44
52
|
class SearchIndexFileServiceServicer(metaclass=abc.ABCMeta):
|
|
53
|
+
"""ThreadService provides operations for managing files within search indexes."""
|
|
54
|
+
|
|
45
55
|
@abc.abstractmethod
|
|
46
56
|
def Get(
|
|
47
57
|
self,
|
|
48
58
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.GetSearchIndexFileRequest,
|
|
49
59
|
context: _ServicerContext,
|
|
50
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile]]:
|
|
60
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_pb2.SearchIndexFile]]:
|
|
61
|
+
"""Retrieves details of a specific file that has been indexed within a search index."""
|
|
51
62
|
|
|
52
63
|
@abc.abstractmethod
|
|
53
64
|
def List(
|
|
54
65
|
self,
|
|
55
66
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesRequest,
|
|
56
67
|
context: _ServicerContext,
|
|
57
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse]]:
|
|
68
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2.ListSearchIndexFilesResponse]]:
|
|
69
|
+
"""List files that are indexed within a specific search index."""
|
|
58
70
|
|
|
59
71
|
def add_SearchIndexFileServiceServicer_to_server(servicer: SearchIndexFileServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -17,6 +17,8 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
17
17
|
|
|
18
18
|
@typing.final
|
|
19
19
|
class SearchIndex(google.protobuf.message.Message):
|
|
20
|
+
"""Represents a search index used to store and query data, either using traditional keyword-based text search or vector-based search mechanisms."""
|
|
21
|
+
|
|
20
22
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
23
|
|
|
22
24
|
@typing.final
|
|
@@ -49,25 +51,49 @@ class SearchIndex(google.protobuf.message.Message):
|
|
|
49
51
|
TEXT_SEARCH_INDEX_FIELD_NUMBER: builtins.int
|
|
50
52
|
VECTOR_SEARCH_INDEX_FIELD_NUMBER: builtins.int
|
|
51
53
|
id: builtins.str
|
|
54
|
+
"""Unique identifier of the search index."""
|
|
52
55
|
folder_id: builtins.str
|
|
56
|
+
"""ID of the folder that the search index belongs to."""
|
|
53
57
|
name: builtins.str
|
|
58
|
+
"""Name of the search index."""
|
|
54
59
|
description: builtins.str
|
|
60
|
+
"""Description of the search index."""
|
|
55
61
|
created_by: builtins.str
|
|
62
|
+
"""Identifier of the subject who created this search index."""
|
|
56
63
|
updated_by: builtins.str
|
|
64
|
+
"""Identifier of the subject who last updated this search index."""
|
|
57
65
|
@property
|
|
58
|
-
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
66
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
67
|
+
"""Timestamp representing when the search index was created."""
|
|
68
|
+
|
|
59
69
|
@property
|
|
60
|
-
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
70
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
71
|
+
"""Timestamp representing the last time this search index was updated."""
|
|
72
|
+
|
|
61
73
|
@property
|
|
62
|
-
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
74
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
75
|
+
"""Configuration for the expiration of the search index, defining when and how the search index will expire."""
|
|
76
|
+
|
|
63
77
|
@property
|
|
64
|
-
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
78
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
79
|
+
"""Timestamp representing when the search index will expire."""
|
|
80
|
+
|
|
65
81
|
@property
|
|
66
|
-
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
82
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
83
|
+
"""Set of key-value pairs that can be used to organize and categorize the search index."""
|
|
84
|
+
|
|
67
85
|
@property
|
|
68
|
-
def text_search_index(self) -> global___TextSearchIndex:
|
|
86
|
+
def text_search_index(self) -> global___TextSearchIndex:
|
|
87
|
+
"""Keyword-based text search index configuration.
|
|
88
|
+
This type of index is used for traditional text search, where documents are indexed based on their keywords.
|
|
89
|
+
"""
|
|
90
|
+
|
|
69
91
|
@property
|
|
70
|
-
def vector_search_index(self) -> global___VectorSearchIndex:
|
|
92
|
+
def vector_search_index(self) -> global___VectorSearchIndex:
|
|
93
|
+
"""Vector-based search index configuration.
|
|
94
|
+
This type is used for vector search, where documents are indexed using vector embeddings.
|
|
95
|
+
"""
|
|
96
|
+
|
|
71
97
|
def __init__(
|
|
72
98
|
self,
|
|
73
99
|
*,
|
|
@@ -93,11 +119,15 @@ global___SearchIndex = SearchIndex
|
|
|
93
119
|
|
|
94
120
|
@typing.final
|
|
95
121
|
class TextSearchIndex(google.protobuf.message.Message):
|
|
122
|
+
"""Defines the configuration for a traditional keyword-based text search index."""
|
|
123
|
+
|
|
96
124
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
97
125
|
|
|
98
126
|
CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
|
|
99
127
|
@property
|
|
100
|
-
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
128
|
+
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
129
|
+
"""Chunking strategy used to split text into smaller chunks before indexing."""
|
|
130
|
+
|
|
101
131
|
def __init__(
|
|
102
132
|
self,
|
|
103
133
|
*,
|
|
@@ -110,15 +140,21 @@ global___TextSearchIndex = TextSearchIndex
|
|
|
110
140
|
|
|
111
141
|
@typing.final
|
|
112
142
|
class VectorSearchIndex(google.protobuf.message.Message):
|
|
143
|
+
"""Defines the configuration for a vector-based search index. This type uses embeddings to represent documents and queries."""
|
|
144
|
+
|
|
113
145
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
114
146
|
|
|
115
147
|
DOC_EMBEDDER_URI_FIELD_NUMBER: builtins.int
|
|
116
148
|
QUERY_EMBEDDER_URI_FIELD_NUMBER: builtins.int
|
|
117
149
|
CHUNKING_STRATEGY_FIELD_NUMBER: builtins.int
|
|
118
150
|
doc_embedder_uri: builtins.str
|
|
151
|
+
"""The [ID of the model](/docs/foundation-models/concepts/embeddings) to be used for obtaining document text embeddings."""
|
|
119
152
|
query_embedder_uri: builtins.str
|
|
153
|
+
"""The [ID of the model](/docs/foundation-models/concepts/embeddings) to be used for obtaining query text embeddings."""
|
|
120
154
|
@property
|
|
121
|
-
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
155
|
+
def chunking_strategy(self) -> yandex.cloud.ai.assistants.v1.searchindex.common_pb2.ChunkingStrategy:
|
|
156
|
+
"""Chunking strategy used to split text into smaller chunks before indexing."""
|
|
157
|
+
|
|
122
158
|
def __init__(
|
|
123
159
|
self,
|
|
124
160
|
*,
|
|
@@ -17,6 +17,8 @@ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
|
17
17
|
|
|
18
18
|
@typing.final
|
|
19
19
|
class CreateSearchIndexRequest(google.protobuf.message.Message):
|
|
20
|
+
"""Request to create a new search index."""
|
|
21
|
+
|
|
20
22
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
23
|
|
|
22
24
|
@typing.final
|
|
@@ -45,17 +47,29 @@ class CreateSearchIndexRequest(google.protobuf.message.Message):
|
|
|
45
47
|
VECTOR_SEARCH_INDEX_FIELD_NUMBER: builtins.int
|
|
46
48
|
folder_id: builtins.str
|
|
47
49
|
name: builtins.str
|
|
50
|
+
"""Name of the search index."""
|
|
48
51
|
description: builtins.str
|
|
52
|
+
"""Description of the search index."""
|
|
49
53
|
@property
|
|
50
|
-
def file_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
54
|
+
def file_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
55
|
+
"""List of file IDs to be indexed."""
|
|
56
|
+
|
|
51
57
|
@property
|
|
52
|
-
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
58
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
59
|
+
"""Expiration configuration for the search index."""
|
|
60
|
+
|
|
53
61
|
@property
|
|
54
|
-
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
62
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
63
|
+
"""Set of key-value pairs to label the search index."""
|
|
64
|
+
|
|
55
65
|
@property
|
|
56
|
-
def text_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.TextSearchIndex:
|
|
66
|
+
def text_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.TextSearchIndex:
|
|
67
|
+
"""Configuration for a traditional keyword-based text search index."""
|
|
68
|
+
|
|
57
69
|
@property
|
|
58
|
-
def vector_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.VectorSearchIndex:
|
|
70
|
+
def vector_search_index(self) -> yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.VectorSearchIndex:
|
|
71
|
+
"""Configuration for a vector-based search index using embeddings."""
|
|
72
|
+
|
|
59
73
|
def __init__(
|
|
60
74
|
self,
|
|
61
75
|
*,
|
|
@@ -76,10 +90,13 @@ global___CreateSearchIndexRequest = CreateSearchIndexRequest
|
|
|
76
90
|
|
|
77
91
|
@typing.final
|
|
78
92
|
class GetSearchIndexRequest(google.protobuf.message.Message):
|
|
93
|
+
"""Request message for retrieving a search index by ID."""
|
|
94
|
+
|
|
79
95
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
80
96
|
|
|
81
97
|
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
82
98
|
search_index_id: builtins.str
|
|
99
|
+
"""ID of the search index to retrieve."""
|
|
83
100
|
def __init__(
|
|
84
101
|
self,
|
|
85
102
|
*,
|
|
@@ -91,6 +108,8 @@ global___GetSearchIndexRequest = GetSearchIndexRequest
|
|
|
91
108
|
|
|
92
109
|
@typing.final
|
|
93
110
|
class UpdateSearchIndexRequest(google.protobuf.message.Message):
|
|
111
|
+
"""Request message for updating an existing search index."""
|
|
112
|
+
|
|
94
113
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
95
114
|
|
|
96
115
|
@typing.final
|
|
@@ -116,14 +135,23 @@ class UpdateSearchIndexRequest(google.protobuf.message.Message):
|
|
|
116
135
|
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
117
136
|
LABELS_FIELD_NUMBER: builtins.int
|
|
118
137
|
search_index_id: builtins.str
|
|
138
|
+
"""ID of the search index to update."""
|
|
119
139
|
name: builtins.str
|
|
140
|
+
"""New name for the search index."""
|
|
120
141
|
description: builtins.str
|
|
142
|
+
"""New description for the search index."""
|
|
121
143
|
@property
|
|
122
|
-
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
144
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
145
|
+
"""Field mask specifying which fields to update."""
|
|
146
|
+
|
|
123
147
|
@property
|
|
124
|
-
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
148
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig:
|
|
149
|
+
"""New expiration configuration for the search index."""
|
|
150
|
+
|
|
125
151
|
@property
|
|
126
|
-
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
152
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
153
|
+
"""New set of labels for the search index."""
|
|
154
|
+
|
|
127
155
|
def __init__(
|
|
128
156
|
self,
|
|
129
157
|
*,
|
|
@@ -141,10 +169,13 @@ global___UpdateSearchIndexRequest = UpdateSearchIndexRequest
|
|
|
141
169
|
|
|
142
170
|
@typing.final
|
|
143
171
|
class DeleteSearchIndexRequest(google.protobuf.message.Message):
|
|
172
|
+
"""Request message for deleting a search index by ID."""
|
|
173
|
+
|
|
144
174
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
145
175
|
|
|
146
176
|
SEARCH_INDEX_ID_FIELD_NUMBER: builtins.int
|
|
147
177
|
search_index_id: builtins.str
|
|
178
|
+
"""ID of the search index to delete."""
|
|
148
179
|
def __init__(
|
|
149
180
|
self,
|
|
150
181
|
*,
|
|
@@ -156,6 +187,8 @@ global___DeleteSearchIndexRequest = DeleteSearchIndexRequest
|
|
|
156
187
|
|
|
157
188
|
@typing.final
|
|
158
189
|
class DeleteSearchIndexResponse(google.protobuf.message.Message):
|
|
190
|
+
"""Response message for the delete operation."""
|
|
191
|
+
|
|
159
192
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
160
193
|
|
|
161
194
|
def __init__(
|
|
@@ -166,14 +199,19 @@ global___DeleteSearchIndexResponse = DeleteSearchIndexResponse
|
|
|
166
199
|
|
|
167
200
|
@typing.final
|
|
168
201
|
class ListSearchIndicesRequest(google.protobuf.message.Message):
|
|
202
|
+
"""Request message for listing search indexes in a specific folder."""
|
|
203
|
+
|
|
169
204
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
170
205
|
|
|
171
206
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
172
207
|
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
173
208
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
174
209
|
folder_id: builtins.str
|
|
210
|
+
"""Folder ID from which to list search indexes."""
|
|
175
211
|
page_size: builtins.int
|
|
212
|
+
"""Maximum number of threads to return per page."""
|
|
176
213
|
page_token: builtins.str
|
|
214
|
+
"""Token to retrieve the next page of results."""
|
|
177
215
|
def __init__(
|
|
178
216
|
self,
|
|
179
217
|
*,
|
|
@@ -187,13 +225,18 @@ global___ListSearchIndicesRequest = ListSearchIndicesRequest
|
|
|
187
225
|
|
|
188
226
|
@typing.final
|
|
189
227
|
class ListSearchIndicesResponse(google.protobuf.message.Message):
|
|
228
|
+
"""Response message for the list operation."""
|
|
229
|
+
|
|
190
230
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
191
231
|
|
|
192
232
|
INDICES_FIELD_NUMBER: builtins.int
|
|
193
233
|
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
194
234
|
next_page_token: builtins.str
|
|
235
|
+
"""Token to retrieve the next page of results."""
|
|
195
236
|
@property
|
|
196
|
-
def indices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]:
|
|
237
|
+
def indices(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]:
|
|
238
|
+
"""List of search indexes in the specified folder."""
|
|
239
|
+
|
|
197
240
|
def __init__(
|
|
198
241
|
self,
|
|
199
242
|
*,
|
|
@@ -8,7 +8,8 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class SearchIndexServiceStub(object):
|
|
11
|
-
"""
|
|
11
|
+
"""ThreadService provides operations for managing search indexes.
|
|
12
|
+
"""
|
|
12
13
|
|
|
13
14
|
def __init__(self, channel):
|
|
14
15
|
"""Constructor.
|
|
@@ -44,34 +45,40 @@ class SearchIndexServiceStub(object):
|
|
|
44
45
|
|
|
45
46
|
|
|
46
47
|
class SearchIndexServiceServicer(object):
|
|
47
|
-
"""
|
|
48
|
+
"""ThreadService provides operations for managing search indexes.
|
|
49
|
+
"""
|
|
48
50
|
|
|
49
51
|
def Create(self, request, context):
|
|
50
|
-
"""
|
|
52
|
+
"""Create a new search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode).
|
|
53
|
+
"""
|
|
51
54
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
52
55
|
context.set_details('Method not implemented!')
|
|
53
56
|
raise NotImplementedError('Method not implemented!')
|
|
54
57
|
|
|
55
58
|
def Get(self, request, context):
|
|
56
|
-
"""
|
|
59
|
+
"""Retrieve details of a specific search index by its ID.
|
|
60
|
+
"""
|
|
57
61
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
62
|
context.set_details('Method not implemented!')
|
|
59
63
|
raise NotImplementedError('Method not implemented!')
|
|
60
64
|
|
|
61
65
|
def Update(self, request, context):
|
|
62
|
-
"""
|
|
66
|
+
"""Update an existing search index.
|
|
67
|
+
"""
|
|
63
68
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
69
|
context.set_details('Method not implemented!')
|
|
65
70
|
raise NotImplementedError('Method not implemented!')
|
|
66
71
|
|
|
67
72
|
def Delete(self, request, context):
|
|
68
|
-
"""
|
|
73
|
+
"""Delete a search index by its ID.
|
|
74
|
+
"""
|
|
69
75
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
76
|
context.set_details('Method not implemented!')
|
|
71
77
|
raise NotImplementedError('Method not implemented!')
|
|
72
78
|
|
|
73
79
|
def List(self, request, context):
|
|
74
|
-
"""
|
|
80
|
+
"""List search indexes in a specific folder.
|
|
81
|
+
"""
|
|
75
82
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
83
|
context.set_details('Method not implemented!')
|
|
77
84
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -112,7 +119,8 @@ def add_SearchIndexServiceServicer_to_server(servicer, server):
|
|
|
112
119
|
|
|
113
120
|
# This class is part of an EXPERIMENTAL API.
|
|
114
121
|
class SearchIndexService(object):
|
|
115
|
-
"""
|
|
122
|
+
"""ThreadService provides operations for managing search indexes.
|
|
123
|
+
"""
|
|
116
124
|
|
|
117
125
|
@staticmethod
|
|
118
126
|
def Create(request,
|
|
@@ -20,92 +20,113 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class SearchIndexServiceStub:
|
|
23
|
+
"""ThreadService provides operations for managing search indexes."""
|
|
24
|
+
|
|
23
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
26
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
25
27
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.CreateSearchIndexRequest,
|
|
26
28
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
27
29
|
]
|
|
30
|
+
"""Create a new search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
28
31
|
|
|
29
32
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
30
33
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.GetSearchIndexRequest,
|
|
31
34
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex,
|
|
32
35
|
]
|
|
36
|
+
"""Retrieve details of a specific search index by its ID."""
|
|
33
37
|
|
|
34
38
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
35
39
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.UpdateSearchIndexRequest,
|
|
36
40
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex,
|
|
37
41
|
]
|
|
42
|
+
"""Update an existing search index."""
|
|
38
43
|
|
|
39
44
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
40
45
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexRequest,
|
|
41
46
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse,
|
|
42
47
|
]
|
|
48
|
+
"""Delete a search index by its ID."""
|
|
43
49
|
|
|
44
50
|
List: grpc.UnaryUnaryMultiCallable[
|
|
45
51
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesRequest,
|
|
46
52
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse,
|
|
47
53
|
]
|
|
54
|
+
"""List search indexes in a specific folder."""
|
|
48
55
|
|
|
49
56
|
class SearchIndexServiceAsyncStub:
|
|
57
|
+
"""ThreadService provides operations for managing search indexes."""
|
|
58
|
+
|
|
50
59
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
51
60
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.CreateSearchIndexRequest,
|
|
52
61
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
62
|
]
|
|
63
|
+
"""Create a new search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
54
64
|
|
|
55
65
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
56
66
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.GetSearchIndexRequest,
|
|
57
67
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex,
|
|
58
68
|
]
|
|
69
|
+
"""Retrieve details of a specific search index by its ID."""
|
|
59
70
|
|
|
60
71
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
61
72
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.UpdateSearchIndexRequest,
|
|
62
73
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex,
|
|
63
74
|
]
|
|
75
|
+
"""Update an existing search index."""
|
|
64
76
|
|
|
65
77
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
66
78
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexRequest,
|
|
67
79
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse,
|
|
68
80
|
]
|
|
81
|
+
"""Delete a search index by its ID."""
|
|
69
82
|
|
|
70
83
|
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
71
84
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesRequest,
|
|
72
85
|
yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse,
|
|
73
86
|
]
|
|
87
|
+
"""List search indexes in a specific folder."""
|
|
74
88
|
|
|
75
89
|
class SearchIndexServiceServicer(metaclass=abc.ABCMeta):
|
|
90
|
+
"""ThreadService provides operations for managing search indexes."""
|
|
91
|
+
|
|
76
92
|
@abc.abstractmethod
|
|
77
93
|
def Create(
|
|
78
94
|
self,
|
|
79
95
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.CreateSearchIndexRequest,
|
|
80
96
|
context: _ServicerContext,
|
|
81
|
-
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
97
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
98
|
+
"""Create a new search index in [asynchronous mode](/docs/foundation-models/concepts/#working-mode)."""
|
|
82
99
|
|
|
83
100
|
@abc.abstractmethod
|
|
84
101
|
def Get(
|
|
85
102
|
self,
|
|
86
103
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.GetSearchIndexRequest,
|
|
87
104
|
context: _ServicerContext,
|
|
88
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]]:
|
|
105
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]]:
|
|
106
|
+
"""Retrieve details of a specific search index by its ID."""
|
|
89
107
|
|
|
90
108
|
@abc.abstractmethod
|
|
91
109
|
def Update(
|
|
92
110
|
self,
|
|
93
111
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.UpdateSearchIndexRequest,
|
|
94
112
|
context: _ServicerContext,
|
|
95
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]]:
|
|
113
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2.SearchIndex]]:
|
|
114
|
+
"""Update an existing search index."""
|
|
96
115
|
|
|
97
116
|
@abc.abstractmethod
|
|
98
117
|
def Delete(
|
|
99
118
|
self,
|
|
100
119
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexRequest,
|
|
101
120
|
context: _ServicerContext,
|
|
102
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse]]:
|
|
121
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.DeleteSearchIndexResponse]]:
|
|
122
|
+
"""Delete a search index by its ID."""
|
|
103
123
|
|
|
104
124
|
@abc.abstractmethod
|
|
105
125
|
def List(
|
|
106
126
|
self,
|
|
107
127
|
request: yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesRequest,
|
|
108
128
|
context: _ServicerContext,
|
|
109
|
-
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse]]:
|
|
129
|
+
) -> typing.Union[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse, collections.abc.Awaitable[yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2.ListSearchIndicesResponse]]:
|
|
130
|
+
"""List search indexes in a specific folder."""
|
|
110
131
|
|
|
111
132
|
def add_SearchIndexServiceServicer_to_server(servicer: SearchIndexServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/ai/assistants/v1/threads/message.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/ai/assistants/v1/threads/message.proto\x12%yandex.cloud.ai.assistants.v1.threads\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa1\x04\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tthread_id\x18\x02 \x01(\t\x12\x12\n\ncreated_by\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x06\x61uthor\x18\x05 \x01(\x0b\x32-.yandex.cloud.ai.assistants.v1.threads.Author\x12J\n\x06labels\x18\x06 \x03(\x0b\x32:.yandex.cloud.ai.assistants.v1.threads.Message.LabelsEntry\x12\x46\n\x07\x63ontent\x18\x07 \x01(\x0b\x32\x35.yandex.cloud.ai.assistants.v1.threads.MessageContent\x12L\n\x06status\x18\x08 \x01(\x0e\x32<.yandex.cloud.ai.assistants.v1.threads.Message.MessageStatus\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n\rMessageStatus\x12\x1e\n\x1aMESSAGE_STATUS_UNSPECIFIED\x10\x00\x12\r\n\tCOMPLETED\x10\x01\x12\r\n\tTRUNCATED\x10\x02\x12\x14\n\x10\x46ILTERED_CONTENT\x10\x03\"U\n\x0eMessageContent\x12\x43\n\x07\x63ontent\x18\x01 \x03(\x0b\x32\x32.yandex.cloud.ai.assistants.v1.threads.ContentPart\"\x93\x02\n\x0bMessageData\x12=\n\x06\x61uthor\x18\x01 \x01(\x0b\x32-.yandex.cloud.ai.assistants.v1.threads.Author\x12N\n\x06labels\x18\x02 \x03(\x0b\x32>.yandex.cloud.ai.assistants.v1.threads.MessageData.LabelsEntry\x12\x46\n\x07\x63ontent\x18\x03 \x01(\x0b\x32\x35.yandex.cloud.ai.assistants.v1.threads.MessageContent\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x17\n\x04Text\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\t\"V\n\x0b\x43ontentPart\x12;\n\x04text\x18\x01 \x01(\x0b\x32+.yandex.cloud.ai.assistants.v1.threads.TextH\x00\x42\n\n\x08PartType\"\"\n\x06\x41uthor\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04role\x18\x02 \x01(\tB~\n)yandex.cloud.api.ai.assistants.v1.threadsZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/assistants/v1/threads;threadsb\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -27,19 +27,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
27
27
|
_MESSAGEDATA_LABELSENTRY._options = None
|
|
28
28
|
_MESSAGEDATA_LABELSENTRY._serialized_options = b'8\001'
|
|
29
29
|
_globals['_MESSAGE']._serialized_start=128
|
|
30
|
-
_globals['_MESSAGE']._serialized_end=
|
|
31
|
-
_globals['_MESSAGE_LABELSENTRY']._serialized_start=
|
|
32
|
-
_globals['_MESSAGE_LABELSENTRY']._serialized_end=
|
|
33
|
-
_globals['
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
30
|
+
_globals['_MESSAGE']._serialized_end=673
|
|
31
|
+
_globals['_MESSAGE_LABELSENTRY']._serialized_start=527
|
|
32
|
+
_globals['_MESSAGE_LABELSENTRY']._serialized_end=572
|
|
33
|
+
_globals['_MESSAGE_MESSAGESTATUS']._serialized_start=574
|
|
34
|
+
_globals['_MESSAGE_MESSAGESTATUS']._serialized_end=673
|
|
35
|
+
_globals['_MESSAGECONTENT']._serialized_start=675
|
|
36
|
+
_globals['_MESSAGECONTENT']._serialized_end=760
|
|
37
|
+
_globals['_MESSAGEDATA']._serialized_start=763
|
|
38
|
+
_globals['_MESSAGEDATA']._serialized_end=1038
|
|
39
|
+
_globals['_MESSAGEDATA_LABELSENTRY']._serialized_start=527
|
|
40
|
+
_globals['_MESSAGEDATA_LABELSENTRY']._serialized_end=572
|
|
41
|
+
_globals['_TEXT']._serialized_start=1040
|
|
42
|
+
_globals['_TEXT']._serialized_end=1063
|
|
43
|
+
_globals['_CONTENTPART']._serialized_start=1065
|
|
44
|
+
_globals['_CONTENTPART']._serialized_end=1151
|
|
45
|
+
_globals['_AUTHOR']._serialized_start=1153
|
|
46
|
+
_globals['_AUTHOR']._serialized_end=1187
|
|
45
47
|
# @@protoc_insertion_point(module_scope)
|