nidx-protos 6.9.1.post5180__py3-none-any.whl → 6.9.4.post5357__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 nidx-protos might be problematic. Click here for more details.
- nidx_protos/nidx_pb2.py +11 -7
- nidx_protos/nidx_pb2.pyi +40 -0
- nidx_protos/nidx_pb2_grpc.py +44 -0
- nidx_protos/nodewriter_pb2.py +12 -12
- nidx_protos/nodewriter_pb2.pyi +4 -1
- {nidx_protos-6.9.1.post5180.dist-info → nidx_protos-6.9.4.post5357.dist-info}/METADATA +2 -3
- nidx_protos-6.9.4.post5357.dist-info/RECORD +15 -0
- {nidx_protos-6.9.1.post5180.dist-info → nidx_protos-6.9.4.post5357.dist-info}/WHEEL +1 -1
- nidx_protos-6.9.1.post5180.dist-info/RECORD +0 -15
- {nidx_protos-6.9.1.post5180.dist-info → nidx_protos-6.9.4.post5357.dist-info}/entry_points.txt +0 -0
nidx_protos/nidx_pb2.py
CHANGED
|
@@ -46,7 +46,7 @@ except AttributeError:
|
|
|
46
46
|
nucliadb__protos_dot_utils__pb2 = nidx__protos_dot_nodewriter__pb2.nucliadb_protos.utils_pb2
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16nidx_protos/nidx.proto\x12\x04nidx\x1a\x1cnidx_protos/nodereader.proto\x1a\x1cnidx_protos/nodewriter.proto\"\x92\x01\n\x0cNotification\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04kbid\x18\x04 \x01(\t\x12\r\n\x05seqid\x18\x05 \x01(\x03\x12)\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x19.nidx.Notification.Action\",\n\x06\x41\x63tion\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x0b\n\x07INDEXED\x10\x02\
|
|
49
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16nidx_protos/nidx.proto\x12\x04nidx\x1a\x1cnidx_protos/nodereader.proto\x1a\x1cnidx_protos/nodewriter.proto\"\x92\x01\n\x0cNotification\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04kbid\x18\x04 \x01(\t\x12\r\n\x05seqid\x18\x05 \x01(\x03\x12)\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x19.nidx.Notification.Action\",\n\x06\x41\x63tion\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x0b\n\x07INDEXED\x10\x02\"2\n\x0cShardsConfig\x12\"\n\x07\x63onfigs\x18\x01 \x03(\x0b\x32\x11.nidx.ShardConfig\"8\n\x0bShardConfig\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x17\n\x0fprewarm_enabled\x18\x02 \x01(\x08\x32\xb5\x04\n\x07NidxApi\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x46\n\x08NewShard\x12\x1b.nodewriter.NewShardRequest\x1a\x1b.noderesources.ShardCreated\"\x00\x12?\n\x0b\x44\x65leteShard\x12\x16.noderesources.ShardId\x1a\x16.noderesources.ShardId\"\x00\x12\x42\n\nListShards\x12\x19.noderesources.EmptyQuery\x1a\x17.noderesources.ShardIds\"\x00\x12\x42\n\x0f\x43onfigureShards\x12\x12.nidx.ShardsConfig\x1a\x19.noderesources.EmptyQuery\"\x00\x12G\n\x0c\x41\x64\x64VectorSet\x12\x1f.nodewriter.NewVectorSetRequest\x1a\x14.nodewriter.OpStatus\"\x00\x12\x45\n\x0fRemoveVectorSet\x12\x1a.noderesources.VectorSetID\x1a\x14.nodewriter.OpStatus\"\x00\x12H\n\x0eListVectorSets\x12\x16.noderesources.ShardId\x1a\x1c.noderesources.VectorSetList\"\x00\x32\xf7\x02\n\x0cNidxSearcher\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\x00\x12P\n\x0bGraphSearch\x12\x1e.nodereader.GraphSearchRequest\x1a\x1f.nodereader.GraphSearchResponse\"\x00\x12\x44\n\x07Suggest\x12\x1a.nodereader.SuggestRequest\x1a\x1b.nodereader.SuggestResponse\"\x00\x12\x46\n\nParagraphs\x12\x19.nodereader.StreamRequest\x1a\x19.nodereader.ParagraphItem\"\x00\x30\x01\x12\x44\n\tDocuments\x12\x19.nodereader.StreamRequest\x1a\x18.nodereader.DocumentItem\"\x00\x30\x01\x32H\n\x0bNidxIndexer\x12\x39\n\x05Index\x12\x18.nodewriter.IndexMessage\x1a\x14.nodewriter.OpStatus\"\x00\x62\x06proto3')
|
|
50
50
|
|
|
51
51
|
_globals = globals()
|
|
52
52
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,10 +57,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_NOTIFICATION']._serialized_end=239
|
|
58
58
|
_globals['_NOTIFICATION_ACTION']._serialized_start=195
|
|
59
59
|
_globals['_NOTIFICATION_ACTION']._serialized_end=239
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
60
|
+
_globals['_SHARDSCONFIG']._serialized_start=241
|
|
61
|
+
_globals['_SHARDSCONFIG']._serialized_end=291
|
|
62
|
+
_globals['_SHARDCONFIG']._serialized_start=293
|
|
63
|
+
_globals['_SHARDCONFIG']._serialized_end=349
|
|
64
|
+
_globals['_NIDXAPI']._serialized_start=352
|
|
65
|
+
_globals['_NIDXAPI']._serialized_end=917
|
|
66
|
+
_globals['_NIDXSEARCHER']._serialized_start=920
|
|
67
|
+
_globals['_NIDXSEARCHER']._serialized_end=1295
|
|
68
|
+
_globals['_NIDXINDEXER']._serialized_start=1297
|
|
69
|
+
_globals['_NIDXINDEXER']._serialized_end=1369
|
|
66
70
|
# @@protoc_insertion_point(module_scope)
|
nidx_protos/nidx_pb2.pyi
CHANGED
|
@@ -4,7 +4,9 @@ isort:skip_file
|
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
import builtins
|
|
7
|
+
import collections.abc
|
|
7
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
8
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
9
11
|
import google.protobuf.message
|
|
10
12
|
import sys
|
|
@@ -57,3 +59,41 @@ class Notification(google.protobuf.message.Message):
|
|
|
57
59
|
def ClearField(self, field_name: typing.Literal["action", b"action", "kbid", b"kbid", "seqid", b"seqid", "uuid", b"uuid"]) -> None: ...
|
|
58
60
|
|
|
59
61
|
global___Notification = Notification
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class ShardsConfig(google.protobuf.message.Message):
|
|
65
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
66
|
+
|
|
67
|
+
CONFIGS_FIELD_NUMBER: builtins.int
|
|
68
|
+
@property
|
|
69
|
+
def configs(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ShardConfig]: ...
|
|
70
|
+
def __init__(
|
|
71
|
+
self,
|
|
72
|
+
*,
|
|
73
|
+
configs: collections.abc.Iterable[global___ShardConfig] | None = ...,
|
|
74
|
+
) -> None: ...
|
|
75
|
+
def ClearField(self, field_name: typing.Literal["configs", b"configs"]) -> None: ...
|
|
76
|
+
|
|
77
|
+
global___ShardsConfig = ShardsConfig
|
|
78
|
+
|
|
79
|
+
@typing.final
|
|
80
|
+
class ShardConfig(google.protobuf.message.Message):
|
|
81
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
82
|
+
|
|
83
|
+
SHARD_ID_FIELD_NUMBER: builtins.int
|
|
84
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
85
|
+
shard_id: builtins.str
|
|
86
|
+
prewarm_enabled: builtins.bool
|
|
87
|
+
"""Pre-warm is a feature to minimize cold starts on searches. It'll keep
|
|
88
|
+
disk data in memory to avoid IO latency, at expenses of RAM usage. Use
|
|
89
|
+
with care.
|
|
90
|
+
"""
|
|
91
|
+
def __init__(
|
|
92
|
+
self,
|
|
93
|
+
*,
|
|
94
|
+
shard_id: builtins.str = ...,
|
|
95
|
+
prewarm_enabled: builtins.bool = ...,
|
|
96
|
+
) -> None: ...
|
|
97
|
+
def ClearField(self, field_name: typing.Literal["prewarm_enabled", b"prewarm_enabled", "shard_id", b"shard_id"]) -> None: ...
|
|
98
|
+
|
|
99
|
+
global___ShardConfig = ShardConfig
|
nidx_protos/nidx_pb2_grpc.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
import warnings
|
|
5
5
|
|
|
6
|
+
from nidx_protos import nidx_pb2 as nidx__protos_dot_nidx__pb2
|
|
6
7
|
from nidx_protos import nodereader_pb2 as nidx__protos_dot_nodereader__pb2
|
|
7
8
|
from nidx_protos import noderesources_pb2 as nidx__protos_dot_noderesources__pb2
|
|
8
9
|
from nidx_protos import nodewriter_pb2 as nidx__protos_dot_nodewriter__pb2
|
|
@@ -56,6 +57,11 @@ class NidxApiStub(object):
|
|
|
56
57
|
request_serializer=nidx__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
|
57
58
|
response_deserializer=nidx__protos_dot_noderesources__pb2.ShardIds.FromString,
|
|
58
59
|
_registered_method=True)
|
|
60
|
+
self.ConfigureShards = channel.unary_unary(
|
|
61
|
+
'/nidx.NidxApi/ConfigureShards',
|
|
62
|
+
request_serializer=nidx__protos_dot_nidx__pb2.ShardsConfig.SerializeToString,
|
|
63
|
+
response_deserializer=nidx__protos_dot_noderesources__pb2.EmptyQuery.FromString,
|
|
64
|
+
_registered_method=True)
|
|
59
65
|
self.AddVectorSet = channel.unary_unary(
|
|
60
66
|
'/nidx.NidxApi/AddVectorSet',
|
|
61
67
|
request_serializer=nidx__protos_dot_nodewriter__pb2.NewVectorSetRequest.SerializeToString,
|
|
@@ -100,6 +106,12 @@ class NidxApiServicer(object):
|
|
|
100
106
|
context.set_details('Method not implemented!')
|
|
101
107
|
raise NotImplementedError('Method not implemented!')
|
|
102
108
|
|
|
109
|
+
def ConfigureShards(self, request, context):
|
|
110
|
+
"""Missing associated documentation comment in .proto file."""
|
|
111
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
112
|
+
context.set_details('Method not implemented!')
|
|
113
|
+
raise NotImplementedError('Method not implemented!')
|
|
114
|
+
|
|
103
115
|
def AddVectorSet(self, request, context):
|
|
104
116
|
"""Missing associated documentation comment in .proto file."""
|
|
105
117
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
@@ -141,6 +153,11 @@ def add_NidxApiServicer_to_server(servicer, server):
|
|
|
141
153
|
request_deserializer=nidx__protos_dot_noderesources__pb2.EmptyQuery.FromString,
|
|
142
154
|
response_serializer=nidx__protos_dot_noderesources__pb2.ShardIds.SerializeToString,
|
|
143
155
|
),
|
|
156
|
+
'ConfigureShards': grpc.unary_unary_rpc_method_handler(
|
|
157
|
+
servicer.ConfigureShards,
|
|
158
|
+
request_deserializer=nidx__protos_dot_nidx__pb2.ShardsConfig.FromString,
|
|
159
|
+
response_serializer=nidx__protos_dot_noderesources__pb2.EmptyQuery.SerializeToString,
|
|
160
|
+
),
|
|
144
161
|
'AddVectorSet': grpc.unary_unary_rpc_method_handler(
|
|
145
162
|
servicer.AddVectorSet,
|
|
146
163
|
request_deserializer=nidx__protos_dot_nodewriter__pb2.NewVectorSetRequest.FromString,
|
|
@@ -275,6 +292,33 @@ class NidxApi(object):
|
|
|
275
292
|
metadata,
|
|
276
293
|
_registered_method=True)
|
|
277
294
|
|
|
295
|
+
@staticmethod
|
|
296
|
+
def ConfigureShards(request,
|
|
297
|
+
target,
|
|
298
|
+
options=(),
|
|
299
|
+
channel_credentials=None,
|
|
300
|
+
call_credentials=None,
|
|
301
|
+
insecure=False,
|
|
302
|
+
compression=None,
|
|
303
|
+
wait_for_ready=None,
|
|
304
|
+
timeout=None,
|
|
305
|
+
metadata=None):
|
|
306
|
+
return grpc.experimental.unary_unary(
|
|
307
|
+
request,
|
|
308
|
+
target,
|
|
309
|
+
'/nidx.NidxApi/ConfigureShards',
|
|
310
|
+
nidx__protos_dot_nidx__pb2.ShardsConfig.SerializeToString,
|
|
311
|
+
nidx__protos_dot_noderesources__pb2.EmptyQuery.FromString,
|
|
312
|
+
options,
|
|
313
|
+
channel_credentials,
|
|
314
|
+
insecure,
|
|
315
|
+
call_credentials,
|
|
316
|
+
compression,
|
|
317
|
+
wait_for_ready,
|
|
318
|
+
timeout,
|
|
319
|
+
metadata,
|
|
320
|
+
_registered_method=True)
|
|
321
|
+
|
|
278
322
|
@staticmethod
|
|
279
323
|
def AddVectorSet(request,
|
|
280
324
|
target,
|
nidx_protos/nodewriter_pb2.py
CHANGED
|
@@ -30,7 +30,7 @@ except AttributeError:
|
|
|
30
30
|
|
|
31
31
|
from nidx_protos.noderesources_pb2 import *
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodewriter.proto\x12\nnodewriter\x1a\x1fnidx_protos/noderesources.proto\"\xd9\x01\n\x08OpStatus\x12+\n\x06status\x18\x01 \x01(\x0e\x32\x1b.nodewriter.OpStatus.Status\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x12\x17\n\x0b\x66ield_count\x18\x03 \x01(\x04\x42\x02\x18\x01\x12\x1b\n\x0fparagraph_count\x18\x05 \x01(\x04\x42\x02\x18\x01\x12\x1a\n\x0esentence_count\x18\x06 \x01(\x04\x42\x02\x18\x01\x12\x14\n\x08shard_id\x18\x04 \x01(\tB\x02\x18\x01\"(\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"\x86\x02\n\x0cIndexMessage\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\r\n\x05shard\x18\x02 \x01(\t\x12\x0c\n\x04txid\x18\x03 \x01(\x04\x12\x10\n\x08resource\x18\x04 \x01(\t\x12,\n\x0btypemessage\x18\x05 \x01(\x0e\x32\x17.nodewriter.TypeMessage\x12\x12\n\nreindex_id\x18\x06 \x01(\t\x12\x16\n\tpartition\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bstorage_key\x18\x08 \x01(\t\x12\x0c\n\x04kbid\x18\t \x01(\t\x12.\n\x06source\x18\n \x01(\x0e\x32\x1e.nodewriter.IndexMessageSourceB\x0c\n\n_partition\"\xbc\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12+\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x16.nodewriter.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnidx_protos/nodewriter.proto\x12\nnodewriter\x1a\x1fnidx_protos/noderesources.proto\"\xd9\x01\n\x08OpStatus\x12+\n\x06status\x18\x01 \x01(\x0e\x32\x1b.nodewriter.OpStatus.Status\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t\x12\x17\n\x0b\x66ield_count\x18\x03 \x01(\x04\x42\x02\x18\x01\x12\x1b\n\x0fparagraph_count\x18\x05 \x01(\x04\x42\x02\x18\x01\x12\x1a\n\x0esentence_count\x18\x06 \x01(\x04\x42\x02\x18\x01\x12\x14\n\x08shard_id\x18\x04 \x01(\tB\x02\x18\x01\"(\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0b\n\x07WARNING\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"\x86\x02\n\x0cIndexMessage\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\r\n\x05shard\x18\x02 \x01(\t\x12\x0c\n\x04txid\x18\x03 \x01(\x04\x12\x10\n\x08resource\x18\x04 \x01(\t\x12,\n\x0btypemessage\x18\x05 \x01(\x0e\x32\x17.nodewriter.TypeMessage\x12\x12\n\nreindex_id\x18\x06 \x01(\t\x12\x16\n\tpartition\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x0bstorage_key\x18\x08 \x01(\t\x12\x0c\n\x04kbid\x18\t \x01(\t\x12.\n\x06source\x18\n \x01(\x0e\x32\x1e.nodewriter.IndexMessageSourceB\x0c\n\n_partition\"\xbc\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12+\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x16.nodewriter.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x94\x03\n\x0fNewShardRequest\x12/\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12.\n\x0frelease_channel\x18\x03 \x01(\x0e\x32\x15.utils.ReleaseChannel\x12\x1d\n\x11normalize_vectors\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x31\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfigB\x02\x18\x01\x12N\n\x12vectorsets_configs\x18\x06 \x03(\x0b\x32\x32.nodewriter.NewShardRequest.VectorsetsConfigsEntry\x12\x17\n\x0fprewarm_enabled\x18\x07 \x01(\x08\x1aW\n\x16VectorsetsConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfig:\x02\x38\x01\"\xbc\x01\n\x13NewVectorSetRequest\x12&\n\x02id\x18\x01 \x01(\x0b\x32\x1a.noderesources.VectorSetID\x12/\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x1d\n\x11normalize_vectors\x18\x03 \x01(\x08\x42\x02\x18\x01\x12-\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\x1d.nodewriter.VectorIndexConfig*)\n\x0bTypeMessage\x12\x0c\n\x08\x43REATION\x10\x00\x12\x0c\n\x08\x44\x45LETION\x10\x01*/\n\x12IndexMessageSource\x12\r\n\tPROCESSOR\x10\x00\x12\n\n\x06WRITER\x10\x01*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,12 +57,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_NEWVECTORSETREQUEST'].fields_by_name['similarity']._serialized_options = b'\030\001'
|
|
58
58
|
_globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._loaded_options = None
|
|
59
59
|
_globals['_NEWVECTORSETREQUEST'].fields_by_name['normalize_vectors']._serialized_options = b'\030\001'
|
|
60
|
-
_globals['_TYPEMESSAGE']._serialized_start=
|
|
61
|
-
_globals['_TYPEMESSAGE']._serialized_end=
|
|
62
|
-
_globals['_INDEXMESSAGESOURCE']._serialized_start=
|
|
63
|
-
_globals['_INDEXMESSAGESOURCE']._serialized_end=
|
|
64
|
-
_globals['_VECTORTYPE']._serialized_start=
|
|
65
|
-
_globals['_VECTORTYPE']._serialized_end=
|
|
60
|
+
_globals['_TYPEMESSAGE']._serialized_start=1351
|
|
61
|
+
_globals['_TYPEMESSAGE']._serialized_end=1392
|
|
62
|
+
_globals['_INDEXMESSAGESOURCE']._serialized_start=1394
|
|
63
|
+
_globals['_INDEXMESSAGESOURCE']._serialized_end=1441
|
|
64
|
+
_globals['_VECTORTYPE']._serialized_start=1443
|
|
65
|
+
_globals['_VECTORTYPE']._serialized_end=1470
|
|
66
66
|
_globals['_OPSTATUS']._serialized_start=78
|
|
67
67
|
_globals['_OPSTATUS']._serialized_end=295
|
|
68
68
|
_globals['_OPSTATUS_STATUS']._serialized_start=255
|
|
@@ -72,9 +72,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
72
72
|
_globals['_VECTORINDEXCONFIG']._serialized_start=563
|
|
73
73
|
_globals['_VECTORINDEXCONFIG']._serialized_end=751
|
|
74
74
|
_globals['_NEWSHARDREQUEST']._serialized_start=754
|
|
75
|
-
_globals['_NEWSHARDREQUEST']._serialized_end=
|
|
76
|
-
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_start=
|
|
77
|
-
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_end=
|
|
78
|
-
_globals['_NEWVECTORSETREQUEST']._serialized_start=
|
|
79
|
-
_globals['_NEWVECTORSETREQUEST']._serialized_end=
|
|
75
|
+
_globals['_NEWSHARDREQUEST']._serialized_end=1158
|
|
76
|
+
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_start=1071
|
|
77
|
+
_globals['_NEWSHARDREQUEST_VECTORSETSCONFIGSENTRY']._serialized_end=1158
|
|
78
|
+
_globals['_NEWVECTORSETREQUEST']._serialized_start=1161
|
|
79
|
+
_globals['_NEWVECTORSETREQUEST']._serialized_end=1349
|
|
80
80
|
# @@protoc_insertion_point(module_scope)
|
nidx_protos/nodewriter_pb2.pyi
CHANGED
|
@@ -234,11 +234,13 @@ class NewShardRequest(google.protobuf.message.Message):
|
|
|
234
234
|
NORMALIZE_VECTORS_FIELD_NUMBER: builtins.int
|
|
235
235
|
CONFIG_FIELD_NUMBER: builtins.int
|
|
236
236
|
VECTORSETS_CONFIGS_FIELD_NUMBER: builtins.int
|
|
237
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
237
238
|
similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType
|
|
238
239
|
kbid: builtins.str
|
|
239
240
|
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
|
|
240
241
|
normalize_vectors: builtins.bool
|
|
241
242
|
"""indicates whether the shard should normalize vectors on indexing or not"""
|
|
243
|
+
prewarm_enabled: builtins.bool
|
|
242
244
|
@property
|
|
243
245
|
def config(self) -> global___VectorIndexConfig: ...
|
|
244
246
|
@property
|
|
@@ -252,9 +254,10 @@ class NewShardRequest(google.protobuf.message.Message):
|
|
|
252
254
|
normalize_vectors: builtins.bool = ...,
|
|
253
255
|
config: global___VectorIndexConfig | None = ...,
|
|
254
256
|
vectorsets_configs: collections.abc.Mapping[builtins.str, global___VectorIndexConfig] | None = ...,
|
|
257
|
+
prewarm_enabled: builtins.bool = ...,
|
|
255
258
|
) -> None: ...
|
|
256
259
|
def HasField(self, field_name: typing.Literal["config", b"config"]) -> builtins.bool: ...
|
|
257
|
-
def ClearField(self, field_name: typing.Literal["config", b"config", "kbid", b"kbid", "normalize_vectors", b"normalize_vectors", "release_channel", b"release_channel", "similarity", b"similarity", "vectorsets_configs", b"vectorsets_configs"]) -> None: ...
|
|
260
|
+
def ClearField(self, field_name: typing.Literal["config", b"config", "kbid", b"kbid", "normalize_vectors", b"normalize_vectors", "prewarm_enabled", b"prewarm_enabled", "release_channel", b"release_channel", "similarity", b"similarity", "vectorsets_configs", b"vectorsets_configs"]) -> None: ...
|
|
258
261
|
|
|
259
262
|
global___NewShardRequest = NewShardRequest
|
|
260
263
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nidx_protos
|
|
3
|
-
Version: 6.9.
|
|
3
|
+
Version: 6.9.4.post5357
|
|
4
4
|
Summary: Protobuf definitions for nucliadb/nidx
|
|
5
5
|
Author-Email: Nuclia <nucliadb@nuclia.com>
|
|
6
6
|
License-Expression: AGPL-3.0-or-later
|
|
7
7
|
Classifier: Development Status :: 4 - Beta
|
|
8
8
|
Classifier: Programming Language :: Python
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -14,5 +13,5 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
15
14
|
Project-URL: Homepage, https://nuclia.com
|
|
16
15
|
Project-URL: Repository, https://github.com/nuclia/nucliadb
|
|
17
|
-
Requires-Python: <4,>=3.
|
|
16
|
+
Requires-Python: <4,>=3.10
|
|
18
17
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
|
2
|
+
nidx_protos-6.9.4.post5357.dist-info/METADATA,sha256=Z90xdleNtgXeZae8YOkvDE4y_TDMIsbNfs8IaqMUfiA,691
|
|
3
|
+
nidx_protos-6.9.4.post5357.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
|
|
4
|
+
nidx_protos-6.9.4.post5357.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
5
|
+
nidx_protos/nidx_pb2.py,sha256=xDsk6acoTEr7emWhcCLD-P59kS85mHtWel4vdsEuHZE,5145
|
|
6
|
+
nidx_protos/nidx_pb2.pyi,sha256=PBfwmt-_ox4zu1oURkAnELc8w4WPjSt4yJXL-_1JutI,3368
|
|
7
|
+
nidx_protos/nidx_pb2_grpc.py,sha256=sQFtyJFRoTG0D6Oy-7hR75DQD9bK-A4BbpRtzDj-f8o,28354
|
|
8
|
+
nidx_protos/nodereader_pb2.py,sha256=1bPETL9rWGYgJEfn6bLnQ2Q45IQzOAy85g3PHxo6lF8,21097
|
|
9
|
+
nidx_protos/nodereader_pb2.pyi,sha256=t8YKB0kn0PyrOBi7ZdNER0cs8tEq8KpGRuRTosZvwXE,61374
|
|
10
|
+
nidx_protos/noderesources_pb2.py,sha256=Ckxv6d2GvIZi-X01KdaXPvpWz_ISeirE9rG76y0dzsg,14951
|
|
11
|
+
nidx_protos/noderesources_pb2.pyi,sha256=FTNXlS_P9RNSb5ayNs7VZl1CKboK0o8tPA6wsYin6MQ,37796
|
|
12
|
+
nidx_protos/nodewriter_pb2.py,sha256=9-GAcJvYDD5qyThPMI8lkr437pN5NqV464kBZRz5yzc,6895
|
|
13
|
+
nidx_protos/nodewriter_pb2.pyi,sha256=e_Bx6wgskF9Y_o2XRSxDQMlGOh4Sh0G_vpzCJxdMpqk,12193
|
|
14
|
+
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
nidx_protos-6.9.4.post5357.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
|
2
|
-
nidx_protos-6.9.1.post5180.dist-info/METADATA,sha256=76xVwTIivyXy0zPPqLqmNv-Q6kTwcHSm9mRomGJ9HIk,740
|
|
3
|
-
nidx_protos-6.9.1.post5180.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
4
|
-
nidx_protos-6.9.1.post5180.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
5
|
-
nidx_protos/nidx_pb2.py,sha256=lE2FjO_kfv423SdMM_trdMENvHwJp2aNjpLqtsbuudI,4663
|
|
6
|
-
nidx_protos/nidx_pb2.pyi,sha256=HwlwYPK99kq4OlTLD7yrqwfIeKEzMk7Qnml6hVpVCqk,1981
|
|
7
|
-
nidx_protos/nidx_pb2_grpc.py,sha256=TSGgLLbejorhnhtM4XIUVaCUeeh5nZ-qL8B7NM0aOR8,26510
|
|
8
|
-
nidx_protos/nodereader_pb2.py,sha256=1bPETL9rWGYgJEfn6bLnQ2Q45IQzOAy85g3PHxo6lF8,21097
|
|
9
|
-
nidx_protos/nodereader_pb2.pyi,sha256=t8YKB0kn0PyrOBi7ZdNER0cs8tEq8KpGRuRTosZvwXE,61374
|
|
10
|
-
nidx_protos/noderesources_pb2.py,sha256=Ckxv6d2GvIZi-X01KdaXPvpWz_ISeirE9rG76y0dzsg,14951
|
|
11
|
-
nidx_protos/noderesources_pb2.pyi,sha256=FTNXlS_P9RNSb5ayNs7VZl1CKboK0o8tPA6wsYin6MQ,37796
|
|
12
|
-
nidx_protos/nodewriter_pb2.py,sha256=5fXQgS4n4Euf8WgwcmwSkQcovtyew3Ak9xmLDu79muQ,6848
|
|
13
|
-
nidx_protos/nodewriter_pb2.pyi,sha256=YHxHMA0qGa0suRKpSRpsKA5bb9QdOy-bGqY220hNyv4,12026
|
|
14
|
-
nidx_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
nidx_protos-6.9.1.post5180.dist-info/RECORD,,
|
{nidx_protos-6.9.1.post5180.dist-info → nidx_protos-6.9.4.post5357.dist-info}/entry_points.txt
RENAMED
|
File without changes
|