nucliadb-protos 6.3.6.post4063__py3-none-any.whl → 6.10.0.post5705__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 nucliadb-protos might be problematic. Click here for more details.
- .gitignore +1 -0
- build.py +56 -0
- nucliadb_protos/audit_pb2.py +43 -46
- nucliadb_protos/audit_pb2.pyi +64 -13
- nucliadb_protos/backups_pb2.py +13 -3
- nucliadb_protos/backups_pb2_grpc.py +20 -0
- nucliadb_protos/dataset_pb2.py +13 -3
- nucliadb_protos/dataset_pb2.pyi +3 -0
- nucliadb_protos/kb_usage_pb2.py +20 -10
- nucliadb_protos/kb_usage_pb2.pyi +2 -0
- nucliadb_protos/knowledgebox_pb2.py +116 -114
- nucliadb_protos/knowledgebox_pb2.pyi +49 -28
- nucliadb_protos/migrations_pb2.py +13 -3
- nucliadb_protos/resources_pb2.py +239 -219
- nucliadb_protos/resources_pb2.pyi +100 -15
- nucliadb_protos/standalone_pb2.py +13 -3
- nucliadb_protos/standalone_pb2_grpc.py +49 -8
- nucliadb_protos/train_pb2.py +18 -40
- nucliadb_protos/train_pb2.pyi +6 -8
- nucliadb_protos/train_pb2_grpc.py +133 -32
- nucliadb_protos/train_pb2_grpc.pyi +6 -8
- nucliadb_protos/utils_pb2.py +18 -10
- nucliadb_protos/utils_pb2.pyi +0 -15
- nucliadb_protos/writer_pb2.py +140 -176
- nucliadb_protos/writer_pb2.pyi +40 -311
- nucliadb_protos/writer_pb2_grpc.py +204 -185
- nucliadb_protos/writer_pb2_grpc.pyi +11 -99
- {nucliadb_protos-6.3.6.post4063.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/METADATA +10 -10
- nucliadb_protos-6.10.0.post5705.dist-info/RECORD +37 -0
- {nucliadb_protos-6.3.6.post4063.dist-info → nucliadb_protos-6.10.0.post5705.dist-info}/WHEEL +1 -2
- nucliadb_protos-6.10.0.post5705.dist-info/entry_points.txt +4 -0
- nucliadb_protos/__init__.py +0 -0
- nucliadb_protos/nodereader_pb2.py +0 -187
- nucliadb_protos/nodereader_pb2.pyi +0 -1715
- nucliadb_protos/nodereader_pb2_grpc.py +0 -438
- nucliadb_protos/nodereader_pb2_grpc.pyi +0 -288
- nucliadb_protos/noderesources_pb2.py +0 -145
- nucliadb_protos/noderesources_pb2.pyi +0 -993
- nucliadb_protos/nodewriter_pb2.py +0 -80
- nucliadb_protos/nodewriter_pb2.pyi +0 -348
- nucliadb_protos/nodewriter_pb2_grpc.py +0 -430
- nucliadb_protos/nodewriter_pb2_grpc.pyi +0 -256
- nucliadb_protos-6.3.6.post4063.dist-info/RECORD +0 -46
- nucliadb_protos-6.3.6.post4063.dist-info/top_level.txt +0 -1
|
@@ -1,148 +1,150 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: nucliadb_protos/knowledgebox.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
11
|
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'nucliadb_protos/knowledgebox.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
13
23
|
|
|
14
24
|
|
|
15
25
|
from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
16
|
-
from nucliadb_protos import nodewriter_pb2 as nucliadb__protos_dot_nodewriter__pb2
|
|
17
|
-
try:
|
|
18
|
-
nucliadb__protos_dot_noderesources__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb__protos_dot_noderesources__pb2
|
|
19
|
-
except AttributeError:
|
|
20
|
-
nucliadb__protos_dot_noderesources__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb_protos.noderesources_pb2
|
|
21
|
-
try:
|
|
22
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb__protos_dot_utils__pb2
|
|
23
|
-
except AttributeError:
|
|
24
|
-
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_nodewriter__pb2.nucliadb_protos.utils_pb2
|
|
25
26
|
|
|
26
27
|
from nucliadb_protos.utils_pb2 import *
|
|
27
|
-
from nucliadb_protos.nodewriter_pb2 import *
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\",\n\x0eKnowledgeBoxID\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"h\n\x14\x43reatePineconeConfig\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12?\n\x10serverless_cloud\x18\x02 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\"\x86\x01\n\x15PineconeIndexMetadata\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x12\n\nindex_host\x18\x02 \x01(\t\x12\x18\n\x10vector_dimension\x18\x03 \x01(\x05\x12+\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x89\x02\n\x14StoredPineconeConfig\x12\x19\n\x11\x65ncrypted_api_key\x18\x01 \x01(\t\x12@\n\x07indexes\x18\x02 \x03(\x0b\x32/.knowledgebox.StoredPineconeConfig.IndexesEntry\x12?\n\x10serverless_cloud\x18\x03 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\x1aS\n\x0cIndexesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.knowledgebox.PineconeIndexMetadata:\x02\x38\x01\"\xa5\x01\n#CreateExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.CreatePineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa5\x01\n#StoredExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.StoredPineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xf9\x02\n\x12KnowledgeBoxConfig\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04slug\x18\x05 \x01(\t\x12\x19\n\x11migration_version\x18\x07 \x01(\x03\x12R\n\x17\x65xternal_index_provider\x18\t \x01(\x0b\x32\x31.knowledgebox.StoredExternalIndexProviderMetadata\x12\x1b\n\x0f\x65nabled_filters\x18\x03 \x03(\tB\x02\x18\x01\x12\x1c\n\x10\x65nabled_insights\x18\x04 \x03(\tB\x02\x18\x01\x12\x1b\n\x0f\x64isable_vectors\x18\x06 \x01(\x08\x42\x02\x18\x01\x12 \n\x18hidden_resources_enabled\x18\n \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x0b \x01(\x08\x12\x17\n\x0fprewarm_enabled\x18\x0c \x01(\x08J\x04\x08\x08\x10\t\"b\n\x12KnowledgeBoxUpdate\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x30\n\x06\x63onfig\x18\x03 \x01(\x0b\x32 .knowledgebox.KnowledgeBoxConfig\"d\n\x1aUpdateKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"V\n\x1a\x44\x65leteKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\"B\n\x05Label\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07related\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t\"\xe0\x01\n\x08LabelSet\x12\r\n\x05title\x18\x01 \x01(\t\x12\r\n\x05\x63olor\x18\x02 \x01(\t\x12#\n\x06labels\x18\x03 \x03(\x0b\x32\x13.knowledgebox.Label\x12\x10\n\x08multiple\x18\x04 \x01(\x08\x12\x31\n\x04kind\x18\x05 \x03(\x0e\x32#.knowledgebox.LabelSet.LabelSetKind\"L\n\x0cLabelSetKind\x12\r\n\tRESOURCES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x12\r\n\tSENTENCES\x10\x02\x12\x0e\n\nSELECTIONS\x10\x03\"\x87\x01\n\x06Labels\x12\x34\n\x08labelset\x18\x01 \x03(\x0b\x32\".knowledgebox.Labels.LabelsetEntry\x1aG\n\rLabelsetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.knowledgebox.LabelSet:\x02\x38\x01\"L\n\x06\x45ntity\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nrepresents\x18\x04 \x03(\t\x12\x0e\n\x06merged\x18\x03 \x01(\x08\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\"D\n\x14\x45ntitiesGroupSummary\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\"\xc1\x01\n\rEntitiesGroup\x12;\n\x08\x65ntities\x18\x01 \x03(\x0b\x32).knowledgebox.EntitiesGroup.EntitiesEntry\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x1a\x45\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"0\n\x15\x44\x65letedEntitiesGroups\x12\x17\n\x0f\x65ntities_groups\x18\x01 \x03(\t\"\xaf\x01\n\x0e\x45ntitiesGroups\x12I\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32\x30.knowledgebox.EntitiesGroups.EntitiesGroupsEntry\x1aR\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\"\xf3\x03\n\x19\x45ntityGroupDuplicateIndex\x12T\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32;.knowledgebox.EntityGroupDuplicateIndex.EntitiesGroupsEntry\x1a&\n\x10\x45ntityDuplicates\x12\x12\n\nduplicates\x18\x01 \x03(\t\x1a\xe1\x01\n\x15\x45ntityGroupDuplicates\x12]\n\x08\x65ntities\x18\x01 \x03(\x0b\x32K.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates.EntitiesEntry\x1ai\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.knowledgebox.EntityGroupDuplicateIndex.EntityDuplicates:\x02\x38\x01\x1at\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates:\x02\x38\x01\"K\n\tVectorSet\x12\x11\n\tdimension\x18\x01 \x01(\x05\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x96\x01\n\nVectorSets\x12<\n\nvectorsets\x18\x01 \x03(\x0b\x32(.knowledgebox.VectorSets.VectorsetsEntry\x1aJ\n\x0fVectorsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.knowledgebox.VectorSet:\x02\x38\x01\"\xbe\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\x18.knowledgebox.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x8e\x02\n\x0fVectorSetConfig\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12?\n\x16vectorset_index_config\x18\x02 \x01(\x0b\x32\x1f.knowledgebox.VectorIndexConfig\x12\x1d\n\x15matryoshka_dimensions\x18\x03 \x03(\r\x12\x46\n\x10storage_key_kind\x18\x04 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\"=\n\x0eStorageKeyKind\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x14\n\x10VECTORSET_PREFIX\x10\x02\"Q\n\x1cKnowledgeBoxVectorSetsConfig\x12\x31\n\nvectorsets\x18\x01 \x03(\x0b\x32\x1d.knowledgebox.VectorSetConfig\"X\n\x0eVectorSetPurge\x12\x46\n\x10storage_key_kind\x18\x01 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\" \n\x0cTermSynonyms\x12\x10\n\x08synonyms\x18\x01 \x03(\t\"\x86\x01\n\x08Synonyms\x12\x30\n\x05terms\x18\x01 \x03(\x0b\x32!.knowledgebox.Synonyms.TermsEntry\x1aH\n\nTermsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.knowledgebox.TermSynonyms:\x02\x38\x01\"\xda\x01\n\x15SemanticModelMetadata\x12\x34\n\x13similarity_function\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x1d\n\x10vector_dimension\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\"\n\x11\x64\x65\x66\x61ult_min_score\x18\x03 \x01(\x02\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\rB\x13\n\x11_vector_dimensionB\x14\n\x12_default_min_score\"\x8c\x01\n\x0fKBConfiguration\x12\x16\n\x0esemantic_model\x18\x02 \x01(\t\x12\x18\n\x10generative_model\x18\x03 \x01(\t\x12\x11\n\tner_model\x18\x04 \x01(\t\x12\x1b\n\x13\x61nonymization_model\x18\x05 \x01(\t\x12\x17\n\x0fvisual_labeling\x18\x06 \x01(\t*n\n\x1aKnowledgeBoxResponseStatus\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12!\n\x1d\x45XTERNAL_INDEX_PROVIDER_ERROR\x10\x04*4\n\x19\x45xternalIndexProviderType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08PINECONE\x10\x01*\x8e\x01\n\x17PineconeServerlessCloud\x12\x12\n\x0ePINECONE_UNSET\x10\x00\x12\x11\n\rAWS_US_EAST_1\x10\x01\x12\x11\n\rAWS_US_WEST_2\x10\x02\x12\x11\n\rAWS_EU_WEST_1\x10\x03\x12\x13\n\x0fGCP_US_CENTRAL1\x10\x04\x12\x11\n\rAZURE_EASTUS2\x10\x05*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
33
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.knowledgebox_pb2', _globals)
|
|
34
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
35
|
-
DESCRIPTOR.
|
|
36
|
-
_globals['_STOREDPINECONECONFIG_INDEXESENTRY'].
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
DESCRIPTOR._loaded_options = None
|
|
36
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._loaded_options = None
|
|
37
37
|
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_options = b'8\001'
|
|
38
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters'].
|
|
38
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._loaded_options = None
|
|
39
39
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_filters']._serialized_options = b'\030\001'
|
|
40
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights'].
|
|
40
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._loaded_options = None
|
|
41
41
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._serialized_options = b'\030\001'
|
|
42
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors'].
|
|
42
|
+
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._loaded_options = None
|
|
43
43
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._serialized_options = b'\030\001'
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._serialized_options = b'\030\001'
|
|
46
|
-
_globals['_LABELS_LABELSETENTRY']._options = None
|
|
44
|
+
_globals['_LABELS_LABELSETENTRY']._loaded_options = None
|
|
47
45
|
_globals['_LABELS_LABELSETENTRY']._serialized_options = b'8\001'
|
|
48
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY'].
|
|
46
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._loaded_options = None
|
|
49
47
|
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_options = b'8\001'
|
|
50
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY'].
|
|
48
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._loaded_options = None
|
|
51
49
|
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
|
|
52
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY'].
|
|
50
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._loaded_options = None
|
|
53
51
|
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_options = b'8\001'
|
|
54
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY'].
|
|
52
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._loaded_options = None
|
|
55
53
|
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_options = b'8\001'
|
|
56
|
-
_globals['_VECTORSETS_VECTORSETSENTRY'].
|
|
54
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._loaded_options = None
|
|
57
55
|
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_options = b'8\001'
|
|
58
|
-
_globals['_SYNONYMS_TERMSENTRY'].
|
|
56
|
+
_globals['_SYNONYMS_TERMSENTRY']._loaded_options = None
|
|
59
57
|
_globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
|
|
60
|
-
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score'].
|
|
58
|
+
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
|
|
61
59
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._serialized_options = b'\030\001'
|
|
62
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=
|
|
63
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=
|
|
64
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=
|
|
65
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=
|
|
66
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=
|
|
67
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
60
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4555
|
|
61
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4665
|
|
62
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=4667
|
|
63
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=4719
|
|
64
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=4722
|
|
65
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=4864
|
|
66
|
+
_globals['_VECTORTYPE']._serialized_start=4866
|
|
67
|
+
_globals['_VECTORTYPE']._serialized_end=4893
|
|
68
|
+
_globals['_KNOWLEDGEBOXID']._serialized_start=81
|
|
69
|
+
_globals['_KNOWLEDGEBOXID']._serialized_end=125
|
|
70
|
+
_globals['_CREATEPINECONECONFIG']._serialized_start=127
|
|
71
|
+
_globals['_CREATEPINECONECONFIG']._serialized_end=231
|
|
72
|
+
_globals['_PINECONEINDEXMETADATA']._serialized_start=234
|
|
73
|
+
_globals['_PINECONEINDEXMETADATA']._serialized_end=368
|
|
74
|
+
_globals['_STOREDPINECONECONFIG']._serialized_start=371
|
|
75
|
+
_globals['_STOREDPINECONECONFIG']._serialized_end=636
|
|
76
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_start=553
|
|
77
|
+
_globals['_STOREDPINECONECONFIG_INDEXESENTRY']._serialized_end=636
|
|
78
|
+
_globals['_CREATEEXTERNALINDEXPROVIDERMETADATA']._serialized_start=639
|
|
79
|
+
_globals['_CREATEEXTERNALINDEXPROVIDERMETADATA']._serialized_end=804
|
|
80
|
+
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_start=807
|
|
81
|
+
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_end=972
|
|
82
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_start=975
|
|
83
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=1352
|
|
84
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=1354
|
|
85
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=1452
|
|
86
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=1454
|
|
87
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=1554
|
|
88
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=1556
|
|
89
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=1642
|
|
90
|
+
_globals['_LABEL']._serialized_start=1644
|
|
91
|
+
_globals['_LABEL']._serialized_end=1710
|
|
92
|
+
_globals['_LABELSET']._serialized_start=1713
|
|
93
|
+
_globals['_LABELSET']._serialized_end=1937
|
|
94
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_start=1861
|
|
95
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_end=1937
|
|
96
|
+
_globals['_LABELS']._serialized_start=1940
|
|
97
|
+
_globals['_LABELS']._serialized_end=2075
|
|
98
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_start=2004
|
|
99
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_end=2075
|
|
100
|
+
_globals['_ENTITY']._serialized_start=2077
|
|
101
|
+
_globals['_ENTITY']._serialized_end=2153
|
|
102
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=2155
|
|
103
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=2223
|
|
104
|
+
_globals['_ENTITIESGROUP']._serialized_start=2226
|
|
105
|
+
_globals['_ENTITIESGROUP']._serialized_end=2419
|
|
106
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=2350
|
|
107
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=2419
|
|
108
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_start=2421
|
|
109
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_end=2469
|
|
110
|
+
_globals['_ENTITIESGROUPS']._serialized_start=2472
|
|
111
|
+
_globals['_ENTITIESGROUPS']._serialized_end=2647
|
|
112
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=2565
|
|
113
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=2647
|
|
114
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=2650
|
|
115
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=3149
|
|
116
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=2765
|
|
117
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=2803
|
|
118
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=2806
|
|
119
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=3031
|
|
120
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=2926
|
|
121
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=3031
|
|
122
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=3033
|
|
123
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=3149
|
|
124
|
+
_globals['_VECTORSET']._serialized_start=3151
|
|
125
|
+
_globals['_VECTORSET']._serialized_end=3226
|
|
126
|
+
_globals['_VECTORSETS']._serialized_start=3229
|
|
127
|
+
_globals['_VECTORSETS']._serialized_end=3379
|
|
128
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=3305
|
|
129
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=3379
|
|
130
|
+
_globals['_VECTORINDEXCONFIG']._serialized_start=3382
|
|
131
|
+
_globals['_VECTORINDEXCONFIG']._serialized_end=3572
|
|
132
|
+
_globals['_VECTORSETCONFIG']._serialized_start=3575
|
|
133
|
+
_globals['_VECTORSETCONFIG']._serialized_end=3845
|
|
134
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=3784
|
|
135
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=3845
|
|
136
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=3847
|
|
137
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=3928
|
|
138
|
+
_globals['_VECTORSETPURGE']._serialized_start=3930
|
|
139
|
+
_globals['_VECTORSETPURGE']._serialized_end=4018
|
|
140
|
+
_globals['_TERMSYNONYMS']._serialized_start=4020
|
|
141
|
+
_globals['_TERMSYNONYMS']._serialized_end=4052
|
|
142
|
+
_globals['_SYNONYMS']._serialized_start=4055
|
|
143
|
+
_globals['_SYNONYMS']._serialized_end=4189
|
|
144
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=4117
|
|
145
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=4189
|
|
146
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_start=4192
|
|
147
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_end=4410
|
|
148
|
+
_globals['_KBCONFIGURATION']._serialized_start=4413
|
|
149
|
+
_globals['_KBCONFIGURATION']._serialized_end=4553
|
|
148
150
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,7 +9,6 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
|
-
import nucliadb_protos.nodewriter_pb2
|
|
13
12
|
import nucliadb_protos.utils_pb2
|
|
14
13
|
import sys
|
|
15
14
|
import typing
|
|
@@ -18,33 +17,13 @@ if sys.version_info >= (3, 10):
|
|
|
18
17
|
import typing as typing_extensions
|
|
19
18
|
else:
|
|
20
19
|
import typing_extensions
|
|
21
|
-
from nucliadb_protos.nodewriter_pb2 import (
|
|
22
|
-
CREATION as CREATION,
|
|
23
|
-
DELETION as DELETION,
|
|
24
|
-
DENSE_F32 as DENSE_F32,
|
|
25
|
-
GarbageCollectorResponse as GarbageCollectorResponse,
|
|
26
|
-
IndexMessage as IndexMessage,
|
|
27
|
-
IndexMessageSource as IndexMessageSource,
|
|
28
|
-
MergeResponse as MergeResponse,
|
|
29
|
-
NewShardRequest as NewShardRequest,
|
|
30
|
-
NewVectorSetRequest as NewVectorSetRequest,
|
|
31
|
-
OpStatus as OpStatus,
|
|
32
|
-
PROCESSOR as PROCESSOR,
|
|
33
|
-
TypeMessage as TypeMessage,
|
|
34
|
-
VectorIndexConfig as VectorIndexConfig,
|
|
35
|
-
VectorType as VectorType,
|
|
36
|
-
WRITER as WRITER,
|
|
37
|
-
)
|
|
38
20
|
from nucliadb_protos.utils_pb2 import (
|
|
39
21
|
COSINE as COSINE,
|
|
40
22
|
DOT as DOT,
|
|
41
|
-
EXPERIMENTAL as EXPERIMENTAL,
|
|
42
23
|
ExtractedText as ExtractedText,
|
|
43
24
|
Relation as Relation,
|
|
44
25
|
RelationMetadata as RelationMetadata,
|
|
45
26
|
RelationNode as RelationNode,
|
|
46
|
-
ReleaseChannel as ReleaseChannel,
|
|
47
|
-
STABLE as STABLE,
|
|
48
27
|
Security as Security,
|
|
49
28
|
UserVector as UserVector,
|
|
50
29
|
UserVectorSet as UserVectorSet,
|
|
@@ -119,6 +98,19 @@ GCP_US_CENTRAL1: PineconeServerlessCloud.ValueType # 4
|
|
|
119
98
|
AZURE_EASTUS2: PineconeServerlessCloud.ValueType # 5
|
|
120
99
|
global___PineconeServerlessCloud = PineconeServerlessCloud
|
|
121
100
|
|
|
101
|
+
class _VectorType:
|
|
102
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
103
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
104
|
+
|
|
105
|
+
class _VectorTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_VectorType.ValueType], builtins.type):
|
|
106
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
107
|
+
DENSE_F32: _VectorType.ValueType # 0
|
|
108
|
+
|
|
109
|
+
class VectorType(_VectorType, metaclass=_VectorTypeEnumTypeWrapper): ...
|
|
110
|
+
|
|
111
|
+
DENSE_F32: VectorType.ValueType # 0
|
|
112
|
+
global___VectorType = VectorType
|
|
113
|
+
|
|
122
114
|
@typing.final
|
|
123
115
|
class KnowledgeBoxID(google.protobuf.message.Message):
|
|
124
116
|
"""ID"""
|
|
@@ -281,18 +273,21 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
281
273
|
ENABLED_FILTERS_FIELD_NUMBER: builtins.int
|
|
282
274
|
ENABLED_INSIGHTS_FIELD_NUMBER: builtins.int
|
|
283
275
|
DISABLE_VECTORS_FIELD_NUMBER: builtins.int
|
|
284
|
-
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
285
276
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
286
277
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
278
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
287
279
|
title: builtins.str
|
|
288
280
|
description: builtins.str
|
|
289
281
|
slug: builtins.str
|
|
290
282
|
migration_version: builtins.int
|
|
291
283
|
disable_vectors: builtins.bool
|
|
292
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
|
|
293
|
-
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
294
284
|
hidden_resources_enabled: builtins.bool
|
|
295
285
|
hidden_resources_hide_on_creation: builtins.bool
|
|
286
|
+
prewarm_enabled: builtins.bool
|
|
287
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
288
|
+
this flag allow faster searches (with less cold start) but it is
|
|
289
|
+
expensive on the infrastructure
|
|
290
|
+
"""
|
|
296
291
|
@property
|
|
297
292
|
def external_index_provider(self) -> global___StoredExternalIndexProviderMetadata: ...
|
|
298
293
|
@property
|
|
@@ -310,12 +305,12 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
310
305
|
enabled_filters: collections.abc.Iterable[builtins.str] | None = ...,
|
|
311
306
|
enabled_insights: collections.abc.Iterable[builtins.str] | None = ...,
|
|
312
307
|
disable_vectors: builtins.bool = ...,
|
|
313
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
314
308
|
hidden_resources_enabled: builtins.bool = ...,
|
|
315
309
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
310
|
+
prewarm_enabled: builtins.bool = ...,
|
|
316
311
|
) -> None: ...
|
|
317
312
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
318
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "
|
|
313
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "prewarm_enabled", b"prewarm_enabled", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
319
314
|
|
|
320
315
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
321
316
|
|
|
@@ -766,6 +761,32 @@ class VectorSets(google.protobuf.message.Message):
|
|
|
766
761
|
|
|
767
762
|
global___VectorSets = VectorSets
|
|
768
763
|
|
|
764
|
+
@typing.final
|
|
765
|
+
class VectorIndexConfig(google.protobuf.message.Message):
|
|
766
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
767
|
+
|
|
768
|
+
SIMILARITY_FIELD_NUMBER: builtins.int
|
|
769
|
+
NORMALIZE_VECTORS_FIELD_NUMBER: builtins.int
|
|
770
|
+
VECTOR_TYPE_FIELD_NUMBER: builtins.int
|
|
771
|
+
VECTOR_DIMENSION_FIELD_NUMBER: builtins.int
|
|
772
|
+
similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType
|
|
773
|
+
normalize_vectors: builtins.bool
|
|
774
|
+
vector_type: global___VectorType.ValueType
|
|
775
|
+
vector_dimension: builtins.int
|
|
776
|
+
def __init__(
|
|
777
|
+
self,
|
|
778
|
+
*,
|
|
779
|
+
similarity: nucliadb_protos.utils_pb2.VectorSimilarity.ValueType = ...,
|
|
780
|
+
normalize_vectors: builtins.bool = ...,
|
|
781
|
+
vector_type: global___VectorType.ValueType = ...,
|
|
782
|
+
vector_dimension: builtins.int | None = ...,
|
|
783
|
+
) -> None: ...
|
|
784
|
+
def HasField(self, field_name: typing.Literal["_vector_dimension", b"_vector_dimension", "vector_dimension", b"vector_dimension"]) -> builtins.bool: ...
|
|
785
|
+
def ClearField(self, field_name: typing.Literal["_vector_dimension", b"_vector_dimension", "normalize_vectors", b"normalize_vectors", "similarity", b"similarity", "vector_dimension", b"vector_dimension", "vector_type", b"vector_type"]) -> None: ...
|
|
786
|
+
def WhichOneof(self, oneof_group: typing.Literal["_vector_dimension", b"_vector_dimension"]) -> typing.Literal["vector_dimension"] | None: ...
|
|
787
|
+
|
|
788
|
+
global___VectorIndexConfig = VectorIndexConfig
|
|
789
|
+
|
|
769
790
|
@typing.final
|
|
770
791
|
class VectorSetConfig(google.protobuf.message.Message):
|
|
771
792
|
"""Configuration values for a vectorset"""
|
|
@@ -800,7 +821,7 @@ class VectorSetConfig(google.protobuf.message.Message):
|
|
|
800
821
|
vectorset_id: builtins.str
|
|
801
822
|
storage_key_kind: global___VectorSetConfig.StorageKeyKind.ValueType
|
|
802
823
|
@property
|
|
803
|
-
def vectorset_index_config(self) ->
|
|
824
|
+
def vectorset_index_config(self) -> global___VectorIndexConfig: ...
|
|
804
825
|
@property
|
|
805
826
|
def matryoshka_dimensions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
806
827
|
"""list of possible subdivisions of the matryoshka embeddings (if the model
|
|
@@ -811,7 +832,7 @@ class VectorSetConfig(google.protobuf.message.Message):
|
|
|
811
832
|
self,
|
|
812
833
|
*,
|
|
813
834
|
vectorset_id: builtins.str = ...,
|
|
814
|
-
vectorset_index_config:
|
|
835
|
+
vectorset_index_config: global___VectorIndexConfig | None = ...,
|
|
815
836
|
matryoshka_dimensions: collections.abc.Iterable[builtins.int] | None = ...,
|
|
816
837
|
storage_key_kind: global___VectorSetConfig.StorageKeyKind.ValueType = ...,
|
|
817
838
|
) -> None: ...
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
3
4
|
# source: nucliadb_protos/migrations.proto
|
|
4
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
5
6
|
"""Generated protocol buffer code."""
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
7
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
8
10
|
from google.protobuf import symbol_database as _symbol_database
|
|
9
11
|
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'nucliadb_protos/migrations.proto'
|
|
19
|
+
)
|
|
10
20
|
# @@protoc_insertion_point(imports)
|
|
11
21
|
|
|
12
22
|
_sym_db = _symbol_database.Default()
|
|
@@ -19,8 +29,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/m
|
|
|
19
29
|
_globals = globals()
|
|
20
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
31
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'nucliadb_protos.migrations_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS
|
|
23
|
-
DESCRIPTOR.
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
DESCRIPTOR._loaded_options = None
|
|
24
34
|
_globals['_MIGRATIONINFO']._serialized_start=48
|
|
25
35
|
_globals['_MIGRATIONINFO']._serialized_end=112
|
|
26
36
|
# @@protoc_insertion_point(module_scope)
|