nucliadb-protos 6.8.1.post4961__py3-none-any.whl → 6.9.5.post5393__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/dataset_pb2.pyi +2 -0
- nucliadb_protos/kb_usage_pb2.py +6 -6
- nucliadb_protos/kb_usage_pb2.pyi +2 -0
- nucliadb_protos/knowledgebox_pb2.py +76 -76
- nucliadb_protos/knowledgebox_pb2.pyi +8 -1
- nucliadb_protos/resources_pb2.py +168 -160
- nucliadb_protos/resources_pb2.pyi +53 -5
- nucliadb_protos/train_pb2.pyi +2 -0
- nucliadb_protos/train_pb2_grpc.pyi +2 -0
- nucliadb_protos/writer_pb2.py +18 -18
- nucliadb_protos/writer_pb2.pyi +14 -3
- nucliadb_protos/writer_pb2_grpc.pyi +2 -0
- {nucliadb_protos-6.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.dist-info}/METADATA +2 -3
- {nucliadb_protos-6.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.dist-info}/RECORD +16 -16
- {nucliadb_protos-6.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.dist-info}/WHEEL +1 -1
- {nucliadb_protos-6.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.dist-info}/entry_points.txt +0 -0
nucliadb_protos/dataset_pb2.pyi
CHANGED
|
@@ -81,6 +81,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
81
81
|
Representation as Representation,
|
|
82
82
|
RowsPreview as RowsPreview,
|
|
83
83
|
Sentence as Sentence,
|
|
84
|
+
SplitMetadata as SplitMetadata,
|
|
85
|
+
SplitsMetadata as SplitsMetadata,
|
|
84
86
|
TEXT as TEXT,
|
|
85
87
|
UserFieldMetadata as UserFieldMetadata,
|
|
86
88
|
UserMetadata as UserMetadata,
|
nucliadb_protos/kb_usage_pb2.py
CHANGED
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1enucliadb_protos/kb_usage.proto\x12\x08kb_usage\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x01\n\x07Process\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12\x1c\n\x14slow_processing_time\x18\x02 \x01(\x02\x12\x1b\n\x13pre_processing_time\x18\x03 \x01(\x02\x12\r\n\x05\x62ytes\x18\x04 \x01(\x04\x12\r\n\x05\x63hars\x18\x05 \x01(\r\x12\x15\n\rmedia_seconds\x18\x06 \x01(\r\x12\r\n\x05pages\x18\x07 \x01(\r\x12\x12\n\nparagraphs\x18\x08 \x01(\r\x12\x17\n\x0bmedia_files\x18\t \x01(\rB\x02\x18\x01\x12\x15\n\rnum_processed\x18\n \x01(\r\"\x95\x01\n\x07Storage\x12\x17\n\nparagraphs\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06\x66ields\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x16\n\tresources\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12\x12\n\x05\x62ytes\x18\x04 \x01(\x04H\x03\x88\x01\x01\x42\r\n\x0b_paragraphsB\t\n\x07_fieldsB\x0c\n\n_resourcesB\x08\n\x06_bytes\"x\n\x06Search\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12\"\n\x04type\x18\x02 \x01(\x0e\x32\x14.kb_usage.SearchType\x12\x0e\n\x06tokens\x18\x03 \x01(\r\x12\x14\n\x0cnum_searches\x18\x04 \x01(\r\"\xbd\x01\n\x07Predict\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.kb_usage.PredictType\x12\r\n\x05model\x18\x03 \x01(\t\x12\r\n\x05input\x18\x04 \x01(\r\x12\x0e\n\x06output\x18\x05 \x01(\r\x12\r\n\x05image\x18\x06 \x01(\r\x12\x14\n\x0cnum_predicts\x18\x07 \x01(\r\x12\x14\n\x0c\x63ustomer_key\x18\x08 \x01(\x08\"L\n\x10\x41\x63tivityLogMatch\x12\n\n\x02id\x18\x01 \x01(\t\x12,\n\x04type\x18\x02 \x01(\x0e\x32\x1e.kb_usage.ActivityLogMatchType\"\xc1\x03\n\x07KbUsage\x12\"\n\x07service\x18\x01 \x01(\x0e\x32\x11.kb_usage.Service\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\naccount_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05kb_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x12%\n\tkb_source\x18\x05 \x01(\x0e\x32\x12.kb_usage.KBSource\x12;\n\x12\x61\x63tivity_log_match\x18\n \x01(\x0b\x32\x1a.kb_usage.ActivityLogMatchH\x02\x88\x01\x01\x12$\n\tprocesses\x18\x06 \x03(\x0b\x32\x11.kb_usage.Process\x12#\n\x08predicts\x18\x07 \x03(\x0b\x32\x11.kb_usage.Predict\x12\"\n\x08searches\x18\x08 \x03(\x0b\x32\x10.kb_usage.Search\x12\'\n\x07storage\x18\t \x01(\x0b\x32\x11.kb_usage.StorageH\x03\x88\x01\x01\x42\r\n\x0b_account_idB\x08\n\x06_kb_idB\x15\n\x13_activity_log_matchB\n\n\x08_storage\"9\n\x11KbUsageAggregated\x12$\n\tkb_usages\x18\x01 \x03(\x0b\x32\x11.kb_usage.KbUsage*\"\n\x08KBSource\x12\n\n\x06HOSTED\x10\x00\x12\n\n\x06ONPREM\x10\x01*U\n\x07Service\x12\x0b\n\x07PREDICT\x10\x00\x12\x0e\n\nPROCESSING\x10\x01\x12\r\n\tNUCLIA_DB\x10\x02\x12\x08\n\x04TASK\x10\x03\x12\x14\n\x10PREDICT_INTERNAL\x10\x04*%\n\nSearchType\x12\n\n\x06SEARCH\x10\x00\x12\x0b\n\x07SUGGEST\x10\x01*\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1enucliadb_protos/kb_usage.proto\x12\x08kb_usage\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x01\n\x07Process\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12\x1c\n\x14slow_processing_time\x18\x02 \x01(\x02\x12\x1b\n\x13pre_processing_time\x18\x03 \x01(\x02\x12\r\n\x05\x62ytes\x18\x04 \x01(\x04\x12\r\n\x05\x63hars\x18\x05 \x01(\r\x12\x15\n\rmedia_seconds\x18\x06 \x01(\r\x12\r\n\x05pages\x18\x07 \x01(\r\x12\x12\n\nparagraphs\x18\x08 \x01(\r\x12\x17\n\x0bmedia_files\x18\t \x01(\rB\x02\x18\x01\x12\x15\n\rnum_processed\x18\n \x01(\r\"\x95\x01\n\x07Storage\x12\x17\n\nparagraphs\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x13\n\x06\x66ields\x18\x02 \x01(\x04H\x01\x88\x01\x01\x12\x16\n\tresources\x18\x03 \x01(\x04H\x02\x88\x01\x01\x12\x12\n\x05\x62ytes\x18\x04 \x01(\x04H\x03\x88\x01\x01\x42\r\n\x0b_paragraphsB\t\n\x07_fieldsB\x0c\n\n_resourcesB\x08\n\x06_bytes\"x\n\x06Search\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12\"\n\x04type\x18\x02 \x01(\x0e\x32\x14.kb_usage.SearchType\x12\x0e\n\x06tokens\x18\x03 \x01(\r\x12\x14\n\x0cnum_searches\x18\x04 \x01(\r\"\xbd\x01\n\x07Predict\x12$\n\x06\x63lient\x18\x01 \x01(\x0e\x32\x14.kb_usage.ClientType\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.kb_usage.PredictType\x12\r\n\x05model\x18\x03 \x01(\t\x12\r\n\x05input\x18\x04 \x01(\r\x12\x0e\n\x06output\x18\x05 \x01(\r\x12\r\n\x05image\x18\x06 \x01(\r\x12\x14\n\x0cnum_predicts\x18\x07 \x01(\r\x12\x14\n\x0c\x63ustomer_key\x18\x08 \x01(\x08\"L\n\x10\x41\x63tivityLogMatch\x12\n\n\x02id\x18\x01 \x01(\t\x12,\n\x04type\x18\x02 \x01(\x0e\x32\x1e.kb_usage.ActivityLogMatchType\"\xc1\x03\n\x07KbUsage\x12\"\n\x07service\x18\x01 \x01(\x0e\x32\x11.kb_usage.Service\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x17\n\naccount_id\x18\x03 \x01(\tH\x00\x88\x01\x01\x12\x12\n\x05kb_id\x18\x04 \x01(\tH\x01\x88\x01\x01\x12%\n\tkb_source\x18\x05 \x01(\x0e\x32\x12.kb_usage.KBSource\x12;\n\x12\x61\x63tivity_log_match\x18\n \x01(\x0b\x32\x1a.kb_usage.ActivityLogMatchH\x02\x88\x01\x01\x12$\n\tprocesses\x18\x06 \x03(\x0b\x32\x11.kb_usage.Process\x12#\n\x08predicts\x18\x07 \x03(\x0b\x32\x11.kb_usage.Predict\x12\"\n\x08searches\x18\x08 \x03(\x0b\x32\x10.kb_usage.Search\x12\'\n\x07storage\x18\t \x01(\x0b\x32\x11.kb_usage.StorageH\x03\x88\x01\x01\x42\r\n\x0b_account_idB\x08\n\x06_kb_idB\x15\n\x13_activity_log_matchB\n\n\x08_storage\"9\n\x11KbUsageAggregated\x12$\n\tkb_usages\x18\x01 \x03(\x0b\x32\x11.kb_usage.KbUsage*\"\n\x08KBSource\x12\n\n\x06HOSTED\x10\x00\x12\n\n\x06ONPREM\x10\x01*U\n\x07Service\x12\x0b\n\x07PREDICT\x10\x00\x12\x0e\n\nPROCESSING\x10\x01\x12\r\n\tNUCLIA_DB\x10\x02\x12\x08\n\x04TASK\x10\x03\x12\x14\n\x10PREDICT_INTERNAL\x10\x04*%\n\nSearchType\x12\n\n\x06SEARCH\x10\x00\x12\x0b\n\x07SUGGEST\x10\x01*\xac\x02\n\x0bPredictType\x12\x0c\n\x08SENTENCE\x10\x00\x12\t\n\x05TOKEN\x10\x01\x12\x13\n\x0fQUESTION_ANSWER\x10\x02\x12\x0c\n\x08REPHRASE\x10\x03\x12\x16\n\x12RETRIEVAL_REPHRASE\x10\x10\x12\r\n\tSUMMARIZE\x10\x04\x12\x12\n\x0e\x45XTRACT_TABLES\x10\x05\x12\n\n\x06RERANK\x10\x06\x12\r\n\tRELATIONS\x10\x07\x12\n\n\x06SPEECH\x10\x08\x12\x0b\n\x07\x43\x41PTION\x10\t\x12\r\n\tDA_LABELS\x10\n\x12\x0c\n\x08\x44\x41_GRAPH\x10\x0b\x12\n\n\x06\x44\x41_ASK\x10\x0c\x12\t\n\x05\x44\x41_QA\x10\r\x12\x0c\n\x08\x44\x41_GUARD\x10\x0e\x12\x08\n\x04REMI\x10\x0f\x12\x13\n\x0fVLLM_EXTRACTION\x10\x11\x12\x11\n\rLLM_SPLITTING\x10\x12*j\n\nClientType\x12\x07\n\x03\x41PI\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\n\n\x06WIDGET\x10\x02\x12\x0b\n\x07\x44\x45SKTOP\x10\x03\x12\r\n\tDASHBOARD\x10\x04\x12\x14\n\x10\x43HROME_EXTENSION\x10\x05\x12\x0c\n\x08INTERNAL\x10\x06*L\n\x14\x41\x63tivityLogMatchType\x12\x0c\n\x08TRACE_ID\x10\x00\x12\x11\n\rPROCESSING_ID\x10\x01\x12\x13\n\x0f\x41\x43TIVITY_LOG_ID\x10\x02\x62\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,11 +41,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_SEARCHTYPE']._serialized_start=1500
|
|
42
42
|
_globals['_SEARCHTYPE']._serialized_end=1537
|
|
43
43
|
_globals['_PREDICTTYPE']._serialized_start=1540
|
|
44
|
-
_globals['_PREDICTTYPE']._serialized_end=
|
|
45
|
-
_globals['_CLIENTTYPE']._serialized_start=
|
|
46
|
-
_globals['_CLIENTTYPE']._serialized_end=
|
|
47
|
-
_globals['_ACTIVITYLOGMATCHTYPE']._serialized_start=
|
|
48
|
-
_globals['_ACTIVITYLOGMATCHTYPE']._serialized_end=
|
|
44
|
+
_globals['_PREDICTTYPE']._serialized_end=1840
|
|
45
|
+
_globals['_CLIENTTYPE']._serialized_start=1842
|
|
46
|
+
_globals['_CLIENTTYPE']._serialized_end=1948
|
|
47
|
+
_globals['_ACTIVITYLOGMATCHTYPE']._serialized_start=1950
|
|
48
|
+
_globals['_ACTIVITYLOGMATCHTYPE']._serialized_end=2026
|
|
49
49
|
_globals['_PROCESS']._serialized_start=78
|
|
50
50
|
_globals['_PROCESS']._serialized_end=320
|
|
51
51
|
_globals['_STORAGE']._serialized_start=323
|
nucliadb_protos/kb_usage_pb2.pyi
CHANGED
|
@@ -95,6 +95,7 @@ class _PredictTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._En
|
|
|
95
95
|
DA_GUARD: _PredictType.ValueType # 14
|
|
96
96
|
REMI: _PredictType.ValueType # 15
|
|
97
97
|
VLLM_EXTRACTION: _PredictType.ValueType # 17
|
|
98
|
+
LLM_SPLITTING: _PredictType.ValueType # 18
|
|
98
99
|
|
|
99
100
|
class PredictType(_PredictType, metaclass=_PredictTypeEnumTypeWrapper): ...
|
|
100
101
|
|
|
@@ -116,6 +117,7 @@ DA_QA: PredictType.ValueType # 13
|
|
|
116
117
|
DA_GUARD: PredictType.ValueType # 14
|
|
117
118
|
REMI: PredictType.ValueType # 15
|
|
118
119
|
VLLM_EXTRACTION: PredictType.ValueType # 17
|
|
120
|
+
LLM_SPLITTING: PredictType.ValueType # 18
|
|
119
121
|
global___PredictType = PredictType
|
|
120
122
|
|
|
121
123
|
class _ClientType:
|
|
@@ -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/resources_pb2.py
CHANGED
|
@@ -28,7 +28,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
|
28
28
|
|
|
29
29
|
from nucliadb_protos.utils_pb2 import *
|
|
30
30
|
|
|
31
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnucliadb_protos/resources.proto\x12\tresources\x1a\x1bnucliadb_protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xfb\x02\n\tCloudFile\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\x12\x14\n\x0c\x63ontent_type\x18\x03 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x04 \x01(\t\x12+\n\x06source\x18\x05 \x01(\x0e\x32\x1b.resources.CloudFile.Source\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x15\n\rresumable_uri\x18\x07 \x01(\t\x12\x0e\n\x06offset\x18\x08 \x01(\x04\x12\x12\n\nupload_uri\x18\t \x01(\t\x12\r\n\x05parts\x18\n \x03(\t\x12\x0f\n\x07old_uri\x18\x0b \x01(\t\x12\x12\n\nold_bucket\x18\x0c \x01(\t\x12\x0b\n\x03md5\x18\r \x01(\t\"m\n\x06Source\x12\t\n\x05\x46LAPS\x10\x00\x12\x07\n\x03GCS\x10\x01\x12\x06\n\x02S3\x10\x02\x12\t\n\x05LOCAL\x10\x03\x12\x0c\n\x08\x45XTERNAL\x10\x04\x12\t\n\x05\x45MPTY\x10\x05\x12\n\n\x06\x45XPORT\x10\x06\x12\x0c\n\x08POSTGRES\x10\x07\x12\t\n\x05\x41ZURE\x10\x08\"\xd9\x04\n\x05\x42\x61sic\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04icon\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x12\x11\n\tthumbnail\x18\x05 \x01(\t\x12\x12\n\x06layout\x18\x06 \x01(\tB\x02\x18\x01\x12+\n\x07\x63reated\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08modified\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x08metadata\x18\t \x01(\x0b\x32\x13.resources.Metadata\x12-\n\x0cusermetadata\x18\n \x01(\x0b\x32\x17.resources.UserMetadata\x12\x33\n\rfieldmetadata\x18\x0b \x03(\x0b\x32\x1c.resources.UserFieldMetadata\x12\x35\n\x10\x63omputedmetadata\x18\x0f \x01(\x0b\x32\x1b.resources.ComputedMetadata\x12\x0c\n\x04uuid\x18\x0c \x01(\t\x12\x0e\n\x06labels\x18\r \x03(\t\x12\x12\n\nlast_seqid\x18\x0e \x01(\x03\x12\x18\n\x10last_account_seq\x18# \x01(\x03\x12)\n\x05queue\x18$ \x01(\x0e\x32\x1a.resources.Basic.QueueType\x12\x13\n\x06hidden\x18% \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x0breset_title\x18& \x01(\x08\"$\n\tQueueType\x12\x0b\n\x07PRIVATE\x10\x00\x12\n\n\x06SHARED\x10\x01\x42\t\n\x07_hidden\"\x8f\x03\n\x06Origin\x12(\n\x06source\x18\x01 \x01(\x0e\x32\x18.resources.Origin.Source\x12\x11\n\tsource_id\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12+\n\x07\x63reated\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08modified\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\x08metadata\x18\x06 \x03(\x0b\x32\x1f.resources.Origin.MetadataEntry\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x14\n\x0c\x63olaborators\x18\x08 \x03(\t\x12\x10\n\x08\x66ilename\x18\t \x01(\t\x12\x0f\n\x07related\x18\n \x03(\t\x12\x0c\n\x04path\x18\x0b \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x06Source\x12\x07\n\x03WEB\x10\x00\x12\x0b\n\x07\x44\x45SKTOP\x10\x01\x12\x07\n\x03\x41PI\x10\x02\"2\n\x05\x45xtra\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"/\n\tRelations\x12\"\n\trelations\x18\x01 \x03(\x0b\x32\x0f.utils.Relation\"U\n\x08\x46ieldRef\x12(\n\nfield_type\x18\x01 \x01(\x0e\x32\x14.resources.FieldType\x12\x10\n\x08\x66ield_id\x18\x02 \x01(\t\x12\r\n\x05split\x18\x03 \x01(\t\"\xff\x01\n\x0eMessageContent\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x30\n\x06\x66ormat\x18\x02 \x01(\x0e\x32 .resources.MessageContent.Format\x12)\n\x0b\x61ttachments\x18\x04 \x03(\x0b\x32\x14.resources.CloudFile\x12/\n\x12\x61ttachments_fields\x18\x05 \x03(\x0b\x32\x13.resources.FieldRef\"Q\n\x06\x46ormat\x12\t\n\x05PLAIN\x10\x00\x12\x08\n\x04HTML\x10\x01\x12\x0c\n\x08MARKDOWN\x10\x02\x12\x07\n\x03RST\x10\x03\x12\x11\n\rKEEP_MARKDOWN\x10\x04\x12\x08\n\x04JSON\x10\x05\"\xee\x01\n\x07Message\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0b\n\x03who\x18\x02 \x01(\t\x12\n\n\x02to\x18\x03 \x03(\t\x12*\n\x07\x63ontent\x18\x04 \x01(\x0b\x32\x19.resources.MessageContent\x12\r\n\x05ident\x18\x05 \x01(\t\x12,\n\x04type\x18\x06 \x01(\x0e\x32\x1e.resources.Message.MessageType\"2\n\x0bMessageType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08QUESTION\x10\x01\x12\n\n\x06\x41NSWER\x10\x02\"f\n\x0c\x43onversation\x12$\n\x08messages\x18\x01 \x03(\x0b\x32\x12.resources.Message\x12\x18\n\x10\x65xtract_strategy\x18\x02 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x03 \x01(\t\"q\n\x11\x46ieldConversation\x12\r\n\x05pages\x18\x01 \x01(\x05\x12\x0c\n\x04size\x18\x02 \x01(\x05\x12\r\n\x05total\x18\x03 \x01(\x05\x12\x18\n\x10\x65xtract_strategy\x18\x04 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x05 \x01(\t\":\n\x0eNestedPosition\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\x12\x0c\n\x04page\x18\x03 \x01(\x03\"B\n\x12NestedListPosition\x12,\n\tpositions\x18\x01 \x03(\x0b\x32\x19.resources.NestedPosition\"\xc8\x08\n\x11\x46ileExtractedData\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0b\n\x03md5\x18\x02 \x01(\t\x12<\n\x08metadata\x18\x03 \x03(\x0b\x32*.resources.FileExtractedData.MetadataEntry\x12\x38\n\x06nested\x18\x04 \x03(\x0b\x32(.resources.FileExtractedData.NestedEntry\x12G\n\x0e\x66ile_generated\x18\x05 \x03(\x0b\x32/.resources.FileExtractedData.FileGeneratedEntry\x12N\n\x12\x66ile_rows_previews\x18\x06 \x03(\x0b\x32\x32.resources.FileExtractedData.FileRowsPreviewsEntry\x12*\n\x0c\x66ile_preview\x18\x07 \x01(\x0b\x32\x14.resources.CloudFile\x12\x31\n\x13\x66ile_pages_previews\x18\x08 \x01(\x0b\x32\x14.resources.FilePages\x12,\n\x0e\x66ile_thumbnail\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\r\n\x05\x66ield\x18\n \x01(\t\x12\x0c\n\x04icon\x18\x0b \x01(\t\x12M\n\x0fnested_position\x18\x0c \x03(\x0b\x32\x30.resources.FileExtractedData.NestedPositionEntryB\x02\x18\x01\x12R\n\x14nested_list_position\x18\r \x03(\x0b\x32\x34.resources.FileExtractedData.NestedListPositionEntry\x12\r\n\x05title\x18\x0e \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bNestedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x12\x46ileGeneratedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile:\x02\x38\x01\x1aO\n\x15\x46ileRowsPreviewsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.resources.RowsPreview:\x02\x38\x01\x1aP\n\x13NestedPositionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.resources.NestedPosition:\x02\x38\x01\x1aX\n\x17NestedListPositionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.resources.NestedListPosition:\x02\x38\x01\"\xd8\x04\n\x11LinkExtractedData\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08language\x18\x02 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12<\n\x08metadata\x18\x05 \x03(\x0b\x32*.resources.LinkExtractedData.MetadataEntry\x12,\n\x0elink_thumbnail\x18\x06 \x01(\x0b\x32\x14.resources.CloudFile\x12*\n\x0clink_preview\x18\x07 \x01(\x0b\x32\x14.resources.CloudFile\x12\r\n\x05\x66ield\x18\x08 \x01(\t\x12(\n\nlink_image\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12\x0c\n\x04type\x18\x0b \x01(\t\x12\r\n\x05\x65mbed\x18\x0c \x01(\t\x12/\n\rpdf_structure\x18\r \x01(\x0b\x32\x18.resources.PageStructure\x12G\n\x0e\x66ile_generated\x18\x0e \x03(\x0b\x32/.resources.LinkExtractedData.FileGeneratedEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x12\x46ileGeneratedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile:\x02\x38\x01\"\x95\x01\n\x14\x45xtractedTextWrapper\x12$\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x14.utils.ExtractedTextH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"\xb0\x01\n\x17\x45xtractedVectorsWrapper\x12&\n\x07vectors\x18\x01 \x01(\x0b\x32\x13.utils.VectorObjectH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldID\x12\x14\n\x0cvectorset_id\x18\x04 \x01(\tB\x0e\n\x0c\x66ile_or_data\"\xfd\x01\n\x12UserVectorsWrapper\x12%\n\x07vectors\x18\x01 \x01(\x0b\x32\x14.utils.UserVectorSet\x12M\n\x11vectors_to_delete\x18\r \x03(\x0b\x32\x32.resources.UserVectorsWrapper.VectorsToDeleteEntry\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldID\x1aN\n\x14VectorsToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.utils.UserVectorsList:\x02\x38\x01\"3\n\x08Sentence\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0b\n\x03key\x18\x03 \x01(\t\"9\n\x0fPageInformation\x12\x0c\n\x04page\x18\x01 \x01(\r\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\"<\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x16\n\x0ereference_file\x18\x02 \x01(\t\"M\n\x12ParagraphRelations\x12\x0f\n\x07parents\x18\x01 \x03(\t\x12\x10\n\x08siblings\x18\x02 \x03(\t\x12\x14\n\x0creplacements\x18\x03 \x03(\t\"\xf5\x03\n\tParagraph\x12\r\n\x05start\x18\x01 \x01(\r\x12\x0b\n\x03\x65nd\x18\x02 \x01(\r\x12\x15\n\rstart_seconds\x18\x03 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x04 \x03(\r\x12\x30\n\x04kind\x18\x05 \x01(\x0e\x32\".resources.Paragraph.TypeParagraph\x12\x32\n\x0f\x63lassifications\x18\x06 \x03(\x0b\x32\x19.resources.Classification\x12&\n\tsentences\x18\x07 \x03(\x0b\x32\x13.resources.Sentence\x12\x0b\n\x03key\x18\x08 \x01(\t\x12\x0c\n\x04text\x18\t \x01(\t\x12(\n\x04page\x18\n \x01(\x0b\x32\x1a.resources.PageInformation\x12\x31\n\x0erepresentation\x18\x0b \x01(\x0b\x32\x19.resources.Representation\x12\x30\n\trelations\x18\x0c \x01(\x0b\x32\x1d.resources.ParagraphRelations\"h\n\rTypeParagraph\x12\x08\n\x04TEXT\x10\x00\x12\x07\n\x03OCR\x10\x01\x12\r\n\tINCEPTION\x10\x02\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x03\x12\x0e\n\nTRANSCRIPT\x10\x04\x12\t\n\x05TITLE\x10\x05\x12\t\n\x05TABLE\x10\x06\"&\n\x08Position\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\"B\n\tPositions\x12%\n\x08position\x18\x01 \x03(\x0b\x32\x13.resources.Position\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\"R\n\x0b\x46ieldEntity\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12&\n\tpositions\x18\x03 \x03(\x0b\x32\x13.resources.Position\"9\n\rFieldEntities\x12(\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x16.resources.FieldEntity\"\xf0\x06\n\rFieldMetadata\x12\r\n\x05links\x18\x01 \x03(\t\x12(\n\nparagraphs\x18\x02 \x03(\x0b\x32\x14.resources.Paragraph\x12.\n\x03ner\x18\x03 \x03(\x0b\x32!.resources.FieldMetadata.NerEntry\x12\x38\n\x08\x65ntities\x18\x0f \x03(\x0b\x32&.resources.FieldMetadata.EntitiesEntry\x12\x32\n\x0f\x63lassifications\x18\x04 \x03(\x0b\x32\x19.resources.Classification\x12.\n\nlast_index\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_understanding\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_extract\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_summary\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15last_processing_start\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\tthumbnail\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\x10\n\x08language\x18\n \x01(\t\x12\x0f\n\x07summary\x18\x0b \x01(\t\x12:\n\tpositions\x18\x0c \x03(\x0b\x32\'.resources.FieldMetadata.PositionsEntry\x12\'\n\trelations\x18\r \x03(\x0b\x32\x14.resources.Relations\x12\x11\n\tmime_type\x18\x0e \x01(\t\x1a*\n\x08NerEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.resources.FieldEntities:\x02\x38\x01\x1a\x46\n\x0ePositionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.Positions:\x02\x38\x01\"B\n\x08Question\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x16\n\x0eids_paragraphs\x18\x03 \x03(\t\"U\n\x07\x41nswers\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x08language\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\x0eids_paragraphs\x18\x03 \x03(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"\\\n\x0eQuestionAnswer\x12%\n\x08question\x18\x01 \x01(\x0b\x32\x13.resources.Question\x12#\n\x07\x61nswers\x18\x02 \x03(\x0b\x32\x12.resources.Answers\"E\n\x0fQuestionAnswers\x12\x32\n\x0fquestion_answer\x18\x01 \x03(\x0b\x32\x19.resources.QuestionAnswer\"\x98\x02\n\x14\x46ieldQuestionAnswers\x12\x34\n\x10question_answers\x18\x01 \x01(\x0b\x32\x1a.resources.QuestionAnswers\x12Y\n\x16split_question_answers\x18\x02 \x03(\x0b\x32\x39.resources.FieldQuestionAnswers.SplitQuestionAnswersEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aW\n\x19SplitQuestionAnswersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.resources.QuestionAnswers:\x02\x38\x01\"\xb2\x01\n\x1a\x46ieldQuestionAnswerWrapper\x12;\n\x10question_answers\x18\x01 \x01(\x0b\x32\x1f.resources.FieldQuestionAnswersH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"\xa6\x01\n\x0b\x46ieldAuthor\x12+\n\x04user\x18\x01 \x01(\x0b\x32\x1b.resources.FieldAuthor.UserH\x00\x12\x44\n\x11\x64\x61ta_augmentation\x18\x02 \x01(\x0b\x32\'.resources.FieldAuthor.DataAugmentationH\x00\x1a\x06\n\x04User\x1a\x12\n\x10\x44\x61taAugmentationB\x08\n\x06\x61uthor\"\xf8\x01\n\x15\x46ieldComputedMetadata\x12*\n\x08metadata\x18\x01 \x01(\x0b\x32\x18.resources.FieldMetadata\x12K\n\x0esplit_metadata\x18\x02 \x03(\x0b\x32\x33.resources.FieldComputedMetadata.SplitMetadataEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aN\n\x12SplitMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.resources.FieldMetadata:\x02\x38\x01\"u\n\x1c\x46ieldComputedMetadataWrapper\x12\x32\n\x08metadata\x18\x01 \x01(\x0b\x32 .resources.FieldComputedMetadata\x12!\n\x05\x66ield\x18\x04 \x01(\x0b\x32\x12.resources.FieldID\"\x9c\x02\n\x08Metadata\x12\x33\n\x08metadata\x18\x01 \x03(\x0b\x32!.resources.Metadata.MetadataEntry\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x11\n\tlanguages\x18\x03 \x03(\t\x12\x0e\n\x06useful\x18\x04 \x01(\x08\x12*\n\x06status\x18\x05 \x01(\x0e\x32\x1a.resources.Metadata.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x06Status\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tPROCESSED\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x42LOCKED\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\"\xac\x02\n\tFieldText\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12+\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x1b.resources.FieldText.Format\x12\x0b\n\x03md5\x18\x03 \x01(\t\x12,\n\x0cgenerated_by\x18\x04 \x01(\x0b\x32\x16.resources.FieldAuthor\x12\x18\n\x10\x65xtract_strategy\x18\x05 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x06 \x01(\t\"w\n\x06\x46ormat\x12\t\n\x05PLAIN\x10\x00\x12\x08\n\x04HTML\x10\x01\x12\x07\n\x03RST\x10\x02\x12\x0c\n\x08MARKDOWN\x10\x03\x12\x08\n\x04JSON\x10\x04\x12\x11\n\rKEEP_MARKDOWN\x10\x05\x12\t\n\x05JSONL\x10\x06\x12\x19\n\x15PLAIN_BLANKLINE_SPLIT\x10\x07\"\x9c\x02\n\x05\x42lock\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\x12\x0c\n\x04\x63ols\x18\x03 \x01(\x05\x12\x0c\n\x04rows\x18\x04 \x01(\x05\x12(\n\x04type\x18\x05 \x01(\x0e\x32\x1a.resources.Block.TypeBlock\x12\r\n\x05ident\x18\x06 \x01(\t\x12\x0f\n\x07payload\x18\x07 \x01(\t\x12\"\n\x04\x66ile\x18\x08 \x01(\x0b\x32\x14.resources.CloudFile\"s\n\tTypeBlock\x12\t\n\x05TITLE\x10\x00\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x01\x12\x0c\n\x08RICHTEXT\x10\x02\x12\x08\n\x04TEXT\x10\x03\x12\x0f\n\x0b\x41TTACHMENTS\x10\x04\x12\x0c\n\x08\x43OMMENTS\x10\x05\x12\x13\n\x0f\x43LASSIFICATIONS\x10\x06\"[\n\x0e\x43lassification\x12\x10\n\x08labelset\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11\x63\x61ncelled_by_user\x18\x03 \x01(\x08\x12\r\n\x05split\x18\x04 \x01(\t\"B\n\x0cUserMetadata\x12\x32\n\x0f\x63lassifications\x18\x01 \x03(\x0b\x32\x19.resources.Classification\"m\n\x14\x46ieldClassifications\x12!\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x12.resources.FieldID\x12\x32\n\x0f\x63lassifications\x18\x02 \x03(\x0b\x32\x19.resources.Classification\"R\n\x10\x43omputedMetadata\x12>\n\x15\x66ield_classifications\x18\x01 \x03(\x0b\x32\x1f.resources.FieldClassifications\"V\n\x13ParagraphAnnotation\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x0f\x63lassifications\x18\x02 \x03(\x0b\x32\x19.resources.Classification\"i\n\x18QuestionAnswerAnnotation\x12\x32\n\x0fquestion_answer\x18\x01 \x01(\x0b\x32\x19.resources.QuestionAnswer\x12\x19\n\x11\x63\x61ncelled_by_user\x18\x02 \x01(\x08\"\xb5\x01\n\x11UserFieldMetadata\x12\x32\n\nparagraphs\x18\x02 \x03(\x0b\x32\x1e.resources.ParagraphAnnotation\x12=\n\x10question_answers\x18\x05 \x03(\x0b\x32#.resources.QuestionAnswerAnnotation\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDJ\x04\x08\x01\x10\x02J\x04\x08\x04\x10\x05\"\xe7\x03\n\tFieldLink\x12)\n\x05\x61\x64\x64\x65\x64\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x07headers\x18\x02 \x03(\x0b\x32!.resources.FieldLink.HeadersEntry\x12\x32\n\x07\x63ookies\x18\x03 \x03(\x0b\x32!.resources.FieldLink.CookiesEntry\x12\x0b\n\x03uri\x18\x04 \x01(\t\x12\x10\n\x08language\x18\x05 \x01(\t\x12<\n\x0clocalstorage\x18\x06 \x03(\x0b\x32&.resources.FieldLink.LocalstorageEntry\x12\x14\n\x0c\x63ss_selector\x18\x07 \x01(\t\x12\r\n\x05xpath\x18\x08 \x01(\t\x12\x18\n\x10\x65xtract_strategy\x18\t \x01(\t\x12\x16\n\x0esplit_strategy\x18\n \x01(\t\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a.\n\x0c\x43ookiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11LocalstorageEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa1\x02\n\tFieldFile\x12)\n\x05\x61\x64\x64\x65\x64\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile\x12\x10\n\x08language\x18\x03 \x01(\t\x12\x10\n\x08password\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x32\n\x07headers\x18\x06 \x03(\x0b\x32!.resources.FieldFile.HeadersEntry\x12\x18\n\x10\x65xtract_strategy\x18\x07 \x01(\t\x12\x16\n\x0esplit_strategy\x18\n \x01(\t\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"3\n\x06\x45ntity\x12\r\n\x05token\x18\x01 \x01(\t\x12\x0c\n\x04root\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xa3\x01\n\x12\x46ieldLargeMetadata\x12#\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x11.resources.Entity\x12\x39\n\x06tokens\x18\x02 \x03(\x0b\x32).resources.FieldLargeMetadata.TokensEntry\x1a-\n\x0bTokensEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x82\x02\n\x15LargeComputedMetadata\x12/\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.resources.FieldLargeMetadata\x12K\n\x0esplit_metadata\x18\x02 \x03(\x0b\x32\x33.resources.LargeComputedMetadata.SplitMetadataEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aS\n\x12SplitMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.resources.FieldLargeMetadata:\x02\x38\x01\"\xa9\x01\n\x1cLargeComputedMetadataWrapper\x12\x30\n\x04real\x18\x01 \x01(\x0b\x32 .resources.LargeComputedMetadataH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"+\n\rPagePositions\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\"2\n\x11PageStructurePage\x12\r\n\x05width\x18\x01 \x01(\x03\x12\x0e\n\x06height\x18\x02 \x01(\x03\"e\n\x12PageStructureToken\x12\t\n\x01x\x18\x07 \x01(\x02\x12\t\n\x01y\x18\x08 \x01(\x02\x12\r\n\x05width\x18\t \x01(\x02\x12\x0e\n\x06height\x18\n \x01(\x02\x12\x0c\n\x04text\x18\x05 \x01(\t\x12\x0c\n\x04line\x18\x06 \x01(\x02\"j\n\rPageStructure\x12*\n\x04page\x18\x01 \x01(\x0b\x32\x1c.resources.PageStructurePage\x12-\n\x06tokens\x18\x02 \x03(\x0b\x32\x1d.resources.PageStructureToken\"\x8b\x01\n\tFilePages\x12#\n\x05pages\x18\x01 \x03(\x0b\x32\x14.resources.CloudFile\x12+\n\tpositions\x18\x02 \x03(\x0b\x32\x18.resources.PagePositions\x12,\n\nstructures\x18\x03 \x03(\x0b\x32\x18.resources.PageStructure\"\xdc\x01\n\x0bRowsPreview\x12\x32\n\x06sheets\x18\x01 \x03(\x0b\x32\".resources.RowsPreview.SheetsEntry\x1aL\n\x05Sheet\x12.\n\x04rows\x18\x01 \x03(\x0b\x32 .resources.RowsPreview.Sheet.Row\x1a\x13\n\x03Row\x12\x0c\n\x04\x63\x65ll\x18\x01 \x03(\t\x1aK\n\x0bSheetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.resources.RowsPreview.Sheet:\x02\x38\x01\"B\n\x07\x46ieldID\x12(\n\nfield_type\x18\x01 \x01(\x0e\x32\x14.resources.FieldType\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"1\n\x0b\x41llFieldIDs\x12\"\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x12.resources.FieldID*Z\n\tFieldType\x12\x08\n\x04\x46ILE\x10\x00\x12\x08\n\x04LINK\x10\x01\x12\x08\n\x04TEXT\x10\x04\x12\x0b\n\x07GENERIC\x10\x06\x12\x10\n\x0c\x43ONVERSATION\x10\x07\"\x04\x08\x02\x10\x02\"\x04\x08\x03\x10\x03\"\x04\x08\x05\x10\x05P\x00\x62\x06proto3')
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fnucliadb_protos/resources.proto\x12\tresources\x1a\x1bnucliadb_protos/utils.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xfb\x02\n\tCloudFile\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\x12\x14\n\x0c\x63ontent_type\x18\x03 \x01(\t\x12\x13\n\x0b\x62ucket_name\x18\x04 \x01(\t\x12+\n\x06source\x18\x05 \x01(\x0e\x32\x1b.resources.CloudFile.Source\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x15\n\rresumable_uri\x18\x07 \x01(\t\x12\x0e\n\x06offset\x18\x08 \x01(\x04\x12\x12\n\nupload_uri\x18\t \x01(\t\x12\r\n\x05parts\x18\n \x03(\t\x12\x0f\n\x07old_uri\x18\x0b \x01(\t\x12\x12\n\nold_bucket\x18\x0c \x01(\t\x12\x0b\n\x03md5\x18\r \x01(\t\"m\n\x06Source\x12\t\n\x05\x46LAPS\x10\x00\x12\x07\n\x03GCS\x10\x01\x12\x06\n\x02S3\x10\x02\x12\t\n\x05LOCAL\x10\x03\x12\x0c\n\x08\x45XTERNAL\x10\x04\x12\t\n\x05\x45MPTY\x10\x05\x12\n\n\x06\x45XPORT\x10\x06\x12\x0c\n\x08POSTGRES\x10\x07\x12\t\n\x05\x41ZURE\x10\x08\"\xd9\x04\n\x05\x42\x61sic\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04icon\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x12\x11\n\tthumbnail\x18\x05 \x01(\t\x12\x12\n\x06layout\x18\x06 \x01(\tB\x02\x18\x01\x12+\n\x07\x63reated\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08modified\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x08metadata\x18\t \x01(\x0b\x32\x13.resources.Metadata\x12-\n\x0cusermetadata\x18\n \x01(\x0b\x32\x17.resources.UserMetadata\x12\x33\n\rfieldmetadata\x18\x0b \x03(\x0b\x32\x1c.resources.UserFieldMetadata\x12\x35\n\x10\x63omputedmetadata\x18\x0f \x01(\x0b\x32\x1b.resources.ComputedMetadata\x12\x0c\n\x04uuid\x18\x0c \x01(\t\x12\x0e\n\x06labels\x18\r \x03(\t\x12\x12\n\nlast_seqid\x18\x0e \x01(\x03\x12\x18\n\x10last_account_seq\x18# \x01(\x03\x12)\n\x05queue\x18$ \x01(\x0e\x32\x1a.resources.Basic.QueueType\x12\x13\n\x06hidden\x18% \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x0breset_title\x18& \x01(\x08\"$\n\tQueueType\x12\x0b\n\x07PRIVATE\x10\x00\x12\n\n\x06SHARED\x10\x01\x42\t\n\x07_hidden\"\x8f\x03\n\x06Origin\x12(\n\x06source\x18\x01 \x01(\x0e\x32\x18.resources.Origin.Source\x12\x11\n\tsource_id\x18\x02 \x01(\t\x12\x0b\n\x03url\x18\x03 \x01(\t\x12+\n\x07\x63reated\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08modified\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\x08metadata\x18\x06 \x03(\x0b\x32\x1f.resources.Origin.MetadataEntry\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x14\n\x0c\x63olaborators\x18\x08 \x03(\t\x12\x10\n\x08\x66ilename\x18\t \x01(\t\x12\x0f\n\x07related\x18\n \x03(\t\x12\x0c\n\x04path\x18\x0b \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x06Source\x12\x07\n\x03WEB\x10\x00\x12\x0b\n\x07\x44\x45SKTOP\x10\x01\x12\x07\n\x03\x41PI\x10\x02\"2\n\x05\x45xtra\x12)\n\x08metadata\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"/\n\tRelations\x12\"\n\trelations\x18\x01 \x03(\x0b\x32\x0f.utils.Relation\"U\n\x08\x46ieldRef\x12(\n\nfield_type\x18\x01 \x01(\x0e\x32\x14.resources.FieldType\x12\x10\n\x08\x66ield_id\x18\x02 \x01(\t\x12\r\n\x05split\x18\x03 \x01(\t\"\xff\x01\n\x0eMessageContent\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x30\n\x06\x66ormat\x18\x02 \x01(\x0e\x32 .resources.MessageContent.Format\x12)\n\x0b\x61ttachments\x18\x04 \x03(\x0b\x32\x14.resources.CloudFile\x12/\n\x12\x61ttachments_fields\x18\x05 \x03(\x0b\x32\x13.resources.FieldRef\"Q\n\x06\x46ormat\x12\t\n\x05PLAIN\x10\x00\x12\x08\n\x04HTML\x10\x01\x12\x0c\n\x08MARKDOWN\x10\x02\x12\x07\n\x03RST\x10\x03\x12\x11\n\rKEEP_MARKDOWN\x10\x04\x12\x08\n\x04JSON\x10\x05\"\xee\x01\n\x07Message\x12-\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0b\n\x03who\x18\x02 \x01(\t\x12\n\n\x02to\x18\x03 \x03(\t\x12*\n\x07\x63ontent\x18\x04 \x01(\x0b\x32\x19.resources.MessageContent\x12\r\n\x05ident\x18\x05 \x01(\t\x12,\n\x04type\x18\x06 \x01(\x0e\x32\x1e.resources.Message.MessageType\"2\n\x0bMessageType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08QUESTION\x10\x01\x12\n\n\x06\x41NSWER\x10\x02\"}\n\x0c\x43onversation\x12$\n\x08messages\x18\x01 \x03(\x0b\x32\x12.resources.Message\x12\x18\n\x10\x65xtract_strategy\x18\x02 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x03 \x01(\t\x12\x15\n\rreplace_field\x18\x04 \x01(\x08\"q\n\x11\x46ieldConversation\x12\r\n\x05pages\x18\x01 \x01(\x05\x12\x0c\n\x04size\x18\x02 \x01(\x05\x12\r\n\x05total\x18\x03 \x01(\x05\x12\x18\n\x10\x65xtract_strategy\x18\x04 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x05 \x01(\t\"\x0f\n\rSplitMetadata\"\x96\x01\n\x0eSplitsMetadata\x12\x39\n\x08metadata\x18\x01 \x03(\x0b\x32\'.resources.SplitsMetadata.MetadataEntry\x1aI\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.resources.SplitMetadata:\x02\x38\x01\":\n\x0eNestedPosition\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\x12\x0c\n\x04page\x18\x03 \x01(\x03\"B\n\x12NestedListPosition\x12,\n\tpositions\x18\x01 \x03(\x0b\x32\x19.resources.NestedPosition\"\xc8\x08\n\x11\x46ileExtractedData\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0b\n\x03md5\x18\x02 \x01(\t\x12<\n\x08metadata\x18\x03 \x03(\x0b\x32*.resources.FileExtractedData.MetadataEntry\x12\x38\n\x06nested\x18\x04 \x03(\x0b\x32(.resources.FileExtractedData.NestedEntry\x12G\n\x0e\x66ile_generated\x18\x05 \x03(\x0b\x32/.resources.FileExtractedData.FileGeneratedEntry\x12N\n\x12\x66ile_rows_previews\x18\x06 \x03(\x0b\x32\x32.resources.FileExtractedData.FileRowsPreviewsEntry\x12*\n\x0c\x66ile_preview\x18\x07 \x01(\x0b\x32\x14.resources.CloudFile\x12\x31\n\x13\x66ile_pages_previews\x18\x08 \x01(\x0b\x32\x14.resources.FilePages\x12,\n\x0e\x66ile_thumbnail\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\r\n\x05\x66ield\x18\n \x01(\t\x12\x0c\n\x04icon\x18\x0b \x01(\t\x12M\n\x0fnested_position\x18\x0c \x03(\x0b\x32\x30.resources.FileExtractedData.NestedPositionEntryB\x02\x18\x01\x12R\n\x14nested_list_position\x18\r \x03(\x0b\x32\x34.resources.FileExtractedData.NestedListPositionEntry\x12\r\n\x05title\x18\x0e \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bNestedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x12\x46ileGeneratedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile:\x02\x38\x01\x1aO\n\x15\x46ileRowsPreviewsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.resources.RowsPreview:\x02\x38\x01\x1aP\n\x13NestedPositionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.resources.NestedPosition:\x02\x38\x01\x1aX\n\x17NestedListPositionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.resources.NestedListPosition:\x02\x38\x01\"\xd8\x04\n\x11LinkExtractedData\x12(\n\x04\x64\x61te\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08language\x18\x02 \x01(\t\x12\r\n\x05title\x18\x04 \x01(\t\x12<\n\x08metadata\x18\x05 \x03(\x0b\x32*.resources.LinkExtractedData.MetadataEntry\x12,\n\x0elink_thumbnail\x18\x06 \x01(\x0b\x32\x14.resources.CloudFile\x12*\n\x0clink_preview\x18\x07 \x01(\x0b\x32\x14.resources.CloudFile\x12\r\n\x05\x66ield\x18\x08 \x01(\t\x12(\n\nlink_image\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12\x0c\n\x04type\x18\x0b \x01(\t\x12\r\n\x05\x65mbed\x18\x0c \x01(\t\x12/\n\rpdf_structure\x18\r \x01(\x0b\x32\x18.resources.PageStructure\x12G\n\x0e\x66ile_generated\x18\x0e \x03(\x0b\x32/.resources.LinkExtractedData.FileGeneratedEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aJ\n\x12\x46ileGeneratedEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile:\x02\x38\x01\"\x95\x01\n\x14\x45xtractedTextWrapper\x12$\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x14.utils.ExtractedTextH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"\xb0\x01\n\x17\x45xtractedVectorsWrapper\x12&\n\x07vectors\x18\x01 \x01(\x0b\x32\x13.utils.VectorObjectH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldID\x12\x14\n\x0cvectorset_id\x18\x04 \x01(\tB\x0e\n\x0c\x66ile_or_data\"\xfd\x01\n\x12UserVectorsWrapper\x12%\n\x07vectors\x18\x01 \x01(\x0b\x32\x14.utils.UserVectorSet\x12M\n\x11vectors_to_delete\x18\r \x03(\x0b\x32\x32.resources.UserVectorsWrapper.VectorsToDeleteEntry\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldID\x1aN\n\x14VectorsToDeleteEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.utils.UserVectorsList:\x02\x38\x01\"3\n\x08Sentence\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x0b\n\x03key\x18\x03 \x01(\t\"9\n\x0fPageInformation\x12\x0c\n\x04page\x18\x01 \x01(\r\x12\x18\n\x10page_with_visual\x18\x02 \x01(\x08\"<\n\x0eRepresentation\x12\x12\n\nis_a_table\x18\x01 \x01(\x08\x12\x16\n\x0ereference_file\x18\x02 \x01(\t\"M\n\x12ParagraphRelations\x12\x0f\n\x07parents\x18\x01 \x03(\t\x12\x10\n\x08siblings\x18\x02 \x03(\t\x12\x14\n\x0creplacements\x18\x03 \x03(\t\"\xee\x03\n\tParagraph\x12\r\n\x05start\x18\x01 \x01(\r\x12\x0b\n\x03\x65nd\x18\x02 \x01(\r\x12\x15\n\rstart_seconds\x18\x03 \x03(\r\x12\x13\n\x0b\x65nd_seconds\x18\x04 \x03(\r\x12\x30\n\x04kind\x18\x05 \x01(\x0e\x32\".resources.Paragraph.TypeParagraph\x12\x32\n\x0f\x63lassifications\x18\x06 \x03(\x0b\x32\x19.resources.Classification\x12&\n\tsentences\x18\x07 \x03(\x0b\x32\x13.resources.Sentence\x12\x0c\n\x04text\x18\t \x01(\t\x12(\n\x04page\x18\n \x01(\x0b\x32\x1a.resources.PageInformation\x12\x31\n\x0erepresentation\x18\x0b \x01(\x0b\x32\x19.resources.Representation\x12\x30\n\trelations\x18\x0c \x01(\x0b\x32\x1d.resources.ParagraphRelations\"h\n\rTypeParagraph\x12\x08\n\x04TEXT\x10\x00\x12\x07\n\x03OCR\x10\x01\x12\r\n\tINCEPTION\x10\x02\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x03\x12\x0e\n\nTRANSCRIPT\x10\x04\x12\t\n\x05TITLE\x10\x05\x12\t\n\x05TABLE\x10\x06J\x04\x08\x08\x10\t\"&\n\x08Position\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\"B\n\tPositions\x12%\n\x08position\x18\x01 \x03(\x0b\x32\x13.resources.Position\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\"R\n\x0b\x46ieldEntity\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12&\n\tpositions\x18\x03 \x03(\x0b\x32\x13.resources.Position\"9\n\rFieldEntities\x12(\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x16.resources.FieldEntity\"\xf0\x06\n\rFieldMetadata\x12\r\n\x05links\x18\x01 \x03(\t\x12(\n\nparagraphs\x18\x02 \x03(\x0b\x32\x14.resources.Paragraph\x12.\n\x03ner\x18\x03 \x03(\x0b\x32!.resources.FieldMetadata.NerEntry\x12\x38\n\x08\x65ntities\x18\x0f \x03(\x0b\x32&.resources.FieldMetadata.EntitiesEntry\x12\x32\n\x0f\x63lassifications\x18\x04 \x03(\x0b\x32\x19.resources.Classification\x12.\n\nlast_index\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x36\n\x12last_understanding\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_extract\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0clast_summary\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15last_processing_start\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\tthumbnail\x18\t \x01(\x0b\x32\x14.resources.CloudFile\x12\x10\n\x08language\x18\n \x01(\t\x12\x0f\n\x07summary\x18\x0b \x01(\t\x12:\n\tpositions\x18\x0c \x03(\x0b\x32\'.resources.FieldMetadata.PositionsEntry\x12\'\n\trelations\x18\r \x03(\x0b\x32\x14.resources.Relations\x12\x11\n\tmime_type\x18\x0e \x01(\t\x1a*\n\x08NerEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aI\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.resources.FieldEntities:\x02\x38\x01\x1a\x46\n\x0ePositionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.Positions:\x02\x38\x01\"B\n\x08Question\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x16\n\x0eids_paragraphs\x18\x03 \x03(\t\"U\n\x07\x41nswers\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x08language\x18\x02 \x01(\tB\x02\x18\x01\x12\x16\n\x0eids_paragraphs\x18\x03 \x03(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"\\\n\x0eQuestionAnswer\x12%\n\x08question\x18\x01 \x01(\x0b\x32\x13.resources.Question\x12#\n\x07\x61nswers\x18\x02 \x03(\x0b\x32\x12.resources.Answers\"E\n\x0fQuestionAnswers\x12\x32\n\x0fquestion_answer\x18\x01 \x03(\x0b\x32\x19.resources.QuestionAnswer\"\x98\x02\n\x14\x46ieldQuestionAnswers\x12\x34\n\x10question_answers\x18\x01 \x01(\x0b\x32\x1a.resources.QuestionAnswers\x12Y\n\x16split_question_answers\x18\x02 \x03(\x0b\x32\x39.resources.FieldQuestionAnswers.SplitQuestionAnswersEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aW\n\x19SplitQuestionAnswersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.resources.QuestionAnswers:\x02\x38\x01\"\xb2\x01\n\x1a\x46ieldQuestionAnswerWrapper\x12;\n\x10question_answers\x18\x01 \x01(\x0b\x32\x1f.resources.FieldQuestionAnswersH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"\xa6\x01\n\x0b\x46ieldAuthor\x12+\n\x04user\x18\x01 \x01(\x0b\x32\x1b.resources.FieldAuthor.UserH\x00\x12\x44\n\x11\x64\x61ta_augmentation\x18\x02 \x01(\x0b\x32\'.resources.FieldAuthor.DataAugmentationH\x00\x1a\x06\n\x04User\x1a\x12\n\x10\x44\x61taAugmentationB\x08\n\x06\x61uthor\"\xf8\x01\n\x15\x46ieldComputedMetadata\x12*\n\x08metadata\x18\x01 \x01(\x0b\x32\x18.resources.FieldMetadata\x12K\n\x0esplit_metadata\x18\x02 \x03(\x0b\x32\x33.resources.FieldComputedMetadata.SplitMetadataEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aN\n\x12SplitMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.resources.FieldMetadata:\x02\x38\x01\"u\n\x1c\x46ieldComputedMetadataWrapper\x12\x32\n\x08metadata\x18\x01 \x01(\x0b\x32 .resources.FieldComputedMetadata\x12!\n\x05\x66ield\x18\x04 \x01(\x0b\x32\x12.resources.FieldID\"\x9c\x02\n\x08Metadata\x12\x33\n\x08metadata\x18\x01 \x03(\x0b\x32!.resources.Metadata.MetadataEntry\x12\x10\n\x08language\x18\x02 \x01(\t\x12\x11\n\tlanguages\x18\x03 \x03(\t\x12\x0e\n\x06useful\x18\x04 \x01(\x08\x12*\n\x06status\x18\x05 \x01(\x0e\x32\x1a.resources.Metadata.Status\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x06Status\x12\x0b\n\x07PENDING\x10\x00\x12\r\n\tPROCESSED\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x42LOCKED\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\"\xac\x02\n\tFieldText\x12\x0c\n\x04\x62ody\x18\x01 \x01(\t\x12+\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x1b.resources.FieldText.Format\x12\x0b\n\x03md5\x18\x03 \x01(\t\x12,\n\x0cgenerated_by\x18\x04 \x01(\x0b\x32\x16.resources.FieldAuthor\x12\x18\n\x10\x65xtract_strategy\x18\x05 \x01(\t\x12\x16\n\x0esplit_strategy\x18\x06 \x01(\t\"w\n\x06\x46ormat\x12\t\n\x05PLAIN\x10\x00\x12\x08\n\x04HTML\x10\x01\x12\x07\n\x03RST\x10\x02\x12\x0c\n\x08MARKDOWN\x10\x03\x12\x08\n\x04JSON\x10\x04\x12\x11\n\rKEEP_MARKDOWN\x10\x05\x12\t\n\x05JSONL\x10\x06\x12\x19\n\x15PLAIN_BLANKLINE_SPLIT\x10\x07\"\x9c\x02\n\x05\x42lock\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\x12\x0c\n\x04\x63ols\x18\x03 \x01(\x05\x12\x0c\n\x04rows\x18\x04 \x01(\x05\x12(\n\x04type\x18\x05 \x01(\x0e\x32\x1a.resources.Block.TypeBlock\x12\r\n\x05ident\x18\x06 \x01(\t\x12\x0f\n\x07payload\x18\x07 \x01(\t\x12\"\n\x04\x66ile\x18\x08 \x01(\x0b\x32\x14.resources.CloudFile\"s\n\tTypeBlock\x12\t\n\x05TITLE\x10\x00\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x01\x12\x0c\n\x08RICHTEXT\x10\x02\x12\x08\n\x04TEXT\x10\x03\x12\x0f\n\x0b\x41TTACHMENTS\x10\x04\x12\x0c\n\x08\x43OMMENTS\x10\x05\x12\x13\n\x0f\x43LASSIFICATIONS\x10\x06\"[\n\x0e\x43lassification\x12\x10\n\x08labelset\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12\x19\n\x11\x63\x61ncelled_by_user\x18\x03 \x01(\x08\x12\r\n\x05split\x18\x04 \x01(\t\"B\n\x0cUserMetadata\x12\x32\n\x0f\x63lassifications\x18\x01 \x03(\x0b\x32\x19.resources.Classification\"m\n\x14\x46ieldClassifications\x12!\n\x05\x66ield\x18\x01 \x01(\x0b\x32\x12.resources.FieldID\x12\x32\n\x0f\x63lassifications\x18\x02 \x03(\x0b\x32\x19.resources.Classification\"R\n\x10\x43omputedMetadata\x12>\n\x15\x66ield_classifications\x18\x01 \x03(\x0b\x32\x1f.resources.FieldClassifications\"V\n\x13ParagraphAnnotation\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x0f\x63lassifications\x18\x02 \x03(\x0b\x32\x19.resources.Classification\"i\n\x18QuestionAnswerAnnotation\x12\x32\n\x0fquestion_answer\x18\x01 \x01(\x0b\x32\x19.resources.QuestionAnswer\x12\x19\n\x11\x63\x61ncelled_by_user\x18\x02 \x01(\x08\"\xb5\x01\n\x11UserFieldMetadata\x12\x32\n\nparagraphs\x18\x02 \x03(\x0b\x32\x1e.resources.ParagraphAnnotation\x12=\n\x10question_answers\x18\x05 \x03(\x0b\x32#.resources.QuestionAnswerAnnotation\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDJ\x04\x08\x01\x10\x02J\x04\x08\x04\x10\x05\"\xe7\x03\n\tFieldLink\x12)\n\x05\x61\x64\x64\x65\x64\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x07headers\x18\x02 \x03(\x0b\x32!.resources.FieldLink.HeadersEntry\x12\x32\n\x07\x63ookies\x18\x03 \x03(\x0b\x32!.resources.FieldLink.CookiesEntry\x12\x0b\n\x03uri\x18\x04 \x01(\t\x12\x10\n\x08language\x18\x05 \x01(\t\x12<\n\x0clocalstorage\x18\x06 \x03(\x0b\x32&.resources.FieldLink.LocalstorageEntry\x12\x14\n\x0c\x63ss_selector\x18\x07 \x01(\t\x12\r\n\x05xpath\x18\x08 \x01(\t\x12\x18\n\x10\x65xtract_strategy\x18\t \x01(\t\x12\x16\n\x0esplit_strategy\x18\n \x01(\t\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a.\n\x0c\x43ookiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11LocalstorageEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa1\x02\n\tFieldFile\x12)\n\x05\x61\x64\x64\x65\x64\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\"\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFile\x12\x10\n\x08language\x18\x03 \x01(\t\x12\x10\n\x08password\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x32\n\x07headers\x18\x06 \x03(\x0b\x32!.resources.FieldFile.HeadersEntry\x12\x18\n\x10\x65xtract_strategy\x18\x07 \x01(\t\x12\x16\n\x0esplit_strategy\x18\n \x01(\t\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"3\n\x06\x45ntity\x12\r\n\x05token\x18\x01 \x01(\t\x12\x0c\n\x04root\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\"\xa3\x01\n\x12\x46ieldLargeMetadata\x12#\n\x08\x65ntities\x18\x01 \x03(\x0b\x32\x11.resources.Entity\x12\x39\n\x06tokens\x18\x02 \x03(\x0b\x32).resources.FieldLargeMetadata.TokensEntry\x1a-\n\x0bTokensEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x05:\x02\x38\x01\"\x82\x02\n\x15LargeComputedMetadata\x12/\n\x08metadata\x18\x01 \x01(\x0b\x32\x1d.resources.FieldLargeMetadata\x12K\n\x0esplit_metadata\x18\x02 \x03(\x0b\x32\x33.resources.LargeComputedMetadata.SplitMetadataEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1aS\n\x12SplitMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.resources.FieldLargeMetadata:\x02\x38\x01\"\xa9\x01\n\x1cLargeComputedMetadataWrapper\x12\x30\n\x04real\x18\x01 \x01(\x0b\x32 .resources.LargeComputedMetadataH\x00\x12$\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x14.resources.CloudFileH\x00\x12!\n\x05\x66ield\x18\x03 \x01(\x0b\x32\x12.resources.FieldIDB\x0e\n\x0c\x66ile_or_data\"+\n\rPagePositions\x12\r\n\x05start\x18\x01 \x01(\x03\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x03\"2\n\x11PageStructurePage\x12\r\n\x05width\x18\x01 \x01(\x03\x12\x0e\n\x06height\x18\x02 \x01(\x03\"e\n\x12PageStructureToken\x12\t\n\x01x\x18\x07 \x01(\x02\x12\t\n\x01y\x18\x08 \x01(\x02\x12\r\n\x05width\x18\t \x01(\x02\x12\x0e\n\x06height\x18\n \x01(\x02\x12\x0c\n\x04text\x18\x05 \x01(\t\x12\x0c\n\x04line\x18\x06 \x01(\x02\"j\n\rPageStructure\x12*\n\x04page\x18\x01 \x01(\x0b\x32\x1c.resources.PageStructurePage\x12-\n\x06tokens\x18\x02 \x03(\x0b\x32\x1d.resources.PageStructureToken\"\x8b\x01\n\tFilePages\x12#\n\x05pages\x18\x01 \x03(\x0b\x32\x14.resources.CloudFile\x12+\n\tpositions\x18\x02 \x03(\x0b\x32\x18.resources.PagePositions\x12,\n\nstructures\x18\x03 \x03(\x0b\x32\x18.resources.PageStructure\"\xdc\x01\n\x0bRowsPreview\x12\x32\n\x06sheets\x18\x01 \x03(\x0b\x32\".resources.RowsPreview.SheetsEntry\x1aL\n\x05Sheet\x12.\n\x04rows\x18\x01 \x03(\x0b\x32 .resources.RowsPreview.Sheet.Row\x1a\x13\n\x03Row\x12\x0c\n\x04\x63\x65ll\x18\x01 \x03(\t\x1aK\n\x0bSheetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.resources.RowsPreview.Sheet:\x02\x38\x01\"B\n\x07\x46ieldID\x12(\n\nfield_type\x18\x01 \x01(\x0e\x32\x14.resources.FieldType\x12\r\n\x05\x66ield\x18\x02 \x01(\t\"1\n\x0b\x41llFieldIDs\x12\"\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x12.resources.FieldID*Z\n\tFieldType\x12\x08\n\x04\x46ILE\x10\x00\x12\x08\n\x04LINK\x10\x01\x12\x08\n\x04TEXT\x10\x04\x12\x0b\n\x07GENERIC\x10\x06\x12\x10\n\x0c\x43ONVERSATION\x10\x07\"\x04\x08\x02\x10\x02\"\x04\x08\x03\x10\x03\"\x04\x08\x05\x10\x05P\x00\x62\x06proto3')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -39,6 +39,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
39
39
|
_globals['_BASIC'].fields_by_name['layout']._serialized_options = b'\030\001'
|
|
40
40
|
_globals['_ORIGIN_METADATAENTRY']._loaded_options = None
|
|
41
41
|
_globals['_ORIGIN_METADATAENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_SPLITSMETADATA_METADATAENTRY']._loaded_options = None
|
|
43
|
+
_globals['_SPLITSMETADATA_METADATAENTRY']._serialized_options = b'8\001'
|
|
42
44
|
_globals['_FILEEXTRACTEDDATA_METADATAENTRY']._loaded_options = None
|
|
43
45
|
_globals['_FILEEXTRACTEDDATA_METADATAENTRY']._serialized_options = b'8\001'
|
|
44
46
|
_globals['_FILEEXTRACTEDDATA_NESTEDENTRY']._loaded_options = None
|
|
@@ -87,8 +89,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
87
89
|
_globals['_LARGECOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_options = b'8\001'
|
|
88
90
|
_globals['_ROWSPREVIEW_SHEETSENTRY']._loaded_options = None
|
|
89
91
|
_globals['_ROWSPREVIEW_SHEETSENTRY']._serialized_options = b'8\001'
|
|
90
|
-
_globals['_FIELDTYPE']._serialized_start=
|
|
91
|
-
_globals['_FIELDTYPE']._serialized_end=
|
|
92
|
+
_globals['_FIELDTYPE']._serialized_start=12087
|
|
93
|
+
_globals['_FIELDTYPE']._serialized_end=12177
|
|
92
94
|
_globals['_CLOUDFILE']._serialized_start=139
|
|
93
95
|
_globals['_CLOUDFILE']._serialized_end=518
|
|
94
96
|
_globals['_CLOUDFILE_SOURCE']._serialized_start=409
|
|
@@ -118,167 +120,173 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
118
120
|
_globals['_MESSAGE_MESSAGETYPE']._serialized_start=2161
|
|
119
121
|
_globals['_MESSAGE_MESSAGETYPE']._serialized_end=2211
|
|
120
122
|
_globals['_CONVERSATION']._serialized_start=2213
|
|
121
|
-
_globals['_CONVERSATION']._serialized_end=
|
|
122
|
-
_globals['_FIELDCONVERSATION']._serialized_start=
|
|
123
|
-
_globals['_FIELDCONVERSATION']._serialized_end=
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
123
|
+
_globals['_CONVERSATION']._serialized_end=2338
|
|
124
|
+
_globals['_FIELDCONVERSATION']._serialized_start=2340
|
|
125
|
+
_globals['_FIELDCONVERSATION']._serialized_end=2453
|
|
126
|
+
_globals['_SPLITMETADATA']._serialized_start=2455
|
|
127
|
+
_globals['_SPLITMETADATA']._serialized_end=2470
|
|
128
|
+
_globals['_SPLITSMETADATA']._serialized_start=2473
|
|
129
|
+
_globals['_SPLITSMETADATA']._serialized_end=2623
|
|
130
|
+
_globals['_SPLITSMETADATA_METADATAENTRY']._serialized_start=2550
|
|
131
|
+
_globals['_SPLITSMETADATA_METADATAENTRY']._serialized_end=2623
|
|
132
|
+
_globals['_NESTEDPOSITION']._serialized_start=2625
|
|
133
|
+
_globals['_NESTEDPOSITION']._serialized_end=2683
|
|
134
|
+
_globals['_NESTEDLISTPOSITION']._serialized_start=2685
|
|
135
|
+
_globals['_NESTEDLISTPOSITION']._serialized_end=2751
|
|
136
|
+
_globals['_FILEEXTRACTEDDATA']._serialized_start=2754
|
|
137
|
+
_globals['_FILEEXTRACTEDDATA']._serialized_end=3850
|
|
130
138
|
_globals['_FILEEXTRACTEDDATA_METADATAENTRY']._serialized_start=1436
|
|
131
139
|
_globals['_FILEEXTRACTEDDATA_METADATAENTRY']._serialized_end=1483
|
|
132
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDENTRY']._serialized_start=
|
|
133
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDENTRY']._serialized_end=
|
|
134
|
-
_globals['_FILEEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_start=
|
|
135
|
-
_globals['_FILEEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_end=
|
|
136
|
-
_globals['_FILEEXTRACTEDDATA_FILEROWSPREVIEWSENTRY']._serialized_start=
|
|
137
|
-
_globals['_FILEEXTRACTEDDATA_FILEROWSPREVIEWSENTRY']._serialized_end=
|
|
138
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDPOSITIONENTRY']._serialized_start=
|
|
139
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDPOSITIONENTRY']._serialized_end=
|
|
140
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDLISTPOSITIONENTRY']._serialized_start=
|
|
141
|
-
_globals['_FILEEXTRACTEDDATA_NESTEDLISTPOSITIONENTRY']._serialized_end=
|
|
142
|
-
_globals['_LINKEXTRACTEDDATA']._serialized_start=
|
|
143
|
-
_globals['_LINKEXTRACTEDDATA']._serialized_end=
|
|
140
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDENTRY']._serialized_start=3476
|
|
141
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDENTRY']._serialized_end=3521
|
|
142
|
+
_globals['_FILEEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_start=3523
|
|
143
|
+
_globals['_FILEEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_end=3597
|
|
144
|
+
_globals['_FILEEXTRACTEDDATA_FILEROWSPREVIEWSENTRY']._serialized_start=3599
|
|
145
|
+
_globals['_FILEEXTRACTEDDATA_FILEROWSPREVIEWSENTRY']._serialized_end=3678
|
|
146
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDPOSITIONENTRY']._serialized_start=3680
|
|
147
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDPOSITIONENTRY']._serialized_end=3760
|
|
148
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDLISTPOSITIONENTRY']._serialized_start=3762
|
|
149
|
+
_globals['_FILEEXTRACTEDDATA_NESTEDLISTPOSITIONENTRY']._serialized_end=3850
|
|
150
|
+
_globals['_LINKEXTRACTEDDATA']._serialized_start=3853
|
|
151
|
+
_globals['_LINKEXTRACTEDDATA']._serialized_end=4453
|
|
144
152
|
_globals['_LINKEXTRACTEDDATA_METADATAENTRY']._serialized_start=1436
|
|
145
153
|
_globals['_LINKEXTRACTEDDATA_METADATAENTRY']._serialized_end=1483
|
|
146
|
-
_globals['_LINKEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_start=
|
|
147
|
-
_globals['_LINKEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_end=
|
|
148
|
-
_globals['_EXTRACTEDTEXTWRAPPER']._serialized_start=
|
|
149
|
-
_globals['_EXTRACTEDTEXTWRAPPER']._serialized_end=
|
|
150
|
-
_globals['_EXTRACTEDVECTORSWRAPPER']._serialized_start=
|
|
151
|
-
_globals['_EXTRACTEDVECTORSWRAPPER']._serialized_end=
|
|
152
|
-
_globals['_USERVECTORSWRAPPER']._serialized_start=
|
|
153
|
-
_globals['_USERVECTORSWRAPPER']._serialized_end=
|
|
154
|
-
_globals['_USERVECTORSWRAPPER_VECTORSTODELETEENTRY']._serialized_start=
|
|
155
|
-
_globals['_USERVECTORSWRAPPER_VECTORSTODELETEENTRY']._serialized_end=
|
|
156
|
-
_globals['_SENTENCE']._serialized_start=
|
|
157
|
-
_globals['_SENTENCE']._serialized_end=
|
|
158
|
-
_globals['_PAGEINFORMATION']._serialized_start=
|
|
159
|
-
_globals['_PAGEINFORMATION']._serialized_end=
|
|
160
|
-
_globals['_REPRESENTATION']._serialized_start=
|
|
161
|
-
_globals['_REPRESENTATION']._serialized_end=
|
|
162
|
-
_globals['_PARAGRAPHRELATIONS']._serialized_start=
|
|
163
|
-
_globals['_PARAGRAPHRELATIONS']._serialized_end=
|
|
164
|
-
_globals['_PARAGRAPH']._serialized_start=
|
|
165
|
-
_globals['_PARAGRAPH']._serialized_end=
|
|
166
|
-
_globals['_PARAGRAPH_TYPEPARAGRAPH']._serialized_start=
|
|
167
|
-
_globals['_PARAGRAPH_TYPEPARAGRAPH']._serialized_end=
|
|
168
|
-
_globals['_POSITION']._serialized_start=
|
|
169
|
-
_globals['_POSITION']._serialized_end=
|
|
170
|
-
_globals['_POSITIONS']._serialized_start=
|
|
171
|
-
_globals['_POSITIONS']._serialized_end=
|
|
172
|
-
_globals['_FIELDENTITY']._serialized_start=
|
|
173
|
-
_globals['_FIELDENTITY']._serialized_end=
|
|
174
|
-
_globals['_FIELDENTITIES']._serialized_start=
|
|
175
|
-
_globals['_FIELDENTITIES']._serialized_end=
|
|
176
|
-
_globals['_FIELDMETADATA']._serialized_start=
|
|
177
|
-
_globals['_FIELDMETADATA']._serialized_end=
|
|
178
|
-
_globals['_FIELDMETADATA_NERENTRY']._serialized_start=
|
|
179
|
-
_globals['_FIELDMETADATA_NERENTRY']._serialized_end=
|
|
180
|
-
_globals['_FIELDMETADATA_ENTITIESENTRY']._serialized_start=
|
|
181
|
-
_globals['_FIELDMETADATA_ENTITIESENTRY']._serialized_end=
|
|
182
|
-
_globals['_FIELDMETADATA_POSITIONSENTRY']._serialized_start=
|
|
183
|
-
_globals['_FIELDMETADATA_POSITIONSENTRY']._serialized_end=
|
|
184
|
-
_globals['_QUESTION']._serialized_start=
|
|
185
|
-
_globals['_QUESTION']._serialized_end=
|
|
186
|
-
_globals['_ANSWERS']._serialized_start=
|
|
187
|
-
_globals['_ANSWERS']._serialized_end=
|
|
188
|
-
_globals['_QUESTIONANSWER']._serialized_start=
|
|
189
|
-
_globals['_QUESTIONANSWER']._serialized_end=
|
|
190
|
-
_globals['_QUESTIONANSWERS']._serialized_start=
|
|
191
|
-
_globals['_QUESTIONANSWERS']._serialized_end=
|
|
192
|
-
_globals['_FIELDQUESTIONANSWERS']._serialized_start=
|
|
193
|
-
_globals['_FIELDQUESTIONANSWERS']._serialized_end=
|
|
194
|
-
_globals['_FIELDQUESTIONANSWERS_SPLITQUESTIONANSWERSENTRY']._serialized_start=
|
|
195
|
-
_globals['_FIELDQUESTIONANSWERS_SPLITQUESTIONANSWERSENTRY']._serialized_end=
|
|
196
|
-
_globals['_FIELDQUESTIONANSWERWRAPPER']._serialized_start=
|
|
197
|
-
_globals['_FIELDQUESTIONANSWERWRAPPER']._serialized_end=
|
|
198
|
-
_globals['_FIELDAUTHOR']._serialized_start=
|
|
199
|
-
_globals['_FIELDAUTHOR']._serialized_end=
|
|
200
|
-
_globals['_FIELDAUTHOR_USER']._serialized_start=
|
|
201
|
-
_globals['_FIELDAUTHOR_USER']._serialized_end=
|
|
202
|
-
_globals['_FIELDAUTHOR_DATAAUGMENTATION']._serialized_start=
|
|
203
|
-
_globals['_FIELDAUTHOR_DATAAUGMENTATION']._serialized_end=
|
|
204
|
-
_globals['_FIELDCOMPUTEDMETADATA']._serialized_start=
|
|
205
|
-
_globals['_FIELDCOMPUTEDMETADATA']._serialized_end=
|
|
206
|
-
_globals['_FIELDCOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_start=
|
|
207
|
-
_globals['_FIELDCOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_end=
|
|
208
|
-
_globals['_FIELDCOMPUTEDMETADATAWRAPPER']._serialized_start=
|
|
209
|
-
_globals['_FIELDCOMPUTEDMETADATAWRAPPER']._serialized_end=
|
|
210
|
-
_globals['_METADATA']._serialized_start=
|
|
211
|
-
_globals['_METADATA']._serialized_end=
|
|
154
|
+
_globals['_LINKEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_start=3523
|
|
155
|
+
_globals['_LINKEXTRACTEDDATA_FILEGENERATEDENTRY']._serialized_end=3597
|
|
156
|
+
_globals['_EXTRACTEDTEXTWRAPPER']._serialized_start=4456
|
|
157
|
+
_globals['_EXTRACTEDTEXTWRAPPER']._serialized_end=4605
|
|
158
|
+
_globals['_EXTRACTEDVECTORSWRAPPER']._serialized_start=4608
|
|
159
|
+
_globals['_EXTRACTEDVECTORSWRAPPER']._serialized_end=4784
|
|
160
|
+
_globals['_USERVECTORSWRAPPER']._serialized_start=4787
|
|
161
|
+
_globals['_USERVECTORSWRAPPER']._serialized_end=5040
|
|
162
|
+
_globals['_USERVECTORSWRAPPER_VECTORSTODELETEENTRY']._serialized_start=4962
|
|
163
|
+
_globals['_USERVECTORSWRAPPER_VECTORSTODELETEENTRY']._serialized_end=5040
|
|
164
|
+
_globals['_SENTENCE']._serialized_start=5042
|
|
165
|
+
_globals['_SENTENCE']._serialized_end=5093
|
|
166
|
+
_globals['_PAGEINFORMATION']._serialized_start=5095
|
|
167
|
+
_globals['_PAGEINFORMATION']._serialized_end=5152
|
|
168
|
+
_globals['_REPRESENTATION']._serialized_start=5154
|
|
169
|
+
_globals['_REPRESENTATION']._serialized_end=5214
|
|
170
|
+
_globals['_PARAGRAPHRELATIONS']._serialized_start=5216
|
|
171
|
+
_globals['_PARAGRAPHRELATIONS']._serialized_end=5293
|
|
172
|
+
_globals['_PARAGRAPH']._serialized_start=5296
|
|
173
|
+
_globals['_PARAGRAPH']._serialized_end=5790
|
|
174
|
+
_globals['_PARAGRAPH_TYPEPARAGRAPH']._serialized_start=5680
|
|
175
|
+
_globals['_PARAGRAPH_TYPEPARAGRAPH']._serialized_end=5784
|
|
176
|
+
_globals['_POSITION']._serialized_start=5792
|
|
177
|
+
_globals['_POSITION']._serialized_end=5830
|
|
178
|
+
_globals['_POSITIONS']._serialized_start=5832
|
|
179
|
+
_globals['_POSITIONS']._serialized_end=5898
|
|
180
|
+
_globals['_FIELDENTITY']._serialized_start=5900
|
|
181
|
+
_globals['_FIELDENTITY']._serialized_end=5982
|
|
182
|
+
_globals['_FIELDENTITIES']._serialized_start=5984
|
|
183
|
+
_globals['_FIELDENTITIES']._serialized_end=6041
|
|
184
|
+
_globals['_FIELDMETADATA']._serialized_start=6044
|
|
185
|
+
_globals['_FIELDMETADATA']._serialized_end=6924
|
|
186
|
+
_globals['_FIELDMETADATA_NERENTRY']._serialized_start=6735
|
|
187
|
+
_globals['_FIELDMETADATA_NERENTRY']._serialized_end=6777
|
|
188
|
+
_globals['_FIELDMETADATA_ENTITIESENTRY']._serialized_start=6779
|
|
189
|
+
_globals['_FIELDMETADATA_ENTITIESENTRY']._serialized_end=6852
|
|
190
|
+
_globals['_FIELDMETADATA_POSITIONSENTRY']._serialized_start=6854
|
|
191
|
+
_globals['_FIELDMETADATA_POSITIONSENTRY']._serialized_end=6924
|
|
192
|
+
_globals['_QUESTION']._serialized_start=6926
|
|
193
|
+
_globals['_QUESTION']._serialized_end=6992
|
|
194
|
+
_globals['_ANSWERS']._serialized_start=6994
|
|
195
|
+
_globals['_ANSWERS']._serialized_end=7079
|
|
196
|
+
_globals['_QUESTIONANSWER']._serialized_start=7081
|
|
197
|
+
_globals['_QUESTIONANSWER']._serialized_end=7173
|
|
198
|
+
_globals['_QUESTIONANSWERS']._serialized_start=7175
|
|
199
|
+
_globals['_QUESTIONANSWERS']._serialized_end=7244
|
|
200
|
+
_globals['_FIELDQUESTIONANSWERS']._serialized_start=7247
|
|
201
|
+
_globals['_FIELDQUESTIONANSWERS']._serialized_end=7527
|
|
202
|
+
_globals['_FIELDQUESTIONANSWERS_SPLITQUESTIONANSWERSENTRY']._serialized_start=7440
|
|
203
|
+
_globals['_FIELDQUESTIONANSWERS_SPLITQUESTIONANSWERSENTRY']._serialized_end=7527
|
|
204
|
+
_globals['_FIELDQUESTIONANSWERWRAPPER']._serialized_start=7530
|
|
205
|
+
_globals['_FIELDQUESTIONANSWERWRAPPER']._serialized_end=7708
|
|
206
|
+
_globals['_FIELDAUTHOR']._serialized_start=7711
|
|
207
|
+
_globals['_FIELDAUTHOR']._serialized_end=7877
|
|
208
|
+
_globals['_FIELDAUTHOR_USER']._serialized_start=7841
|
|
209
|
+
_globals['_FIELDAUTHOR_USER']._serialized_end=7847
|
|
210
|
+
_globals['_FIELDAUTHOR_DATAAUGMENTATION']._serialized_start=7849
|
|
211
|
+
_globals['_FIELDAUTHOR_DATAAUGMENTATION']._serialized_end=7867
|
|
212
|
+
_globals['_FIELDCOMPUTEDMETADATA']._serialized_start=7880
|
|
213
|
+
_globals['_FIELDCOMPUTEDMETADATA']._serialized_end=8128
|
|
214
|
+
_globals['_FIELDCOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_start=8050
|
|
215
|
+
_globals['_FIELDCOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_end=8128
|
|
216
|
+
_globals['_FIELDCOMPUTEDMETADATAWRAPPER']._serialized_start=8130
|
|
217
|
+
_globals['_FIELDCOMPUTEDMETADATAWRAPPER']._serialized_end=8247
|
|
218
|
+
_globals['_METADATA']._serialized_start=8250
|
|
219
|
+
_globals['_METADATA']._serialized_end=8534
|
|
212
220
|
_globals['_METADATA_METADATAENTRY']._serialized_start=1436
|
|
213
221
|
_globals['_METADATA_METADATAENTRY']._serialized_end=1483
|
|
214
|
-
_globals['_METADATA_STATUS']._serialized_start=
|
|
215
|
-
_globals['_METADATA_STATUS']._serialized_end=
|
|
216
|
-
_globals['_FIELDTEXT']._serialized_start=
|
|
217
|
-
_globals['_FIELDTEXT']._serialized_end=
|
|
218
|
-
_globals['_FIELDTEXT_FORMAT']._serialized_start=
|
|
219
|
-
_globals['_FIELDTEXT_FORMAT']._serialized_end=
|
|
220
|
-
_globals['_BLOCK']._serialized_start=
|
|
221
|
-
_globals['_BLOCK']._serialized_end=
|
|
222
|
-
_globals['_BLOCK_TYPEBLOCK']._serialized_start=
|
|
223
|
-
_globals['_BLOCK_TYPEBLOCK']._serialized_end=
|
|
224
|
-
_globals['_CLASSIFICATION']._serialized_start=
|
|
225
|
-
_globals['_CLASSIFICATION']._serialized_end=
|
|
226
|
-
_globals['_USERMETADATA']._serialized_start=
|
|
227
|
-
_globals['_USERMETADATA']._serialized_end=
|
|
228
|
-
_globals['_FIELDCLASSIFICATIONS']._serialized_start=
|
|
229
|
-
_globals['_FIELDCLASSIFICATIONS']._serialized_end=
|
|
230
|
-
_globals['_COMPUTEDMETADATA']._serialized_start=
|
|
231
|
-
_globals['_COMPUTEDMETADATA']._serialized_end=
|
|
232
|
-
_globals['_PARAGRAPHANNOTATION']._serialized_start=
|
|
233
|
-
_globals['_PARAGRAPHANNOTATION']._serialized_end=
|
|
234
|
-
_globals['_QUESTIONANSWERANNOTATION']._serialized_start=
|
|
235
|
-
_globals['_QUESTIONANSWERANNOTATION']._serialized_end=
|
|
236
|
-
_globals['_USERFIELDMETADATA']._serialized_start=
|
|
237
|
-
_globals['_USERFIELDMETADATA']._serialized_end=
|
|
238
|
-
_globals['_FIELDLINK']._serialized_start=
|
|
239
|
-
_globals['_FIELDLINK']._serialized_end=
|
|
240
|
-
_globals['_FIELDLINK_HEADERSENTRY']._serialized_start=
|
|
241
|
-
_globals['_FIELDLINK_HEADERSENTRY']._serialized_end=
|
|
242
|
-
_globals['_FIELDLINK_COOKIESENTRY']._serialized_start=
|
|
243
|
-
_globals['_FIELDLINK_COOKIESENTRY']._serialized_end=
|
|
244
|
-
_globals['_FIELDLINK_LOCALSTORAGEENTRY']._serialized_start=
|
|
245
|
-
_globals['_FIELDLINK_LOCALSTORAGEENTRY']._serialized_end=
|
|
246
|
-
_globals['_FIELDFILE']._serialized_start=
|
|
247
|
-
_globals['_FIELDFILE']._serialized_end=
|
|
248
|
-
_globals['_FIELDFILE_HEADERSENTRY']._serialized_start=
|
|
249
|
-
_globals['_FIELDFILE_HEADERSENTRY']._serialized_end=
|
|
250
|
-
_globals['_ENTITY']._serialized_start=
|
|
251
|
-
_globals['_ENTITY']._serialized_end=
|
|
252
|
-
_globals['_FIELDLARGEMETADATA']._serialized_start=
|
|
253
|
-
_globals['_FIELDLARGEMETADATA']._serialized_end=
|
|
254
|
-
_globals['_FIELDLARGEMETADATA_TOKENSENTRY']._serialized_start=
|
|
255
|
-
_globals['_FIELDLARGEMETADATA_TOKENSENTRY']._serialized_end=
|
|
256
|
-
_globals['_LARGECOMPUTEDMETADATA']._serialized_start=
|
|
257
|
-
_globals['_LARGECOMPUTEDMETADATA']._serialized_end=
|
|
258
|
-
_globals['_LARGECOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_start=
|
|
259
|
-
_globals['_LARGECOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_end=
|
|
260
|
-
_globals['_LARGECOMPUTEDMETADATAWRAPPER']._serialized_start=
|
|
261
|
-
_globals['_LARGECOMPUTEDMETADATAWRAPPER']._serialized_end=
|
|
262
|
-
_globals['_PAGEPOSITIONS']._serialized_start=
|
|
263
|
-
_globals['_PAGEPOSITIONS']._serialized_end=
|
|
264
|
-
_globals['_PAGESTRUCTUREPAGE']._serialized_start=
|
|
265
|
-
_globals['_PAGESTRUCTUREPAGE']._serialized_end=
|
|
266
|
-
_globals['_PAGESTRUCTURETOKEN']._serialized_start=
|
|
267
|
-
_globals['_PAGESTRUCTURETOKEN']._serialized_end=
|
|
268
|
-
_globals['_PAGESTRUCTURE']._serialized_start=
|
|
269
|
-
_globals['_PAGESTRUCTURE']._serialized_end=
|
|
270
|
-
_globals['_FILEPAGES']._serialized_start=
|
|
271
|
-
_globals['_FILEPAGES']._serialized_end=
|
|
272
|
-
_globals['_ROWSPREVIEW']._serialized_start=
|
|
273
|
-
_globals['_ROWSPREVIEW']._serialized_end=
|
|
274
|
-
_globals['_ROWSPREVIEW_SHEET']._serialized_start=
|
|
275
|
-
_globals['_ROWSPREVIEW_SHEET']._serialized_end=
|
|
276
|
-
_globals['_ROWSPREVIEW_SHEET_ROW']._serialized_start=
|
|
277
|
-
_globals['_ROWSPREVIEW_SHEET_ROW']._serialized_end=
|
|
278
|
-
_globals['_ROWSPREVIEW_SHEETSENTRY']._serialized_start=
|
|
279
|
-
_globals['_ROWSPREVIEW_SHEETSENTRY']._serialized_end=
|
|
280
|
-
_globals['_FIELDID']._serialized_start=
|
|
281
|
-
_globals['_FIELDID']._serialized_end=
|
|
282
|
-
_globals['_ALLFIELDIDS']._serialized_start=
|
|
283
|
-
_globals['_ALLFIELDIDS']._serialized_end=
|
|
222
|
+
_globals['_METADATA_STATUS']._serialized_start=8461
|
|
223
|
+
_globals['_METADATA_STATUS']._serialized_end=8534
|
|
224
|
+
_globals['_FIELDTEXT']._serialized_start=8537
|
|
225
|
+
_globals['_FIELDTEXT']._serialized_end=8837
|
|
226
|
+
_globals['_FIELDTEXT_FORMAT']._serialized_start=8718
|
|
227
|
+
_globals['_FIELDTEXT_FORMAT']._serialized_end=8837
|
|
228
|
+
_globals['_BLOCK']._serialized_start=8840
|
|
229
|
+
_globals['_BLOCK']._serialized_end=9124
|
|
230
|
+
_globals['_BLOCK_TYPEBLOCK']._serialized_start=9009
|
|
231
|
+
_globals['_BLOCK_TYPEBLOCK']._serialized_end=9124
|
|
232
|
+
_globals['_CLASSIFICATION']._serialized_start=9126
|
|
233
|
+
_globals['_CLASSIFICATION']._serialized_end=9217
|
|
234
|
+
_globals['_USERMETADATA']._serialized_start=9219
|
|
235
|
+
_globals['_USERMETADATA']._serialized_end=9285
|
|
236
|
+
_globals['_FIELDCLASSIFICATIONS']._serialized_start=9287
|
|
237
|
+
_globals['_FIELDCLASSIFICATIONS']._serialized_end=9396
|
|
238
|
+
_globals['_COMPUTEDMETADATA']._serialized_start=9398
|
|
239
|
+
_globals['_COMPUTEDMETADATA']._serialized_end=9480
|
|
240
|
+
_globals['_PARAGRAPHANNOTATION']._serialized_start=9482
|
|
241
|
+
_globals['_PARAGRAPHANNOTATION']._serialized_end=9568
|
|
242
|
+
_globals['_QUESTIONANSWERANNOTATION']._serialized_start=9570
|
|
243
|
+
_globals['_QUESTIONANSWERANNOTATION']._serialized_end=9675
|
|
244
|
+
_globals['_USERFIELDMETADATA']._serialized_start=9678
|
|
245
|
+
_globals['_USERFIELDMETADATA']._serialized_end=9859
|
|
246
|
+
_globals['_FIELDLINK']._serialized_start=9862
|
|
247
|
+
_globals['_FIELDLINK']._serialized_end=10349
|
|
248
|
+
_globals['_FIELDLINK_HEADERSENTRY']._serialized_start=10202
|
|
249
|
+
_globals['_FIELDLINK_HEADERSENTRY']._serialized_end=10248
|
|
250
|
+
_globals['_FIELDLINK_COOKIESENTRY']._serialized_start=10250
|
|
251
|
+
_globals['_FIELDLINK_COOKIESENTRY']._serialized_end=10296
|
|
252
|
+
_globals['_FIELDLINK_LOCALSTORAGEENTRY']._serialized_start=10298
|
|
253
|
+
_globals['_FIELDLINK_LOCALSTORAGEENTRY']._serialized_end=10349
|
|
254
|
+
_globals['_FIELDFILE']._serialized_start=10352
|
|
255
|
+
_globals['_FIELDFILE']._serialized_end=10641
|
|
256
|
+
_globals['_FIELDFILE_HEADERSENTRY']._serialized_start=10202
|
|
257
|
+
_globals['_FIELDFILE_HEADERSENTRY']._serialized_end=10248
|
|
258
|
+
_globals['_ENTITY']._serialized_start=10643
|
|
259
|
+
_globals['_ENTITY']._serialized_end=10694
|
|
260
|
+
_globals['_FIELDLARGEMETADATA']._serialized_start=10697
|
|
261
|
+
_globals['_FIELDLARGEMETADATA']._serialized_end=10860
|
|
262
|
+
_globals['_FIELDLARGEMETADATA_TOKENSENTRY']._serialized_start=10815
|
|
263
|
+
_globals['_FIELDLARGEMETADATA_TOKENSENTRY']._serialized_end=10860
|
|
264
|
+
_globals['_LARGECOMPUTEDMETADATA']._serialized_start=10863
|
|
265
|
+
_globals['_LARGECOMPUTEDMETADATA']._serialized_end=11121
|
|
266
|
+
_globals['_LARGECOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_start=11038
|
|
267
|
+
_globals['_LARGECOMPUTEDMETADATA_SPLITMETADATAENTRY']._serialized_end=11121
|
|
268
|
+
_globals['_LARGECOMPUTEDMETADATAWRAPPER']._serialized_start=11124
|
|
269
|
+
_globals['_LARGECOMPUTEDMETADATAWRAPPER']._serialized_end=11293
|
|
270
|
+
_globals['_PAGEPOSITIONS']._serialized_start=11295
|
|
271
|
+
_globals['_PAGEPOSITIONS']._serialized_end=11338
|
|
272
|
+
_globals['_PAGESTRUCTUREPAGE']._serialized_start=11340
|
|
273
|
+
_globals['_PAGESTRUCTUREPAGE']._serialized_end=11390
|
|
274
|
+
_globals['_PAGESTRUCTURETOKEN']._serialized_start=11392
|
|
275
|
+
_globals['_PAGESTRUCTURETOKEN']._serialized_end=11493
|
|
276
|
+
_globals['_PAGESTRUCTURE']._serialized_start=11495
|
|
277
|
+
_globals['_PAGESTRUCTURE']._serialized_end=11601
|
|
278
|
+
_globals['_FILEPAGES']._serialized_start=11604
|
|
279
|
+
_globals['_FILEPAGES']._serialized_end=11743
|
|
280
|
+
_globals['_ROWSPREVIEW']._serialized_start=11746
|
|
281
|
+
_globals['_ROWSPREVIEW']._serialized_end=11966
|
|
282
|
+
_globals['_ROWSPREVIEW_SHEET']._serialized_start=11813
|
|
283
|
+
_globals['_ROWSPREVIEW_SHEET']._serialized_end=11889
|
|
284
|
+
_globals['_ROWSPREVIEW_SHEET_ROW']._serialized_start=11870
|
|
285
|
+
_globals['_ROWSPREVIEW_SHEET_ROW']._serialized_end=11889
|
|
286
|
+
_globals['_ROWSPREVIEW_SHEETSENTRY']._serialized_start=11891
|
|
287
|
+
_globals['_ROWSPREVIEW_SHEETSENTRY']._serialized_end=11966
|
|
288
|
+
_globals['_FIELDID']._serialized_start=11968
|
|
289
|
+
_globals['_FIELDID']._serialized_end=12034
|
|
290
|
+
_globals['_ALLFIELDIDS']._serialized_start=12036
|
|
291
|
+
_globals['_ALLFIELDIDS']._serialized_end=12085
|
|
284
292
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -486,8 +486,14 @@ class Conversation(google.protobuf.message.Message):
|
|
|
486
486
|
MESSAGES_FIELD_NUMBER: builtins.int
|
|
487
487
|
EXTRACT_STRATEGY_FIELD_NUMBER: builtins.int
|
|
488
488
|
SPLIT_STRATEGY_FIELD_NUMBER: builtins.int
|
|
489
|
+
REPLACE_FIELD_FIELD_NUMBER: builtins.int
|
|
489
490
|
extract_strategy: builtins.str
|
|
490
491
|
split_strategy: builtins.str
|
|
492
|
+
replace_field: builtins.bool
|
|
493
|
+
"""The same message is used for both replacing and appending messages to an existing conversation.
|
|
494
|
+
We need this boolean flag to disambiguate at the ingestion of writer messages to know if new pages
|
|
495
|
+
need to be created or if we need to replace existing ones. replace_field will be false on append operations.
|
|
496
|
+
"""
|
|
491
497
|
@property
|
|
492
498
|
def messages(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Message]: ...
|
|
493
499
|
def __init__(
|
|
@@ -496,8 +502,9 @@ class Conversation(google.protobuf.message.Message):
|
|
|
496
502
|
messages: collections.abc.Iterable[global___Message] | None = ...,
|
|
497
503
|
extract_strategy: builtins.str = ...,
|
|
498
504
|
split_strategy: builtins.str = ...,
|
|
505
|
+
replace_field: builtins.bool = ...,
|
|
499
506
|
) -> None: ...
|
|
500
|
-
def ClearField(self, field_name: typing.Literal["extract_strategy", b"extract_strategy", "messages", b"messages", "split_strategy", b"split_strategy"]) -> None: ...
|
|
507
|
+
def ClearField(self, field_name: typing.Literal["extract_strategy", b"extract_strategy", "messages", b"messages", "replace_field", b"replace_field", "split_strategy", b"split_strategy"]) -> None: ...
|
|
501
508
|
|
|
502
509
|
global___Conversation = Conversation
|
|
503
510
|
|
|
@@ -531,6 +538,50 @@ class FieldConversation(google.protobuf.message.Message):
|
|
|
531
538
|
|
|
532
539
|
global___FieldConversation = FieldConversation
|
|
533
540
|
|
|
541
|
+
@typing.final
|
|
542
|
+
class SplitMetadata(google.protobuf.message.Message):
|
|
543
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
544
|
+
|
|
545
|
+
def __init__(
|
|
546
|
+
self,
|
|
547
|
+
) -> None: ...
|
|
548
|
+
|
|
549
|
+
global___SplitMetadata = SplitMetadata
|
|
550
|
+
|
|
551
|
+
@typing.final
|
|
552
|
+
class SplitsMetadata(google.protobuf.message.Message):
|
|
553
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
554
|
+
|
|
555
|
+
@typing.final
|
|
556
|
+
class MetadataEntry(google.protobuf.message.Message):
|
|
557
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
558
|
+
|
|
559
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
560
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
561
|
+
key: builtins.str
|
|
562
|
+
@property
|
|
563
|
+
def value(self) -> global___SplitMetadata: ...
|
|
564
|
+
def __init__(
|
|
565
|
+
self,
|
|
566
|
+
*,
|
|
567
|
+
key: builtins.str = ...,
|
|
568
|
+
value: global___SplitMetadata | None = ...,
|
|
569
|
+
) -> None: ...
|
|
570
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
|
571
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
572
|
+
|
|
573
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
574
|
+
@property
|
|
575
|
+
def metadata(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___SplitMetadata]: ...
|
|
576
|
+
def __init__(
|
|
577
|
+
self,
|
|
578
|
+
*,
|
|
579
|
+
metadata: collections.abc.Mapping[builtins.str, global___SplitMetadata] | None = ...,
|
|
580
|
+
) -> None: ...
|
|
581
|
+
def ClearField(self, field_name: typing.Literal["metadata", b"metadata"]) -> None: ...
|
|
582
|
+
|
|
583
|
+
global___SplitsMetadata = SplitsMetadata
|
|
584
|
+
|
|
534
585
|
@typing.final
|
|
535
586
|
class NestedPosition(google.protobuf.message.Message):
|
|
536
587
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -1046,7 +1097,6 @@ class Paragraph(google.protobuf.message.Message):
|
|
|
1046
1097
|
KIND_FIELD_NUMBER: builtins.int
|
|
1047
1098
|
CLASSIFICATIONS_FIELD_NUMBER: builtins.int
|
|
1048
1099
|
SENTENCES_FIELD_NUMBER: builtins.int
|
|
1049
|
-
KEY_FIELD_NUMBER: builtins.int
|
|
1050
1100
|
TEXT_FIELD_NUMBER: builtins.int
|
|
1051
1101
|
PAGE_FIELD_NUMBER: builtins.int
|
|
1052
1102
|
REPRESENTATION_FIELD_NUMBER: builtins.int
|
|
@@ -1054,7 +1104,6 @@ class Paragraph(google.protobuf.message.Message):
|
|
|
1054
1104
|
start: builtins.int
|
|
1055
1105
|
end: builtins.int
|
|
1056
1106
|
kind: global___Paragraph.TypeParagraph.ValueType
|
|
1057
|
-
key: builtins.str
|
|
1058
1107
|
text: builtins.str
|
|
1059
1108
|
"""Optional, as a computed value"""
|
|
1060
1109
|
@property
|
|
@@ -1081,14 +1130,13 @@ class Paragraph(google.protobuf.message.Message):
|
|
|
1081
1130
|
kind: global___Paragraph.TypeParagraph.ValueType = ...,
|
|
1082
1131
|
classifications: collections.abc.Iterable[global___Classification] | None = ...,
|
|
1083
1132
|
sentences: collections.abc.Iterable[global___Sentence] | None = ...,
|
|
1084
|
-
key: builtins.str = ...,
|
|
1085
1133
|
text: builtins.str = ...,
|
|
1086
1134
|
page: global___PageInformation | None = ...,
|
|
1087
1135
|
representation: global___Representation | None = ...,
|
|
1088
1136
|
relations: global___ParagraphRelations | None = ...,
|
|
1089
1137
|
) -> None: ...
|
|
1090
1138
|
def HasField(self, field_name: typing.Literal["page", b"page", "relations", b"relations", "representation", b"representation"]) -> builtins.bool: ...
|
|
1091
|
-
def ClearField(self, field_name: typing.Literal["classifications", b"classifications", "end", b"end", "end_seconds", b"end_seconds", "
|
|
1139
|
+
def ClearField(self, field_name: typing.Literal["classifications", b"classifications", "end", b"end", "end_seconds", b"end_seconds", "kind", b"kind", "page", b"page", "relations", b"relations", "representation", b"representation", "sentences", b"sentences", "start", b"start", "start_seconds", b"start_seconds", "text", b"text"]) -> None: ...
|
|
1092
1140
|
|
|
1093
1141
|
global___Paragraph = Paragraph
|
|
1094
1142
|
|
nucliadb_protos/train_pb2.pyi
CHANGED
|
@@ -124,6 +124,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
124
124
|
Representation as Representation,
|
|
125
125
|
RowsPreview as RowsPreview,
|
|
126
126
|
Sentence as Sentence,
|
|
127
|
+
SplitMetadata as SplitMetadata,
|
|
128
|
+
SplitsMetadata as SplitsMetadata,
|
|
127
129
|
TEXT as TEXT,
|
|
128
130
|
UserFieldMetadata as UserFieldMetadata,
|
|
129
131
|
UserMetadata as UserMetadata,
|
|
@@ -122,6 +122,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
122
122
|
Representation as Representation,
|
|
123
123
|
RowsPreview as RowsPreview,
|
|
124
124
|
Sentence as Sentence,
|
|
125
|
+
SplitMetadata as SplitMetadata,
|
|
126
|
+
SplitsMetadata as SplitsMetadata,
|
|
125
127
|
TEXT as TEXT,
|
|
126
128
|
UserFieldMetadata as UserFieldMetadata,
|
|
127
129
|
UserMetadata as UserMetadata,
|
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\t\n\x05MULTI\x10\x01\x12\n\n\x06\x43OMMIT\x10\x02\x12\x0c\n\x08ROLLBACK\x10\x03\x12\n\n\x06\x44\x45LETE\x10\x04\"*\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
|
@@ -161,6 +161,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
161
161
|
Representation as Representation,
|
|
162
162
|
RowsPreview as RowsPreview,
|
|
163
163
|
Sentence as Sentence,
|
|
164
|
+
SplitMetadata as SplitMetadata,
|
|
165
|
+
SplitsMetadata as SplitsMetadata,
|
|
164
166
|
TEXT as TEXT,
|
|
165
167
|
UserFieldMetadata as UserFieldMetadata,
|
|
166
168
|
UserMetadata as UserMetadata,
|
|
@@ -359,17 +361,19 @@ class BrokerMessage(google.protobuf.message.Message):
|
|
|
359
361
|
class _MessageTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[BrokerMessage._MessageType.ValueType], builtins.type):
|
|
360
362
|
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
361
363
|
AUTOCOMMIT: BrokerMessage._MessageType.ValueType # 0
|
|
364
|
+
DELETE: BrokerMessage._MessageType.ValueType # 4
|
|
362
365
|
MULTI: BrokerMessage._MessageType.ValueType # 1
|
|
366
|
+
"""Deprecated, multi-commit transactions have never worked. Not implemented."""
|
|
363
367
|
COMMIT: BrokerMessage._MessageType.ValueType # 2
|
|
364
368
|
ROLLBACK: BrokerMessage._MessageType.ValueType # 3
|
|
365
|
-
DELETE: BrokerMessage._MessageType.ValueType # 4
|
|
366
369
|
|
|
367
370
|
class MessageType(_MessageType, metaclass=_MessageTypeEnumTypeWrapper): ...
|
|
368
371
|
AUTOCOMMIT: BrokerMessage.MessageType.ValueType # 0
|
|
372
|
+
DELETE: BrokerMessage.MessageType.ValueType # 4
|
|
369
373
|
MULTI: BrokerMessage.MessageType.ValueType # 1
|
|
374
|
+
"""Deprecated, multi-commit transactions have never worked. Not implemented."""
|
|
370
375
|
COMMIT: BrokerMessage.MessageType.ValueType # 2
|
|
371
376
|
ROLLBACK: BrokerMessage.MessageType.ValueType # 3
|
|
372
|
-
DELETE: BrokerMessage.MessageType.ValueType # 4
|
|
373
377
|
|
|
374
378
|
class _MessageSource:
|
|
375
379
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -1530,12 +1534,18 @@ class NewKnowledgeBoxV2Request(google.protobuf.message.Message):
|
|
|
1530
1534
|
EXTERNAL_INDEX_PROVIDER_FIELD_NUMBER: builtins.int
|
|
1531
1535
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
1532
1536
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
1537
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
1533
1538
|
kbid: builtins.str
|
|
1534
1539
|
slug: builtins.str
|
|
1535
1540
|
title: builtins.str
|
|
1536
1541
|
description: builtins.str
|
|
1537
1542
|
hidden_resources_enabled: builtins.bool
|
|
1538
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
|
+
"""
|
|
1539
1549
|
@property
|
|
1540
1550
|
def vectorsets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NewKnowledgeBoxV2Request.VectorSet]: ...
|
|
1541
1551
|
@property
|
|
@@ -1551,9 +1561,10 @@ class NewKnowledgeBoxV2Request(google.protobuf.message.Message):
|
|
|
1551
1561
|
external_index_provider: nucliadb_protos.knowledgebox_pb2.CreateExternalIndexProviderMetadata | None = ...,
|
|
1552
1562
|
hidden_resources_enabled: builtins.bool = ...,
|
|
1553
1563
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
1564
|
+
prewarm_enabled: builtins.bool = ...,
|
|
1554
1565
|
) -> None: ...
|
|
1555
1566
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
1556
|
-
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: ...
|
|
1557
1568
|
|
|
1558
1569
|
global___NewKnowledgeBoxV2Request = NewKnowledgeBoxV2Request
|
|
1559
1570
|
|
|
@@ -151,6 +151,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
151
151
|
Representation as Representation,
|
|
152
152
|
RowsPreview as RowsPreview,
|
|
153
153
|
Sentence as Sentence,
|
|
154
|
+
SplitMetadata as SplitMetadata,
|
|
155
|
+
SplitsMetadata as SplitsMetadata,
|
|
154
156
|
TEXT as TEXT,
|
|
155
157
|
UserFieldMetadata as UserFieldMetadata,
|
|
156
158
|
UserMetadata as UserMetadata,
|
{nucliadb_protos-6.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.dist-info}/METADATA
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nucliadb_protos
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.9.5.post5393
|
|
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.8.1.post4961.dist-info → nucliadb_protos-6.9.5.post5393.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.
|
|
4
|
-
nucliadb_protos-6.
|
|
5
|
-
nucliadb_protos-6.
|
|
3
|
+
nucliadb_protos-6.9.5.post5393.dist-info/METADATA,sha256=zDO2Or2VX4lvOhUwvskJby5iPJDCqDijG9OvpGlm3W4,779
|
|
4
|
+
nucliadb_protos-6.9.5.post5393.dist-info/WHEEL,sha256=tsUv_t7BDeJeRHaSrczbGeuK-TtDpGsWi_JfpzD255I,90
|
|
5
|
+
nucliadb_protos-6.9.5.post5393.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
|
|
@@ -10,28 +10,28 @@ nucliadb_protos/backups_pb2.pyi,sha256=OU3jM6utKOuYS0sEqP6ajEEMkl-dYQv8muJZ21-oX
|
|
|
10
10
|
nucliadb_protos/backups_pb2_grpc.py,sha256=rfQlAMHvnbTkUr-3AG1GdBkW8oN37mdYTUA50rWuOaA,904
|
|
11
11
|
nucliadb_protos/backups_pb2_grpc.pyi,sha256=Dl8kkjhqb6F1Kt24mcFg7ppish4iKVfjRiiBxEjsMMA,413
|
|
12
12
|
nucliadb_protos/dataset_pb2.py,sha256=kci_RjD_fQlfS7_lZKypmNruKkrVA_hUGTFkMv2Tg74,7648
|
|
13
|
-
nucliadb_protos/dataset_pb2.pyi,sha256=
|
|
14
|
-
nucliadb_protos/kb_usage_pb2.py,sha256=
|
|
15
|
-
nucliadb_protos/kb_usage_pb2.pyi,sha256=
|
|
16
|
-
nucliadb_protos/knowledgebox_pb2.py,sha256=
|
|
17
|
-
nucliadb_protos/knowledgebox_pb2.pyi,sha256=
|
|
13
|
+
nucliadb_protos/dataset_pb2.pyi,sha256=rzzXFjtp8FvBsEmo5gOAwbyOEdFZR1JKSmlKhrwvDzQ,22184
|
|
14
|
+
nucliadb_protos/kb_usage_pb2.py,sha256=dBQ4qvyiLmwTGAPiXc7_LQOzsNLq56dP3QDFCuIQsHs,6393
|
|
15
|
+
nucliadb_protos/kb_usage_pb2.pyi,sha256=gsmirQlQYQX0QlMTcouOFPiR8PaBjm8fQU24tritPTA,16412
|
|
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
|
|
21
|
-
nucliadb_protos/resources_pb2.py,sha256=
|
|
22
|
-
nucliadb_protos/resources_pb2.pyi,sha256=
|
|
21
|
+
nucliadb_protos/resources_pb2.py,sha256=5irPkRJZfgbgD1zuieYdgAwfwIbN35ZDWl38-B7bxG4,38133
|
|
22
|
+
nucliadb_protos/resources_pb2.pyi,sha256=gNy7461ndv3GuF_VBZ9WO8x0z1Ao5cq9QLqG6a06aSk,100157
|
|
23
23
|
nucliadb_protos/standalone_pb2.py,sha256=h0-EuNCarB-RBqmqJMt4GNnXDxd0bbHTdW2q16hsdiQ,2447
|
|
24
24
|
nucliadb_protos/standalone_pb2.pyi,sha256=t5qzk1ZPg-98lAqDIsp3aE_8fzMOtI0J2Emex1b79xg,2533
|
|
25
25
|
nucliadb_protos/standalone_pb2_grpc.py,sha256=Fm_jw7C1fkpMz9VFIuLHE1y6UxQpFlzSmJBzthtgb-c,5595
|
|
26
26
|
nucliadb_protos/standalone_pb2_grpc.pyi,sha256=0gHvBKQW5abeoK64pVfBekpK1o_lMg89gPdd3ar8Rco,2145
|
|
27
27
|
nucliadb_protos/train_pb2.py,sha256=H-ORaT2z0W97_eXok1sojjnlueXhc1T6OIfIPeHT634,12484
|
|
28
|
-
nucliadb_protos/train_pb2.pyi,sha256=
|
|
28
|
+
nucliadb_protos/train_pb2.pyi,sha256=JdW-hJypbPFJIwJ6UnddJQFV1h7Qu2hVMQFwyyb_Vh4,28452
|
|
29
29
|
nucliadb_protos/train_pb2_grpc.py,sha256=IZAwhOzKrbrVZSq55_45TIm3BywGmlWmWVM3iadhQl8,16143
|
|
30
|
-
nucliadb_protos/train_pb2_grpc.pyi,sha256=
|
|
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
|
-
nucliadb_protos/writer_pb2_grpc.pyi,sha256=
|
|
37
|
-
nucliadb_protos-6.
|
|
36
|
+
nucliadb_protos/writer_pb2_grpc.pyi,sha256=piJyjPCvEfscBGEhF1AoFCE0R5fgt1y2w38_2IxKKa8,17638
|
|
37
|
+
nucliadb_protos-6.9.5.post5393.dist-info/RECORD,,
|
|
File without changes
|