nucliadb-protos 6.9.5.post5393__py3-none-any.whl → 6.9.7.post5553__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/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/kb_usage_pb2.py +4 -4
- 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 +4 -4
- nucliadb_protos/resources_pb2.pyi +0 -3
- 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 +0 -7
- nucliadb_protos/train_pb2_grpc.py +2 -2
- nucliadb_protos/train_pb2_grpc.pyi +0 -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 +1 -254
- nucliadb_protos/writer_pb2_grpc.py +3 -175
- nucliadb_protos/writer_pb2_grpc.pyi +4 -72
- {nucliadb_protos-6.9.5.post5393.dist-info → nucliadb_protos-6.9.7.post5553.dist-info}/METADATA +4 -4
- nucliadb_protos-6.9.7.post5553.dist-info/RECORD +37 -0
- nucliadb_protos-6.9.5.post5393.dist-info/RECORD +0 -37
- {nucliadb_protos-6.9.5.post5393.dist-info → nucliadb_protos-6.9.7.post5553.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.9.5.post5393.dist-info → nucliadb_protos-6.9.7.post5553.dist-info}/entry_points.txt +0 -0
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/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
|
)
|
|
@@ -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
|
)
|
nucliadb_protos/resources_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/resources.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/resources.proto'
|
|
19
19
|
)
|
|
@@ -22,13 +22,10 @@ else:
|
|
|
22
22
|
from nucliadb_protos.utils_pb2 import (
|
|
23
23
|
COSINE as COSINE,
|
|
24
24
|
DOT as DOT,
|
|
25
|
-
EXPERIMENTAL as EXPERIMENTAL,
|
|
26
25
|
ExtractedText as ExtractedText,
|
|
27
26
|
Relation as Relation,
|
|
28
27
|
RelationMetadata as RelationMetadata,
|
|
29
28
|
RelationNode as RelationNode,
|
|
30
|
-
ReleaseChannel as ReleaseChannel,
|
|
31
|
-
STABLE as STABLE,
|
|
32
29
|
Security as Security,
|
|
33
30
|
UserVector as UserVector,
|
|
34
31
|
UserVectorSet as UserVectorSet,
|
|
@@ -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/standalone.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/standalone.proto'
|
|
19
19
|
)
|
|
@@ -5,7 +5,7 @@ import warnings
|
|
|
5
5
|
|
|
6
6
|
from nucliadb_protos import standalone_pb2 as nucliadb__protos_dot_standalone__pb2
|
|
7
7
|
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.76.0'
|
|
9
9
|
GRPC_VERSION = grpc.__version__
|
|
10
10
|
_version_not_supported = False
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
|
18
18
|
if _version_not_supported:
|
|
19
19
|
raise RuntimeError(
|
|
20
20
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
-
+
|
|
21
|
+
+ ' but the generated code in nucliadb_protos/standalone_pb2_grpc.py depends on'
|
|
22
22
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
23
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
24
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
nucliadb_protos/train_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/train.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/train.proto'
|
|
19
19
|
)
|
nucliadb_protos/train_pb2.pyi
CHANGED
|
@@ -135,7 +135,6 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
135
135
|
Audit as Audit,
|
|
136
136
|
BrokerMessage as BrokerMessage,
|
|
137
137
|
BrokerMessageBlobReference as BrokerMessageBlobReference,
|
|
138
|
-
DelEntitiesRequest as DelEntitiesRequest,
|
|
139
138
|
Error as Error,
|
|
140
139
|
FieldError as FieldError,
|
|
141
140
|
FieldIDStatus as FieldIDStatus,
|
|
@@ -153,22 +152,16 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
153
152
|
IndexStatus as IndexStatus,
|
|
154
153
|
ListEntitiesGroupsRequest as ListEntitiesGroupsRequest,
|
|
155
154
|
ListEntitiesGroupsResponse as ListEntitiesGroupsResponse,
|
|
156
|
-
MergeEntitiesRequest as MergeEntitiesRequest,
|
|
157
|
-
NewEntitiesGroupRequest as NewEntitiesGroupRequest,
|
|
158
|
-
NewEntitiesGroupResponse as NewEntitiesGroupResponse,
|
|
159
155
|
NewKnowledgeBoxV2Request as NewKnowledgeBoxV2Request,
|
|
160
156
|
NewKnowledgeBoxV2Response as NewKnowledgeBoxV2Response,
|
|
161
157
|
Notification as Notification,
|
|
162
158
|
NotificationSource as NotificationSource,
|
|
163
159
|
OpStatusWriter as OpStatusWriter,
|
|
164
160
|
PROCESSOR as PROCESSOR,
|
|
165
|
-
SetEntitiesRequest as SetEntitiesRequest,
|
|
166
161
|
ShardObject as ShardObject,
|
|
167
162
|
Shards as Shards,
|
|
168
163
|
SynonymsRequest as SynonymsRequest,
|
|
169
164
|
UNSET as UNSET,
|
|
170
|
-
UpdateEntitiesGroupRequest as UpdateEntitiesGroupRequest,
|
|
171
|
-
UpdateEntitiesGroupResponse as UpdateEntitiesGroupResponse,
|
|
172
165
|
WRITER as WRITER,
|
|
173
166
|
WriterStatusRequest as WriterStatusRequest,
|
|
174
167
|
WriterStatusResponse as WriterStatusResponse,
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from nucliadb_protos import train_pb2 as nucliadb__protos_dot_train__pb2
|
|
7
7
|
from nucliadb_protos import writer_pb2 as nucliadb__protos_dot_writer__pb2
|
|
8
8
|
|
|
9
|
-
GRPC_GENERATED_VERSION = '1.
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.76.0'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -19,7 +19,7 @@ except ImportError:
|
|
|
19
19
|
if _version_not_supported:
|
|
20
20
|
raise RuntimeError(
|
|
21
21
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
22
|
-
+
|
|
22
|
+
+ ' but the generated code in nucliadb_protos/train_pb2_grpc.py depends on'
|
|
23
23
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
24
24
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
25
25
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -133,7 +133,6 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
133
133
|
Audit as Audit,
|
|
134
134
|
BrokerMessage as BrokerMessage,
|
|
135
135
|
BrokerMessageBlobReference as BrokerMessageBlobReference,
|
|
136
|
-
DelEntitiesRequest as DelEntitiesRequest,
|
|
137
136
|
Error as Error,
|
|
138
137
|
FieldError as FieldError,
|
|
139
138
|
FieldIDStatus as FieldIDStatus,
|
|
@@ -151,22 +150,16 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
151
150
|
IndexStatus as IndexStatus,
|
|
152
151
|
ListEntitiesGroupsRequest as ListEntitiesGroupsRequest,
|
|
153
152
|
ListEntitiesGroupsResponse as ListEntitiesGroupsResponse,
|
|
154
|
-
MergeEntitiesRequest as MergeEntitiesRequest,
|
|
155
|
-
NewEntitiesGroupRequest as NewEntitiesGroupRequest,
|
|
156
|
-
NewEntitiesGroupResponse as NewEntitiesGroupResponse,
|
|
157
153
|
NewKnowledgeBoxV2Request as NewKnowledgeBoxV2Request,
|
|
158
154
|
NewKnowledgeBoxV2Response as NewKnowledgeBoxV2Response,
|
|
159
155
|
Notification as Notification,
|
|
160
156
|
NotificationSource as NotificationSource,
|
|
161
157
|
OpStatusWriter as OpStatusWriter,
|
|
162
158
|
PROCESSOR as PROCESSOR,
|
|
163
|
-
SetEntitiesRequest as SetEntitiesRequest,
|
|
164
159
|
ShardObject as ShardObject,
|
|
165
160
|
Shards as Shards,
|
|
166
161
|
SynonymsRequest as SynonymsRequest,
|
|
167
162
|
UNSET as UNSET,
|
|
168
|
-
UpdateEntitiesGroupRequest as UpdateEntitiesGroupRequest,
|
|
169
|
-
UpdateEntitiesGroupResponse as UpdateEntitiesGroupResponse,
|
|
170
163
|
WRITER as WRITER,
|
|
171
164
|
WriterStatusRequest as WriterStatusRequest,
|
|
172
165
|
WriterStatusResponse as WriterStatusResponse,
|