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
|
@@ -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
|
@@ -126,6 +126,7 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
126
126
|
Sentence as Sentence,
|
|
127
127
|
SplitMetadata as SplitMetadata,
|
|
128
128
|
SplitsMetadata as SplitsMetadata,
|
|
129
|
+
SyncMetadata as SyncMetadata,
|
|
129
130
|
TEXT as TEXT,
|
|
130
131
|
UserFieldMetadata as UserFieldMetadata,
|
|
131
132
|
UserMetadata as UserMetadata,
|
|
@@ -135,7 +136,6 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
135
136
|
Audit as Audit,
|
|
136
137
|
BrokerMessage as BrokerMessage,
|
|
137
138
|
BrokerMessageBlobReference as BrokerMessageBlobReference,
|
|
138
|
-
DelEntitiesRequest as DelEntitiesRequest,
|
|
139
139
|
Error as Error,
|
|
140
140
|
FieldError as FieldError,
|
|
141
141
|
FieldIDStatus as FieldIDStatus,
|
|
@@ -153,22 +153,16 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
153
153
|
IndexStatus as IndexStatus,
|
|
154
154
|
ListEntitiesGroupsRequest as ListEntitiesGroupsRequest,
|
|
155
155
|
ListEntitiesGroupsResponse as ListEntitiesGroupsResponse,
|
|
156
|
-
MergeEntitiesRequest as MergeEntitiesRequest,
|
|
157
|
-
NewEntitiesGroupRequest as NewEntitiesGroupRequest,
|
|
158
|
-
NewEntitiesGroupResponse as NewEntitiesGroupResponse,
|
|
159
156
|
NewKnowledgeBoxV2Request as NewKnowledgeBoxV2Request,
|
|
160
157
|
NewKnowledgeBoxV2Response as NewKnowledgeBoxV2Response,
|
|
161
158
|
Notification as Notification,
|
|
162
159
|
NotificationSource as NotificationSource,
|
|
163
160
|
OpStatusWriter as OpStatusWriter,
|
|
164
161
|
PROCESSOR as PROCESSOR,
|
|
165
|
-
SetEntitiesRequest as SetEntitiesRequest,
|
|
166
162
|
ShardObject as ShardObject,
|
|
167
163
|
Shards as Shards,
|
|
168
164
|
SynonymsRequest as SynonymsRequest,
|
|
169
165
|
UNSET as UNSET,
|
|
170
|
-
UpdateEntitiesGroupRequest as UpdateEntitiesGroupRequest,
|
|
171
|
-
UpdateEntitiesGroupResponse as UpdateEntitiesGroupResponse,
|
|
172
166
|
WRITER as WRITER,
|
|
173
167
|
WriterStatusRequest as WriterStatusRequest,
|
|
174
168
|
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}.'
|
|
@@ -124,6 +124,7 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
124
124
|
Sentence as Sentence,
|
|
125
125
|
SplitMetadata as SplitMetadata,
|
|
126
126
|
SplitsMetadata as SplitsMetadata,
|
|
127
|
+
SyncMetadata as SyncMetadata,
|
|
127
128
|
TEXT as TEXT,
|
|
128
129
|
UserFieldMetadata as UserFieldMetadata,
|
|
129
130
|
UserMetadata as UserMetadata,
|
|
@@ -133,7 +134,6 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
133
134
|
Audit as Audit,
|
|
134
135
|
BrokerMessage as BrokerMessage,
|
|
135
136
|
BrokerMessageBlobReference as BrokerMessageBlobReference,
|
|
136
|
-
DelEntitiesRequest as DelEntitiesRequest,
|
|
137
137
|
Error as Error,
|
|
138
138
|
FieldError as FieldError,
|
|
139
139
|
FieldIDStatus as FieldIDStatus,
|
|
@@ -151,22 +151,16 @@ from nucliadb_protos.writer_pb2 import (
|
|
|
151
151
|
IndexStatus as IndexStatus,
|
|
152
152
|
ListEntitiesGroupsRequest as ListEntitiesGroupsRequest,
|
|
153
153
|
ListEntitiesGroupsResponse as ListEntitiesGroupsResponse,
|
|
154
|
-
MergeEntitiesRequest as MergeEntitiesRequest,
|
|
155
|
-
NewEntitiesGroupRequest as NewEntitiesGroupRequest,
|
|
156
|
-
NewEntitiesGroupResponse as NewEntitiesGroupResponse,
|
|
157
154
|
NewKnowledgeBoxV2Request as NewKnowledgeBoxV2Request,
|
|
158
155
|
NewKnowledgeBoxV2Response as NewKnowledgeBoxV2Response,
|
|
159
156
|
Notification as Notification,
|
|
160
157
|
NotificationSource as NotificationSource,
|
|
161
158
|
OpStatusWriter as OpStatusWriter,
|
|
162
159
|
PROCESSOR as PROCESSOR,
|
|
163
|
-
SetEntitiesRequest as SetEntitiesRequest,
|
|
164
160
|
ShardObject as ShardObject,
|
|
165
161
|
Shards as Shards,
|
|
166
162
|
SynonymsRequest as SynonymsRequest,
|
|
167
163
|
UNSET as UNSET,
|
|
168
|
-
UpdateEntitiesGroupRequest as UpdateEntitiesGroupRequest,
|
|
169
|
-
UpdateEntitiesGroupResponse as UpdateEntitiesGroupResponse,
|
|
170
164
|
WRITER as WRITER,
|
|
171
165
|
WriterStatusRequest as WriterStatusRequest,
|
|
172
166
|
WriterStatusResponse as WriterStatusResponse,
|
nucliadb_protos/utils_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/utils.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/utils.proto'
|
|
19
19
|
)
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/utils.proto\x12\x05utils\"\x98\x02\n\x08Relation\x12#\n\x06source\x18\x06 \x01(\x0b\x32\x13.utils.RelationNode\x12\x1f\n\x02to\x18\x07 \x01(\x0b\x32\x13.utils.RelationNode\x12.\n\x08relation\x18\x05 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x16\n\x0erelation_label\x18\x08 \x01(\t\x12)\n\x08metadata\x18\t \x01(\x0b\x32\x17.utils.RelationMetadata\"S\n\x0cRelationType\x12\t\n\x05\x43HILD\x10\x00\x12\t\n\x05\x41\x42OUT\x10\x01\x12\n\n\x06\x45NTITY\x10\x02\x12\t\n\x05\x43OLAB\x10\x03\x12\x0b\n\x07SYNONYM\x10\x04\x12\t\n\x05OTHER\x10\x05\"\x9c\x02\n\x10RelationMetadata\x12\x19\n\x0cparagraph_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0csource_start\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x17\n\nsource_end\x18\x03 \x01(\x05H\x02\x88\x01\x01\x12\x15\n\x08to_start\x18\x04 \x01(\x05H\x03\x88\x01\x01\x12\x13\n\x06to_end\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12&\n\x19\x64\x61ta_augmentation_task_id\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0f\n\r_paragraph_idB\x0f\n\r_source_startB\r\n\x0b_source_endB\x0b\n\t_to_startB\t\n\x07_to_endB\x1c\n\x1a_data_augmentation_task_id\"\x96\x01\n\x0cRelationNode\x12\r\n\x05value\x18\x04 \x01(\t\x12+\n\x05ntype\x18\x05 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x0f\n\x07subtype\x18\x06 \x01(\t\"9\n\x08NodeType\x12\n\n\x06\x45NTITY\x10\x00\x12\t\n\x05LABEL\x10\x01\x12\x0c\n\x08RESOURCE\x10\x02\x12\x08\n\x04USER\x10\x03\"\xa0\x01\n\rExtractedText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x37\n\nsplit_text\x18\x02 \x03(\x0b\x32#.utils.ExtractedText.SplitTextEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x30\n\x0eSplitTextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"d\n\x06Vector\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x17\n\x0fstart_paragraph\x18\x03 \x01(\x05\x12\x15\n\rend_paragraph\x18\x04 \x01(\x05\x12\x0e\n\x06vector\x18\x05 \x03(\x02\")\n\x07Vectors\x12\x1e\n\x07vectors\x18\x01 \x03(\x0b\x32\r.utils.Vector\"\xca\x01\n\x0cVectorObject\x12\x1f\n\x07vectors\x18\x01 \x01(\x0b\x32\x0e.utils.Vectors\x12<\n\rsplit_vectors\x18\x02 \x03(\x0b\x32%.utils.VectorObject.SplitVectorsEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x43\n\x11SplitVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.utils.Vectors:\x02\x38\x01\"H\n\nUserVector\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x0e\n\x06labels\x18\x02 \x03(\t\x12\r\n\x05start\x18\x03 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x05\"\x82\x01\n\x0bUserVectors\x12\x30\n\x07vectors\x18\x01 \x03(\x0b\x32\x1f.utils.UserVectors.VectorsEntry\x1a\x41\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.utils.UserVector:\x02\x38\x01\"\x87\x01\n\rUserVectorSet\x12\x32\n\x07vectors\x18\x01 \x03(\x0b\x32!.utils.UserVectorSet.VectorsEntry\x1a\x42\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.utils.UserVectors:\x02\x38\x01\"\"\n\x0fUserVectorsList\x12\x0f\n\x07vectors\x18\x01 \x03(\t\"!\n\x08Security\x12\x15\n\raccess_groups\x18\x01 \x03(\t*\'\n\x10VectorSimilarity\x12\n\n\x06\x43OSINE\x10\x00\x12\x07\n\x03\x44OT\x10\x01
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/utils.proto\x12\x05utils\"\x98\x02\n\x08Relation\x12#\n\x06source\x18\x06 \x01(\x0b\x32\x13.utils.RelationNode\x12\x1f\n\x02to\x18\x07 \x01(\x0b\x32\x13.utils.RelationNode\x12.\n\x08relation\x18\x05 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x16\n\x0erelation_label\x18\x08 \x01(\t\x12)\n\x08metadata\x18\t \x01(\x0b\x32\x17.utils.RelationMetadata\"S\n\x0cRelationType\x12\t\n\x05\x43HILD\x10\x00\x12\t\n\x05\x41\x42OUT\x10\x01\x12\n\n\x06\x45NTITY\x10\x02\x12\t\n\x05\x43OLAB\x10\x03\x12\x0b\n\x07SYNONYM\x10\x04\x12\t\n\x05OTHER\x10\x05\"\x9c\x02\n\x10RelationMetadata\x12\x19\n\x0cparagraph_id\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0csource_start\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x17\n\nsource_end\x18\x03 \x01(\x05H\x02\x88\x01\x01\x12\x15\n\x08to_start\x18\x04 \x01(\x05H\x03\x88\x01\x01\x12\x13\n\x06to_end\x18\x05 \x01(\x05H\x04\x88\x01\x01\x12&\n\x19\x64\x61ta_augmentation_task_id\x18\x06 \x01(\tH\x05\x88\x01\x01\x42\x0f\n\r_paragraph_idB\x0f\n\r_source_startB\r\n\x0b_source_endB\x0b\n\t_to_startB\t\n\x07_to_endB\x1c\n\x1a_data_augmentation_task_id\"\x96\x01\n\x0cRelationNode\x12\r\n\x05value\x18\x04 \x01(\t\x12+\n\x05ntype\x18\x05 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x0f\n\x07subtype\x18\x06 \x01(\t\"9\n\x08NodeType\x12\n\n\x06\x45NTITY\x10\x00\x12\t\n\x05LABEL\x10\x01\x12\x0c\n\x08RESOURCE\x10\x02\x12\x08\n\x04USER\x10\x03\"\xa0\x01\n\rExtractedText\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x37\n\nsplit_text\x18\x02 \x03(\x0b\x32#.utils.ExtractedText.SplitTextEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x30\n\x0eSplitTextEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"d\n\x06Vector\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\x12\x17\n\x0fstart_paragraph\x18\x03 \x01(\x05\x12\x15\n\rend_paragraph\x18\x04 \x01(\x05\x12\x0e\n\x06vector\x18\x05 \x03(\x02\")\n\x07Vectors\x12\x1e\n\x07vectors\x18\x01 \x03(\x0b\x32\r.utils.Vector\"\xca\x01\n\x0cVectorObject\x12\x1f\n\x07vectors\x18\x01 \x01(\x0b\x32\x0e.utils.Vectors\x12<\n\rsplit_vectors\x18\x02 \x03(\x0b\x32%.utils.VectorObject.SplitVectorsEntry\x12\x16\n\x0e\x64\x65leted_splits\x18\x03 \x03(\t\x1a\x43\n\x11SplitVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.utils.Vectors:\x02\x38\x01\"H\n\nUserVector\x12\x0e\n\x06vector\x18\x01 \x03(\x02\x12\x0e\n\x06labels\x18\x02 \x03(\t\x12\r\n\x05start\x18\x03 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x05\"\x82\x01\n\x0bUserVectors\x12\x30\n\x07vectors\x18\x01 \x03(\x0b\x32\x1f.utils.UserVectors.VectorsEntry\x1a\x41\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12 \n\x05value\x18\x02 \x01(\x0b\x32\x11.utils.UserVector:\x02\x38\x01\"\x87\x01\n\rUserVectorSet\x12\x32\n\x07vectors\x18\x01 \x03(\x0b\x32!.utils.UserVectorSet.VectorsEntry\x1a\x42\n\x0cVectorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.utils.UserVectors:\x02\x38\x01\"\"\n\x0fUserVectorsList\x12\x0f\n\x07vectors\x18\x01 \x03(\t\"!\n\x08Security\x12\x15\n\raccess_groups\x18\x01 \x03(\t*\'\n\x10VectorSimilarity\x12\n\n\x06\x43OSINE\x10\x00\x12\x07\n\x03\x44OT\x10\x01\x62\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -41,8 +41,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
41
41
|
_globals['_USERVECTORSET_VECTORSENTRY']._serialized_options = b'8\001'
|
|
42
42
|
_globals['_VECTORSIMILARITY']._serialized_start=1690
|
|
43
43
|
_globals['_VECTORSIMILARITY']._serialized_end=1729
|
|
44
|
-
_globals['_RELEASECHANNEL']._serialized_start=1731
|
|
45
|
-
_globals['_RELEASECHANNEL']._serialized_end=1777
|
|
46
44
|
_globals['_RELATION']._serialized_start=39
|
|
47
45
|
_globals['_RELATION']._serialized_end=319
|
|
48
46
|
_globals['_RELATION_RELATIONTYPE']._serialized_start=236
|
nucliadb_protos/utils_pb2.pyi
CHANGED
|
@@ -34,21 +34,6 @@ COSINE: VectorSimilarity.ValueType # 0
|
|
|
34
34
|
DOT: VectorSimilarity.ValueType # 1
|
|
35
35
|
global___VectorSimilarity = VectorSimilarity
|
|
36
36
|
|
|
37
|
-
class _ReleaseChannel:
|
|
38
|
-
ValueType = typing.NewType("ValueType", builtins.int)
|
|
39
|
-
V: typing_extensions.TypeAlias = ValueType
|
|
40
|
-
|
|
41
|
-
class _ReleaseChannelEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ReleaseChannel.ValueType], builtins.type):
|
|
42
|
-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
43
|
-
STABLE: _ReleaseChannel.ValueType # 0
|
|
44
|
-
EXPERIMENTAL: _ReleaseChannel.ValueType # 1
|
|
45
|
-
|
|
46
|
-
class ReleaseChannel(_ReleaseChannel, metaclass=_ReleaseChannelEnumTypeWrapper): ...
|
|
47
|
-
|
|
48
|
-
STABLE: ReleaseChannel.ValueType # 0
|
|
49
|
-
EXPERIMENTAL: ReleaseChannel.ValueType # 1
|
|
50
|
-
global___ReleaseChannel = ReleaseChannel
|
|
51
|
-
|
|
52
37
|
@typing.final
|
|
53
38
|
class Relation(google.protobuf.message.Message):
|
|
54
39
|
"""Relations are connexions between nodes in the relation index.
|
nucliadb_protos/writer_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/writer.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/writer.proto'
|
|
19
19
|
)
|
|
@@ -41,7 +41,7 @@ from nucliadb_protos.knowledgebox_pb2 import *
|
|
|
41
41
|
from nucliadb_protos.audit_pb2 import *
|
|
42
42
|
from nucliadb_protos.backups_pb2 import *
|
|
43
43
|
|
|
44
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cnucliadb_protos/writer.proto\x12\tfdbwriter\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fnucliadb_protos/resources.proto\x1a\"nucliadb_protos/knowledgebox.proto\x1a\x1bnucliadb_protos/audit.proto\x1a\x1dnucliadb_protos/backups.proto\"\xd9\x02\n\x05\x41udit\x12\x0c\n\x04user\x18\x01 \x01(\t\x12(\n\x04when\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06origin\x18\x03 \x01(\t\x12\'\n\x06source\x18\x04 \x01(\x0e\x32\x17.fdbwriter.Audit.Source\x12\x0c\n\x04kbid\x18\x05 \x01(\t\x12\x0c\n\x04uuid\x18\x06 \x01(\t\x12>\n\x0emessage_source\x18\x07 \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12*\n\x0e\x66ield_metadata\x18\x08 \x03(\x0b\x32\x12.resources.FieldID\x12\'\n\x0c\x61udit_fields\x18\t \x03(\x0b\x32\x11.audit.AuditField\".\n\x06Source\x12\x08\n\x04HTTP\x10\x00\x12\r\n\tDASHBOARD\x10\x01\x12\x0b\n\x07\x44\x45SKTOP\x10\x02\"\xb2\x01\n\tGenerator\x12\x33\n\tprocessor\x18\x01 \x01(\x0b\x32\x1e.fdbwriter.Generator.ProcessorH\x00\x12\x42\n\x11\x64\x61ta_augmentation\x18\x02 \x01(\x0b\x32%.fdbwriter.Generator.DataAugmentationH\x00\x1a\x0b\n\tProcessor\x1a\x12\n\x10\x44\x61taAugmentationB\x0b\n\tgenerator\"\xcb\x02\n\x05\x45rror\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12(\n\nfield_type\x18\x02 \x01(\x0e\x32\x14.resources.FieldType\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12(\n\x04\x63ode\x18\x04 \x01(\x0e\x32\x1a.fdbwriter.Error.ErrorCode\x12*\n\x0cgenerated_by\x18\x05 \x01(\x0b\x32\x14.fdbwriter.Generator\x12+\n\x08severity\x18\x06 \x01(\x0e\x32\x19.fdbwriter.Error.Severity\"S\n\tErrorCode\x12\x0b\n\x07GENERIC\x10\x00\x12\x0b\n\x07\x45XTRACT\x10\x01\x12\x0b\n\x07PROCESS\x10\x02\x12\x14\n\x10\x44\x41TAAUGMENTATION\x10\x03\x12\t\n\x05INDEX\x10\x04\"\"\n\x08Severity\x12\t\n\x05\x45RROR\x10\x00\x12\x0b\n\x07WARNING\x10\x01\"\xd8\x0f\n\rBrokerMessage\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04slug\x18\x04 \x01(\t\x12\x1f\n\x05\x61udit\x18\x05 \x01(\x0b\x32\x10.fdbwriter.Audit\x12\x32\n\x04type\x18\x06 \x01(\x0e\x32$.fdbwriter.BrokerMessage.MessageType\x12\x0f\n\x07multiid\x18\x07 \x01(\t\x12\x1f\n\x05\x62\x61sic\x18\x08 \x01(\x0b\x32\x10.resources.Basic\x12!\n\x06origin\x18\t \x01(\x0b\x32\x11.resources.Origin\x12\x31\n\x0euser_relations\x18+ \x01(\x0b\x32\x14.resources.RelationsH\x00\x88\x01\x01\x12\x42\n\rconversations\x18\x0b \x03(\x0b\x32+.fdbwriter.BrokerMessage.ConversationsEntry\x12\x32\n\x05texts\x18\r \x03(\x0b\x32#.fdbwriter.BrokerMessage.TextsEntry\x12\x32\n\x05links\x18\x10 \x03(\x0b\x32#.fdbwriter.BrokerMessage.LinksEntry\x12\x32\n\x05\x66iles\x18\x11 \x03(\x0b\x32#.fdbwriter.BrokerMessage.FilesEntry\x12\x39\n\x13link_extracted_data\x18\x12 \x03(\x0b\x32\x1c.resources.LinkExtractedData\x12\x39\n\x13\x66ile_extracted_data\x18\x13 \x03(\x0b\x32\x1c.resources.FileExtractedData\x12\x37\n\x0e\x65xtracted_text\x18\x14 \x03(\x0b\x32\x1f.resources.ExtractedTextWrapper\x12?\n\x0e\x66ield_metadata\x18\x15 \x03(\x0b\x32\'.resources.FieldComputedMetadataWrapper\x12\x39\n\rfield_vectors\x18\x16 \x03(\x0b\x32\".resources.ExtractedVectorsWrapper\x12\x45\n\x14\x66ield_large_metadata\x18\x17 \x03(\x0b\x32\'.resources.LargeComputedMetadataWrapper\x12)\n\rdelete_fields\x18\x18 \x03(\x0b\x32\x12.resources.FieldID\x12\x12\n\norigin_seq\x18\x19 \x01(\x05\x12\x1c\n\x14slow_processing_time\x18\x1a \x01(\x02\x12\x1b\n\x13pre_processing_time\x18\x1c \x01(\x02\x12-\n\tdone_time\x18\x1d \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x07txseqid\x18\x1e \x01(\x03\x42\x02\x18\x01\x12 \n\x06\x65rrors\x18\x1f \x03(\x0b\x32\x10.fdbwriter.Error\x12\x15\n\rprocessing_id\x18 \x01(\t\x12\x36\n\x06source\x18! \x01(\x0e\x32&.fdbwriter.BrokerMessage.MessageSource\x12\x13\n\x0b\x61\x63\x63ount_seq\x18\" \x01(\x03\x12\x33\n\x0cuser_vectors\x18# \x03(\x0b\x32\x1d.resources.UserVectorsWrapper\x12\x0f\n\x07reindex\x18$ \x01(\x08\x12\x1f\n\x05\x65xtra\x18% \x01(\x0b\x32\x10.resources.Extra\x12?\n\x10question_answers\x18& \x03(\x0b\x32%.resources.FieldQuestionAnswerWrapper\x12!\n\x08security\x18\' \x01(\x0b\x32\x0f.utils.Security\x12*\n\x0cgenerated_by\x18( \x03(\x0b\x32\x14.fdbwriter.Generator\x12\x30\n\x0e\x66ield_statuses\x18) \x03(\x0b\x32\x18.fdbwriter.FieldIDStatus\x12\x33\n\x17\x64\x65lete_question_answers\x18* \x03(\x0b\x32\x12.resources.FieldID\x1aM\n\x12\x43onversationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.resources.Conversation:\x02\x38\x01\x1a\x42\n\nTextsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldText:\x02\x38\x01\x1a\x42\n\nLinksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldLink:\x02\x38\x01\x1a\x42\n\nFilesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.resources.FieldFile:\x02\x38\x01\"N\n\x0bMessageType\x12\x0e\n\nAUTOCOMMIT\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x04\x12\t\n\x05MULTI\x10\x01\x12\n\n\x06\x43OMMIT\x10\x02\x12\x0c\n\x08ROLLBACK\x10\x03\"*\n\rMessageSource\x12\n\n\x06WRITER\x10\x00\x12\r\n\tPROCESSOR\x10\x01\x42\x11\n\x0f_user_relationsJ\x04\x08\x02\x10\x03J\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\rJ\x04\x08\x0e\x10\x0fJ\x04\x08\x0f\x10\x10J\x04\x08\x1b\x10\x1c\"M\n\x1a\x42rokerMessageBlobReference\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x13\n\x0bstorage_key\x18\x03 \x01(\t\"\x97\x01\n\x14WriterStatusResponse\x12\x16\n\x0eknowledgeboxes\x18\x01 \x03(\t\x12\x39\n\x05msgid\x18\x02 \x03(\x0b\x32*.fdbwriter.WriterStatusResponse.MsgidEntry\x1a,\n\nMsgidEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x15\n\x13WriterStatusRequest\"\x81\x01\n\x17NewEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x99\x01\n\x18NewEntitiesGroupResponse\x12:\n\x06status\x18\x01 \x01(\x0e\x32*.fdbwriter.NewEntitiesGroupResponse.Status\"A\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x03\"|\n\x12SetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12-\n\x08\x65ntities\x18\x03 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\"\x8a\x03\n\x1aUpdateEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\x12;\n\x03\x61\x64\x64\x18\x03 \x03(\x0b\x32..fdbwriter.UpdateEntitiesGroupRequest.AddEntry\x12\x41\n\x06update\x18\x04 \x03(\x0b\x32\x31.fdbwriter.UpdateEntitiesGroupRequest.UpdateEntry\x12\x0e\n\x06\x64\x65lete\x18\x05 \x03(\t\x12\r\n\x05title\x18\x06 \x01(\t\x12\r\n\x05\x63olor\x18\x07 \x01(\t\x1a@\n\x08\x41\x64\x64\x45ntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\x1a\x43\n\x0bUpdateEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"\xa9\x01\n\x1bUpdateEntitiesGroupResponse\x12=\n\x06status\x18\x01 \x01(\x0e\x32-.fdbwriter.UpdateEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x10\n\x0cKB_NOT_FOUND\x10\x02\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x03\"E\n\x19ListEntitiesGroupsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\x9b\x02\n\x1aListEntitiesGroupsResponse\x12\x41\n\x06groups\x18\x01 \x03(\x0b\x32\x31.fdbwriter.ListEntitiesGroupsResponse.GroupsEntry\x12<\n\x06status\x18\x02 \x01(\x0e\x32,.fdbwriter.ListEntitiesGroupsResponse.Status\x1aQ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".knowledgebox.EntitiesGroupSummary:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\">\n\x12GetEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xa9\x02\n\x13GetEntitiesResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12:\n\x06groups\x18\x02 \x03(\x0b\x32*.fdbwriter.GetEntitiesResponse.GroupsEntry\x12\x35\n\x06status\x18\x03 \x01(\x0e\x32%.fdbwriter.GetEntitiesResponse.Status\x1aJ\n\x0bGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"M\n\x12\x44\x65lEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xd9\x01\n\x14MergeEntitiesRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\x36\n\x04\x66rom\x18\x02 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x12\x34\n\x02to\x18\x03 \x01(\x0b\x32(.fdbwriter.MergeEntitiesRequest.EntityID\x1a)\n\x08\x45ntityID\x12\r\n\x05group\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\"\xb8\x01\n\x11GetLabelsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12$\n\x06labels\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Labels\x12\x33\n\x06status\x18\x03 \x01(\x0e\x32#.fdbwriter.GetLabelsResponse.Status\"\x1e\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\"<\n\x10GetLabelsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"R\n\x17GetEntitiesGroupRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12\r\n\x05group\x18\x02 \x01(\t\"\xf9\x01\n\x18GetEntitiesGroupResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12*\n\x05group\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup\x12:\n\x06status\x18\x03 \x01(\x0e\x32*.fdbwriter.GetEntitiesGroupResponse.Status\"K\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x10\n\x0cKB_NOT_FOUND\x10\x01\x12\x1c\n\x18\x45NTITIES_GROUP_NOT_FOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"@\n\x14GetVectorSetsRequest\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\"\xd3\x01\n\x15GetVectorSetsResponse\x12(\n\x02kb\x18\x01 \x01(\x0b\x32\x1c.knowledgebox.KnowledgeBoxID\x12,\n\nvectorsets\x18\x02 \x01(\x0b\x32\x18.knowledgebox.VectorSets\x12\x37\n\x06status\x18\x03 \x01(\x0e\x32\'.fdbwriter.GetVectorSetsResponse.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08NOTFOUND\x10\x01\x12\t\n\x05\x45RROR\x10\x02\"m\n\x0eOpStatusWriter\x12\x30\n\x06status\x18\x01 \x01(\x0e\x32 .fdbwriter.OpStatusWriter.Status\")\n\x06Status\x12\x06\n\x02OK\x10\x00\x12\t\n\x05\x45RROR\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\"\xd2\x03\n\x0cNotification\x12\x11\n\tpartition\x18\x01 \x01(\x05\x12\r\n\x05multi\x18\x02 \x01(\t\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12\x0c\n\x04kbid\x18\x04 \x01(\t\x12\r\n\x05seqid\x18\x05 \x01(\x03\x12.\n\x06\x61\x63tion\x18\x06 \x01(\x0e\x32\x1e.fdbwriter.Notification.Action\x12\x35\n\nwrite_type\x18\x07 \x01(\x0e\x32!.fdbwriter.Notification.WriteType\x12-\n\x07message\x18\x08 \x01(\x0b\x32\x18.fdbwriter.BrokerMessageB\x02\x18\x01\x12-\n\x06source\x18\t \x01(\x0e\x32\x1d.fdbwriter.NotificationSource\x12\x19\n\x11processing_errors\x18\n \x01(\x08\x12\'\n\rmessage_audit\x18\x0b \x01(\x0b\x32\x10.fdbwriter.Audit\",\n\x06\x41\x63tion\x12\n\n\x06\x43OMMIT\x10\x00\x12\t\n\x05\x41\x42ORT\x10\x01\x12\x0b\n\x07INDEXED\x10\x02\">\n\tWriteType\x12\t\n\x05UNSET\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0c\n\x08MODIFIED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"\x7f\n\x0bShardObject\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x31\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02\x18\x01\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x15\n\rnidx_shard_id\x18\x06 \x01(\tJ\x04\x08\x02\x10\x03\"\xc6\x02\n\x06Shards\x12&\n\x06shards\x18\x01 \x03(\x0b\x32\x16.fdbwriter.ShardObject\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12\x12\n\x06\x61\x63tual\x18\x03 \x01(\x05\x42\x02\x18\x01\x12/\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarityB\x02\x18\x01\x12\x36\n\x05model\x18\x05 \x01(\x0b\x32#.knowledgebox.SemanticModelMetadataB\x02\x18\x01\x12.\n\x0frelease_channel\x18\x06 \x01(\x0e\x32\x15.utils.ReleaseChannel\x12+\n\x05\x65xtra\x18\x07 \x03(\x0b\x32\x1c.fdbwriter.Shards.ExtraEntry\x1a,\n\nExtraEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\rIndexResource\x12\x0c\n\x04kbid\x18\x01 \x01(\t\x12\x0b\n\x03rid\x18\x02 \x01(\t\x12\x17\n\x0freindex_vectors\x18\x03 \x01(\x08\"\r\n\x0bIndexStatus\"\x1f\n\x0fSynonymsRequest\x12\x0c\n\x04kbid\x18\x01 \x01(\t\"\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')
|
|
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\"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\"\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\"\x9c\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\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\x01J\x04\x08\x06\x10\x07\"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\xc6\x08\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\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\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)
|
|
@@ -60,10 +60,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
60
60
|
_globals['_BROKERMESSAGE'].fields_by_name['txseqid']._serialized_options = b'\030\001'
|
|
61
61
|
_globals['_WRITERSTATUSRESPONSE_MSGIDENTRY']._loaded_options = None
|
|
62
62
|
_globals['_WRITERSTATUSRESPONSE_MSGIDENTRY']._serialized_options = b'8\001'
|
|
63
|
-
_globals['_UPDATEENTITIESGROUPREQUEST_ADDENTRY']._loaded_options = None
|
|
64
|
-
_globals['_UPDATEENTITIESGROUPREQUEST_ADDENTRY']._serialized_options = b'8\001'
|
|
65
|
-
_globals['_UPDATEENTITIESGROUPREQUEST_UPDATEENTRY']._loaded_options = None
|
|
66
|
-
_globals['_UPDATEENTITIESGROUPREQUEST_UPDATEENTRY']._serialized_options = b'8\001'
|
|
67
63
|
_globals['_LISTENTITIESGROUPSRESPONSE_GROUPSENTRY']._loaded_options = None
|
|
68
64
|
_globals['_LISTENTITIESGROUPSRESPONSE_GROUPSENTRY']._serialized_options = b'8\001'
|
|
69
65
|
_globals['_GETENTITIESRESPONSE_GROUPSENTRY']._loaded_options = None
|
|
@@ -80,8 +76,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
80
76
|
_globals['_SHARDS'].fields_by_name['similarity']._serialized_options = b'\030\001'
|
|
81
77
|
_globals['_SHARDS'].fields_by_name['model']._loaded_options = None
|
|
82
78
|
_globals['_SHARDS'].fields_by_name['model']._serialized_options = b'\030\001'
|
|
83
|
-
_globals['_NOTIFICATIONSOURCE']._serialized_start=
|
|
84
|
-
_globals['_NOTIFICATIONSOURCE']._serialized_end=
|
|
79
|
+
_globals['_NOTIFICATIONSOURCE']._serialized_start=6974
|
|
80
|
+
_globals['_NOTIFICATIONSOURCE']._serialized_end=7032
|
|
85
81
|
_globals['_AUDIT']._serialized_start=206
|
|
86
82
|
_globals['_AUDIT']._serialized_end=551
|
|
87
83
|
_globals['_AUDIT_SOURCE']._serialized_start=505
|
|
@@ -120,100 +116,76 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
120
116
|
_globals['_WRITERSTATUSRESPONSE_MSGIDENTRY']._serialized_end=3310
|
|
121
117
|
_globals['_WRITERSTATUSREQUEST']._serialized_start=3312
|
|
122
118
|
_globals['_WRITERSTATUSREQUEST']._serialized_end=3333
|
|
123
|
-
_globals['
|
|
124
|
-
_globals['
|
|
125
|
-
_globals['
|
|
126
|
-
_globals['
|
|
127
|
-
_globals['
|
|
128
|
-
_globals['
|
|
129
|
-
_globals['
|
|
130
|
-
_globals['
|
|
131
|
-
_globals['
|
|
132
|
-
_globals['
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
155
|
-
_globals['
|
|
156
|
-
_globals['
|
|
157
|
-
_globals['
|
|
158
|
-
_globals['
|
|
159
|
-
_globals['
|
|
160
|
-
_globals['
|
|
161
|
-
_globals['
|
|
162
|
-
_globals['
|
|
163
|
-
_globals['
|
|
164
|
-
_globals['
|
|
165
|
-
_globals['
|
|
166
|
-
_globals['
|
|
167
|
-
_globals['
|
|
168
|
-
_globals['
|
|
169
|
-
_globals['
|
|
170
|
-
_globals['
|
|
171
|
-
_globals['
|
|
172
|
-
_globals['
|
|
173
|
-
_globals['
|
|
174
|
-
_globals['
|
|
175
|
-
_globals['
|
|
176
|
-
_globals['
|
|
177
|
-
_globals['
|
|
178
|
-
_globals['
|
|
179
|
-
_globals['
|
|
180
|
-
_globals['
|
|
181
|
-
_globals['
|
|
182
|
-
_globals['
|
|
183
|
-
_globals['
|
|
184
|
-
_globals['
|
|
185
|
-
_globals['
|
|
186
|
-
_globals['
|
|
187
|
-
_globals['
|
|
188
|
-
_globals['
|
|
189
|
-
_globals['
|
|
190
|
-
_globals['
|
|
191
|
-
_globals['
|
|
192
|
-
_globals['
|
|
193
|
-
_globals['
|
|
194
|
-
_globals['
|
|
195
|
-
_globals['_SHARDS_EXTRAENTRY']._serialized_start=7195
|
|
196
|
-
_globals['_SHARDS_EXTRAENTRY']._serialized_end=7239
|
|
197
|
-
_globals['_INDEXRESOURCE']._serialized_start=7241
|
|
198
|
-
_globals['_INDEXRESOURCE']._serialized_end=7308
|
|
199
|
-
_globals['_INDEXSTATUS']._serialized_start=7310
|
|
200
|
-
_globals['_INDEXSTATUS']._serialized_end=7323
|
|
201
|
-
_globals['_SYNONYMSREQUEST']._serialized_start=7325
|
|
202
|
-
_globals['_SYNONYMSREQUEST']._serialized_end=7356
|
|
203
|
-
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_start=7359
|
|
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
|
|
119
|
+
_globals['_LISTENTITIESGROUPSREQUEST']._serialized_start=3335
|
|
120
|
+
_globals['_LISTENTITIESGROUPSREQUEST']._serialized_end=3404
|
|
121
|
+
_globals['_LISTENTITIESGROUPSRESPONSE']._serialized_start=3407
|
|
122
|
+
_globals['_LISTENTITIESGROUPSRESPONSE']._serialized_end=3690
|
|
123
|
+
_globals['_LISTENTITIESGROUPSRESPONSE_GROUPSENTRY']._serialized_start=3566
|
|
124
|
+
_globals['_LISTENTITIESGROUPSRESPONSE_GROUPSENTRY']._serialized_end=3647
|
|
125
|
+
_globals['_LISTENTITIESGROUPSRESPONSE_STATUS']._serialized_start=3649
|
|
126
|
+
_globals['_LISTENTITIESGROUPSRESPONSE_STATUS']._serialized_end=3690
|
|
127
|
+
_globals['_GETENTITIESREQUEST']._serialized_start=3692
|
|
128
|
+
_globals['_GETENTITIESREQUEST']._serialized_end=3754
|
|
129
|
+
_globals['_GETENTITIESRESPONSE']._serialized_start=3757
|
|
130
|
+
_globals['_GETENTITIESRESPONSE']._serialized_end=4054
|
|
131
|
+
_globals['_GETENTITIESRESPONSE_GROUPSENTRY']._serialized_start=3937
|
|
132
|
+
_globals['_GETENTITIESRESPONSE_GROUPSENTRY']._serialized_end=4011
|
|
133
|
+
_globals['_GETENTITIESRESPONSE_STATUS']._serialized_start=3649
|
|
134
|
+
_globals['_GETENTITIESRESPONSE_STATUS']._serialized_end=3690
|
|
135
|
+
_globals['_GETLABELSRESPONSE']._serialized_start=4057
|
|
136
|
+
_globals['_GETLABELSRESPONSE']._serialized_end=4241
|
|
137
|
+
_globals['_GETLABELSRESPONSE_STATUS']._serialized_start=3649
|
|
138
|
+
_globals['_GETLABELSRESPONSE_STATUS']._serialized_end=3679
|
|
139
|
+
_globals['_GETLABELSREQUEST']._serialized_start=4243
|
|
140
|
+
_globals['_GETLABELSREQUEST']._serialized_end=4303
|
|
141
|
+
_globals['_GETENTITIESGROUPREQUEST']._serialized_start=4305
|
|
142
|
+
_globals['_GETENTITIESGROUPREQUEST']._serialized_end=4387
|
|
143
|
+
_globals['_GETENTITIESGROUPRESPONSE']._serialized_start=4390
|
|
144
|
+
_globals['_GETENTITIESGROUPRESPONSE']._serialized_end=4639
|
|
145
|
+
_globals['_GETENTITIESGROUPRESPONSE_STATUS']._serialized_start=4564
|
|
146
|
+
_globals['_GETENTITIESGROUPRESPONSE_STATUS']._serialized_end=4639
|
|
147
|
+
_globals['_GETVECTORSETSREQUEST']._serialized_start=4641
|
|
148
|
+
_globals['_GETVECTORSETSREQUEST']._serialized_end=4705
|
|
149
|
+
_globals['_GETVECTORSETSRESPONSE']._serialized_start=4708
|
|
150
|
+
_globals['_GETVECTORSETSRESPONSE']._serialized_end=4919
|
|
151
|
+
_globals['_GETVECTORSETSRESPONSE_STATUS']._serialized_start=3649
|
|
152
|
+
_globals['_GETVECTORSETSRESPONSE_STATUS']._serialized_end=3690
|
|
153
|
+
_globals['_OPSTATUSWRITER']._serialized_start=4921
|
|
154
|
+
_globals['_OPSTATUSWRITER']._serialized_end=5030
|
|
155
|
+
_globals['_OPSTATUSWRITER_STATUS']._serialized_start=4989
|
|
156
|
+
_globals['_OPSTATUSWRITER_STATUS']._serialized_end=5030
|
|
157
|
+
_globals['_NOTIFICATION']._serialized_start=5033
|
|
158
|
+
_globals['_NOTIFICATION']._serialized_end=5499
|
|
159
|
+
_globals['_NOTIFICATION_ACTION']._serialized_start=5391
|
|
160
|
+
_globals['_NOTIFICATION_ACTION']._serialized_end=5435
|
|
161
|
+
_globals['_NOTIFICATION_WRITETYPE']._serialized_start=5437
|
|
162
|
+
_globals['_NOTIFICATION_WRITETYPE']._serialized_end=5499
|
|
163
|
+
_globals['_SHARDOBJECT']._serialized_start=5501
|
|
164
|
+
_globals['_SHARDOBJECT']._serialized_end=5628
|
|
165
|
+
_globals['_SHARDS']._serialized_start=5631
|
|
166
|
+
_globals['_SHARDS']._serialized_end=5915
|
|
167
|
+
_globals['_SHARDS_EXTRAENTRY']._serialized_start=5865
|
|
168
|
+
_globals['_SHARDS_EXTRAENTRY']._serialized_end=5909
|
|
169
|
+
_globals['_INDEXRESOURCE']._serialized_start=5917
|
|
170
|
+
_globals['_INDEXRESOURCE']._serialized_end=5984
|
|
171
|
+
_globals['_INDEXSTATUS']._serialized_start=5986
|
|
172
|
+
_globals['_INDEXSTATUS']._serialized_end=5999
|
|
173
|
+
_globals['_SYNONYMSREQUEST']._serialized_start=6001
|
|
174
|
+
_globals['_SYNONYMSREQUEST']._serialized_end=6032
|
|
175
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_start=6035
|
|
176
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST']._serialized_end=6516
|
|
177
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_start=6381
|
|
178
|
+
_globals['_NEWKNOWLEDGEBOXV2REQUEST_VECTORSET']._serialized_end=6516
|
|
179
|
+
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_start=6518
|
|
180
|
+
_globals['_NEWKNOWLEDGEBOXV2RESPONSE']._serialized_end=6626
|
|
181
|
+
_globals['_FIELDERROR']._serialized_start=6628
|
|
182
|
+
_globals['_FIELDERROR']._serialized_end=6725
|
|
183
|
+
_globals['_FIELDSTATUS']._serialized_start=6728
|
|
184
|
+
_globals['_FIELDSTATUS']._serialized_end=6876
|
|
185
|
+
_globals['_FIELDSTATUS_STATUS']._serialized_start=6829
|
|
186
|
+
_globals['_FIELDSTATUS_STATUS']._serialized_end=6876
|
|
187
|
+
_globals['_FIELDIDSTATUS']._serialized_start=6878
|
|
188
|
+
_globals['_FIELDIDSTATUS']._serialized_end=6972
|
|
189
|
+
_globals['_WRITER']._serialized_start=7035
|
|
190
|
+
_globals['_WRITER']._serialized_end=8129
|
|
219
191
|
# @@protoc_insertion_point(module_scope)
|