frogml-core 0.0.112__py3-none-any.whl → 0.0.114__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.
- frogml_core/__init__.py +1 -1
- frogml_core/inner/di_configuration/__init__.py +0 -6
- {frogml_core-0.0.112.dist-info → frogml_core-0.0.114.dist-info}/METADATA +1 -1
- {frogml_core-0.0.112.dist-info → frogml_core-0.0.114.dist-info}/RECORD +8 -115
- frogml_services_mock/mocks/frogml_mocks.py +0 -11
- frogml_services_mock/services_mock.py +0 -48
- frogml_storage/__init__.py +1 -1
- frogml_core/clients/prompt_manager/__init__.py +0 -0
- frogml_core/clients/prompt_manager/model_descriptor_mapper.py +0 -196
- frogml_core/clients/prompt_manager/prompt_manager_client.py +0 -190
- frogml_core/clients/prompt_manager/prompt_proto_mapper.py +0 -264
- frogml_core/clients/vector_store/__init__.py +0 -2
- frogml_core/clients/vector_store/management_client.py +0 -127
- frogml_core/clients/vector_store/serving_client.py +0 -157
- frogml_core/clients/workspace_manager/__init__.py +0 -1
- frogml_core/clients/workspace_manager/client.py +0 -224
- frogml_core/llmops/__init__.py +0 -0
- frogml_core/llmops/generation/__init__.py +0 -0
- frogml_core/llmops/generation/_steaming.py +0 -78
- frogml_core/llmops/generation/base.py +0 -5
- frogml_core/llmops/generation/chat/__init__.py +0 -0
- frogml_core/llmops/generation/chat/openai/LICENSE.txt +0 -201
- frogml_core/llmops/generation/chat/openai/types/__init__.py +0 -0
- frogml_core/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion.py +0 -88
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +0 -65
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +0 -153
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +0 -28
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +0 -25
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +0 -33
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message.py +0 -56
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +0 -34
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +0 -46
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +0 -44
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +0 -32
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_role.py +0 -20
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +0 -35
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +0 -71
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +0 -28
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +0 -31
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +0 -29
- frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +0 -35
- frogml_core/llmops/generation/chat/openai/types/chat/completion_create_params.py +0 -279
- frogml_core/llmops/generation/chat/openai/types/completion_choice.py +0 -47
- frogml_core/llmops/generation/chat/openai/types/completion_create_params.py +0 -209
- frogml_core/llmops/generation/chat/openai/types/completion_usage.py +0 -30
- frogml_core/llmops/generation/chat/openai/types/model.py +0 -35
- frogml_core/llmops/generation/chat/openai/types/shared/__init__.py +0 -3
- frogml_core/llmops/generation/chat/openai/types/shared/error_object.py +0 -27
- frogml_core/llmops/generation/chat/openai/types/shared/function_definition.py +0 -49
- frogml_core/llmops/generation/chat/openai/types/shared/function_parameters.py +0 -20
- frogml_core/llmops/generation/chat/openai/types/shared_params/__init__.py +0 -2
- frogml_core/llmops/generation/chat/openai/types/shared_params/function_definition.py +0 -49
- frogml_core/llmops/generation/chat/openai/types/shared_params/function_parameters.py +0 -22
- frogml_core/llmops/generation/streaming.py +0 -26
- frogml_core/llmops/model/__init__.py +0 -0
- frogml_core/llmops/model/descriptor.py +0 -40
- frogml_core/llmops/prompt/__init__.py +0 -0
- frogml_core/llmops/prompt/base.py +0 -136
- frogml_core/llmops/prompt/chat/__init__.py +0 -0
- frogml_core/llmops/prompt/chat/message.py +0 -24
- frogml_core/llmops/prompt/chat/template.py +0 -113
- frogml_core/llmops/prompt/chat/value.py +0 -10
- frogml_core/llmops/prompt/manager.py +0 -138
- frogml_core/llmops/prompt/template.py +0 -24
- frogml_core/llmops/prompt/value.py +0 -14
- frogml_core/llmops/provider/__init__.py +0 -0
- frogml_core/llmops/provider/chat.py +0 -44
- frogml_core/llmops/provider/openai/__init__.py +0 -0
- frogml_core/llmops/provider/openai/client.py +0 -126
- frogml_core/llmops/provider/openai/provider.py +0 -93
- frogml_core/vector_store/__init__.py +0 -4
- frogml_core/vector_store/client.py +0 -151
- frogml_core/vector_store/collection.py +0 -429
- frogml_core/vector_store/filters.py +0 -359
- frogml_core/vector_store/inference_client.py +0 -105
- frogml_core/vector_store/rest_helpers.py +0 -81
- frogml_core/vector_store/utils/__init__.py +0 -0
- frogml_core/vector_store/utils/filter_utils.py +0 -23
- frogml_core/vector_store/utils/upsert_utils.py +0 -218
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +0 -77
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +0 -417
- frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +0 -441
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py +0 -69
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +0 -415
- frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +0 -4
- frogml_proto/qwak/vectors/v1/collection/collection_pb2.py +0 -46
- frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi +0 -287
- frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py +0 -4
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py +0 -60
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi +0 -258
- frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py +0 -304
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +0 -28
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +0 -41
- frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py +0 -4
- frogml_proto/qwak/vectors/v1/filters_pb2.py +0 -52
- frogml_proto/qwak/vectors/v1/filters_pb2.pyi +0 -297
- frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py +0 -4
- frogml_proto/qwak/vectors/v1/vector_pb2.py +0 -38
- frogml_proto/qwak/vectors/v1/vector_pb2.pyi +0 -142
- frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py +0 -4
- frogml_proto/qwak/vectors/v1/vector_service_pb2.py +0 -53
- frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi +0 -243
- frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py +0 -201
- frogml_proto/qwak/workspace/workspace_pb2.py +0 -50
- frogml_proto/qwak/workspace/workspace_pb2.pyi +0 -331
- frogml_proto/qwak/workspace/workspace_pb2_grpc.py +0 -4
- frogml_proto/qwak/workspace/workspace_service_pb2.py +0 -84
- frogml_proto/qwak/workspace/workspace_service_pb2.pyi +0 -393
- frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py +0 -507
- frogml_services_mock/mocks/prompt_manager_service.py +0 -281
- frogml_services_mock/mocks/vector_serving_api.py +0 -159
- frogml_services_mock/mocks/vectors_management_api.py +0 -97
- frogml_services_mock/mocks/workspace_manager_service_mock.py +0 -202
- {frogml_core-0.0.112.dist-info → frogml_core-0.0.114.dist-info}/WHEEL +0 -0
@@ -1,287 +0,0 @@
|
|
1
|
-
"""
|
2
|
-
@generated by mypy-protobuf. Do not edit manually!
|
3
|
-
isort:skip_file
|
4
|
-
"""
|
5
|
-
import builtins
|
6
|
-
import collections.abc
|
7
|
-
import google.protobuf.descriptor
|
8
|
-
import google.protobuf.internal.containers
|
9
|
-
import google.protobuf.internal.enum_type_wrapper
|
10
|
-
import google.protobuf.message
|
11
|
-
import google.protobuf.timestamp_pb2
|
12
|
-
import sys
|
13
|
-
import typing
|
14
|
-
|
15
|
-
if sys.version_info >= (3, 10):
|
16
|
-
import typing as typing_extensions
|
17
|
-
else:
|
18
|
-
import typing_extensions
|
19
|
-
|
20
|
-
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
21
|
-
|
22
|
-
class _VectorCollectionStatus:
|
23
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
24
|
-
V: typing_extensions.TypeAlias = ValueType
|
25
|
-
|
26
|
-
class _VectorCollectionStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VectorCollectionStatus.ValueType], builtins.type): # noqa: F821
|
27
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
28
|
-
COLLECTION_STATUS_INVALID: _VectorCollectionStatus.ValueType # 0
|
29
|
-
"""Invalid collection status"""
|
30
|
-
COLLECTION_STATUS_CREATE_REQUESTED: _VectorCollectionStatus.ValueType # 1
|
31
|
-
"""Collection create requested"""
|
32
|
-
COLLECTION_STATUS_CREATED: _VectorCollectionStatus.ValueType # 2
|
33
|
-
"""Collection status is created (exists)"""
|
34
|
-
COLLECTION_STATUS_CREATE_FAILED: _VectorCollectionStatus.ValueType # 3
|
35
|
-
"""Collection status is created (exists)"""
|
36
|
-
COLLECTION_STATUS_DELETE_REQUESTED: _VectorCollectionStatus.ValueType # 4
|
37
|
-
"""Collection delete was requested"""
|
38
|
-
COLLECTION_STATUS_DELETE_FAILED: _VectorCollectionStatus.ValueType # 5
|
39
|
-
"""Collection delete was requested"""
|
40
|
-
COLLECTION_STATUS_DELETED: _VectorCollectionStatus.ValueType # 6
|
41
|
-
"""Collection was deleted"""
|
42
|
-
|
43
|
-
class VectorCollectionStatus(_VectorCollectionStatus, metaclass=_VectorCollectionStatusEnumTypeWrapper): ...
|
44
|
-
|
45
|
-
COLLECTION_STATUS_INVALID: VectorCollectionStatus.ValueType # 0
|
46
|
-
"""Invalid collection status"""
|
47
|
-
COLLECTION_STATUS_CREATE_REQUESTED: VectorCollectionStatus.ValueType # 1
|
48
|
-
"""Collection create requested"""
|
49
|
-
COLLECTION_STATUS_CREATED: VectorCollectionStatus.ValueType # 2
|
50
|
-
"""Collection status is created (exists)"""
|
51
|
-
COLLECTION_STATUS_CREATE_FAILED: VectorCollectionStatus.ValueType # 3
|
52
|
-
"""Collection status is created (exists)"""
|
53
|
-
COLLECTION_STATUS_DELETE_REQUESTED: VectorCollectionStatus.ValueType # 4
|
54
|
-
"""Collection delete was requested"""
|
55
|
-
COLLECTION_STATUS_DELETE_FAILED: VectorCollectionStatus.ValueType # 5
|
56
|
-
"""Collection delete was requested"""
|
57
|
-
COLLECTION_STATUS_DELETED: VectorCollectionStatus.ValueType # 6
|
58
|
-
"""Collection was deleted"""
|
59
|
-
global___VectorCollectionStatus = VectorCollectionStatus
|
60
|
-
|
61
|
-
class _VectorCollectionMetric:
|
62
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
63
|
-
V: typing_extensions.TypeAlias = ValueType
|
64
|
-
|
65
|
-
class _VectorCollectionMetricEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VectorCollectionMetric.ValueType], builtins.type): # noqa: F821
|
66
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
67
|
-
COLLECTION_METRIC_INVALID: _VectorCollectionMetric.ValueType # 0
|
68
|
-
"""Collection metric is invalid"""
|
69
|
-
COLLECTION_METRIC_L2_SQUARED: _VectorCollectionMetric.ValueType # 1
|
70
|
-
"""Collection metric defined L2"""
|
71
|
-
COLLECTION_METRIC_COSINE: _VectorCollectionMetric.ValueType # 2
|
72
|
-
"""Collection metric defined COSINE"""
|
73
|
-
COLLECTION_METRIC_DOT_PRODUCT: _VectorCollectionMetric.ValueType # 3
|
74
|
-
"""Collection metric defined DOT PRODUCT"""
|
75
|
-
COLLECTION_METRIC_L1: _VectorCollectionMetric.ValueType # 4
|
76
|
-
"""Collection metric defined L1"""
|
77
|
-
COLLECTION_METRIC_HAMMING: _VectorCollectionMetric.ValueType # 5
|
78
|
-
"""Collection metric defined HAMMING"""
|
79
|
-
|
80
|
-
class VectorCollectionMetric(_VectorCollectionMetric, metaclass=_VectorCollectionMetricEnumTypeWrapper): ...
|
81
|
-
|
82
|
-
COLLECTION_METRIC_INVALID: VectorCollectionMetric.ValueType # 0
|
83
|
-
"""Collection metric is invalid"""
|
84
|
-
COLLECTION_METRIC_L2_SQUARED: VectorCollectionMetric.ValueType # 1
|
85
|
-
"""Collection metric defined L2"""
|
86
|
-
COLLECTION_METRIC_COSINE: VectorCollectionMetric.ValueType # 2
|
87
|
-
"""Collection metric defined COSINE"""
|
88
|
-
COLLECTION_METRIC_DOT_PRODUCT: VectorCollectionMetric.ValueType # 3
|
89
|
-
"""Collection metric defined DOT PRODUCT"""
|
90
|
-
COLLECTION_METRIC_L1: VectorCollectionMetric.ValueType # 4
|
91
|
-
"""Collection metric defined L1"""
|
92
|
-
COLLECTION_METRIC_HAMMING: VectorCollectionMetric.ValueType # 5
|
93
|
-
"""Collection metric defined HAMMING"""
|
94
|
-
global___VectorCollectionMetric = VectorCollectionMetric
|
95
|
-
|
96
|
-
class _PropertyType:
|
97
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
98
|
-
V: typing_extensions.TypeAlias = ValueType
|
99
|
-
|
100
|
-
class _PropertyTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PropertyType.ValueType], builtins.type): # noqa: F821
|
101
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
102
|
-
PROPERTY_TYPE_INVALID: _PropertyType.ValueType # 0
|
103
|
-
PROPERTY_TYPE_STRING: _PropertyType.ValueType # 1
|
104
|
-
PROPERTY_TYPE_INT: _PropertyType.ValueType # 2
|
105
|
-
PROPERTY_TYPE_DOUBLE: _PropertyType.ValueType # 3
|
106
|
-
PROPERTY_TYPE_BOOLEAN: _PropertyType.ValueType # 4
|
107
|
-
PROPERTY_TYPE_TIMESTAMP: _PropertyType.ValueType # 5
|
108
|
-
|
109
|
-
class PropertyType(_PropertyType, metaclass=_PropertyTypeEnumTypeWrapper):
|
110
|
-
"""DataType of a property in a collection"""
|
111
|
-
|
112
|
-
PROPERTY_TYPE_INVALID: PropertyType.ValueType # 0
|
113
|
-
PROPERTY_TYPE_STRING: PropertyType.ValueType # 1
|
114
|
-
PROPERTY_TYPE_INT: PropertyType.ValueType # 2
|
115
|
-
PROPERTY_TYPE_DOUBLE: PropertyType.ValueType # 3
|
116
|
-
PROPERTY_TYPE_BOOLEAN: PropertyType.ValueType # 4
|
117
|
-
PROPERTY_TYPE_TIMESTAMP: PropertyType.ValueType # 5
|
118
|
-
global___PropertyType = PropertyType
|
119
|
-
|
120
|
-
class QwakMetadata(google.protobuf.message.Message):
|
121
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
122
|
-
|
123
|
-
CREATED_AT_FIELD_NUMBER: builtins.int
|
124
|
-
CREATED_BY_FIELD_NUMBER: builtins.int
|
125
|
-
LAST_MODIFIED_AT_FIELD_NUMBER: builtins.int
|
126
|
-
LAST_MODIFIED_BY_FIELD_NUMBER: builtins.int
|
127
|
-
@property
|
128
|
-
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
129
|
-
"""When the collection was created"""
|
130
|
-
created_by: builtins.str
|
131
|
-
"""User who created the collection"""
|
132
|
-
@property
|
133
|
-
def last_modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
134
|
-
"""When the collection was last modified"""
|
135
|
-
last_modified_by: builtins.str
|
136
|
-
"""User who modified the collection"""
|
137
|
-
def __init__(
|
138
|
-
self,
|
139
|
-
*,
|
140
|
-
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
141
|
-
created_by: builtins.str = ...,
|
142
|
-
last_modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
143
|
-
last_modified_by: builtins.str = ...,
|
144
|
-
) -> None: ...
|
145
|
-
def HasField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "last_modified_at", b"last_modified_at"]) -> builtins.bool: ...
|
146
|
-
def ClearField(self, field_name: typing_extensions.Literal["created_at", b"created_at", "created_by", b"created_by", "last_modified_at", b"last_modified_at", "last_modified_by", b"last_modified_by"]) -> None: ...
|
147
|
-
|
148
|
-
global___QwakMetadata = QwakMetadata
|
149
|
-
|
150
|
-
class VectorCollectionVectorizer(google.protobuf.message.Message):
|
151
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
152
|
-
|
153
|
-
QWAK_MODEL_NAME_FIELD_NUMBER: builtins.int
|
154
|
-
qwak_model_name: builtins.str
|
155
|
-
def __init__(
|
156
|
-
self,
|
157
|
-
*,
|
158
|
-
qwak_model_name: builtins.str = ...,
|
159
|
-
) -> None: ...
|
160
|
-
def HasField(self, field_name: typing_extensions.Literal["qwak_model_name", b"qwak_model_name", "type", b"type"]) -> builtins.bool: ...
|
161
|
-
def ClearField(self, field_name: typing_extensions.Literal["qwak_model_name", b"qwak_model_name", "type", b"type"]) -> None: ...
|
162
|
-
def WhichOneof(self, oneof_group: typing_extensions.Literal["type", b"type"]) -> typing_extensions.Literal["qwak_model_name"] | None: ...
|
163
|
-
|
164
|
-
global___VectorCollectionVectorizer = VectorCollectionVectorizer
|
165
|
-
|
166
|
-
class VectorCollectionSpec(google.protobuf.message.Message):
|
167
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
168
|
-
|
169
|
-
NAME_FIELD_NUMBER: builtins.int
|
170
|
-
DESCRIPTION_FIELD_NUMBER: builtins.int
|
171
|
-
VECTORIZER_FIELD_NUMBER: builtins.int
|
172
|
-
METRIC_FIELD_NUMBER: builtins.int
|
173
|
-
DIMENSION_FIELD_NUMBER: builtins.int
|
174
|
-
MULTI_TENANCY_ENABLED_FIELD_NUMBER: builtins.int
|
175
|
-
name: builtins.str
|
176
|
-
"""Name of the collection"""
|
177
|
-
description: builtins.str
|
178
|
-
"""User metadata given to this collection"""
|
179
|
-
@property
|
180
|
-
def vectorizer(self) -> global___VectorCollectionVectorizer:
|
181
|
-
"""Vectorizing model"""
|
182
|
-
metric: global___VectorCollectionMetric.ValueType
|
183
|
-
"""The metric defined for this collection"""
|
184
|
-
dimension: builtins.int
|
185
|
-
"""Dimension definition for this collection"""
|
186
|
-
multi_tenancy_enabled: builtins.bool
|
187
|
-
"""Whether multi tenancy is enabled for this collection"""
|
188
|
-
def __init__(
|
189
|
-
self,
|
190
|
-
*,
|
191
|
-
name: builtins.str = ...,
|
192
|
-
description: builtins.str = ...,
|
193
|
-
vectorizer: global___VectorCollectionVectorizer | None = ...,
|
194
|
-
metric: global___VectorCollectionMetric.ValueType = ...,
|
195
|
-
dimension: builtins.int = ...,
|
196
|
-
multi_tenancy_enabled: builtins.bool = ...,
|
197
|
-
) -> None: ...
|
198
|
-
def HasField(self, field_name: typing_extensions.Literal["vectorizer", b"vectorizer"]) -> builtins.bool: ...
|
199
|
-
def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "dimension", b"dimension", "metric", b"metric", "multi_tenancy_enabled", b"multi_tenancy_enabled", "name", b"name", "vectorizer", b"vectorizer"]) -> None: ...
|
200
|
-
|
201
|
-
global___VectorCollectionSpec = VectorCollectionSpec
|
202
|
-
|
203
|
-
class VectorCollectionDefinition(google.protobuf.message.Message):
|
204
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
205
|
-
|
206
|
-
ID_FIELD_NUMBER: builtins.int
|
207
|
-
COLLECTION_SPEC_FIELD_NUMBER: builtins.int
|
208
|
-
id: builtins.str
|
209
|
-
"""The unique ID of the given collection"""
|
210
|
-
@property
|
211
|
-
def collection_spec(self) -> global___VectorCollectionSpec:
|
212
|
-
"""The spec details of the collection"""
|
213
|
-
def __init__(
|
214
|
-
self,
|
215
|
-
*,
|
216
|
-
id: builtins.str = ...,
|
217
|
-
collection_spec: global___VectorCollectionSpec | None = ...,
|
218
|
-
) -> None: ...
|
219
|
-
def HasField(self, field_name: typing_extensions.Literal["collection_spec", b"collection_spec"]) -> builtins.bool: ...
|
220
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_spec", b"collection_spec", "id", b"id"]) -> None: ...
|
221
|
-
|
222
|
-
global___VectorCollectionDefinition = VectorCollectionDefinition
|
223
|
-
|
224
|
-
class VectorCollection(google.protobuf.message.Message):
|
225
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
226
|
-
|
227
|
-
METADATA_FIELD_NUMBER: builtins.int
|
228
|
-
DEFINITION_FIELD_NUMBER: builtins.int
|
229
|
-
STATUS_FIELD_NUMBER: builtins.int
|
230
|
-
@property
|
231
|
-
def metadata(self) -> global___QwakMetadata:
|
232
|
-
"""QWAK generated metadata of the collection"""
|
233
|
-
@property
|
234
|
-
def definition(self) -> global___VectorCollectionDefinition:
|
235
|
-
"""Definition of the collection"""
|
236
|
-
status: global___VectorCollectionStatus.ValueType
|
237
|
-
"""Status of the given collection"""
|
238
|
-
def __init__(
|
239
|
-
self,
|
240
|
-
*,
|
241
|
-
metadata: global___QwakMetadata | None = ...,
|
242
|
-
definition: global___VectorCollectionDefinition | None = ...,
|
243
|
-
status: global___VectorCollectionStatus.ValueType = ...,
|
244
|
-
) -> None: ...
|
245
|
-
def HasField(self, field_name: typing_extensions.Literal["definition", b"definition", "metadata", b"metadata"]) -> builtins.bool: ...
|
246
|
-
def ClearField(self, field_name: typing_extensions.Literal["definition", b"definition", "metadata", b"metadata", "status", b"status"]) -> None: ...
|
247
|
-
|
248
|
-
global___VectorCollection = VectorCollection
|
249
|
-
|
250
|
-
class Property(google.protobuf.message.Message):
|
251
|
-
"""a property in a collection"""
|
252
|
-
|
253
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
254
|
-
|
255
|
-
NAME_FIELD_NUMBER: builtins.int
|
256
|
-
DATA_TYPE_FIELD_NUMBER: builtins.int
|
257
|
-
name: builtins.str
|
258
|
-
"""property name"""
|
259
|
-
data_type: global___PropertyType.ValueType
|
260
|
-
"""property type"""
|
261
|
-
def __init__(
|
262
|
-
self,
|
263
|
-
*,
|
264
|
-
name: builtins.str = ...,
|
265
|
-
data_type: global___PropertyType.ValueType = ...,
|
266
|
-
) -> None: ...
|
267
|
-
def ClearField(self, field_name: typing_extensions.Literal["data_type", b"data_type", "name", b"name"]) -> None: ...
|
268
|
-
|
269
|
-
global___Property = Property
|
270
|
-
|
271
|
-
class CollectionMetadata(google.protobuf.message.Message):
|
272
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
273
|
-
|
274
|
-
NUM_VECTORS_FIELD_NUMBER: builtins.int
|
275
|
-
PROPERTIES_FIELD_NUMBER: builtins.int
|
276
|
-
num_vectors: builtins.int
|
277
|
-
@property
|
278
|
-
def properties(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Property]: ...
|
279
|
-
def __init__(
|
280
|
-
self,
|
281
|
-
*,
|
282
|
-
num_vectors: builtins.int = ...,
|
283
|
-
properties: collections.abc.Iterable[global___Property] | None = ...,
|
284
|
-
) -> None: ...
|
285
|
-
def ClearField(self, field_name: typing_extensions.Literal["num_vectors", b"num_vectors", "properties", b"properties"]) -> None: ...
|
286
|
-
|
287
|
-
global___CollectionMetadata = CollectionMetadata
|
@@ -1,60 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
# source: frogml_proto.qwak.vectors/v1/collection/collection_service.proto
|
4
|
-
"""Generated protocol buffer code."""
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
8
|
-
from google.protobuf.internal import builder as _builder
|
9
|
-
# @@protoc_insertion_point(imports)
|
10
|
-
|
11
|
-
_sym_db = _symbol_database.Default()
|
12
|
-
|
13
|
-
|
14
|
-
from frogml_proto.qwak.vectors.v1.collection import collection_pb2 as qwak_dot_vectors_dot_v1_dot_collection_dot_collection__pb2
|
15
|
-
|
16
|
-
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3qwak/vectors/v1/collection/collection_service.proto\x12\x1fqwak.vector.store.v1.collection\x1a+qwak/vectors/v1/collection/collection.proto\"i\n\x17\x43reateCollectionRequest\x12N\n\x0f\x63ollection_spec\x18\x01 \x01(\x0b\x32\x35.qwak.vector.store.v1.collection.VectorCollectionSpec\"h\n\x18\x43reateCollectionResponse\x12L\n\x11vector_collection\x18\x01 \x01(\x0b\x32\x31.qwak.vector.store.v1.collection.VectorCollection\"u\n\x17UpdateCollectionRequest\x12Z\n\x15\x63ollection_definition\x18\x01 \x01(\x0b\x32;.qwak.vector.store.v1.collection.VectorCollectionDefinition\"h\n\x18UpdateCollectionResponse\x12L\n\x11vector_collection\x18\x01 \x01(\x0b\x32\x31.qwak.vector.store.v1.collection.VectorCollection\"&\n\x18GetCollectionByIdRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xbb\x01\n\x19GetCollectionByIdResponse\x12L\n\x11vector_collection\x18\x01 \x01(\x0b\x32\x31.qwak.vector.store.v1.collection.VectorCollection\x12P\n\x13\x63ollection_metadata\x18\x02 \x01(\x0b\x32\x33.qwak.vector.store.v1.collection.CollectionMetadata\"*\n\x1aGetCollectionByNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xbd\x01\n\x1bGetCollectionByNameResponse\x12L\n\x11vector_collection\x18\x01 \x01(\x0b\x32\x31.qwak.vector.store.v1.collection.VectorCollection\x12P\n\x13\x63ollection_metadata\x18\x02 \x01(\x0b\x32\x33.qwak.vector.store.v1.collection.CollectionMetadata\")\n\x1b\x44\x65leteCollectionByIdRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x1e\n\x1c\x44\x65leteCollectionByIdResponse\"-\n\x1d\x44\x65leteCollectionByNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\" \n\x1e\x44\x65leteCollectionByNameResponse\"\x18\n\x16ListCollectionsRequest\"h\n\x17ListCollectionsResponse\x12M\n\x12vector_collections\x18\x01 \x03(\x0b\x32\x31.qwak.vector.store.v1.collection.VectorCollection\"\x1b\n\x19GetCollectionCountRequest\"6\n\x1aGetCollectionCountResponse\x12\x18\n\x10\x63ollection_count\x18\x01 \x01(\x05\x32\x96\t\n\x17VectorCollectionService\x12\x87\x01\n\x10\x43reateCollection\x12\x38.qwak.vector.store.v1.collection.CreateCollectionRequest\x1a\x39.qwak.vector.store.v1.collection.CreateCollectionResponse\x12\x87\x01\n\x10UpdateCollection\x12\x38.qwak.vector.store.v1.collection.UpdateCollectionRequest\x1a\x39.qwak.vector.store.v1.collection.UpdateCollectionResponse\x12\x8a\x01\n\x11GetCollectionById\x12\x39.qwak.vector.store.v1.collection.GetCollectionByIdRequest\x1a:.qwak.vector.store.v1.collection.GetCollectionByIdResponse\x12\x90\x01\n\x13GetCollectionByName\x12;.qwak.vector.store.v1.collection.GetCollectionByNameRequest\x1a<.qwak.vector.store.v1.collection.GetCollectionByNameResponse\x12\x93\x01\n\x14\x44\x65leteCollectionById\x12<.qwak.vector.store.v1.collection.DeleteCollectionByIdRequest\x1a=.qwak.vector.store.v1.collection.DeleteCollectionByIdResponse\x12\x99\x01\n\x16\x44\x65leteCollectionByName\x12>.qwak.vector.store.v1.collection.DeleteCollectionByNameRequest\x1a?.qwak.vector.store.v1.collection.DeleteCollectionByNameResponse\x12\x84\x01\n\x0fListCollections\x12\x37.qwak.vector.store.v1.collection.ListCollectionsRequest\x1a\x38.qwak.vector.store.v1.collection.ListCollectionsResponse\x12\x8d\x01\n\x12GetCollectionCount\x12:.qwak.vector.store.v1.collection.GetCollectionCountRequest\x1a;.qwak.vector.store.v1.collection.GetCollectionCountResponseB%\n!com.qwak.ai.vectors.v1.collectionP\x01\x62\x06proto3')
|
18
|
-
|
19
|
-
_globals = globals()
|
20
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.vectors.v1.collection.collection_service_pb2', _globals)
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
-
|
24
|
-
DESCRIPTOR._options = None
|
25
|
-
DESCRIPTOR._serialized_options = b'\n!com.qwak.ai.vectors.v1.collectionP\001'
|
26
|
-
_globals['_CREATECOLLECTIONREQUEST']._serialized_start=133
|
27
|
-
_globals['_CREATECOLLECTIONREQUEST']._serialized_end=238
|
28
|
-
_globals['_CREATECOLLECTIONRESPONSE']._serialized_start=240
|
29
|
-
_globals['_CREATECOLLECTIONRESPONSE']._serialized_end=344
|
30
|
-
_globals['_UPDATECOLLECTIONREQUEST']._serialized_start=346
|
31
|
-
_globals['_UPDATECOLLECTIONREQUEST']._serialized_end=463
|
32
|
-
_globals['_UPDATECOLLECTIONRESPONSE']._serialized_start=465
|
33
|
-
_globals['_UPDATECOLLECTIONRESPONSE']._serialized_end=569
|
34
|
-
_globals['_GETCOLLECTIONBYIDREQUEST']._serialized_start=571
|
35
|
-
_globals['_GETCOLLECTIONBYIDREQUEST']._serialized_end=609
|
36
|
-
_globals['_GETCOLLECTIONBYIDRESPONSE']._serialized_start=612
|
37
|
-
_globals['_GETCOLLECTIONBYIDRESPONSE']._serialized_end=799
|
38
|
-
_globals['_GETCOLLECTIONBYNAMEREQUEST']._serialized_start=801
|
39
|
-
_globals['_GETCOLLECTIONBYNAMEREQUEST']._serialized_end=843
|
40
|
-
_globals['_GETCOLLECTIONBYNAMERESPONSE']._serialized_start=846
|
41
|
-
_globals['_GETCOLLECTIONBYNAMERESPONSE']._serialized_end=1035
|
42
|
-
_globals['_DELETECOLLECTIONBYIDREQUEST']._serialized_start=1037
|
43
|
-
_globals['_DELETECOLLECTIONBYIDREQUEST']._serialized_end=1078
|
44
|
-
_globals['_DELETECOLLECTIONBYIDRESPONSE']._serialized_start=1080
|
45
|
-
_globals['_DELETECOLLECTIONBYIDRESPONSE']._serialized_end=1110
|
46
|
-
_globals['_DELETECOLLECTIONBYNAMEREQUEST']._serialized_start=1112
|
47
|
-
_globals['_DELETECOLLECTIONBYNAMEREQUEST']._serialized_end=1157
|
48
|
-
_globals['_DELETECOLLECTIONBYNAMERESPONSE']._serialized_start=1159
|
49
|
-
_globals['_DELETECOLLECTIONBYNAMERESPONSE']._serialized_end=1191
|
50
|
-
_globals['_LISTCOLLECTIONSREQUEST']._serialized_start=1193
|
51
|
-
_globals['_LISTCOLLECTIONSREQUEST']._serialized_end=1217
|
52
|
-
_globals['_LISTCOLLECTIONSRESPONSE']._serialized_start=1219
|
53
|
-
_globals['_LISTCOLLECTIONSRESPONSE']._serialized_end=1323
|
54
|
-
_globals['_GETCOLLECTIONCOUNTREQUEST']._serialized_start=1325
|
55
|
-
_globals['_GETCOLLECTIONCOUNTREQUEST']._serialized_end=1352
|
56
|
-
_globals['_GETCOLLECTIONCOUNTRESPONSE']._serialized_start=1354
|
57
|
-
_globals['_GETCOLLECTIONCOUNTRESPONSE']._serialized_end=1408
|
58
|
-
_globals['_VECTORCOLLECTIONSERVICE']._serialized_start=1411
|
59
|
-
_globals['_VECTORCOLLECTIONSERVICE']._serialized_end=2585
|
60
|
-
# @@protoc_insertion_point(module_scope)
|
@@ -1,258 +0,0 @@
|
|
1
|
-
"""
|
2
|
-
@generated by mypy-protobuf. Do not edit manually!
|
3
|
-
isort:skip_file
|
4
|
-
"""
|
5
|
-
import builtins
|
6
|
-
import collections.abc
|
7
|
-
import google.protobuf.descriptor
|
8
|
-
import google.protobuf.internal.containers
|
9
|
-
import google.protobuf.message
|
10
|
-
import frogml_proto.qwak.vectors.v1.collection.collection_pb2
|
11
|
-
import sys
|
12
|
-
|
13
|
-
if sys.version_info >= (3, 8):
|
14
|
-
import typing as typing_extensions
|
15
|
-
else:
|
16
|
-
import typing_extensions
|
17
|
-
|
18
|
-
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
19
|
-
|
20
|
-
class CreateCollectionRequest(google.protobuf.message.Message):
|
21
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
22
|
-
|
23
|
-
COLLECTION_SPEC_FIELD_NUMBER: builtins.int
|
24
|
-
@property
|
25
|
-
def collection_spec(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollectionSpec:
|
26
|
-
"""Vector collection spec to register"""
|
27
|
-
def __init__(
|
28
|
-
self,
|
29
|
-
*,
|
30
|
-
collection_spec: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollectionSpec | None = ...,
|
31
|
-
) -> None: ...
|
32
|
-
def HasField(self, field_name: typing_extensions.Literal["collection_spec", b"collection_spec"]) -> builtins.bool: ...
|
33
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_spec", b"collection_spec"]) -> None: ...
|
34
|
-
|
35
|
-
global___CreateCollectionRequest = CreateCollectionRequest
|
36
|
-
|
37
|
-
class CreateCollectionResponse(google.protobuf.message.Message):
|
38
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
39
|
-
|
40
|
-
VECTOR_COLLECTION_FIELD_NUMBER: builtins.int
|
41
|
-
@property
|
42
|
-
def vector_collection(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection:
|
43
|
-
"""Registered vector collection"""
|
44
|
-
def __init__(
|
45
|
-
self,
|
46
|
-
*,
|
47
|
-
vector_collection: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection | None = ...,
|
48
|
-
) -> None: ...
|
49
|
-
def HasField(self, field_name: typing_extensions.Literal["vector_collection", b"vector_collection"]) -> builtins.bool: ...
|
50
|
-
def ClearField(self, field_name: typing_extensions.Literal["vector_collection", b"vector_collection"]) -> None: ...
|
51
|
-
|
52
|
-
global___CreateCollectionResponse = CreateCollectionResponse
|
53
|
-
|
54
|
-
class UpdateCollectionRequest(google.protobuf.message.Message):
|
55
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
56
|
-
|
57
|
-
COLLECTION_DEFINITION_FIELD_NUMBER: builtins.int
|
58
|
-
@property
|
59
|
-
def collection_definition(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollectionDefinition:
|
60
|
-
"""Vector collection definition of the vector to update
|
61
|
-
(currently supports changes only to vectorizer name and description name)
|
62
|
-
"""
|
63
|
-
def __init__(
|
64
|
-
self,
|
65
|
-
*,
|
66
|
-
collection_definition: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollectionDefinition | None = ...,
|
67
|
-
) -> None: ...
|
68
|
-
def HasField(self, field_name: typing_extensions.Literal["collection_definition", b"collection_definition"]) -> builtins.bool: ...
|
69
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_definition", b"collection_definition"]) -> None: ...
|
70
|
-
|
71
|
-
global___UpdateCollectionRequest = UpdateCollectionRequest
|
72
|
-
|
73
|
-
class UpdateCollectionResponse(google.protobuf.message.Message):
|
74
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
75
|
-
|
76
|
-
VECTOR_COLLECTION_FIELD_NUMBER: builtins.int
|
77
|
-
@property
|
78
|
-
def vector_collection(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection:
|
79
|
-
"""Updated vector collection"""
|
80
|
-
def __init__(
|
81
|
-
self,
|
82
|
-
*,
|
83
|
-
vector_collection: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection | None = ...,
|
84
|
-
) -> None: ...
|
85
|
-
def HasField(self, field_name: typing_extensions.Literal["vector_collection", b"vector_collection"]) -> builtins.bool: ...
|
86
|
-
def ClearField(self, field_name: typing_extensions.Literal["vector_collection", b"vector_collection"]) -> None: ...
|
87
|
-
|
88
|
-
global___UpdateCollectionResponse = UpdateCollectionResponse
|
89
|
-
|
90
|
-
class GetCollectionByIdRequest(google.protobuf.message.Message):
|
91
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
92
|
-
|
93
|
-
ID_FIELD_NUMBER: builtins.int
|
94
|
-
id: builtins.str
|
95
|
-
"""Collection id to retrieve by"""
|
96
|
-
def __init__(
|
97
|
-
self,
|
98
|
-
*,
|
99
|
-
id: builtins.str = ...,
|
100
|
-
) -> None: ...
|
101
|
-
def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ...
|
102
|
-
|
103
|
-
global___GetCollectionByIdRequest = GetCollectionByIdRequest
|
104
|
-
|
105
|
-
class GetCollectionByIdResponse(google.protobuf.message.Message):
|
106
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
107
|
-
|
108
|
-
VECTOR_COLLECTION_FIELD_NUMBER: builtins.int
|
109
|
-
COLLECTION_METADATA_FIELD_NUMBER: builtins.int
|
110
|
-
@property
|
111
|
-
def vector_collection(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection:
|
112
|
-
"""Retrieved vector collection"""
|
113
|
-
@property
|
114
|
-
def collection_metadata(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.CollectionMetadata:
|
115
|
-
"""Collection metadata"""
|
116
|
-
def __init__(
|
117
|
-
self,
|
118
|
-
*,
|
119
|
-
vector_collection: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection | None = ...,
|
120
|
-
collection_metadata: frogml_proto.qwak.vectors.v1.collection.collection_pb2.CollectionMetadata | None = ...,
|
121
|
-
) -> None: ...
|
122
|
-
def HasField(self, field_name: typing_extensions.Literal["collection_metadata", b"collection_metadata", "vector_collection", b"vector_collection"]) -> builtins.bool: ...
|
123
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_metadata", b"collection_metadata", "vector_collection", b"vector_collection"]) -> None: ...
|
124
|
-
|
125
|
-
global___GetCollectionByIdResponse = GetCollectionByIdResponse
|
126
|
-
|
127
|
-
class GetCollectionByNameRequest(google.protobuf.message.Message):
|
128
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
129
|
-
|
130
|
-
NAME_FIELD_NUMBER: builtins.int
|
131
|
-
name: builtins.str
|
132
|
-
"""Vector collection name to retrieve by"""
|
133
|
-
def __init__(
|
134
|
-
self,
|
135
|
-
*,
|
136
|
-
name: builtins.str = ...,
|
137
|
-
) -> None: ...
|
138
|
-
def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...
|
139
|
-
|
140
|
-
global___GetCollectionByNameRequest = GetCollectionByNameRequest
|
141
|
-
|
142
|
-
class GetCollectionByNameResponse(google.protobuf.message.Message):
|
143
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
144
|
-
|
145
|
-
VECTOR_COLLECTION_FIELD_NUMBER: builtins.int
|
146
|
-
COLLECTION_METADATA_FIELD_NUMBER: builtins.int
|
147
|
-
@property
|
148
|
-
def vector_collection(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection:
|
149
|
-
"""Retrieved vector collection"""
|
150
|
-
@property
|
151
|
-
def collection_metadata(self) -> frogml_proto.qwak.vectors.v1.collection.collection_pb2.CollectionMetadata:
|
152
|
-
"""Collection metadata"""
|
153
|
-
def __init__(
|
154
|
-
self,
|
155
|
-
*,
|
156
|
-
vector_collection: frogml_proto.qwak.vectors.v1.collection.collection_pb2.VectorCollection | None = ...,
|
157
|
-
collection_metadata: frogml_proto.qwak.vectors.v1.collection.collection_pb2.CollectionMetadata | None = ...,
|
158
|
-
) -> None: ...
|
159
|
-
def HasField(self, field_name: typing_extensions.Literal["collection_metadata", b"collection_metadata", "vector_collection", b"vector_collection"]) -> builtins.bool: ...
|
160
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_metadata", b"collection_metadata", "vector_collection", b"vector_collection"]) -> None: ...
|
161
|
-
|
162
|
-
global___GetCollectionByNameResponse = GetCollectionByNameResponse
|
163
|
-
|
164
|
-
class DeleteCollectionByIdRequest(google.protobuf.message.Message):
|
165
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
166
|
-
|
167
|
-
ID_FIELD_NUMBER: builtins.int
|
168
|
-
id: builtins.str
|
169
|
-
"""Vector collection id to delete by"""
|
170
|
-
def __init__(
|
171
|
-
self,
|
172
|
-
*,
|
173
|
-
id: builtins.str = ...,
|
174
|
-
) -> None: ...
|
175
|
-
def ClearField(self, field_name: typing_extensions.Literal["id", b"id"]) -> None: ...
|
176
|
-
|
177
|
-
global___DeleteCollectionByIdRequest = DeleteCollectionByIdRequest
|
178
|
-
|
179
|
-
class DeleteCollectionByIdResponse(google.protobuf.message.Message):
|
180
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
181
|
-
|
182
|
-
def __init__(
|
183
|
-
self,
|
184
|
-
) -> None: ...
|
185
|
-
|
186
|
-
global___DeleteCollectionByIdResponse = DeleteCollectionByIdResponse
|
187
|
-
|
188
|
-
class DeleteCollectionByNameRequest(google.protobuf.message.Message):
|
189
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
190
|
-
|
191
|
-
NAME_FIELD_NUMBER: builtins.int
|
192
|
-
name: builtins.str
|
193
|
-
"""Vector collection name to delete by"""
|
194
|
-
def __init__(
|
195
|
-
self,
|
196
|
-
*,
|
197
|
-
name: builtins.str = ...,
|
198
|
-
) -> None: ...
|
199
|
-
def ClearField(self, field_name: typing_extensions.Literal["name", b"name"]) -> None: ...
|
200
|
-
|
201
|
-
global___DeleteCollectionByNameRequest = DeleteCollectionByNameRequest
|
202
|
-
|
203
|
-
class DeleteCollectionByNameResponse(google.protobuf.message.Message):
|
204
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
205
|
-
|
206
|
-
def __init__(
|
207
|
-
self,
|
208
|
-
) -> None: ...
|
209
|
-
|
210
|
-
global___DeleteCollectionByNameResponse = DeleteCollectionByNameResponse
|
211
|
-
|
212
|
-
class ListCollectionsRequest(google.protobuf.message.Message):
|
213
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
214
|
-
|
215
|
-
def __init__(
|
216
|
-
self,
|
217
|
-
) -> None: ...
|
218
|
-
|
219
|
-
global___ListCollectionsRequest = ListCollectionsRequest
|
220
|
-
|
221
|
-
class ListCollectionsResponse(google.protobuf.message.Message):
|
222
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
223
|
-
|
224
|
-
VECTOR_COLLECTIONS_FIELD_NUMBER: builtins.int
|
225
|
-
@property
|
226
|
-
def vector_collections(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[qwak.vectors.v1.collection.collection_pb2.VectorCollection]:
|
227
|
-
"""Retrieved vector collections"""
|
228
|
-
def __init__(
|
229
|
-
self,
|
230
|
-
*,
|
231
|
-
vector_collections: collections.abc.Iterable[qwak.vectors.v1.collection.collection_pb2.VectorCollection] | None = ...,
|
232
|
-
) -> None: ...
|
233
|
-
def ClearField(self, field_name: typing_extensions.Literal["vector_collections", b"vector_collections"]) -> None: ...
|
234
|
-
|
235
|
-
global___ListCollectionsResponse = ListCollectionsResponse
|
236
|
-
|
237
|
-
class GetCollectionCountRequest(google.protobuf.message.Message):
|
238
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
239
|
-
|
240
|
-
def __init__(
|
241
|
-
self,
|
242
|
-
) -> None: ...
|
243
|
-
|
244
|
-
global___GetCollectionCountRequest = GetCollectionCountRequest
|
245
|
-
|
246
|
-
class GetCollectionCountResponse(google.protobuf.message.Message):
|
247
|
-
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
248
|
-
|
249
|
-
COLLECTION_COUNT_FIELD_NUMBER: builtins.int
|
250
|
-
collection_count: builtins.int
|
251
|
-
def __init__(
|
252
|
-
self,
|
253
|
-
*,
|
254
|
-
collection_count: builtins.int = ...,
|
255
|
-
) -> None: ...
|
256
|
-
def ClearField(self, field_name: typing_extensions.Literal["collection_count", b"collection_count"]) -> None: ...
|
257
|
-
|
258
|
-
global___GetCollectionCountResponse = GetCollectionCountResponse
|