nucliadb-protos 6.9.4.post5357__py3-none-any.whl → 6.10.0.post5792__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.
- build.py +1 -1
- nucliadb_protos/audit_pb2.py +4 -4
- nucliadb_protos/backups_pb2.py +4 -4
- nucliadb_protos/backups_pb2_grpc.py +2 -2
- nucliadb_protos/dataset_pb2.py +4 -4
- nucliadb_protos/dataset_pb2.pyi +1 -0
- nucliadb_protos/kb_usage_pb2.py +10 -10
- nucliadb_protos/kb_usage_pb2.pyi +2 -0
- nucliadb_protos/knowledgebox_pb2.py +80 -82
- nucliadb_protos/knowledgebox_pb2.pyi +1 -8
- nucliadb_protos/migrations_pb2.py +4 -4
- nucliadb_protos/resources_pb2.py +199 -197
- nucliadb_protos/resources_pb2.pyi +24 -5
- nucliadb_protos/standalone_pb2.py +4 -4
- nucliadb_protos/standalone_pb2_grpc.py +2 -2
- nucliadb_protos/train_pb2.py +4 -4
- nucliadb_protos/train_pb2.pyi +1 -7
- nucliadb_protos/train_pb2_grpc.py +2 -2
- nucliadb_protos/train_pb2_grpc.pyi +1 -7
- nucliadb_protos/utils_pb2.py +5 -7
- nucliadb_protos/utils_pb2.pyi +0 -15
- nucliadb_protos/writer_pb2.py +79 -107
- nucliadb_protos/writer_pb2.pyi +2 -254
- nucliadb_protos/writer_pb2_grpc.py +3 -175
- nucliadb_protos/writer_pb2_grpc.pyi +5 -72
- {nucliadb_protos-6.9.4.post5357.dist-info → nucliadb_protos-6.10.0.post5792.dist-info}/METADATA +4 -4
- nucliadb_protos-6.10.0.post5792.dist-info/RECORD +37 -0
- nucliadb_protos-6.9.4.post5357.dist-info/RECORD +0 -37
- {nucliadb_protos-6.9.4.post5357.dist-info → nucliadb_protos-6.10.0.post5792.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.9.4.post5357.dist-info → nucliadb_protos-6.10.0.post5792.dist-info}/entry_points.txt +0 -0
build.py
CHANGED
|
@@ -50,7 +50,7 @@ def pdm_build_initialize(context):
|
|
|
50
50
|
command.append(f"--mypy_grpc_out={build_dir}")
|
|
51
51
|
|
|
52
52
|
if protoc.main(command) != 0:
|
|
53
|
-
raise Exception("error: {} failed"
|
|
53
|
+
raise Exception(f"error: {command} failed")
|
|
54
54
|
|
|
55
55
|
# Create py.typed to enable type checking
|
|
56
56
|
open(f"{build_dir}/nucliadb_protos/py.typed", "w")
|
nucliadb_protos/audit_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/audit.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/audit.proto'
|
|
19
19
|
)
|
nucliadb_protos/backups_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/backups.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/backups.proto'
|
|
19
19
|
)
|
|
@@ -4,7 +4,7 @@ import grpc
|
|
|
4
4
|
import warnings
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
GRPC_GENERATED_VERSION = '1.
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.76.0'
|
|
8
8
|
GRPC_VERSION = grpc.__version__
|
|
9
9
|
_version_not_supported = False
|
|
10
10
|
|
|
@@ -17,7 +17,7 @@ except ImportError:
|
|
|
17
17
|
if _version_not_supported:
|
|
18
18
|
raise RuntimeError(
|
|
19
19
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+
|
|
20
|
+
+ ' but the generated code in nucliadb_protos/backups_pb2_grpc.py depends on'
|
|
21
21
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
22
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
23
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
nucliadb_protos/dataset_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/dataset.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/dataset.proto'
|
|
19
19
|
)
|
nucliadb_protos/dataset_pb2.pyi
CHANGED
|
@@ -83,6 +83,7 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
83
83
|
Sentence as Sentence,
|
|
84
84
|
SplitMetadata as SplitMetadata,
|
|
85
85
|
SplitsMetadata as SplitsMetadata,
|
|
86
|
+
SyncMetadata as SyncMetadata,
|
|
86
87
|
TEXT as TEXT,
|
|
87
88
|
UserFieldMetadata as UserFieldMetadata,
|
|
88
89
|
UserMetadata as UserMetadata,
|
nucliadb_protos/kb_usage_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/kb_usage.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/kb_usage.proto'
|
|
19
19
|
)
|
|
@@ -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:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/knowledgebox.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/knowledgebox.proto'
|
|
19
19
|
)
|
|
@@ -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\"\xf9\x02\n\x12KnowledgeBoxConfig\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04slug\x18\x05 \x01(\t\x12\x19\n\x11migration_version\x18\x07 \x01(\x03\x12R\n\x17\x65xternal_index_provider\x18\t \x01(\x0b\x32\x31.knowledgebox.StoredExternalIndexProviderMetadata\x12\x1b\n\x0f\x65nabled_filters\x18\x03 \x03(\tB\x02\x18\x01\x12\x1c\n\x10\x65nabled_insights\x18\x04 \x03(\tB\x02\x18\x01\x12\x1b\n\x0f\x64isable_vectors\x18\x06 \x01(\x08\x42\x02\x18\x01\x12 \n\x18hidden_resources_enabled\x18\n \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x0b \x01(\x08\x12\x17\n\x0fprewarm_enabled\x18\x0c \x01(\x08J\x04\x08\x08\x10\t\"b\n\x12KnowledgeBoxUpdate\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x30\n\x06\x63onfig\x18\x03 \x01(\x0b\x32 .knowledgebox.KnowledgeBoxConfig\"d\n\x1aUpdateKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"V\n\x1a\x44\x65leteKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\"B\n\x05Label\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07related\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t\"\xe0\x01\n\x08LabelSet\x12\r\n\x05title\x18\x01 \x01(\t\x12\r\n\x05\x63olor\x18\x02 \x01(\t\x12#\n\x06labels\x18\x03 \x03(\x0b\x32\x13.knowledgebox.Label\x12\x10\n\x08multiple\x18\x04 \x01(\x08\x12\x31\n\x04kind\x18\x05 \x03(\x0e\x32#.knowledgebox.LabelSet.LabelSetKind\"L\n\x0cLabelSetKind\x12\r\n\tRESOURCES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x12\r\n\tSENTENCES\x10\x02\x12\x0e\n\nSELECTIONS\x10\x03\"\x87\x01\n\x06Labels\x12\x34\n\x08labelset\x18\x01 \x03(\x0b\x32\".knowledgebox.Labels.LabelsetEntry\x1aG\n\rLabelsetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.knowledgebox.LabelSet:\x02\x38\x01\"L\n\x06\x45ntity\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nrepresents\x18\x04 \x03(\t\x12\x0e\n\x06merged\x18\x03 \x01(\x08\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\"D\n\x14\x45ntitiesGroupSummary\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\"\xc1\x01\n\rEntitiesGroup\x12;\n\x08\x65ntities\x18\x01 \x03(\x0b\x32).knowledgebox.EntitiesGroup.EntitiesEntry\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x1a\x45\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"0\n\x15\x44\x65letedEntitiesGroups\x12\x17\n\x0f\x65ntities_groups\x18\x01 \x03(\t\"\xaf\x01\n\x0e\x45ntitiesGroups\x12I\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32\x30.knowledgebox.EntitiesGroups.EntitiesGroupsEntry\x1aR\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\"\xf3\x03\n\x19\x45ntityGroupDuplicateIndex\x12T\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32;.knowledgebox.EntityGroupDuplicateIndex.EntitiesGroupsEntry\x1a&\n\x10\x45ntityDuplicates\x12\x12\n\nduplicates\x18\x01 \x03(\t\x1a\xe1\x01\n\x15\x45ntityGroupDuplicates\x12]\n\x08\x65ntities\x18\x01 \x03(\x0b\x32K.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates.EntitiesEntry\x1ai\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.knowledgebox.EntityGroupDuplicateIndex.EntityDuplicates:\x02\x38\x01\x1at\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates:\x02\x38\x01\"K\n\tVectorSet\x12\x11\n\tdimension\x18\x01 \x01(\x05\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x96\x01\n\nVectorSets\x12<\n\nvectorsets\x18\x01 \x03(\x0b\x32(.knowledgebox.VectorSets.VectorsetsEntry\x1aJ\n\x0fVectorsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.knowledgebox.VectorSet:\x02\x38\x01\"\xbe\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12-\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x18.knowledgebox.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x8e\x02\n\x0fVectorSetConfig\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12?\n\x16vectorset_index_config\x18\x02 \x01(\x0b\x32\x1f.knowledgebox.VectorIndexConfig\x12\x1d\n\x15matryoshka_dimensions\x18\x03 \x03(\r\x12\x46\n\x10storage_key_kind\x18\x04 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\"=\n\x0eStorageKeyKind\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x14\n\x10VECTORSET_PREFIX\x10\x02\"Q\n\x1cKnowledgeBoxVectorSetsConfig\x12\x31\n\nvectorsets\x18\x01 \x03(\x0b\x32\x1d.knowledgebox.VectorSetConfig\"X\n\x0eVectorSetPurge\x12\x46\n\x10storage_key_kind\x18\x01 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\" \n\x0cTermSynonyms\x12\x10\n\x08synonyms\x18\x01 \x03(\t\"\x86\x01\n\x08Synonyms\x12\x30\n\x05terms\x18\x01 \x03(\x0b\x32!.knowledgebox.Synonyms.TermsEntry\x1aH\n\nTermsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.knowledgebox.TermSynonyms:\x02\x38\x01\"\xda\x01\n\x15SemanticModelMetadata\x12\x34\n\x13similarity_function\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x1d\n\x10vector_dimension\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\"\n\x11\x64\x65\x66\x61ult_min_score\x18\x03 \x01(\x02\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\rB\x13\n\x11_vector_dimensionB\x14\n\x12_default_min_score\"\x8c\x01\n\x0fKBConfiguration\x12\x16\n\x0esemantic_model\x18\x02 \x01(\t\x12\x18\n\x10generative_model\x18\x03 \x01(\t\x12\x11\n\tner_model\x18\x04 \x01(\t\x12\x1b\n\x13\x61nonymization_model\x18\x05 \x01(\t\x12\x17\n\x0fvisual_labeling\x18\x06 \x01(\t*n\n\x1aKnowledgeBoxResponseStatus\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12!\n\x1d\x45XTERNAL_INDEX_PROVIDER_ERROR\x10\x04*4\n\x19\x45xternalIndexProviderType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08PINECONE\x10\x01*\x8e\x01\n\x17PineconeServerlessCloud\x12\x12\n\x0ePINECONE_UNSET\x10\x00\x12\x11\n\rAWS_US_EAST_1\x10\x01\x12\x11\n\rAWS_US_WEST_2\x10\x02\x12\x11\n\rAWS_EU_WEST_1\x10\x03\x12\x13\n\x0fGCP_US_CENTRAL1\x10\x04\x12\x11\n\rAZURE_EASTUS2\x10\x05*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,8 +41,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['enabled_insights']._serialized_options = b'\030\001'
|
|
42
42
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._loaded_options = None
|
|
43
43
|
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['disable_vectors']._serialized_options = b'\030\001'
|
|
44
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._loaded_options = None
|
|
45
|
-
_globals['_KNOWLEDGEBOXCONFIG'].fields_by_name['release_channel']._serialized_options = b'\030\001'
|
|
46
44
|
_globals['_LABELS_LABELSETENTRY']._loaded_options = None
|
|
47
45
|
_globals['_LABELS_LABELSETENTRY']._serialized_options = b'8\001'
|
|
48
46
|
_globals['_ENTITIESGROUP_ENTITIESENTRY']._loaded_options = None
|
|
@@ -59,14 +57,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
57
|
_globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
|
|
60
58
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
|
|
61
59
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._serialized_options = b'\030\001'
|
|
62
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=
|
|
63
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=
|
|
64
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=
|
|
65
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=
|
|
66
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=
|
|
67
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=
|
|
68
|
-
_globals['_VECTORTYPE']._serialized_start=
|
|
69
|
-
_globals['_VECTORTYPE']._serialized_end=
|
|
60
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4555
|
|
61
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4665
|
|
62
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=4667
|
|
63
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=4719
|
|
64
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=4722
|
|
65
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=4864
|
|
66
|
+
_globals['_VECTORTYPE']._serialized_start=4866
|
|
67
|
+
_globals['_VECTORTYPE']._serialized_end=4893
|
|
70
68
|
_globals['_KNOWLEDGEBOXID']._serialized_start=81
|
|
71
69
|
_globals['_KNOWLEDGEBOXID']._serialized_end=125
|
|
72
70
|
_globals['_CREATEPINECONECONFIG']._serialized_start=127
|
|
@@ -82,71 +80,71 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
82
80
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_start=807
|
|
83
81
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_end=972
|
|
84
82
|
_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=
|
|
83
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=1352
|
|
84
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=1354
|
|
85
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=1452
|
|
86
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=1454
|
|
87
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=1554
|
|
88
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=1556
|
|
89
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=1642
|
|
90
|
+
_globals['_LABEL']._serialized_start=1644
|
|
91
|
+
_globals['_LABEL']._serialized_end=1710
|
|
92
|
+
_globals['_LABELSET']._serialized_start=1713
|
|
93
|
+
_globals['_LABELSET']._serialized_end=1937
|
|
94
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_start=1861
|
|
95
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_end=1937
|
|
96
|
+
_globals['_LABELS']._serialized_start=1940
|
|
97
|
+
_globals['_LABELS']._serialized_end=2075
|
|
98
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_start=2004
|
|
99
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_end=2075
|
|
100
|
+
_globals['_ENTITY']._serialized_start=2077
|
|
101
|
+
_globals['_ENTITY']._serialized_end=2153
|
|
102
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=2155
|
|
103
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=2223
|
|
104
|
+
_globals['_ENTITIESGROUP']._serialized_start=2226
|
|
105
|
+
_globals['_ENTITIESGROUP']._serialized_end=2419
|
|
106
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=2350
|
|
107
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=2419
|
|
108
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_start=2421
|
|
109
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_end=2469
|
|
110
|
+
_globals['_ENTITIESGROUPS']._serialized_start=2472
|
|
111
|
+
_globals['_ENTITIESGROUPS']._serialized_end=2647
|
|
112
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=2565
|
|
113
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=2647
|
|
114
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=2650
|
|
115
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=3149
|
|
116
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=2765
|
|
117
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=2803
|
|
118
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=2806
|
|
119
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=3031
|
|
120
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=2926
|
|
121
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=3031
|
|
122
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=3033
|
|
123
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=3149
|
|
124
|
+
_globals['_VECTORSET']._serialized_start=3151
|
|
125
|
+
_globals['_VECTORSET']._serialized_end=3226
|
|
126
|
+
_globals['_VECTORSETS']._serialized_start=3229
|
|
127
|
+
_globals['_VECTORSETS']._serialized_end=3379
|
|
128
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=3305
|
|
129
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=3379
|
|
130
|
+
_globals['_VECTORINDEXCONFIG']._serialized_start=3382
|
|
131
|
+
_globals['_VECTORINDEXCONFIG']._serialized_end=3572
|
|
132
|
+
_globals['_VECTORSETCONFIG']._serialized_start=3575
|
|
133
|
+
_globals['_VECTORSETCONFIG']._serialized_end=3845
|
|
134
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=3784
|
|
135
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=3845
|
|
136
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=3847
|
|
137
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=3928
|
|
138
|
+
_globals['_VECTORSETPURGE']._serialized_start=3930
|
|
139
|
+
_globals['_VECTORSETPURGE']._serialized_end=4018
|
|
140
|
+
_globals['_TERMSYNONYMS']._serialized_start=4020
|
|
141
|
+
_globals['_TERMSYNONYMS']._serialized_end=4052
|
|
142
|
+
_globals['_SYNONYMS']._serialized_start=4055
|
|
143
|
+
_globals['_SYNONYMS']._serialized_end=4189
|
|
144
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=4117
|
|
145
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=4189
|
|
146
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_start=4192
|
|
147
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_end=4410
|
|
148
|
+
_globals['_KBCONFIGURATION']._serialized_start=4413
|
|
149
|
+
_globals['_KBCONFIGURATION']._serialized_end=4553
|
|
152
150
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -20,13 +20,10 @@ else:
|
|
|
20
20
|
from nucliadb_protos.utils_pb2 import (
|
|
21
21
|
COSINE as COSINE,
|
|
22
22
|
DOT as DOT,
|
|
23
|
-
EXPERIMENTAL as EXPERIMENTAL,
|
|
24
23
|
ExtractedText as ExtractedText,
|
|
25
24
|
Relation as Relation,
|
|
26
25
|
RelationMetadata as RelationMetadata,
|
|
27
26
|
RelationNode as RelationNode,
|
|
28
|
-
ReleaseChannel as ReleaseChannel,
|
|
29
|
-
STABLE as STABLE,
|
|
30
27
|
Security as Security,
|
|
31
28
|
UserVector as UserVector,
|
|
32
29
|
UserVectorSet as UserVectorSet,
|
|
@@ -276,7 +273,6 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
276
273
|
ENABLED_FILTERS_FIELD_NUMBER: builtins.int
|
|
277
274
|
ENABLED_INSIGHTS_FIELD_NUMBER: builtins.int
|
|
278
275
|
DISABLE_VECTORS_FIELD_NUMBER: builtins.int
|
|
279
|
-
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
280
276
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
281
277
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
282
278
|
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
@@ -285,8 +281,6 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
285
281
|
slug: builtins.str
|
|
286
282
|
migration_version: builtins.int
|
|
287
283
|
disable_vectors: builtins.bool
|
|
288
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType
|
|
289
|
-
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
290
284
|
hidden_resources_enabled: builtins.bool
|
|
291
285
|
hidden_resources_hide_on_creation: builtins.bool
|
|
292
286
|
prewarm_enabled: builtins.bool
|
|
@@ -311,13 +305,12 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
311
305
|
enabled_filters: collections.abc.Iterable[builtins.str] | None = ...,
|
|
312
306
|
enabled_insights: collections.abc.Iterable[builtins.str] | None = ...,
|
|
313
307
|
disable_vectors: builtins.bool = ...,
|
|
314
|
-
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
315
308
|
hidden_resources_enabled: builtins.bool = ...,
|
|
316
309
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
317
310
|
prewarm_enabled: builtins.bool = ...,
|
|
318
311
|
) -> None: ...
|
|
319
312
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
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", "
|
|
313
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "prewarm_enabled", b"prewarm_enabled", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
321
314
|
|
|
322
315
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
323
316
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: nucliadb_protos/migrations.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
17
|
'',
|
|
18
18
|
'nucliadb_protos/migrations.proto'
|
|
19
19
|
)
|