frogml-core 0.0.113__py3-none-any.whl → 0.0.115__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.
Files changed (137) hide show
  1. frogml_core/__init__.py +1 -1
  2. frogml_core/clients/administration/authentication/client.py +2 -2
  3. frogml_core/clients/batch_job_management/client.py +4 -4
  4. frogml_core/clients/build_orchestrator/build_model_request_getter.py +6 -6
  5. frogml_core/clients/build_orchestrator/client.py +12 -12
  6. frogml_core/clients/build_orchestrator/internal_client.py +10 -10
  7. frogml_core/frogml_client/build_api_helpers/build_api_steps.py +3 -3
  8. frogml_core/inner/build_logic/constants/upload_tag.py +7 -7
  9. frogml_core/inner/build_logic/interface/context_interface.py +1 -1
  10. frogml_core/inner/build_logic/phases/phase_010_fetch_model/fetch_strategy_manager/strategy/strategy.py +4 -4
  11. frogml_core/inner/build_logic/phases/phase_010_fetch_model/set_version_step.py +3 -3
  12. frogml_core/inner/build_logic/phases/phase_020_remote_register_frogml_build/start_remote_build_step.py +3 -3
  13. frogml_core/inner/build_logic/phases/phase_020_remote_register_frogml_build/upload_step.py +11 -9
  14. frogml_core/inner/build_logic/tools/ignore_files.py +3 -3
  15. frogml_core/inner/di_configuration/__init__.py +0 -6
  16. frogml_core/model/adapters/__init__.py +1 -1
  17. frogml_core/model/analytics_logging.py +1 -1
  18. frogml_core/model/tools/adapters/input.py +6 -6
  19. frogml_core/model/tools/adapters/output.py +8 -8
  20. frogml_core/model/tools/run_model_locally.py +2 -2
  21. frogml_core/model/utils/feature_utils.py +1 -1
  22. {frogml_core-0.0.113.dist-info → frogml_core-0.0.115.dist-info}/METADATA +1 -1
  23. {frogml_core-0.0.113.dist-info → frogml_core-0.0.115.dist-info}/RECORD +30 -137
  24. frogml_services_mock/mocks/analytics_api.py +6 -6
  25. frogml_services_mock/mocks/ecosystem_service_api.py +2 -2
  26. frogml_services_mock/mocks/frogml_mocks.py +0 -11
  27. frogml_services_mock/services_mock.py +4 -52
  28. frogml_storage/__init__.py +1 -1
  29. frogml_core/clients/prompt_manager/__init__.py +0 -0
  30. frogml_core/clients/prompt_manager/model_descriptor_mapper.py +0 -196
  31. frogml_core/clients/prompt_manager/prompt_manager_client.py +0 -190
  32. frogml_core/clients/prompt_manager/prompt_proto_mapper.py +0 -264
  33. frogml_core/clients/vector_store/__init__.py +0 -2
  34. frogml_core/clients/vector_store/management_client.py +0 -127
  35. frogml_core/clients/vector_store/serving_client.py +0 -157
  36. frogml_core/clients/workspace_manager/__init__.py +0 -1
  37. frogml_core/clients/workspace_manager/client.py +0 -224
  38. frogml_core/llmops/__init__.py +0 -0
  39. frogml_core/llmops/generation/__init__.py +0 -0
  40. frogml_core/llmops/generation/_steaming.py +0 -78
  41. frogml_core/llmops/generation/base.py +0 -5
  42. frogml_core/llmops/generation/chat/__init__.py +0 -0
  43. frogml_core/llmops/generation/chat/openai/LICENSE.txt +0 -201
  44. frogml_core/llmops/generation/chat/openai/types/__init__.py +0 -0
  45. frogml_core/llmops/generation/chat/openai/types/chat/__init__.py +0 -0
  46. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion.py +0 -88
  47. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_assistant_message_param.py +0 -65
  48. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_chunk.py +0 -153
  49. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_content_part_text_param.py +0 -28
  50. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_call_option_param.py +0 -25
  51. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_function_message_param.py +0 -33
  52. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message.py +0 -56
  53. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_param.py +0 -34
  54. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call.py +0 -46
  55. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_message_tool_call_param.py +0 -44
  56. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_named_tool_choice_param.py +0 -32
  57. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_role.py +0 -20
  58. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_system_message_param.py +0 -35
  59. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_token_logprob.py +0 -71
  60. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_choice_option_param.py +0 -28
  61. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_message_param.py +0 -31
  62. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_tool_param.py +0 -29
  63. frogml_core/llmops/generation/chat/openai/types/chat/chat_completion_user_message_param.py +0 -35
  64. frogml_core/llmops/generation/chat/openai/types/chat/completion_create_params.py +0 -279
  65. frogml_core/llmops/generation/chat/openai/types/completion_choice.py +0 -47
  66. frogml_core/llmops/generation/chat/openai/types/completion_create_params.py +0 -209
  67. frogml_core/llmops/generation/chat/openai/types/completion_usage.py +0 -30
  68. frogml_core/llmops/generation/chat/openai/types/model.py +0 -35
  69. frogml_core/llmops/generation/chat/openai/types/shared/__init__.py +0 -3
  70. frogml_core/llmops/generation/chat/openai/types/shared/error_object.py +0 -27
  71. frogml_core/llmops/generation/chat/openai/types/shared/function_definition.py +0 -49
  72. frogml_core/llmops/generation/chat/openai/types/shared/function_parameters.py +0 -20
  73. frogml_core/llmops/generation/chat/openai/types/shared_params/__init__.py +0 -2
  74. frogml_core/llmops/generation/chat/openai/types/shared_params/function_definition.py +0 -49
  75. frogml_core/llmops/generation/chat/openai/types/shared_params/function_parameters.py +0 -22
  76. frogml_core/llmops/generation/streaming.py +0 -26
  77. frogml_core/llmops/model/__init__.py +0 -0
  78. frogml_core/llmops/model/descriptor.py +0 -40
  79. frogml_core/llmops/prompt/__init__.py +0 -0
  80. frogml_core/llmops/prompt/base.py +0 -136
  81. frogml_core/llmops/prompt/chat/__init__.py +0 -0
  82. frogml_core/llmops/prompt/chat/message.py +0 -24
  83. frogml_core/llmops/prompt/chat/template.py +0 -113
  84. frogml_core/llmops/prompt/chat/value.py +0 -10
  85. frogml_core/llmops/prompt/manager.py +0 -138
  86. frogml_core/llmops/prompt/template.py +0 -24
  87. frogml_core/llmops/prompt/value.py +0 -14
  88. frogml_core/llmops/provider/__init__.py +0 -0
  89. frogml_core/llmops/provider/chat.py +0 -44
  90. frogml_core/llmops/provider/openai/__init__.py +0 -0
  91. frogml_core/llmops/provider/openai/client.py +0 -126
  92. frogml_core/llmops/provider/openai/provider.py +0 -93
  93. frogml_core/vector_store/__init__.py +0 -4
  94. frogml_core/vector_store/client.py +0 -151
  95. frogml_core/vector_store/collection.py +0 -429
  96. frogml_core/vector_store/filters.py +0 -359
  97. frogml_core/vector_store/inference_client.py +0 -105
  98. frogml_core/vector_store/rest_helpers.py +0 -81
  99. frogml_core/vector_store/utils/__init__.py +0 -0
  100. frogml_core/vector_store/utils/filter_utils.py +0 -23
  101. frogml_core/vector_store/utils/upsert_utils.py +0 -218
  102. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.py +0 -77
  103. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2.pyi +0 -417
  104. frogml_proto/qwak/prompt/v1/prompt/prompt_manager_service_pb2_grpc.py +0 -441
  105. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.py +0 -69
  106. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2.pyi +0 -415
  107. frogml_proto/qwak/prompt/v1/prompt/prompt_pb2_grpc.py +0 -4
  108. frogml_proto/qwak/vectors/v1/collection/collection_pb2.py +0 -46
  109. frogml_proto/qwak/vectors/v1/collection/collection_pb2.pyi +0 -287
  110. frogml_proto/qwak/vectors/v1/collection/collection_pb2_grpc.py +0 -4
  111. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.py +0 -60
  112. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2.pyi +0 -258
  113. frogml_proto/qwak/vectors/v1/collection/collection_service_pb2_grpc.py +0 -304
  114. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.py +0 -28
  115. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2.pyi +0 -41
  116. frogml_proto/qwak/vectors/v1/collection/event/collection_event_pb2_grpc.py +0 -4
  117. frogml_proto/qwak/vectors/v1/filters_pb2.py +0 -52
  118. frogml_proto/qwak/vectors/v1/filters_pb2.pyi +0 -297
  119. frogml_proto/qwak/vectors/v1/filters_pb2_grpc.py +0 -4
  120. frogml_proto/qwak/vectors/v1/vector_pb2.py +0 -38
  121. frogml_proto/qwak/vectors/v1/vector_pb2.pyi +0 -142
  122. frogml_proto/qwak/vectors/v1/vector_pb2_grpc.py +0 -4
  123. frogml_proto/qwak/vectors/v1/vector_service_pb2.py +0 -53
  124. frogml_proto/qwak/vectors/v1/vector_service_pb2.pyi +0 -243
  125. frogml_proto/qwak/vectors/v1/vector_service_pb2_grpc.py +0 -201
  126. frogml_proto/qwak/workspace/workspace_pb2.py +0 -50
  127. frogml_proto/qwak/workspace/workspace_pb2.pyi +0 -331
  128. frogml_proto/qwak/workspace/workspace_pb2_grpc.py +0 -4
  129. frogml_proto/qwak/workspace/workspace_service_pb2.py +0 -84
  130. frogml_proto/qwak/workspace/workspace_service_pb2.pyi +0 -393
  131. frogml_proto/qwak/workspace/workspace_service_pb2_grpc.py +0 -507
  132. frogml_services_mock/mocks/prompt_manager_service.py +0 -281
  133. frogml_services_mock/mocks/vector_serving_api.py +0 -159
  134. frogml_services_mock/mocks/vectors_management_api.py +0 -97
  135. frogml_services_mock/mocks/workspace_manager_service_mock.py +0 -202
  136. /frogml_core/model/adapters/output_adapters/{qwak_with_default_fallback.py → frogml_with_default_fallback.py} +0 -0
  137. {frogml_core-0.0.113.dist-info → frogml_core-0.0.115.dist-info}/WHEEL +0 -0
