nucliadb-protos 6.9.0.post5134__py3-none-any.whl → 6.9.3.post5327__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.
- nucliadb_protos/knowledgebox_pb2.py +76 -76
- nucliadb_protos/knowledgebox_pb2.pyi +8 -1
- nucliadb_protos/writer_pb2.py +18 -18
- nucliadb_protos/writer_pb2.pyi +8 -1
- {nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/METADATA +2 -3
- {nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/RECORD +8 -8
- {nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/entry_points.txt +0 -0
|
@@ -26,7 +26,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
|
26
26
|
|
|
27
27
|
from nucliadb_protos.utils_pb2 import *
|
|
28
28
|
|
|
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\"\
|
|
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\"\xa7\x03\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\x32\n\x0frelease_channel\x18\x08 \x01(\x0e\x32\x15.utils.ReleaseChannelB\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(\x08\"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)
|
|
@@ -59,14 +59,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
59
|
_globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
|
|
60
60
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
|
|
61
61
|
_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['_VECTORTYPE']._serialized_start=
|
|
69
|
-
_globals['_VECTORTYPE']._serialized_end=
|
|
62
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4601
|
|
63
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4711
|
|
64
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=4713
|
|
65
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=4765
|
|
66
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=4768
|
|
67
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=4910
|
|
68
|
+
_globals['_VECTORTYPE']._serialized_start=4912
|
|
69
|
+
_globals['_VECTORTYPE']._serialized_end=4939
|
|
70
70
|
_globals['_KNOWLEDGEBOXID']._serialized_start=81
|
|
71
71
|
_globals['_KNOWLEDGEBOXID']._serialized_end=125
|
|
72
72
|
_globals['_CREATEPINECONECONFIG']._serialized_start=127
|
|
@@ -82,71 +82,71 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
82
82
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_start=807
|
|
83
83
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_end=972
|
|
84
84
|
_globals['_KNOWLEDGEBOXCONFIG']._serialized_start=975
|
|
85
|
-
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=
|
|
86
|
-
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=
|
|
87
|
-
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=
|
|
88
|
-
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=
|
|
89
|
-
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=
|
|
90
|
-
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=
|
|
91
|
-
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=
|
|
92
|
-
_globals['_LABEL']._serialized_start=
|
|
93
|
-
_globals['_LABEL']._serialized_end=
|
|
94
|
-
_globals['_LABELSET']._serialized_start=
|
|
95
|
-
_globals['_LABELSET']._serialized_end=
|
|
96
|
-
_globals['_LABELSET_LABELSETKIND']._serialized_start=
|
|
97
|
-
_globals['_LABELSET_LABELSETKIND']._serialized_end=
|
|
98
|
-
_globals['_LABELS']._serialized_start=
|
|
99
|
-
_globals['_LABELS']._serialized_end=
|
|
100
|
-
_globals['_LABELS_LABELSETENTRY']._serialized_start=
|
|
101
|
-
_globals['_LABELS_LABELSETENTRY']._serialized_end=
|
|
102
|
-
_globals['_ENTITY']._serialized_start=
|
|
103
|
-
_globals['_ENTITY']._serialized_end=
|
|
104
|
-
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=
|
|
105
|
-
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=
|
|
106
|
-
_globals['_ENTITIESGROUP']._serialized_start=
|
|
107
|
-
_globals['_ENTITIESGROUP']._serialized_end=
|
|
108
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=
|
|
109
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=
|
|
110
|
-
_globals['_DELETEDENTITIESGROUPS']._serialized_start=
|
|
111
|
-
_globals['_DELETEDENTITIESGROUPS']._serialized_end=
|
|
112
|
-
_globals['_ENTITIESGROUPS']._serialized_start=
|
|
113
|
-
_globals['_ENTITIESGROUPS']._serialized_end=
|
|
114
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=
|
|
115
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=
|
|
116
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=
|
|
117
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=
|
|
118
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=
|
|
119
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=
|
|
120
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=
|
|
121
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=
|
|
122
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=
|
|
123
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=
|
|
124
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=
|
|
125
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=
|
|
126
|
-
_globals['_VECTORSET']._serialized_start=
|
|
127
|
-
_globals['_VECTORSET']._serialized_end=
|
|
128
|
-
_globals['_VECTORSETS']._serialized_start=
|
|
129
|
-
_globals['_VECTORSETS']._serialized_end=
|
|
130
|
-
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=
|
|
131
|
-
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=
|
|
132
|
-
_globals['_VECTORINDEXCONFIG']._serialized_start=
|
|
133
|
-
_globals['_VECTORINDEXCONFIG']._serialized_end=
|
|
134
|
-
_globals['_VECTORSETCONFIG']._serialized_start=
|
|
135
|
-
_globals['_VECTORSETCONFIG']._serialized_end=
|
|
136
|
-
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=
|
|
137
|
-
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=
|
|
138
|
-
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=
|
|
139
|
-
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=
|
|
140
|
-
_globals['_VECTORSETPURGE']._serialized_start=
|
|
141
|
-
_globals['_VECTORSETPURGE']._serialized_end=
|
|
142
|
-
_globals['_TERMSYNONYMS']._serialized_start=
|
|
143
|
-
_globals['_TERMSYNONYMS']._serialized_end=
|
|
144
|
-
_globals['_SYNONYMS']._serialized_start=
|
|
145
|
-
_globals['_SYNONYMS']._serialized_end=
|
|
146
|
-
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=
|
|
147
|
-
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=
|
|
148
|
-
_globals['_SEMANTICMODELMETADATA']._serialized_start=
|
|
149
|
-
_globals['_SEMANTICMODELMETADATA']._serialized_end=
|
|
150
|
-
_globals['_KBCONFIGURATION']._serialized_start=
|
|
151
|
-
_globals['_KBCONFIGURATION']._serialized_end=
|
|
85
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=1398
|
|
86
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=1400
|
|
87
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=1498
|
|
88
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=1500
|
|
89
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=1600
|
|
90
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=1602
|
|
91
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=1688
|
|
92
|
+
_globals['_LABEL']._serialized_start=1690
|
|
93
|
+
_globals['_LABEL']._serialized_end=1756
|
|
94
|
+
_globals['_LABELSET']._serialized_start=1759
|
|
95
|
+
_globals['_LABELSET']._serialized_end=1983
|
|
96
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_start=1907
|
|
97
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_end=1983
|
|
98
|
+
_globals['_LABELS']._serialized_start=1986
|
|
99
|
+
_globals['_LABELS']._serialized_end=2121
|
|
100
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_start=2050
|
|
101
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_end=2121
|
|
102
|
+
_globals['_ENTITY']._serialized_start=2123
|
|
103
|
+
_globals['_ENTITY']._serialized_end=2199
|
|
104
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=2201
|
|
105
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=2269
|
|
106
|
+
_globals['_ENTITIESGROUP']._serialized_start=2272
|
|
107
|
+
_globals['_ENTITIESGROUP']._serialized_end=2465
|
|
108
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=2396
|
|
109
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=2465
|
|
110
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_start=2467
|
|
111
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_end=2515
|
|
112
|
+
_globals['_ENTITIESGROUPS']._serialized_start=2518
|
|
113
|
+
_globals['_ENTITIESGROUPS']._serialized_end=2693
|
|
114
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=2611
|
|
115
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=2693
|
|
116
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=2696
|
|
117
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=3195
|
|
118
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=2811
|
|
119
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=2849
|
|
120
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=2852
|
|
121
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=3077
|
|
122
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=2972
|
|
123
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=3077
|
|
124
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=3079
|
|
125
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=3195
|
|
126
|
+
_globals['_VECTORSET']._serialized_start=3197
|
|
127
|
+
_globals['_VECTORSET']._serialized_end=3272
|
|
128
|
+
_globals['_VECTORSETS']._serialized_start=3275
|
|
129
|
+
_globals['_VECTORSETS']._serialized_end=3425
|
|
130
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=3351
|
|
131
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=3425
|
|
132
|
+
_globals['_VECTORINDEXCONFIG']._serialized_start=3428
|
|
133
|
+
_globals['_VECTORINDEXCONFIG']._serialized_end=3618
|
|
134
|
+
_globals['_VECTORSETCONFIG']._serialized_start=3621
|
|
135
|
+
_globals['_VECTORSETCONFIG']._serialized_end=3891
|
|
136
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=3830
|
|
137
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=3891
|
|
138
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=3893
|
|
139
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=3974
|
|
140
|
+
_globals['_VECTORSETPURGE']._serialized_start=3976
|
|
141
|
+
_globals['_VECTORSETPURGE']._serialized_end=4064
|
|
142
|
+
_globals['_TERMSYNONYMS']._serialized_start=4066
|
|
143
|
+
_globals['_TERMSYNONYMS']._serialized_end=4098
|
|
144
|
+
_globals['_SYNONYMS']._serialized_start=4101
|
|
145
|
+
_globals['_SYNONYMS']._serialized_end=4235
|
|
146
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=4163
|
|
147
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=4235
|
|
148
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_start=4238
|
|
149
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_end=4456
|
|
150
|
+
_globals['_KBCONFIGURATION']._serialized_start=4459
|
|
151
|
+
_globals['_KBCONFIGURATION']._serialized_end=4599
|
|
152
152
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -279,6 +279,7 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
279
279
|
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
280
280
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
281
281
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
282
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
282
283
|
title: builtins.str
|
|
283
284
|
description: builtins.str
|
|
284
285
|
slug: builtins.str
|
|
@@ -288,6 +289,11 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
288
289
|
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
289
290
|
hidden_resources_enabled: builtins.bool
|
|
290
291
|
hidden_resources_hide_on_creation: builtins.bool
|
|
292
|
+
prewarm_enabled: builtins.bool
|
|
293
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
294
|
+
this flag allow faster searches (with less cold start) but it is
|
|
295
|
+
expensive on the infrastructure
|
|
296
|
+
"""
|
|
291
297
|
@property
|
|
292
298
|
def external_index_provider(self) -> global___StoredExternalIndexProviderMetadata: ...
|
|
293
299
|
@property
|
|
@@ -308,9 +314,10 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
308
314
|
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
309
315
|
hidden_resources_enabled: builtins.bool = ...,
|
|
310
316
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
317
|
+
prewarm_enabled: builtins.bool = ...,
|
|
311
318
|
) -> None: ...
|
|
312
319
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
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", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
320
|
+
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", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
314
321
|
|
|
315
322
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
316
323
|
|
nucliadb_protos/writer_pb2.py
CHANGED
|
@@ -41,7 +41,7 @@ from nucliadb_protos.knowledgebox_pb2 import *
|
|
|
41
41
|
from nucliadb_protos.audit_pb2 import *
|
|
42
42
|
from nucliadb_protos.backups_pb2 import *
|
|
43
43
|
|
|
44
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnucliadb_protos/writer.proto\x12\tfdbwriter\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fnucliadb_protos/resources.proto\x1a\"nucliadb_protos/knowledgebox.proto\x1a\x1bnucliadb_protos/audit.proto\x1a\x1dnucliadb_protos/backups.proto\"\xd9\x02\n\x05\x41udit\x12\x0c\n\x04user\x18\x01 \x01(\t\x12(\n\x04when\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06origin\x18\x03 \x01(\t\x12\'\n\x06source\x18\x04 \x01(\x0e\x32\x17.fdbwriter.Audit.Source\x12\x0c\n\x04kbid\x18\x05 \x01(\t\x12\x0c\n\x04uuid\x18\x06 \x01(\t\x12>\n\x0emessage_source\x18\x07 \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12*\n\x0e\x66ield_metadata\x18\x08 \x03(\x0b\x32\x12.resources.FieldID\x12\'\n\x0c\x61udit_fields\x18\t \x03(\x0b\x32\x11.audit.AuditField\".\n\x06Source\x12\x08\n\x04HTTP\x10\x00\x12\r\n\tDASHBOARD\x10\x01\x12\x0b\n\x07\x44\x45SKTOP\x10\x02\"\xb2\x01\n\tGenerator\x12\x33\n\tprocessor\x18\x01 \x01(\x0b\x32\x1e.fdbwriter.Generator.ProcessorH\x00\x12\x42\n\x11\x64\x61ta_augmentation\x18\x02 \x01(\x0b\x32%.fdbwriter.Generator.DataAugmentationH\x00\x1a\x0b\n\tProcessor\x1a\x12\n\x10\x44\x61taAugmentationB\x0b\n\tgenerator\"\xcb\x02\n\x05\x45rror\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12(\n\nfield_type\x18\x02 \x01(\x0e\x32\x14.resources.FieldType\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12(\n\x04\x63ode\x18\x04 \x01(\x0e\x32\x1a.fdbwriter.Error.ErrorCode\x12*\n\x0cgenerated_by\x18\x05 \x01(\x0b\x32\x14.fdbwriter.Generator\x12+\n\x08severity\x18\x06 \x01(\x0e\x32\x19.fdbwriter.Error.Severity\"S\n\tErrorCode\x12\x0b\n\x07GENERIC\x10\x00\x12\x0b\n\x07\x45XTRACT\x10\x01\x12\x0b\n\x07PROCESS\x10\x02\x12\x14\n\x10\x44\x41TAAUGMENTATION\x10\x03\x12\t\n\x05INDEX\x10\x04\"\"\n\x08Severity\x12\t\n\x05\x45RROR\x10\x00\x12\x0b\n\x07WARNING\x10\x01\"\xd8\x0f\n\rBrokerMessage\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04slug\x18\x04 \x01(\t\x12\x1f\n\x05\x61udit\x18\x05 \x01(\x0b\x32\x10.fdbwriter.Audit\x12\x32\n\x04type\x18\x06 \x01(\x0e\x32$.fdbwriter.BrokerMessage.MessageType\x12\x0f\n\x07multiid\x18\x07 \x01(\t\x12\x1f\n\x05\x62\x61sic\x18\x08 \x01(\x0b\x32\x10.resources.Basic\x12!\n\x06origin\x18\t \x01(\x0b\x32\x11.resources.Origin\x12\x31\n\x0euser_relations\x18+ \x01(\x0b\x32\x14.resources.RelationsH\x00\x88\x01\x01\x12\x42\n\rconversations\x18\x0b \x03(\x0b\x32+.fdbwriter.BrokerMessage.ConversationsEntry\x12\x32\n\x05texts\x18\r \x03(\x0b\x32#.fdbwriter.BrokerMessage.TextsEntry\x12\x32\n\x05links\x18\x10 \x03(\x0b\x32#.fdbwriter.BrokerMessage.LinksEntry\x12\x32\n\x05\x66iles\x18\x11 \x03(\x0b\x32#.fdbwriter.BrokerMessage.FilesEntry\x12\x39\n\x13link_extracted_data\x18\x12 \x03(\x0b\x32\x1c.resources.LinkExtractedData\x12\x39\n\x13\x66ile_extracted_data\x18\x13 \x03(\x0b\x32\x1c.resources.FileExtractedData\x12\x37\n\x0e\x65xtracted_text\x18\x14 \x03(\x0b\x32\x1f.resources.ExtractedTextWrapper\x12?\n\x0e\x66ield_metadata\x18\x15 \x03(\x0b\x32\'.resources.FieldComputedMetadataWrapper\x12\x39\n\rfield_vectors\x18\x16 \x03(\x0b\x32\".resources.ExtractedVectorsWrapper\x12\x45\n\x14\x66ield_large_metadata\x18\x17 \x03(\x0b\x32\'.resources.LargeComputedMetadataWrapper\x12)\n\rdelete_fields\x18\x18 \x03(\x0b\x32\x12.resources.FieldID\x12\x12\n\norigin_seq\x18\x19 \x01(\x05\x12\x1c\n\x14slow_processing_time\x18\x1a \x01(\x02\x12\x1b\n\x13pre_processing_time\x18\x1c \x01(\x02\x12-\n\tdone_time\x18\x1d \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x07txseqid\x18\x1e \x01(\x03\x42\x02\x18\x01\x12 \n\x06\x65rrors\x18\x1f \x03(\x0b\x32\x10.fdbwriter.Error\x12\x15\n\rprocessing_id\x18 \x01(\t\x12\x36\n\x06source\x18! \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12\x13\n\x0b\x61\x63\x63ount_seq\x18\" \x01(\x03\x12\x33\n\x0cuser_vectors\x18# \x03(\x0b\x32\x1d.resources.UserVectorsWrapper\x12\x0f\n\x07reindex\x18$ \x01(\x08\x12\x1f\n\x05\x65xtra\x18% \x01(\x0b\x32\x10.resources.Extra\x12?\n\x10question_answers\x18& \x03(\x0b\x32%.resources.FieldQuestionAnswerWrapper\x12!\n\x08security\x18\' \x01(\x0b\x32\x0f.utils.Security\x12*\n\x0cgenerated_by\x18( \x03(\x0b\x32\x14.fdbwriter.Generator\x12\x30\n\x0e\x66ield_statuses\x18) \x03(\x0b\x32\x18.fdbwriter.FieldIDStatus\x12\x33\n\x17\x64\x65lete_question_answers\x18* \x03(\x0b\x32\x12.resources.FieldID\x1aM\n\x12\x43onversationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.resources.Conversation:\x02\x38\x01\x1a\x42\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldText:\x02\x38\x01\x1a\x42\n\nLinksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldLink:\x02\x38\x01\x1a\x42\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldFile:\x02\x38\x01\"N\n\x0bMessageType\x12\x0e\n\nAUTOCOMMIT\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x04\x12\t\n\x05MULTI\x10\x01\x12\n\n\x06\x43OMMIT\x10\x02\x12\x0c\n\x08ROLLBACK\x10\x03\"*\n\rMessageSource\x12\n\n\x06WRITER\x10\x00\x12\r\n\tPROCESSOR\x10\x01\x42\x11\n\x0f_user_relationsJ\x04\x08\x02\x10\x03J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x1b\x10\x1c\"M\n\x1a\x42rokerMessageBlobReference\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x13\n\x0bstorage_key\x18\x03 \x01(\t\"\x97\x01\n\x14WriterStatusResponse\x12\x16\n\x0eknowledgeboxes\x18\x01 \x03(\t\x12\x39\n\x05msgid\x18\x02 \x03(\x0b\x32*.fdbwriter.WriterStatusResponse.MsgidEntry\x1a,\n\nMsgidEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x15\n\x13WriterStatusRequest\"\x81\x01\n\x17NewEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x99\x01\n\x18NewEntitiesGroupResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32*.fdbwriter.NewEntitiesGroupResponse.Status\"A\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x03\"|\n\x12SetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x8a\x03\n\x1aUpdateEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12;\n\x03\x61\x64\x64\x18\x03 \x03(\x0b\x32..fdbwriter.UpdateEntitiesGroupRequest.AddEntry\x12\x41\n\x06update\x18\x04 \x03(\x0b\x32\x31.fdbwriter.UpdateEntitiesGroupRequest.UpdateEntry\x12\x0e\n\x06\x64\x65lete\x18\x05 \x03(\t\x12\r\n\x05title\x18\x06 \x01(\t\x12\r\n\x05\x63olor\x18\x07 \x01(\t\x1a@\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\x1a\x43\n\x0bUpdateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"\xa9\x01\n\x1bUpdateEntitiesGroupResponse\x12=\n\x06status\x18\x01 \x01(\x0e\x32-.fdbwriter.UpdateEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x03\"E\n\x19ListEntitiesGroupsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\x9b\x02\n\x1aListEntitiesGroupsResponse\x12\x41\n\x06groups\x18\x01 \x03(\x0b\x32\x31.fdbwriter.ListEntitiesGroupsResponse.GroupsEntry\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.fdbwriter.ListEntitiesGroupsResponse.Status\x1aQ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".knowledgebox.EntitiesGroupSummary:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\">\n\x12GetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xa9\x02\n\x13GetEntitiesResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12:\n\x06groups\x18\x02 \x03(\x0b\x32*.fdbwriter.GetEntitiesResponse.GroupsEntry\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32%.fdbwriter.GetEntitiesResponse.Status\x1aJ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"M\n\x12\x44\x65lEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xd9\x01\n\x14MergeEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\x36\n\x04\x66rom\x18\x02 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x12\x34\n\x02to\x18\x03 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x1a)\n\x08\x45ntityID\x12\r\n\x05group\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\"\xb8\x01\n\x11GetLabelsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12$\n\x06labels\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Labels\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32#.fdbwriter.GetLabelsResponse.Status\"\x1e\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\"<\n\x10GetLabelsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"R\n\x17GetEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xf9\x01\n\x18GetEntitiesGroupResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12*\n\x05group\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\x12:\n\x06status\x18\x03 \x01(\x0e\x32*.fdbwriter.GetEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x10\n\x0cKB_NOT_FOUND\x10\x01\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"@\n\x14GetVectorSetsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xd3\x01\n\x15GetVectorSetsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12,\n\nvectorsets\x18\x02 \x01(\x0b\x32\x18.knowledgebox.VectorSets\x12\x37\n\x06status\x18\x03 \x01(\x0e\x32\'.fdbwriter.GetVectorSetsResponse.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"m\n\x0eOpStatusWriter\x12\x30\n\x06status\x18\x01 \x01(\x0e\x32 .fdbwriter.OpStatusWriter.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\"\xd2\x03\n\x0cNotification\x12\x11\n\tpartition\x18\x01 \x01(\x05\x12\r\n\x05multi\x18\x02 \x01(\t\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\x1e.fdbwriter.Notification.Action\x12\x35\n\nwrite_type\x18\x07 \x01(\x0e\x32!.fdbwriter.Notification.WriteType\x12-\n\x07message\x18\x08 \x01(\x0b\x32\x18.fdbwriter.BrokerMessageB\x02\x18\x01\x12-\n\x06source\x18\t \x01(\x0e\x32\x1d.fdbwriter.NotificationSource\x12\x19\n\x11processing_errors\x18\n \x01(\x08\x12\'\n\rmessage_audit\x18\x0b \x01(\x0b\x32\x10.fdbwriter.Audit\",\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\">\n\tWriteType\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0c\n\x08MODIFIED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"\x7f\n\x0bShardObject\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x31\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x15\n\rnidx_shard_id\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"\xc6\x02\n\x06Shards\x12&\n\x06shards\x18\x01 \x03(\x0b\x32\x16.fdbwriter.ShardObject\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12\x12\n\x06\x61\x63tual\x18\x03 \x01(\x05\x42\x02\x18\x01\x12/\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x36\n\x05model\x18\x05 \x01(\x0b\x32#.knowledgebox.SemanticModelMetadataB\x02\x18\x01\x12.\n\x0frelease_channel\x18\x06 \x01(\x0e\x32\x15.utils.ReleaseChannel\x12+\n\x05\x65xtra\x18\x07 \x03(\x0b\x32\x1c.fdbwriter.Shards.ExtraEntry\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\rIndexResource\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0b\n\x03rid\x18\x02 \x01(\t\x12\x17\n\x0freindex_vectors\x18\x03 \x01(\x08\"\r\n\x0bIndexStatus\"\x1f\n\x0fSynonymsRequest\x12\x0c\n\x04kbid\x18\x01 \x01(\t\"\xc8\x03\n\x18NewKnowledgeBoxV2Request\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04slug\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x41\n\nvectorsets\x18\x05 \x03(\x0b\x32-.fdbwriter.NewKnowledgeBoxV2Request.VectorSet\x12R\n\x17\x65xternal_index_provider\x18\x06 \x01(\x0b\x32\x31.knowledgebox.CreateExternalIndexProviderMetadata\x12 \n\x18hidden_resources_enabled\x18\x07 \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x08 \x01(\x08\x1a\x87\x01\n\tVectorSet\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x18\n\x10vector_dimension\x18\x03 \x01(\r\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\r\"l\n\x19NewKnowledgeBoxV2Response\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x15\n\rerror_message\x18\x02 \x01(\t\"a\n\nFieldError\x12&\n\x0csource_error\x18\x01 \x01(\x0b\x32\x10.fdbwriter.Error\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x94\x01\n\x0b\x46ieldStatus\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.fdbwriter.FieldStatus.Status\x12%\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x15.fdbwriter.FieldError\"/\n\x06Status\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tPROCESSED\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"^\n\rFieldIDStatus\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x12.resources.FieldID\x12-\n\x06status\x18\x02 \x01(\x0e\x32\x1d.fdbwriter.FieldStatus.Status*:\n\x12NotificationSource\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06WRITER\x10\x01\x12\r\n\tPROCESSOR\x10\x02\x32\xa3\x0b\n\x06Writer\x12`\n\x11NewKnowledgeBoxV2\x12#.fdbwriter.NewKnowledgeBoxV2Request\x1a$.fdbwriter.NewKnowledgeBoxV2Response\"\x00\x12^\n\x12\x44\x65leteKnowledgeBox\x12\x1c.knowledgebox.KnowledgeBoxID\x1a(.knowledgebox.DeleteKnowledgeBoxResponse\"\x00\x12\x62\n\x12UpdateKnowledgeBox\x12 .knowledgebox.KnowledgeBoxUpdate\x1a(.knowledgebox.UpdateKnowledgeBoxResponse\"\x00\x12I\n\x0eProcessMessage\x12\x18.fdbwriter.BrokerMessage\x1a\x19.fdbwriter.OpStatusWriter\"\x00(\x01\x12]\n\x10NewEntitiesGroup\x12\".fdbwriter.NewEntitiesGroupRequest\x1a#.fdbwriter.NewEntitiesGroupResponse\"\x00\x12N\n\x0bGetEntities\x12\x1d.fdbwriter.GetEntitiesRequest\x1a\x1e.fdbwriter.GetEntitiesResponse\"\x00\x12]\n\x10GetEntitiesGroup\x12\".fdbwriter.GetEntitiesGroupRequest\x1a#.fdbwriter.GetEntitiesGroupResponse\"\x00\x12\x63\n\x12ListEntitiesGroups\x12$.fdbwriter.ListEntitiesGroupsRequest\x1a%.fdbwriter.ListEntitiesGroupsResponse\"\x00\x12I\n\x0bSetEntities\x12\x1d.fdbwriter.SetEntitiesRequest\x1a\x19.fdbwriter.OpStatusWriter\"\x00\x12\x66\n\x13UpdateEntitiesGroup\x12%.fdbwriter.UpdateEntitiesGroupRequest\x1a&.fdbwriter.UpdateEntitiesGroupResponse\"\x00\x12I\n\x0b\x44\x65lEntities\x12\x1d.fdbwriter.DelEntitiesRequest\x1a\x19.fdbwriter.OpStatusWriter\"\x00\x12K\n\x06Status\x12\x1e.fdbwriter.WriterStatusRequest\x1a\x1f.fdbwriter.WriterStatusResponse\"\x00\x12;\n\x05Index\x12\x18.fdbwriter.IndexResource\x1a\x16.fdbwriter.IndexStatus\"\x00\x12=\n\x07ReIndex\x12\x18.fdbwriter.IndexResource\x1a\x16.fdbwriter.IndexStatus\"\x00\x12M\n\x0c\x43reateBackup\x12\x1c.backups.CreateBackupRequest\x1a\x1d.backups.CreateBackupResponse\"\x00\x12M\n\x0c\x44\x65leteBackup\x12\x1c.backups.DeleteBackupRequest\x1a\x1d.backups.DeleteBackupResponse\"\x00\x12P\n\rRestoreBackup\x12\x1d.backups.RestoreBackupRequest\x1a\x1e.backups.RestoreBackupResponse\"\x00P\x01P\x02P\x03P\x04\x62\x06proto3')
|
|
44
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnucliadb_protos/writer.proto\x12\tfdbwriter\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fnucliadb_protos/resources.proto\x1a\"nucliadb_protos/knowledgebox.proto\x1a\x1bnucliadb_protos/audit.proto\x1a\x1dnucliadb_protos/backups.proto\"\xd9\x02\n\x05\x41udit\x12\x0c\n\x04user\x18\x01 \x01(\t\x12(\n\x04when\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06origin\x18\x03 \x01(\t\x12\'\n\x06source\x18\x04 \x01(\x0e\x32\x17.fdbwriter.Audit.Source\x12\x0c\n\x04kbid\x18\x05 \x01(\t\x12\x0c\n\x04uuid\x18\x06 \x01(\t\x12>\n\x0emessage_source\x18\x07 \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12*\n\x0e\x66ield_metadata\x18\x08 \x03(\x0b\x32\x12.resources.FieldID\x12\'\n\x0c\x61udit_fields\x18\t \x03(\x0b\x32\x11.audit.AuditField\".\n\x06Source\x12\x08\n\x04HTTP\x10\x00\x12\r\n\tDASHBOARD\x10\x01\x12\x0b\n\x07\x44\x45SKTOP\x10\x02\"\xb2\x01\n\tGenerator\x12\x33\n\tprocessor\x18\x01 \x01(\x0b\x32\x1e.fdbwriter.Generator.ProcessorH\x00\x12\x42\n\x11\x64\x61ta_augmentation\x18\x02 \x01(\x0b\x32%.fdbwriter.Generator.DataAugmentationH\x00\x1a\x0b\n\tProcessor\x1a\x12\n\x10\x44\x61taAugmentationB\x0b\n\tgenerator\"\xcb\x02\n\x05\x45rror\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12(\n\nfield_type\x18\x02 \x01(\x0e\x32\x14.resources.FieldType\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12(\n\x04\x63ode\x18\x04 \x01(\x0e\x32\x1a.fdbwriter.Error.ErrorCode\x12*\n\x0cgenerated_by\x18\x05 \x01(\x0b\x32\x14.fdbwriter.Generator\x12+\n\x08severity\x18\x06 \x01(\x0e\x32\x19.fdbwriter.Error.Severity\"S\n\tErrorCode\x12\x0b\n\x07GENERIC\x10\x00\x12\x0b\n\x07\x45XTRACT\x10\x01\x12\x0b\n\x07PROCESS\x10\x02\x12\x14\n\x10\x44\x41TAAUGMENTATION\x10\x03\x12\t\n\x05INDEX\x10\x04\"\"\n\x08Severity\x12\t\n\x05\x45RROR\x10\x00\x12\x0b\n\x07WARNING\x10\x01\"\xd8\x0f\n\rBrokerMessage\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04slug\x18\x04 \x01(\t\x12\x1f\n\x05\x61udit\x18\x05 \x01(\x0b\x32\x10.fdbwriter.Audit\x12\x32\n\x04type\x18\x06 \x01(\x0e\x32$.fdbwriter.BrokerMessage.MessageType\x12\x0f\n\x07multiid\x18\x07 \x01(\t\x12\x1f\n\x05\x62\x61sic\x18\x08 \x01(\x0b\x32\x10.resources.Basic\x12!\n\x06origin\x18\t \x01(\x0b\x32\x11.resources.Origin\x12\x31\n\x0euser_relations\x18+ \x01(\x0b\x32\x14.resources.RelationsH\x00\x88\x01\x01\x12\x42\n\rconversations\x18\x0b \x03(\x0b\x32+.fdbwriter.BrokerMessage.ConversationsEntry\x12\x32\n\x05texts\x18\r \x03(\x0b\x32#.fdbwriter.BrokerMessage.TextsEntry\x12\x32\n\x05links\x18\x10 \x03(\x0b\x32#.fdbwriter.BrokerMessage.LinksEntry\x12\x32\n\x05\x66iles\x18\x11 \x03(\x0b\x32#.fdbwriter.BrokerMessage.FilesEntry\x12\x39\n\x13link_extracted_data\x18\x12 \x03(\x0b\x32\x1c.resources.LinkExtractedData\x12\x39\n\x13\x66ile_extracted_data\x18\x13 \x03(\x0b\x32\x1c.resources.FileExtractedData\x12\x37\n\x0e\x65xtracted_text\x18\x14 \x03(\x0b\x32\x1f.resources.ExtractedTextWrapper\x12?\n\x0e\x66ield_metadata\x18\x15 \x03(\x0b\x32\'.resources.FieldComputedMetadataWrapper\x12\x39\n\rfield_vectors\x18\x16 \x03(\x0b\x32\".resources.ExtractedVectorsWrapper\x12\x45\n\x14\x66ield_large_metadata\x18\x17 \x03(\x0b\x32\'.resources.LargeComputedMetadataWrapper\x12)\n\rdelete_fields\x18\x18 \x03(\x0b\x32\x12.resources.FieldID\x12\x12\n\norigin_seq\x18\x19 \x01(\x05\x12\x1c\n\x14slow_processing_time\x18\x1a \x01(\x02\x12\x1b\n\x13pre_processing_time\x18\x1c \x01(\x02\x12-\n\tdone_time\x18\x1d \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x07txseqid\x18\x1e \x01(\x03\x42\x02\x18\x01\x12 \n\x06\x65rrors\x18\x1f \x03(\x0b\x32\x10.fdbwriter.Error\x12\x15\n\rprocessing_id\x18 \x01(\t\x12\x36\n\x06source\x18! \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12\x13\n\x0b\x61\x63\x63ount_seq\x18\" \x01(\x03\x12\x33\n\x0cuser_vectors\x18# \x03(\x0b\x32\x1d.resources.UserVectorsWrapper\x12\x0f\n\x07reindex\x18$ \x01(\x08\x12\x1f\n\x05\x65xtra\x18% \x01(\x0b\x32\x10.resources.Extra\x12?\n\x10question_answers\x18& \x03(\x0b\x32%.resources.FieldQuestionAnswerWrapper\x12!\n\x08security\x18\' \x01(\x0b\x32\x0f.utils.Security\x12*\n\x0cgenerated_by\x18( \x03(\x0b\x32\x14.fdbwriter.Generator\x12\x30\n\x0e\x66ield_statuses\x18) \x03(\x0b\x32\x18.fdbwriter.FieldIDStatus\x12\x33\n\x17\x64\x65lete_question_answers\x18* \x03(\x0b\x32\x12.resources.FieldID\x1aM\n\x12\x43onversationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.resources.Conversation:\x02\x38\x01\x1a\x42\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldText:\x02\x38\x01\x1a\x42\n\nLinksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldLink:\x02\x38\x01\x1a\x42\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldFile:\x02\x38\x01\"N\n\x0bMessageType\x12\x0e\n\nAUTOCOMMIT\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x04\x12\t\n\x05MULTI\x10\x01\x12\n\n\x06\x43OMMIT\x10\x02\x12\x0c\n\x08ROLLBACK\x10\x03\"*\n\rMessageSource\x12\n\n\x06WRITER\x10\x00\x12\r\n\tPROCESSOR\x10\x01\x42\x11\n\x0f_user_relationsJ\x04\x08\x02\x10\x03J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x1b\x10\x1c\"M\n\x1a\x42rokerMessageBlobReference\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x13\n\x0bstorage_key\x18\x03 \x01(\t\"\x97\x01\n\x14WriterStatusResponse\x12\x16\n\x0eknowledgeboxes\x18\x01 \x03(\t\x12\x39\n\x05msgid\x18\x02 \x03(\x0b\x32*.fdbwriter.WriterStatusResponse.MsgidEntry\x1a,\n\nMsgidEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x15\n\x13WriterStatusRequest\"\x81\x01\n\x17NewEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x99\x01\n\x18NewEntitiesGroupResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32*.fdbwriter.NewEntitiesGroupResponse.Status\"A\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x03\"|\n\x12SetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x8a\x03\n\x1aUpdateEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12;\n\x03\x61\x64\x64\x18\x03 \x03(\x0b\x32..fdbwriter.UpdateEntitiesGroupRequest.AddEntry\x12\x41\n\x06update\x18\x04 \x03(\x0b\x32\x31.fdbwriter.UpdateEntitiesGroupRequest.UpdateEntry\x12\x0e\n\x06\x64\x65lete\x18\x05 \x03(\t\x12\r\n\x05title\x18\x06 \x01(\t\x12\r\n\x05\x63olor\x18\x07 \x01(\t\x1a@\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\x1a\x43\n\x0bUpdateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"\xa9\x01\n\x1bUpdateEntitiesGroupResponse\x12=\n\x06status\x18\x01 \x01(\x0e\x32-.fdbwriter.UpdateEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x03\"E\n\x19ListEntitiesGroupsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\x9b\x02\n\x1aListEntitiesGroupsResponse\x12\x41\n\x06groups\x18\x01 \x03(\x0b\x32\x31.fdbwriter.ListEntitiesGroupsResponse.GroupsEntry\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.fdbwriter.ListEntitiesGroupsResponse.Status\x1aQ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".knowledgebox.EntitiesGroupSummary:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\">\n\x12GetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xa9\x02\n\x13GetEntitiesResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12:\n\x06groups\x18\x02 \x03(\x0b\x32*.fdbwriter.GetEntitiesResponse.GroupsEntry\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32%.fdbwriter.GetEntitiesResponse.Status\x1aJ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"M\n\x12\x44\x65lEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xd9\x01\n\x14MergeEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\x36\n\x04\x66rom\x18\x02 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x12\x34\n\x02to\x18\x03 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x1a)\n\x08\x45ntityID\x12\r\n\x05group\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\"\xb8\x01\n\x11GetLabelsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12$\n\x06labels\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Labels\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32#.fdbwriter.GetLabelsResponse.Status\"\x1e\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\"<\n\x10GetLabelsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"R\n\x17GetEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xf9\x01\n\x18GetEntitiesGroupResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12*\n\x05group\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\x12:\n\x06status\x18\x03 \x01(\x0e\x32*.fdbwriter.GetEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x10\n\x0cKB_NOT_FOUND\x10\x01\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"@\n\x14GetVectorSetsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xd3\x01\n\x15GetVectorSetsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12,\n\nvectorsets\x18\x02 \x01(\x0b\x32\x18.knowledgebox.VectorSets\x12\x37\n\x06status\x18\x03 \x01(\x0e\x32\'.fdbwriter.GetVectorSetsResponse.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"m\n\x0eOpStatusWriter\x12\x30\n\x06status\x18\x01 \x01(\x0e\x32 .fdbwriter.OpStatusWriter.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\"\xd2\x03\n\x0cNotification\x12\x11\n\tpartition\x18\x01 \x01(\x05\x12\r\n\x05multi\x18\x02 \x01(\t\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\x1e.fdbwriter.Notification.Action\x12\x35\n\nwrite_type\x18\x07 \x01(\x0e\x32!.fdbwriter.Notification.WriteType\x12-\n\x07message\x18\x08 \x01(\x0b\x32\x18.fdbwriter.BrokerMessageB\x02\x18\x01\x12-\n\x06source\x18\t \x01(\x0e\x32\x1d.fdbwriter.NotificationSource\x12\x19\n\x11processing_errors\x18\n \x01(\x08\x12\'\n\rmessage_audit\x18\x0b \x01(\x0b\x32\x10.fdbwriter.Audit\",\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\">\n\tWriteType\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0c\n\x08MODIFIED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"\x7f\n\x0bShardObject\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x31\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x15\n\rnidx_shard_id\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"\xc6\x02\n\x06Shards\x12&\n\x06shards\x18\x01 \x03(\x0b\x32\x16.fdbwriter.ShardObject\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12\x12\n\x06\x61\x63tual\x18\x03 \x01(\x05\x42\x02\x18\x01\x12/\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x36\n\x05model\x18\x05 \x01(\x0b\x32#.knowledgebox.SemanticModelMetadataB\x02\x18\x01\x12.\n\x0frelease_channel\x18\x06 \x01(\x0e\x32\x15.utils.ReleaseChannel\x12+\n\x05\x65xtra\x18\x07 \x03(\x0b\x32\x1c.fdbwriter.Shards.ExtraEntry\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\rIndexResource\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0b\n\x03rid\x18\x02 \x01(\t\x12\x17\n\x0freindex_vectors\x18\x03 \x01(\x08\"\r\n\x0bIndexStatus\"\x1f\n\x0fSynonymsRequest\x12\x0c\n\x04kbid\x18\x01 \x01(\t\"\xe1\x03\n\x18NewKnowledgeBoxV2Request\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04slug\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x41\n\nvectorsets\x18\x05 \x03(\x0b\x32-.fdbwriter.NewKnowledgeBoxV2Request.VectorSet\x12R\n\x17\x65xternal_index_provider\x18\x06 \x01(\x0b\x32\x31.knowledgebox.CreateExternalIndexProviderMetadata\x12 \n\x18hidden_resources_enabled\x18\x07 \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x08 \x01(\x08\x12\x17\n\x0fprewarm_enabled\x18\t \x01(\x08\x1a\x87\x01\n\tVectorSet\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x18\n\x10vector_dimension\x18\x03 \x01(\r\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\r\"l\n\x19NewKnowledgeBoxV2Response\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x15\n\rerror_message\x18\x02 \x01(\t\"a\n\nFieldError\x12&\n\x0csource_error\x18\x01 \x01(\x0b\x32\x10.fdbwriter.Error\x12+\n\x07\x63reated\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x94\x01\n\x0b\x46ieldStatus\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.fdbwriter.FieldStatus.Status\x12%\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x15.fdbwriter.FieldError\"/\n\x06Status\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tPROCESSED\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"^\n\rFieldIDStatus\x12\x1e\n\x02id\x18\x01 \x01(\x0b\x32\x12.resources.FieldID\x12-\n\x06status\x18\x02 \x01(\x0e\x32\x1d.fdbwriter.FieldStatus.Status*:\n\x12NotificationSource\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06WRITER\x10\x01\x12\r\n\tPROCESSOR\x10\x02\x32\xa3\x0b\n\x06Writer\x12`\n\x11NewKnowledgeBoxV2\x12#.fdbwriter.NewKnowledgeBoxV2Request\x1a$.fdbwriter.NewKnowledgeBoxV2Response\"\x00\x12^\n\x12\x44\x65leteKnowledgeBox\x12\x1c.knowledgebox.KnowledgeBoxID\x1a(.knowledgebox.DeleteKnowledgeBoxResponse\"\x00\x12\x62\n\x12UpdateKnowledgeBox\x12 .knowledgebox.KnowledgeBoxUpdate\x1a(.knowledgebox.UpdateKnowledgeBoxResponse\"\x00\x12I\n\x0eProcessMessage\x12\x18.fdbwriter.BrokerMessage\x1a\x19.fdbwriter.OpStatusWriter\"\x00(\x01\x12]\n\x10NewEntitiesGroup\x12\".fdbwriter.NewEntitiesGroupRequest\x1a#.fdbwriter.NewEntitiesGroupResponse\"\x00\x12N\n\x0bGetEntities\x12\x1d.fdbwriter.GetEntitiesRequest\x1a\x1e.fdbwriter.GetEntitiesResponse\"\x00\x12]\n\x10GetEntitiesGroup\x12\".fdbwriter.GetEntitiesGroupRequest\x1a#.fdbwriter.GetEntitiesGroupResponse\"\x00\x12\x63\n\x12ListEntitiesGroups\x12$.fdbwriter.ListEntitiesGroupsRequest\x1a%.fdbwriter.ListEntitiesGroupsResponse\"\x00\x12I\n\x0bSetEntities\x12\x1d.fdbwriter.SetEntitiesRequest\x1a\x19.fdbwriter.OpStatusWriter\"\x00\x12\x66\n\x13UpdateEntitiesGroup\x12%.fdbwriter.UpdateEntitiesGroupRequest\x1a&.fdbwriter.UpdateEntitiesGroupResponse\"\x00\x12I\n\x0b\x44\x65lEntities\x12\x1d.fdbwriter.DelEntitiesRequest\x1a\x19.fdbwriter.OpStatusWriter\"\x00\x12K\n\x06Status\x12\x1e.fdbwriter.WriterStatusRequest\x1a\x1f.fdbwriter.WriterStatusResponse\"\x00\x12;\n\x05Index\x12\x18.fdbwriter.IndexResource\x1a\x16.fdbwriter.IndexStatus\"\x00\x12=\n\x07ReIndex\x12\x18.fdbwriter.IndexResource\x1a\x16.fdbwriter.IndexStatus\"\x00\x12M\n\x0c\x43reateBackup\x12\x1c.backups.CreateBackupRequest\x1a\x1d.backups.CreateBackupResponse\"\x00\x12M\n\x0c\x44\x65leteBackup\x12\x1c.backups.DeleteBackupRequest\x1a\x1d.backups.DeleteBackupResponse\"\x00\x12P\n\rRestoreBackup\x12\x1d.backups.RestoreBackupRequest\x1a\x1e.backups.RestoreBackupResponse\"\x00P\x01P\x02P\x03P\x04\x62\x06proto3')
|
|
45
45
|
|
|
46
46
|
_globals = globals()
|
|
47
47
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -80,8 +80,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
80
80
|
_globals['_SHARDS'].fields_by_name['similarity']._serialized_options = b'\030\001'
|
|
81
81
|
_globals['_SHARDS'].fields_by_name['model']._loaded_options = None
|
|
82
82
|
_globals['_SHARDS'].fields_by_name['model']._serialized_options = b'\030\001'
|
|
83
|
-
_globals['_NOTIFICATIONSOURCE']._serialized_start=
|
|
84
|
-
_globals['_NOTIFICATIONSOURCE']._serialized_end=
|
|
83
|
+
_globals['_NOTIFICATIONSOURCE']._serialized_start=8298
|
|
84
|
+
_globals['_NOTIFICATIONSOURCE']._serialized_end=8356
|
|
85
85
|
_globals['_AUDIT']._serialized_start=206
|
|
86
86
|
_globals['_AUDIT']._serialized_end=551
|
|
87
87
|
_globals['_AUDIT_SOURCE']._serialized_start=505
|
|
@@ -201,19 +201,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
201
201
|
_globals['_SYNONYMSREQUEST']._serialized_start=7325
|
|
202
202
|
_globals['_SYNONYMSREQUEST']._serialized_end=7356
|
|
203
203
|
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_start=7359
|
|
204
|
-
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_end=
|
|
205
|
-
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_start=
|
|
206
|
-
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_end=
|
|
207
|
-
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_start=
|
|
208
|
-
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_end=
|
|
209
|
-
_globals['_FIELDERROR']._serialized_start=
|
|
210
|
-
_globals['_FIELDERROR']._serialized_end=
|
|
211
|
-
_globals['_FIELDSTATUS']._serialized_start=
|
|
212
|
-
_globals['_FIELDSTATUS']._serialized_end=
|
|
213
|
-
_globals['_FIELDSTATUS_STATUS']._serialized_start=
|
|
214
|
-
_globals['_FIELDSTATUS_STATUS']._serialized_end=
|
|
215
|
-
_globals['_FIELDIDSTATUS']._serialized_start=
|
|
216
|
-
_globals['_FIELDIDSTATUS']._serialized_end=
|
|
217
|
-
_globals['_WRITER']._serialized_start=
|
|
218
|
-
_globals['_WRITER']._serialized_end=
|
|
204
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_end=7840
|
|
205
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_start=7705
|
|
206
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_end=7840
|
|
207
|
+
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_start=7842
|
|
208
|
+
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_end=7950
|
|
209
|
+
_globals['_FIELDERROR']._serialized_start=7952
|
|
210
|
+
_globals['_FIELDERROR']._serialized_end=8049
|
|
211
|
+
_globals['_FIELDSTATUS']._serialized_start=8052
|
|
212
|
+
_globals['_FIELDSTATUS']._serialized_end=8200
|
|
213
|
+
_globals['_FIELDSTATUS_STATUS']._serialized_start=8153
|
|
214
|
+
_globals['_FIELDSTATUS_STATUS']._serialized_end=8200
|
|
215
|
+
_globals['_FIELDIDSTATUS']._serialized_start=8202
|
|
216
|
+
_globals['_FIELDIDSTATUS']._serialized_end=8296
|
|
217
|
+
_globals['_WRITER']._serialized_start=8359
|
|
218
|
+
_globals['_WRITER']._serialized_end=9802
|
|
219
219
|
# @@protoc_insertion_point(module_scope)
|
nucliadb_protos/writer_pb2.pyi
CHANGED
|
@@ -1534,12 +1534,18 @@ class NewKnowledgeBoxV2Request(google.protobuf.message.Message):
|
|
|
1534
1534
|
EXTERNAL_INDEX_PROVIDER_FIELD_NUMBER: builtins.int
|
|
1535
1535
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
1536
1536
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
1537
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
1537
1538
|
kbid: builtins.str
|
|
1538
1539
|
slug: builtins.str
|
|
1539
1540
|
title: builtins.str
|
|
1540
1541
|
description: builtins.str
|
|
1541
1542
|
hidden_resources_enabled: builtins.bool
|
|
1542
1543
|
hidden_resources_hide_on_creation: builtins.bool
|
|
1544
|
+
prewarm_enabled: builtins.bool
|
|
1545
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
1546
|
+
this flag allow faster searches (with less cold start) but it is
|
|
1547
|
+
expensive on the infrastructure
|
|
1548
|
+
"""
|
|
1543
1549
|
@property
|
|
1544
1550
|
def vectorsets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NewKnowledgeBoxV2Request.VectorSet]: ...
|
|
1545
1551
|
@property
|
|
@@ -1555,9 +1561,10 @@ class NewKnowledgeBoxV2Request(google.protobuf.message.Message):
|
|
|
1555
1561
|
external_index_provider: nucliadb_protos.knowledgebox_pb2.CreateExternalIndexProviderMetadata | None = ...,
|
|
1556
1562
|
hidden_resources_enabled: builtins.bool = ...,
|
|
1557
1563
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
1564
|
+
prewarm_enabled: builtins.bool = ...,
|
|
1558
1565
|
) -> None: ...
|
|
1559
1566
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
1560
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "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", "kbid", b"kbid", "slug", b"slug", "title", b"title", "vectorsets", b"vectorsets"]) -> None: ...
|
|
1567
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "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", "kbid", b"kbid", "prewarm_enabled", b"prewarm_enabled", "slug", b"slug", "title", b"title", "vectorsets", b"vectorsets"]) -> None: ...
|
|
1561
1568
|
|
|
1562
1569
|
global___NewKnowledgeBoxV2Request = NewKnowledgeBoxV2Request
|
|
1563
1570
|
|
{nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/METADATA
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nucliadb_protos
|
|
3
|
-
Version: 6.9.
|
|
3
|
+
Version: 6.9.3.post5327
|
|
4
4
|
Summary: Protobuf definitions for nucliadb
|
|
5
5
|
Author-Email: Nuclia <nucliadb@nuclia.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
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,7 +13,7 @@ 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
|
Requires-Dist: protobuf>=5
|
|
19
18
|
Requires-Dist: mypy-protobuf>=3.4.0
|
|
20
19
|
Requires-Dist: types-protobuf>=5
|
{nucliadb_protos-6.9.0.post5134.dist-info → nucliadb_protos-6.9.3.post5327.dist-info}/RECORD
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
|
|
2
2
|
build.py,sha256=h-aaVtinmScEf_OztPYidglweRx8SEu5yrFmu6NGDt4,1988
|
|
3
|
-
nucliadb_protos-6.9.
|
|
4
|
-
nucliadb_protos-6.9.
|
|
5
|
-
nucliadb_protos-6.9.
|
|
3
|
+
nucliadb_protos-6.9.3.post5327.dist-info/METADATA,sha256=kkf2eSCYO4lGgdr9a506mI9IYbTG7uhPQ0R9u_4lDw4,779
|
|
4
|
+
nucliadb_protos-6.9.3.post5327.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
5
|
+
nucliadb_protos-6.9.3.post5327.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
6
6
|
nucliadb_protos/audit_pb2.py,sha256=eh2rN_iVpDTJkHsqgc7jz3TSTBu6dgj5XCQQPj0ZH0E,8908
|
|
7
7
|
nucliadb_protos/audit_pb2.pyi,sha256=kIPFiMONnk5dO1YpPXsX4euADG8JR6waHfESSX5qQ7g,22719
|
|
8
8
|
nucliadb_protos/backups_pb2.py,sha256=CYNHQ6u2m6LBTuzdCwvc3L3SotD2dbOE1w8D_0CwidU,3676
|
|
@@ -13,8 +13,8 @@ nucliadb_protos/dataset_pb2.py,sha256=kci_RjD_fQlfS7_lZKypmNruKkrVA_hUGTFkMv2Tg7
|
|
|
13
13
|
nucliadb_protos/dataset_pb2.pyi,sha256=rzzXFjtp8FvBsEmo5gOAwbyOEdFZR1JKSmlKhrwvDzQ,22184
|
|
14
14
|
nucliadb_protos/kb_usage_pb2.py,sha256=8T2t7lF-iWBFPWc2bs8tspDB9MR8jQEqDuus-_9RYp0,6360
|
|
15
15
|
nucliadb_protos/kb_usage_pb2.pyi,sha256=egxQoXOLDUcuOpYnkNIyk698rKGeopRBtKX6brhglH8,16321
|
|
16
|
-
nucliadb_protos/knowledgebox_pb2.py,sha256=
|
|
17
|
-
nucliadb_protos/knowledgebox_pb2.pyi,sha256=
|
|
16
|
+
nucliadb_protos/knowledgebox_pb2.py,sha256=baeShHIUVCmuyOBahIzVmIBX_hyw-glTl6ula05_KE0,16902
|
|
17
|
+
nucliadb_protos/knowledgebox_pb2.pyi,sha256=uudOC-qhcCaLpHD3gerGfvw-rFnPSd_ROx3DFFnUqrM,41321
|
|
18
18
|
nucliadb_protos/migrations_pb2.py,sha256=SRLR8yH9stiYQJ6fLFBgsj7h_5quH6OEx8Y1EtyfQBY,1407
|
|
19
19
|
nucliadb_protos/migrations_pb2.pyi,sha256=K1doWaVBMDlpF1pHBdZd97AZKBKynJz6C7uHDYhaJs4,844
|
|
20
20
|
nucliadb_protos/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -30,8 +30,8 @@ nucliadb_protos/train_pb2_grpc.py,sha256=IZAwhOzKrbrVZSq55_45TIm3BywGmlWmWVM3iad
|
|
|
30
30
|
nucliadb_protos/train_pb2_grpc.pyi,sha256=xwnOzwgSnbVol4Wvbe9TeGAM3jGbu2PzfoN94Ltyt2M,12122
|
|
31
31
|
nucliadb_protos/utils_pb2.py,sha256=DjWGFcZquXuJoG-wRSMxKUT0OExc9NaYvoT_w4lqFbc,7076
|
|
32
32
|
nucliadb_protos/utils_pb2.pyi,sha256=_ebOQU711CHIpXRQ9nJ4Z1I410wVVSYmcrgU1Cw1B-o,18970
|
|
33
|
-
nucliadb_protos/writer_pb2.py,sha256=
|
|
34
|
-
nucliadb_protos/writer_pb2.pyi,sha256=
|
|
33
|
+
nucliadb_protos/writer_pb2.py,sha256=cJ6ozTmKkIjp5CCKBw9seGosEGHuoCJM0AsHW_l4l3s,28530
|
|
34
|
+
nucliadb_protos/writer_pb2.pyi,sha256=xQtUb6QraiZssqqzuJdxFNq1B7zFOcoj0XF8I3fVLGg,72586
|
|
35
35
|
nucliadb_protos/writer_pb2_grpc.py,sha256=08SyrUd6XU-JepqNQYtyf1S0-UWRIrXLTC32CJyP0cE,33238
|
|
36
36
|
nucliadb_protos/writer_pb2_grpc.pyi,sha256=piJyjPCvEfscBGEhF1AoFCE0R5fgt1y2w38_2IxKKa8,17638
|
|
37
|
-
nucliadb_protos-6.9.
|
|
37
|
+
nucliadb_protos-6.9.3.post5327.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|