@@ -1,297 +0,0 @@
1
- """
2
- @generated by mypy-protobuf. Do not edit manually!
3
- isort:skip_file
4
- """
5
- import builtins
6
- import google.protobuf.descriptor
7
- import google.protobuf.message
8
- import google.protobuf.timestamp_pb2
9
- import sys
10
-
11
- if sys.version_info >= (3, 8):
12
- import typing as typing_extensions
13
- else:
14
- import typing_extensions
15
-
16
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
-
18
- class AtomicLiteral(google.protobuf.message.Message):
19
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
20
-
21
- STRING_LITERAL_FIELD_NUMBER: builtins.int
22
- INT_LITERAL_FIELD_NUMBER: builtins.int
23
- BOOL_LITERAL_FIELD_NUMBER: builtins.int
24
- DOUBLE_LITERAL_FIELD_NUMBER: builtins.int
25
- TIMESTAMP_LITERAL_FIELD_NUMBER: builtins.int
26
- string_literal: builtins.str
27
- int_literal: builtins.int
28
- """we treat all ints as 64 - no int/long distinction"""
29
- bool_literal: builtins.bool
30
- double_literal: builtins.float
31
- """not distinguishing double vs float"""
32
- @property
33
- def timestamp_literal(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
34
- def __init__(
35
- self,
36
- *,
37
- string_literal: builtins.str = ...,
38
- int_literal: builtins.int = ...,
39
- bool_literal: builtins.bool = ...,
40
- double_literal: builtins.float = ...,
41
- timestamp_literal: google.protobuf.timestamp_pb2.Timestamp | None = ...,
42
- ) -> None: ...
43
- def HasField(self, field_name: typing_extensions.Literal["bool_literal", b"bool_literal", "double_literal", b"double_literal", "int_literal", b"int_literal", "literal_type", b"literal_type", "string_literal", b"string_literal", "timestamp_literal", b"timestamp_literal"]) -> builtins.bool: ...
44
- def ClearField(self, field_name: typing_extensions.Literal["bool_literal", b"bool_literal", "double_literal", b"double_literal", "int_literal", b"int_literal", "literal_type", b"literal_type", "string_literal", b"string_literal", "timestamp_literal", b"timestamp_literal"]) -> None: ...
45
- def WhichOneof(self, oneof_group: typing_extensions.Literal["literal_type", b"literal_type"]) -> typing_extensions.Literal["string_literal", "int_literal", "bool_literal", "double_literal", "timestamp_literal"] | None: ...
46
-
47
- global___AtomicLiteral = AtomicLiteral
48
-
49
- class Filter(google.protobuf.message.Message):
50
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
51
-
52
- OR_FIELD_NUMBER: builtins.int
53
- AND_FIELD_NUMBER: builtins.int
54
- EQ_FIELD_NUMBER: builtins.int
55
- NE_FIELD_NUMBER: builtins.int
56
- GT_FIELD_NUMBER: builtins.int
57
- GTE_FIELD_NUMBER: builtins.int
58
- LT_FIELD_NUMBER: builtins.int
59
- LTE_FIELD_NUMBER: builtins.int
60
- LIKE_FIELD_NUMBER: builtins.int
61
- IS_NULL_FIELD_NUMBER: builtins.int
62
- IS_NOT_NULL_FIELD_NUMBER: builtins.int
63
- @property
64
- def eq(self) -> global___Equal: ...
65
- @property
66
- def ne(self) -> global___NotEqual: ...
67
- @property
68
- def gt(self) -> global___GreaterThan: ...
69
- @property
70
- def gte(self) -> global___GreaterThanEqual: ...
71
- @property
72
- def lt(self) -> global___LessThan: ...
73
- @property
74
- def lte(self) -> global___LessThanEqual: ...
75
- @property
76
- def like(self) -> global___Like: ...
77
- @property
78
- def is_null(self) -> global___IsNull: ...
79
- @property
80
- def is_not_null(self) -> global___IsNotNull: ...
81
- def __init__(
82
- self,
83
- *,
84
- eq: global___Equal | None = ...,
85
- ne: global___NotEqual | None = ...,
86
- gt: global___GreaterThan | None = ...,
87
- gte: global___GreaterThanEqual | None = ...,
88
- lt: global___LessThan | None = ...,
89
- lte: global___LessThanEqual | None = ...,
90
- like: global___Like | None = ...,
91
- is_null: global___IsNull | None = ...,
92
- is_not_null: global___IsNotNull | None = ...,
93
- ) -> None: ...
94
- def HasField(self, field_name: typing_extensions.Literal["and", b"and", "eq", b"eq", "filter_case", b"filter_case", "gt", b"gt", "gte", b"gte", "is_not_null", b"is_not_null", "is_null", b"is_null", "like", b"like", "lt", b"lt", "lte", b"lte", "ne", b"ne", "or", b"or"]) -> builtins.bool: ...
95
- def ClearField(self, field_name: typing_extensions.Literal["and", b"and", "eq", b"eq", "filter_case", b"filter_case", "gt", b"gt", "gte", b"gte", "is_not_null", b"is_not_null", "is_null", b"is_null", "like", b"like", "lt", b"lt", "lte", b"lte", "ne", b"ne", "or", b"or"]) -> None: ...
96
- def WhichOneof(self, oneof_group: typing_extensions.Literal["filter_case", b"filter_case"]) -> typing_extensions.Literal["or", "and", "eq", "ne", "gt", "gte", "lt", "lte", "like", "is_null", "is_not_null"] | None: ...
97
-
98
- global___Filter = Filter
99
-
100
- class Or(google.protobuf.message.Message):
101
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
102
-
103
- LEFT_FIELD_NUMBER: builtins.int
104
- RIGHT_FIELD_NUMBER: builtins.int
105
- @property
106
- def left(self) -> global___Filter: ...
107
- @property
108
- def right(self) -> global___Filter: ...
109
- def __init__(
110
- self,
111
- *,
112
- left: global___Filter | None = ...,
113
- right: global___Filter | None = ...,
114
- ) -> None: ...
115
- def HasField(self, field_name: typing_extensions.Literal["left", b"left", "right", b"right"]) -> builtins.bool: ...
116
- def ClearField(self, field_name: typing_extensions.Literal["left", b"left", "right", b"right"]) -> None: ...
117
-
118
- global___Or = Or
119
-
120
- class And(google.protobuf.message.Message):
121
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
-
123
- LEFT_FIELD_NUMBER: builtins.int
124
- RIGHT_FIELD_NUMBER: builtins.int
125
- @property
126
- def left(self) -> global___Filter: ...
127
- @property
128
- def right(self) -> global___Filter: ...
129
- def __init__(
130
- self,
131
- *,
132
- left: global___Filter | None = ...,
133
- right: global___Filter | None = ...,
134
- ) -> None: ...
135
- def HasField(self, field_name: typing_extensions.Literal["left", b"left", "right", b"right"]) -> builtins.bool: ...
136
- def ClearField(self, field_name: typing_extensions.Literal["left", b"left", "right", b"right"]) -> None: ...
137
-
138
- global___And = And
139
-
140
- class Equal(google.protobuf.message.Message):
141
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
142
-
143
- PROPERTY_FIELD_NUMBER: builtins.int
144
- VALUE_FIELD_NUMBER: builtins.int
145
- property: builtins.str
146
- @property
147
- def value(self) -> global___AtomicLiteral: ...
148
- def __init__(
149
- self,
150
- *,
151
- property: builtins.str = ...,
152
- value: global___AtomicLiteral | None = ...,
153
- ) -> None: ...
154
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
155
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
156
-
157
- global___Equal = Equal
158
-
159
- class NotEqual(google.protobuf.message.Message):
160
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
161
-
162
- PROPERTY_FIELD_NUMBER: builtins.int
163
- VALUE_FIELD_NUMBER: builtins.int
164
- property: builtins.str
165
- @property
166
- def value(self) -> global___AtomicLiteral: ...
167
- def __init__(
168
- self,
169
- *,
170
- property: builtins.str = ...,
171
- value: global___AtomicLiteral | None = ...,
172
- ) -> None: ...
173
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
174
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
175
-
176
- global___NotEqual = NotEqual
177
-
178
- class GreaterThan(google.protobuf.message.Message):
179
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
180
-
181
- PROPERTY_FIELD_NUMBER: builtins.int
182
- VALUE_FIELD_NUMBER: builtins.int
183
- property: builtins.str
184
- @property
185
- def value(self) -> global___AtomicLiteral: ...
186
- def __init__(
187
- self,
188
- *,
189
- property: builtins.str = ...,
190
- value: global___AtomicLiteral | None = ...,
191
- ) -> None: ...
192
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
193
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
194
-
195
- global___GreaterThan = GreaterThan
196
-
197
- class GreaterThanEqual(google.protobuf.message.Message):
198
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
199
-
200
- PROPERTY_FIELD_NUMBER: builtins.int
201
- VALUE_FIELD_NUMBER: builtins.int
202
- property: builtins.str
203
- @property
204
- def value(self) -> global___AtomicLiteral: ...
205
- def __init__(
206
- self,
207
- *,
208
- property: builtins.str = ...,
209
- value: global___AtomicLiteral | None = ...,
210
- ) -> None: ...
211
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
212
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
213
-
214
- global___GreaterThanEqual = GreaterThanEqual
215
-
216
- class LessThan(google.protobuf.message.Message):
217
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
218
-
219
- PROPERTY_FIELD_NUMBER: builtins.int
220
- VALUE_FIELD_NUMBER: builtins.int
221
- property: builtins.str
222
- @property
223
- def value(self) -> global___AtomicLiteral: ...
224
- def __init__(
225
- self,
226
- *,
227
- property: builtins.str = ...,
228
- value: global___AtomicLiteral | None = ...,
229
- ) -> None: ...
230
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
231
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
232
-
233
- global___LessThan = LessThan
234
-
235
- class LessThanEqual(google.protobuf.message.Message):
236
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
237
-
238
- PROPERTY_FIELD_NUMBER: builtins.int
239
- VALUE_FIELD_NUMBER: builtins.int
240
- property: builtins.str
241
- @property
242
- def value(self) -> global___AtomicLiteral: ...
243
- def __init__(
244
- self,
245
- *,
246
- property: builtins.str = ...,
247
- value: global___AtomicLiteral | None = ...,
248
- ) -> None: ...
249
- def HasField(self, field_name: typing_extensions.Literal["value", b"value"]) -> builtins.bool: ...
250
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property", "value", b"value"]) -> None: ...
251
-
252
- global___LessThanEqual = LessThanEqual
253
-
254
- class Like(google.protobuf.message.Message):
255
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
256
-
257
- PROPERTY_FIELD_NUMBER: builtins.int
258
- PATTERN_FIELD_NUMBER: builtins.int
259
- property: builtins.str
260
- pattern: builtins.str
261
- def __init__(
262
- self,
263
- *,
264
- property: builtins.str = ...,
265
- pattern: builtins.str = ...,
266
- ) -> None: ...
267
- def ClearField(self, field_name: typing_extensions.Literal["pattern", b"pattern", "property", b"property"]) -> None: ...
268
-
269
- global___Like = Like
270
-
271
- class IsNull(google.protobuf.message.Message):
272
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
273
-
274
- PROPERTY_FIELD_NUMBER: builtins.int
275
- property: builtins.str
276
- def __init__(
277
- self,
278
- *,
279
- property: builtins.str = ...,
280
- ) -> None: ...
281
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property"]) -> None: ...
282
-
283
- global___IsNull = IsNull
284
-
285
- class IsNotNull(google.protobuf.message.Message):
286
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
287
-
288
- PROPERTY_FIELD_NUMBER: builtins.int
289
- property: builtins.str
290
- def __init__(
291
- self,
292
- *,
293
- property: builtins.str = ...,
294
- ) -> None: ...
295
- def ClearField(self, field_name: typing_extensions.Literal["property", b"property"]) -> None: ...
296
-
297
- global___IsNotNull = IsNotNull
@@ -1,4 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
@@ -1,38 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: frogml_proto.qwak.vectors/v1/vector.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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
-
16
-
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cqwak/vectors/v1/vector.proto\x12\x1cqwak.vector.store.serving.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x1f\n\x0c\x44oubleVector\x12\x0f\n\x07\x65lement\x18\x01 \x03(\x01\"\xc0\x01\n\x08Property\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\nstring_val\x18\x02 \x01(\tH\x00\x12\x11\n\x07int_val\x18\x03 \x01(\x03H\x00\x12\x12\n\x08\x62ool_val\x18\x04 \x01(\x08H\x00\x12\x14\n\ndouble_val\x18\x05 \x01(\x01H\x00\x12\x33\n\rtimestamp_val\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\x10\n\x08is_empty\x18\x07 \x01(\x08\x42\x0c\n\nvalue_type\"\xa4\x01\n\x0cSearchResult\x12\n\n\x02id\x18\x01 \x01(\t\x12:\n\x06vector\x18\x02 \x01(\x0b\x32*.qwak.vector.store.serving.v1.DoubleVector\x12:\n\nproperties\x18\x03 \x03(\x0b\x32&.qwak.vector.store.serving.v1.Property\x12\x10\n\x08\x64istance\x18\x04 \x01(\x01\"\xe1\x01\n\x0cStoredVector\x12\x0e\n\x02id\x18\x01 \x01(\tB\x02\x18\x01\x12:\n\x06vector\x18\x02 \x01(\x0b\x32*.qwak.vector.store.serving.v1.DoubleVector\x12:\n\nproperties\x18\x03 \x03(\x0b\x32&.qwak.vector.store.serving.v1.Property\x12I\n\x11vector_identifier\x18\x04 \x01(\x0b\x32..qwak.vector.store.serving.v1.VectorIdentifier\"M\n\x10VectorIdentifier\x12\x11\n\tvector_id\x18\x01 \x01(\t\x12\x13\n\ttenant_id\x18\x02 \x01(\tH\x00\x42\x11\n\x0foptional_tenantB\x1e\n\x1a\x63om.qwak.ai.vectors.api.v1P\x01\x62\x06proto3')
18
-
19
- _globals = globals()
20
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.vectors.v1.vector_pb2', _globals)
22
- if _descriptor._USE_C_DESCRIPTORS == False:
23
-
24
- DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n\032com.qwak.ai.vectors.api.v1P\001'
26
- _STOREDVECTOR.fields_by_name['id']._options = None
27
- _STOREDVECTOR.fields_by_name['id']._serialized_options = b'\030\001'
28
- _globals['_DOUBLEVECTOR']._serialized_start=95
29
- _globals['_DOUBLEVECTOR']._serialized_end=126
30
- _globals['_PROPERTY']._serialized_start=129
31
- _globals['_PROPERTY']._serialized_end=321
32
- _globals['_SEARCHRESULT']._serialized_start=324
33
- _globals['_SEARCHRESULT']._serialized_end=488
34
- _globals['_STOREDVECTOR']._serialized_start=491
35
- _globals['_STOREDVECTOR']._serialized_end=716
36
- _globals['_VECTORIDENTIFIER']._serialized_start=718
37
- _globals['_VECTORIDENTIFIER']._serialized_end=795
38
- # @@protoc_insertion_point(module_scope)
@@ -1,142 +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 google.protobuf.timestamp_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 DoubleVector(google.protobuf.message.Message):
21
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
22
-
23
- ELEMENT_FIELD_NUMBER: builtins.int
24
- @property
25
- def element(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]: ...
26
- def __init__(
27
- self,
28
- *,
29
- element: collections.abc.Iterable[builtins.float] | None = ...,
30
- ) -> None: ...
31
- def ClearField(self, field_name: typing_extensions.Literal["element", b"element"]) -> None: ...
32
-
33
- global___DoubleVector = DoubleVector
34
-
35
- class Property(google.protobuf.message.Message):
36
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
37
-
38
- NAME_FIELD_NUMBER: builtins.int
39
- STRING_VAL_FIELD_NUMBER: builtins.int
40
- INT_VAL_FIELD_NUMBER: builtins.int
41
- BOOL_VAL_FIELD_NUMBER: builtins.int
42
- DOUBLE_VAL_FIELD_NUMBER: builtins.int
43
- TIMESTAMP_VAL_FIELD_NUMBER: builtins.int
44
- IS_EMPTY_FIELD_NUMBER: builtins.int
45
- name: builtins.str
46
- string_val: builtins.str
47
- int_val: builtins.int
48
- """we treat all ints as 64 - no int/long distinction"""
49
- bool_val: builtins.bool
50
- double_val: builtins.float
51
- """not distinguishing double vs float"""
52
- @property
53
- def timestamp_val(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
54
- is_empty: builtins.bool
55
- def __init__(
56
- self,
57
- *,
58
- name: builtins.str = ...,
59
- string_val: builtins.str = ...,
60
- int_val: builtins.int = ...,
61
- bool_val: builtins.bool = ...,
62
- double_val: builtins.float = ...,
63
- timestamp_val: google.protobuf.timestamp_pb2.Timestamp | None = ...,
64
- is_empty: builtins.bool = ...,
65
- ) -> None: ...
66
- def HasField(self, field_name: typing_extensions.Literal["bool_val", b"bool_val", "double_val", b"double_val", "int_val", b"int_val", "string_val", b"string_val", "timestamp_val", b"timestamp_val", "value_type", b"value_type"]) -> builtins.bool: ...
67
- def ClearField(self, field_name: typing_extensions.Literal["bool_val", b"bool_val", "double_val", b"double_val", "int_val", b"int_val", "is_empty", b"is_empty", "name", b"name", "string_val", b"string_val", "timestamp_val", b"timestamp_val", "value_type", b"value_type"]) -> None: ...
68
- def WhichOneof(self, oneof_group: typing_extensions.Literal["value_type", b"value_type"]) -> typing_extensions.Literal["string_val", "int_val", "bool_val", "double_val", "timestamp_val"] | None: ...
69
-
70
- global___Property = Property
71
-
72
- class SearchResult(google.protobuf.message.Message):
73
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
74
-
75
- ID_FIELD_NUMBER: builtins.int
76
- VECTOR_FIELD_NUMBER: builtins.int
77
- PROPERTIES_FIELD_NUMBER: builtins.int
78
- DISTANCE_FIELD_NUMBER: builtins.int
79
- id: builtins.str
80
- @property
81
- def vector(self) -> global___DoubleVector: ...
82
- @property
83
- def properties(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Property]: ...
84
- distance: builtins.float
85
- def __init__(
86
- self,
87
- *,
88
- id: builtins.str = ...,
89
- vector: global___DoubleVector | None = ...,
90
- properties: collections.abc.Iterable[global___Property] | None = ...,
91
- distance: builtins.float = ...,
92
- ) -> None: ...
93
- def HasField(self, field_name: typing_extensions.Literal["vector", b"vector"]) -> builtins.bool: ...
94
- def ClearField(self, field_name: typing_extensions.Literal["distance", b"distance", "id", b"id", "properties", b"properties", "vector", b"vector"]) -> None: ...
95
-
96
- global___SearchResult = SearchResult
97
-
98
- class StoredVector(google.protobuf.message.Message):
99
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
100
-
101
- ID_FIELD_NUMBER: builtins.int
102
- VECTOR_FIELD_NUMBER: builtins.int
103
- PROPERTIES_FIELD_NUMBER: builtins.int
104
- VECTOR_IDENTIFIER_FIELD_NUMBER: builtins.int
105
- id: builtins.str
106
- @property
107
- def vector(self) -> global___DoubleVector: ...
108
- @property
109
- def properties(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Property]: ...
110
- @property
111
- def vector_identifier(self) -> global___VectorIdentifier: ...
112
- def __init__(
113
- self,
114
- *,
115
- id: builtins.str = ...,
116
- vector: global___DoubleVector | None = ...,
117
- properties: collections.abc.Iterable[global___Property] | None = ...,
118
- vector_identifier: global___VectorIdentifier | None = ...,
119
- ) -> None: ...
120
- def HasField(self, field_name: typing_extensions.Literal["vector", b"vector", "vector_identifier", b"vector_identifier"]) -> builtins.bool: ...
121
- def ClearField(self, field_name: typing_extensions.Literal["id", b"id", "properties", b"properties", "vector", b"vector", "vector_identifier", b"vector_identifier"]) -> None: ...
122
-
123
- global___StoredVector = StoredVector
124
-
125
- class VectorIdentifier(google.protobuf.message.Message):
126
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
127
-
128
- VECTOR_ID_FIELD_NUMBER: builtins.int
129
- TENANT_ID_FIELD_NUMBER: builtins.int
130
- vector_id: builtins.str
131
- tenant_id: builtins.str
132
- def __init__(
133
- self,
134
- *,
135
- vector_id: builtins.str = ...,
136
- tenant_id: builtins.str = ...,
137
- ) -> None: ...
138
- def HasField(self, field_name: typing_extensions.Literal["optional_tenant", b"optional_tenant", "tenant_id", b"tenant_id"]) -> builtins.bool: ...
139
- def ClearField(self, field_name: typing_extensions.Literal["optional_tenant", b"optional_tenant", "tenant_id", b"tenant_id", "vector_id", b"vector_id"]) -> None: ...
140
- def WhichOneof(self, oneof_group: typing_extensions.Literal["optional_tenant", b"optional_tenant"]) -> typing_extensions.Literal["tenant_id"] | None: ...
141
-
142
- global___VectorIdentifier = VectorIdentifier
@@ -1,4 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
-
@@ -1,53 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: frogml_proto.qwak.vectors/v1/vector_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 import vector_pb2 as qwak_dot_vectors_dot_v1_dot_vector__pb2
15
- from frogml_proto.qwak.vectors.v1 import filters_pb2 as qwak_dot_vectors_dot_v1_dot_filters__pb2
16
-
17
-
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$qwak/vectors/v1/vector_service.proto\x12\x1cqwak.vector.store.serving.v1\x1a\x1cqwak/vectors/v1/vector.proto\x1a\x1dqwak/vectors/v1/filters.proto\"\xd9\x02\n\x1bSearchSimilarVectorsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x44\n\x10reference_vector\x18\x02 \x01(\x0b\x32*.qwak.vector.store.serving.v1.DoubleVector\x12\x12\n\nproperties\x18\x03 \x03(\t\x12\x36\n\x06\x66ilter\x18\x04 \x01(\x0b\x32$.qwak.vector.store.serving.v1.FilterH\x00\x12\x13\n\x0bmax_results\x18\x05 \x01(\x05\x12\x16\n\x0einclude_vector\x18\x06 \x01(\x08\x12\x18\n\x10include_distance\x18\x07 \x01(\x08\x12\x12\n\ninclude_id\x18\x08 \x01(\x08\x12\x13\n\ttenant_id\x18\t \x01(\tH\x01\x42\x0c\n\nfilter_optB\x11\n\x0foptional_tenant\"b\n\x1cSearchSimilarVectorsResponse\x12\x42\n\x0esearch_results\x18\x01 \x03(\x0b\x32*.qwak.vector.store.serving.v1.SearchResult\"\x86\x01\n\x16GetVectorSampleRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x13\n\x0bnum_samples\x18\x02 \x01(\x05\x12\x16\n\x0einclude_vector\x18\x03 \x01(\x08\x12\x13\n\ttenant_id\x18\t \x01(\tH\x00\x42\x11\n\x0foptional_tenant\"V\n\x17GetVectorSampleResponse\x12;\n\x07vectors\x18\x01 \x03(\x0b\x32*.qwak.vector.store.serving.v1.StoredVector\"k\n\x14UpsertVectorsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12:\n\x06vector\x18\x02 \x03(\x0b\x32*.qwak.vector.store.serving.v1.StoredVector\"-\n\x15UpsertVectorsResponse\x12\x14\n\x0cnum_affected\x18\x01 \x01(\x05\"\x92\x01\n\x14\x44\x65leteVectorsRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x15\n\tvector_id\x18\x02 \x03(\tB\x02\x18\x01\x12J\n\x12vector_identifiers\x18\x03 \x03(\x0b\x32..qwak.vector.store.serving.v1.VectorIdentifier\"4\n\x15\x44\x65leteVectorsResponse\x12\x1b\n\x13num_vectors_deleted\x18\x01 \x01(\x03\"\x8f\x01\n\x12\x46\x65tchVectorRequest\x12\x17\n\x0f\x63ollection_name\x18\x01 \x01(\t\x12\x15\n\tvector_id\x18\x02 \x01(\tB\x02\x18\x01\x12I\n\x11vector_identifier\x18\x03 \x01(\x0b\x32..qwak.vector.store.serving.v1.VectorIdentifier\"Q\n\x13\x46\x65tchVectorResponse\x12:\n\x06vector\x18\x01 \x01(\x0b\x32*.qwak.vector.store.serving.v1.StoredVector2\x87\x05\n\rVectorService\x12\x8d\x01\n\x14SearchSimilarVectors\x12\x39.qwak.vector.store.serving.v1.SearchSimilarVectorsRequest\x1a:.qwak.vector.store.serving.v1.SearchSimilarVectorsResponse\x12~\n\x0fGetVectorSample\x12\x34.qwak.vector.store.serving.v1.GetVectorSampleRequest\x1a\x35.qwak.vector.store.serving.v1.GetVectorSampleResponse\x12r\n\x0b\x46\x65tchVector\x12\x30.qwak.vector.store.serving.v1.FetchVectorRequest\x1a\x31.qwak.vector.store.serving.v1.FetchVectorResponse\x12x\n\rUpsertVectors\x12\x32.qwak.vector.store.serving.v1.UpsertVectorsRequest\x1a\x33.qwak.vector.store.serving.v1.UpsertVectorsResponse\x12x\n\rDeleteVectors\x12\x32.qwak.vector.store.serving.v1.DeleteVectorsRequest\x1a\x33.qwak.vector.store.serving.v1.DeleteVectorsResponseB\x1e\n\x1a\x63om.qwak.ai.vectors.api.v1P\x01\x62\x06proto3')
19
-
20
- _globals = globals()
21
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'qwak.vectors.v1.vector_service_pb2', _globals)
23
- if _descriptor._USE_C_DESCRIPTORS == False:
24
-
25
- DESCRIPTOR._options = None
26
- DESCRIPTOR._serialized_options = b'\n\032com.qwak.ai.vectors.api.v1P\001'
27
- _DELETEVECTORSREQUEST.fields_by_name['vector_id']._options = None
28
- _DELETEVECTORSREQUEST.fields_by_name['vector_id']._serialized_options = b'\030\001'
29
- _FETCHVECTORREQUEST.fields_by_name['vector_id']._options = None
30
- _FETCHVECTORREQUEST.fields_by_name['vector_id']._serialized_options = b'\030\001'
31
- _globals['_SEARCHSIMILARVECTORSREQUEST']._serialized_start=132
32
- _globals['_SEARCHSIMILARVECTORSREQUEST']._serialized_end=477
33
- _globals['_SEARCHSIMILARVECTORSRESPONSE']._serialized_start=479
34
- _globals['_SEARCHSIMILARVECTORSRESPONSE']._serialized_end=577
35
- _globals['_GETVECTORSAMPLEREQUEST']._serialized_start=580
36
- _globals['_GETVECTORSAMPLEREQUEST']._serialized_end=714
37
- _globals['_GETVECTORSAMPLERESPONSE']._serialized_start=716
38
- _globals['_GETVECTORSAMPLERESPONSE']._serialized_end=802
39
- _globals['_UPSERTVECTORSREQUEST']._serialized_start=804
40
- _globals['_UPSERTVECTORSREQUEST']._serialized_end=911
41
- _globals['_UPSERTVECTORSRESPONSE']._serialized_start=913
42
- _globals['_UPSERTVECTORSRESPONSE']._serialized_end=958
43
- _globals['_DELETEVECTORSREQUEST']._serialized_start=961
44
- _globals['_DELETEVECTORSREQUEST']._serialized_end=1107
45
- _globals['_DELETEVECTORSRESPONSE']._serialized_start=1109
46
- _globals['_DELETEVECTORSRESPONSE']._serialized_end=1161
47
- _globals['_FETCHVECTORREQUEST']._serialized_start=1164
48
- _globals['_FETCHVECTORREQUEST']._serialized_end=1307
49
- _globals['_FETCHVECTORRESPONSE']._serialized_start=1309
50
- _globals['_FETCHVECTORRESPONSE']._serialized_end=1390
51
- _globals['_VECTORSERVICE']._serialized_start=1393
52
- _globals['_VECTORSERVICE']._serialized_end=2040
53
- # @@protoc_insertion_point(module_scope)