nucliadb-protos 6.7.1.post4834__py3-none-any.whl → 6.9.3.post5290__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 +14 -14
- nucliadb_protos/audit_pb2.pyi +14 -4
- nucliadb_protos/dataset_pb2.pyi +2 -0
- nucliadb_protos/knowledgebox_pb2.py +76 -76
- nucliadb_protos/knowledgebox_pb2.pyi +8 -1
- nucliadb_protos/resources_pb2.py +168 -160
- nucliadb_protos/resources_pb2.pyi +53 -5
- nucliadb_protos/train_pb2.pyi +2 -0
- nucliadb_protos/train_pb2_grpc.pyi +2 -0
- nucliadb_protos/writer_pb2.py +18 -18
- nucliadb_protos/writer_pb2.pyi +14 -3
- nucliadb_protos/writer_pb2_grpc.pyi +2 -0
- {nucliadb_protos-6.7.1.post4834.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/METADATA +2 -3
- {nucliadb_protos-6.7.1.post4834.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/RECORD +16 -16
- {nucliadb_protos-6.7.1.post4834.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/WHEEL +0 -0
- {nucliadb_protos-6.7.1.post4834.dist-info → nucliadb_protos-6.9.3.post5290.dist-info}/entry_points.txt +0 -0
nucliadb_protos/audit_pb2.py
CHANGED
|
@@ -30,7 +30,7 @@ except AttributeError:
|
|
|
30
30
|
nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_resources__pb2.nucliadb_protos.utils_pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/audit.proto\x12\x05\x61udit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fnucliadb_protos/resources.proto\"\xe4\x01\n\nAuditField\x12-\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x1d.audit.AuditField.FieldAction\x12\x0c\n\x04size\x18\x02 \x01(\x05\x12\x16\n\nsize_delta\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x10\n\x08\x66ield_id\x18\x04 \x01(\t\x12(\n\nfield_type\x18\x05 \x01(\x0e\x32\x14.resources.FieldType\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\"3\n\x0b\x46ieldAction\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\"4\n\x0e\x41uditKBCounter\x12\x12\n\nparagraphs\x18\x02 \x01(\x03\x12\x0e\n\x06\x66ields\x18\x03 \x01(\x03\"+\n\x0b\x43hatContext\x12\x0e\n\x06\x61uthor\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\"7\n\x10RetrievedContext\x12\x15\n\rtext_block_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/audit.proto\x12\x05\x61udit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1fnucliadb_protos/resources.proto\"\xe4\x01\n\nAuditField\x12-\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x1d.audit.AuditField.FieldAction\x12\x0c\n\x04size\x18\x02 \x01(\x05\x12\x16\n\nsize_delta\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\x10\n\x08\x66ield_id\x18\x04 \x01(\t\x12(\n\nfield_type\x18\x05 \x01(\x0e\x32\x14.resources.FieldType\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\"3\n\x0b\x46ieldAction\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\"4\n\x0e\x41uditKBCounter\x12\x12\n\nparagraphs\x18\x02 \x01(\x03\x12\x0e\n\x06\x66ields\x18\x03 \x01(\x03\"+\n\x0b\x43hatContext\x12\x0e\n\x06\x61uthor\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\"7\n\x10RetrievedContext\x12\x15\n\rtext_block_id\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\"\xdc\x02\n\tChatAudit\x12\x10\n\x08question\x18\x01 \x01(\t\x12\x13\n\x06\x61nswer\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x1f\n\x12rephrased_question\x18\x03 \x01(\tH\x01\x88\x01\x01\x12(\n\x0c\x63hat_context\x18\x06 \x03(\x0b\x32\x12.audit.ChatContext\x12\x32\n\x11retrieved_context\x18\x08 \x03(\x0b\x32\x17.audit.RetrievedContext\x12\x18\n\x0blearning_id\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x13\n\x0bstatus_code\x18\t \x01(\x05\x12\x12\n\x05model\x18\n \x01(\tH\x03\x88\x01\x01\x12\x16\n\treasoning\x18\x0b \x01(\tH\x04\x88\x01\x01\x42\t\n\x07_answerB\x15\n\x13_rephrased_questionB\x0e\n\x0c_learning_idB\x08\n\x06_modelB\x0c\n\n_reasoningJ\x04\x08\x04\x10\x05\"\xa3\x01\n\rFeedbackAudit\x12\x13\n\x0blearning_id\x18\x01 \x01(\t\x12\x0c\n\x04good\x18\x02 \x01(\x08\x12\x1d\n\x04task\x18\x03 \x01(\x0e\x32\x0f.audit.TaskType\x12\x15\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x1a\n\rtext_block_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_feedbackB\x10\n\x0e_text_block_id\"\xf5\t\n\x0c\x41uditRequest\x12+\n\x04type\x18\x01 \x01(\x0e\x32\x1d.audit.AuditRequest.AuditType\x12\x0c\n\x04kbid\x18\x02 \x01(\t\x12\x0e\n\x06userid\x18\x04 \x01(\t\x12(\n\x04time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06\x66ields\x18\x06 \x03(\t\x12)\n\x06search\x18\x07 \x01(\x0b\x32\x19.audit.AuditSearchRequest\x12\x12\n\x06timeit\x18\x08 \x01(\x02\x42\x02\x18\x01\x12\x0e\n\x06origin\x18\t \x01(\t\x12\x0b\n\x03rid\x18\n \x01(\t\x12\x0c\n\x04task\x18\x0b \x01(\t\x12\x11\n\tresources\x18\x0c \x01(\x05\x12*\n\x0e\x66ield_metadata\x18\r \x03(\x0b\x32\x12.resources.FieldID\x12\'\n\x0c\x66ields_audit\x18\x0e \x03(\x0b\x32\x11.audit.AuditField\x12&\n\x0b\x63lient_type\x18\x10 \x01(\x0e\x32\x11.audit.ClientType\x12\x10\n\x08trace_id\x18\x11 \x01(\t\x12)\n\nkb_counter\x18\x12 \x01(\x0b\x32\x15.audit.AuditKBCounter\x12\x1e\n\x04\x63hat\x18\x13 \x01(\x0b\x32\x10.audit.ChatAudit\x12\x0f\n\x07success\x18\x14 \x01(\x08\x12\x14\n\x0crequest_time\x18\x15 \x01(\x02\x12\x1b\n\x0eretrieval_time\x18\x16 \x01(\x02H\x00\x88\x01\x01\x12#\n\x16generative_answer_time\x18\x17 \x01(\x02H\x01\x88\x01\x01\x12/\n\"generative_answer_first_chunk_time\x18\x18 \x01(\x02H\x02\x88\x01\x01\x12\x1a\n\rrephrase_time\x18\x19 \x01(\x02H\x03\x88\x01\x01\x12&\n\x08\x66\x65\x65\x64\x62\x61\x63k\x18\x1a \x01(\x0b\x32\x14.audit.FeedbackAudit\x12\x19\n\x0cuser_request\x18\x1b \x01(\tH\x04\x88\x01\x01\x12\x1a\n\rprocessing_id\x18\x1c \x01(\tH\x05\x88\x01\x01\x12)\n\x1cretrieval_rephrased_question\x18\x1d \x01(\tH\x06\x88\x01\x01\x12\x32\n%generative_reasoning_first_chunk_time\x18\x1e \x01(\x02H\x07\x88\x01\x01\"\xbf\x01\n\tAuditType\x12\x0b\n\x07VISITED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x12\x0b\n\x07\x44\x45LETED\x10\x02\x12\x07\n\x03NEW\x10\x03\x12\x0b\n\x07STARTED\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\n\n\x06SEARCH\x10\x06\x12\r\n\tPROCESSED\x10\x07\x12\x12\n\nKB_DELETED\x10\x08\x1a\x02\x08\x01\x12\x0f\n\x07SUGGEST\x10\t\x1a\x02\x08\x01\x12\x0f\n\x07INDEXED\x10\n\x1a\x02\x08\x01\x12\x08\n\x04\x43HAT\x10\x0b\x12\x0c\n\x08\x46\x45\x45\x44\x42\x41\x43K\x10\x0c\x42\x11\n\x0f_retrieval_timeB\x19\n\x17_generative_answer_timeB%\n#_generative_answer_first_chunk_timeB\x10\n\x0e_rephrase_timeB\x0f\n\r_user_requestB\x10\n\x0e_processing_idB\x1f\n\x1d_retrieval_rephrased_questionB(\n&_generative_reasoning_first_chunk_time\"\xc1\x02\n\x12\x41uditSearchRequest\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\x17\n\x0fresult_per_page\x18\x08 \x01(\x05\x12\x0e\n\x06vector\x18\n \x03(\x02\x12\x11\n\tvectorset\x18\x0f \x01(\t\x12\x1a\n\x12min_score_semantic\x18\x17 \x01(\x02\x12\x16\n\x0emin_score_bm25\x18\x19 \x01(\x02\x12&\n\x08security\x18\x18 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x13\n\x06\x66ilter\x18\x1e \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_securityB\t\n\x07_filterJ\x04\x08\x01\x10\x02J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x0c\x10\rJ\x04\x08\r\x10\x0eJ\x04\x08\x0e\x10\x0fJ\x04\x08\x10\x10\x11J\x04\x08\x12\x10\x13J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16J\x04\x08\x1a\x10\x1bJ\x04\x08\x1b\x10\x1cJ\x04\x08\x1c\x10\x1dJ\x04\x08\x1d\x10\x1e*\\\n\nClientType\x12\x07\n\x03\x41PI\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\n\n\x06WIDGET\x10\x02\x12\x0b\n\x07\x44\x45SKTOP\x10\x03\x12\r\n\tDASHBOARD\x10\x04\x12\x14\n\x10\x43HROME_EXTENSION\x10\x05*\x14\n\x08TaskType\x12\x08\n\x04\x43HAT\x10\x00\x62\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -47,10 +47,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
47
47
|
_globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["INDEXED"]._serialized_options = b'\010\001'
|
|
48
48
|
_globals['_AUDITREQUEST'].fields_by_name['timeit']._loaded_options = None
|
|
49
49
|
_globals['_AUDITREQUEST'].fields_by_name['timeit']._serialized_options = b'\030\001'
|
|
50
|
-
_globals['_CLIENTTYPE']._serialized_start=
|
|
51
|
-
_globals['_CLIENTTYPE']._serialized_end=
|
|
52
|
-
_globals['_TASKTYPE']._serialized_start=
|
|
53
|
-
_globals['_TASKTYPE']._serialized_end=
|
|
50
|
+
_globals['_CLIENTTYPE']._serialized_start=2604
|
|
51
|
+
_globals['_CLIENTTYPE']._serialized_end=2696
|
|
52
|
+
_globals['_TASKTYPE']._serialized_start=2698
|
|
53
|
+
_globals['_TASKTYPE']._serialized_end=2718
|
|
54
54
|
_globals['_AUDITFIELD']._serialized_start=105
|
|
55
55
|
_globals['_AUDITFIELD']._serialized_end=333
|
|
56
56
|
_globals['_AUDITFIELD_FIELDACTION']._serialized_start=282
|
|
@@ -62,13 +62,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
62
62
|
_globals['_RETRIEVEDCONTEXT']._serialized_start=434
|
|
63
63
|
_globals['_RETRIEVEDCONTEXT']._serialized_end=489
|
|
64
64
|
_globals['_CHATAUDIT']._serialized_start=492
|
|
65
|
-
_globals['_CHATAUDIT']._serialized_end=
|
|
66
|
-
_globals['_FEEDBACKAUDIT']._serialized_start=
|
|
67
|
-
_globals['_FEEDBACKAUDIT']._serialized_end=
|
|
68
|
-
_globals['_AUDITREQUEST']._serialized_start=
|
|
69
|
-
_globals['_AUDITREQUEST']._serialized_end=
|
|
70
|
-
_globals['_AUDITREQUEST_AUDITTYPE']._serialized_start=
|
|
71
|
-
_globals['_AUDITREQUEST_AUDITTYPE']._serialized_end=
|
|
72
|
-
_globals['_AUDITSEARCHREQUEST']._serialized_start=
|
|
73
|
-
_globals['_AUDITSEARCHREQUEST']._serialized_end=
|
|
65
|
+
_globals['_CHATAUDIT']._serialized_end=840
|
|
66
|
+
_globals['_FEEDBACKAUDIT']._serialized_start=843
|
|
67
|
+
_globals['_FEEDBACKAUDIT']._serialized_end=1006
|
|
68
|
+
_globals['_AUDITREQUEST']._serialized_start=1009
|
|
69
|
+
_globals['_AUDITREQUEST']._serialized_end=2278
|
|
70
|
+
_globals['_AUDITREQUEST_AUDITTYPE']._serialized_start=1874
|
|
71
|
+
_globals['_AUDITREQUEST_AUDITTYPE']._serialized_end=2065
|
|
72
|
+
_globals['_AUDITSEARCHREQUEST']._serialized_start=2281
|
|
73
|
+
_globals['_AUDITSEARCHREQUEST']._serialized_end=2602
|
|
74
74
|
# @@protoc_insertion_point(module_scope)
|
nucliadb_protos/audit_pb2.pyi
CHANGED
|
@@ -170,12 +170,14 @@ class ChatAudit(google.protobuf.message.Message):
|
|
|
170
170
|
LEARNING_ID_FIELD_NUMBER: builtins.int
|
|
171
171
|
STATUS_CODE_FIELD_NUMBER: builtins.int
|
|
172
172
|
MODEL_FIELD_NUMBER: builtins.int
|
|
173
|
+
REASONING_FIELD_NUMBER: builtins.int
|
|
173
174
|
question: builtins.str
|
|
174
175
|
answer: builtins.str
|
|
175
176
|
rephrased_question: builtins.str
|
|
176
177
|
learning_id: builtins.str
|
|
177
178
|
status_code: builtins.int
|
|
178
179
|
model: builtins.str
|
|
180
|
+
reasoning: builtins.str
|
|
179
181
|
@property
|
|
180
182
|
def chat_context(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChatContext]:
|
|
181
183
|
"""context retrieved on the current ask"""
|
|
@@ -193,9 +195,10 @@ class ChatAudit(google.protobuf.message.Message):
|
|
|
193
195
|
learning_id: builtins.str | None = ...,
|
|
194
196
|
status_code: builtins.int = ...,
|
|
195
197
|
model: builtins.str | None = ...,
|
|
198
|
+
reasoning: builtins.str | None = ...,
|
|
196
199
|
) -> None: ...
|
|
197
|
-
def HasField(self, field_name: typing.Literal["_answer", b"_answer", "_learning_id", b"_learning_id", "_model", b"_model", "_rephrased_question", b"_rephrased_question", "answer", b"answer", "learning_id", b"learning_id", "model", b"model", "rephrased_question", b"rephrased_question"]) -> builtins.bool: ...
|
|
198
|
-
def ClearField(self, field_name: typing.Literal["_answer", b"_answer", "_learning_id", b"_learning_id", "_model", b"_model", "_rephrased_question", b"_rephrased_question", "answer", b"answer", "chat_context", b"chat_context", "learning_id", b"learning_id", "model", b"model", "question", b"question", "rephrased_question", b"rephrased_question", "retrieved_context", b"retrieved_context", "status_code", b"status_code"]) -> None: ...
|
|
200
|
+
def HasField(self, field_name: typing.Literal["_answer", b"_answer", "_learning_id", b"_learning_id", "_model", b"_model", "_reasoning", b"_reasoning", "_rephrased_question", b"_rephrased_question", "answer", b"answer", "learning_id", b"learning_id", "model", b"model", "reasoning", b"reasoning", "rephrased_question", b"rephrased_question"]) -> builtins.bool: ...
|
|
201
|
+
def ClearField(self, field_name: typing.Literal["_answer", b"_answer", "_learning_id", b"_learning_id", "_model", b"_model", "_reasoning", b"_reasoning", "_rephrased_question", b"_rephrased_question", "answer", b"answer", "chat_context", b"chat_context", "learning_id", b"learning_id", "model", b"model", "question", b"question", "reasoning", b"reasoning", "rephrased_question", b"rephrased_question", "retrieved_context", b"retrieved_context", "status_code", b"status_code"]) -> None: ...
|
|
199
202
|
@typing.overload
|
|
200
203
|
def WhichOneof(self, oneof_group: typing.Literal["_answer", b"_answer"]) -> typing.Literal["answer"] | None: ...
|
|
201
204
|
@typing.overload
|
|
@@ -203,6 +206,8 @@ class ChatAudit(google.protobuf.message.Message):
|
|
|
203
206
|
@typing.overload
|
|
204
207
|
def WhichOneof(self, oneof_group: typing.Literal["_model", b"_model"]) -> typing.Literal["model"] | None: ...
|
|
205
208
|
@typing.overload
|
|
209
|
+
def WhichOneof(self, oneof_group: typing.Literal["_reasoning", b"_reasoning"]) -> typing.Literal["reasoning"] | None: ...
|
|
210
|
+
@typing.overload
|
|
206
211
|
def WhichOneof(self, oneof_group: typing.Literal["_rephrased_question", b"_rephrased_question"]) -> typing.Literal["rephrased_question"] | None: ...
|
|
207
212
|
|
|
208
213
|
global___ChatAudit = ChatAudit
|
|
@@ -305,6 +310,7 @@ class AuditRequest(google.protobuf.message.Message):
|
|
|
305
310
|
USER_REQUEST_FIELD_NUMBER: builtins.int
|
|
306
311
|
PROCESSING_ID_FIELD_NUMBER: builtins.int
|
|
307
312
|
RETRIEVAL_REPHRASED_QUESTION_FIELD_NUMBER: builtins.int
|
|
313
|
+
GENERATIVE_REASONING_FIRST_CHUNK_TIME_FIELD_NUMBER: builtins.int
|
|
308
314
|
type: global___AuditRequest.AuditType.ValueType
|
|
309
315
|
kbid: builtins.str
|
|
310
316
|
userid: builtins.str
|
|
@@ -324,6 +330,7 @@ class AuditRequest(google.protobuf.message.Message):
|
|
|
324
330
|
user_request: builtins.str
|
|
325
331
|
processing_id: builtins.str
|
|
326
332
|
retrieval_rephrased_question: builtins.str
|
|
333
|
+
generative_reasoning_first_chunk_time: builtins.float
|
|
327
334
|
@property
|
|
328
335
|
def time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
329
336
|
@property
|
|
@@ -370,14 +377,17 @@ class AuditRequest(google.protobuf.message.Message):
|
|
|
370
377
|
user_request: builtins.str | None = ...,
|
|
371
378
|
processing_id: builtins.str | None = ...,
|
|
372
379
|
retrieval_rephrased_question: builtins.str | None = ...,
|
|
380
|
+
generative_reasoning_first_chunk_time: builtins.float | None = ...,
|
|
373
381
|
) -> None: ...
|
|
374
|
-
def HasField(self, field_name: typing.Literal["_generative_answer_first_chunk_time", b"_generative_answer_first_chunk_time", "_generative_answer_time", b"_generative_answer_time", "_processing_id", b"_processing_id", "_rephrase_time", b"_rephrase_time", "_retrieval_rephrased_question", b"_retrieval_rephrased_question", "_retrieval_time", b"_retrieval_time", "_user_request", b"_user_request", "chat", b"chat", "feedback", b"feedback", "generative_answer_first_chunk_time", b"generative_answer_first_chunk_time", "generative_answer_time", b"generative_answer_time", "kb_counter", b"kb_counter", "processing_id", b"processing_id", "rephrase_time", b"rephrase_time", "retrieval_rephrased_question", b"retrieval_rephrased_question", "retrieval_time", b"retrieval_time", "search", b"search", "time", b"time", "user_request", b"user_request"]) -> builtins.bool: ...
|
|
375
|
-
def ClearField(self, field_name: typing.Literal["_generative_answer_first_chunk_time", b"_generative_answer_first_chunk_time", "_generative_answer_time", b"_generative_answer_time", "_processing_id", b"_processing_id", "_rephrase_time", b"_rephrase_time", "_retrieval_rephrased_question", b"_retrieval_rephrased_question", "_retrieval_time", b"_retrieval_time", "_user_request", b"_user_request", "chat", b"chat", "client_type", b"client_type", "feedback", b"feedback", "field_metadata", b"field_metadata", "fields", b"fields", "fields_audit", b"fields_audit", "generative_answer_first_chunk_time", b"generative_answer_first_chunk_time", "generative_answer_time", b"generative_answer_time", "kb_counter", b"kb_counter", "kbid", b"kbid", "origin", b"origin", "processing_id", b"processing_id", "rephrase_time", b"rephrase_time", "request_time", b"request_time", "resources", b"resources", "retrieval_rephrased_question", b"retrieval_rephrased_question", "retrieval_time", b"retrieval_time", "rid", b"rid", "search", b"search", "success", b"success", "task", b"task", "time", b"time", "timeit", b"timeit", "trace_id", b"trace_id", "type", b"type", "user_request", b"user_request", "userid", b"userid"]) -> None: ...
|
|
382
|
+
def HasField(self, field_name: typing.Literal["_generative_answer_first_chunk_time", b"_generative_answer_first_chunk_time", "_generative_answer_time", b"_generative_answer_time", "_generative_reasoning_first_chunk_time", b"_generative_reasoning_first_chunk_time", "_processing_id", b"_processing_id", "_rephrase_time", b"_rephrase_time", "_retrieval_rephrased_question", b"_retrieval_rephrased_question", "_retrieval_time", b"_retrieval_time", "_user_request", b"_user_request", "chat", b"chat", "feedback", b"feedback", "generative_answer_first_chunk_time", b"generative_answer_first_chunk_time", "generative_answer_time", b"generative_answer_time", "generative_reasoning_first_chunk_time", b"generative_reasoning_first_chunk_time", "kb_counter", b"kb_counter", "processing_id", b"processing_id", "rephrase_time", b"rephrase_time", "retrieval_rephrased_question", b"retrieval_rephrased_question", "retrieval_time", b"retrieval_time", "search", b"search", "time", b"time", "user_request", b"user_request"]) -> builtins.bool: ...
|
|
383
|
+
def ClearField(self, field_name: typing.Literal["_generative_answer_first_chunk_time", b"_generative_answer_first_chunk_time", "_generative_answer_time", b"_generative_answer_time", "_generative_reasoning_first_chunk_time", b"_generative_reasoning_first_chunk_time", "_processing_id", b"_processing_id", "_rephrase_time", b"_rephrase_time", "_retrieval_rephrased_question", b"_retrieval_rephrased_question", "_retrieval_time", b"_retrieval_time", "_user_request", b"_user_request", "chat", b"chat", "client_type", b"client_type", "feedback", b"feedback", "field_metadata", b"field_metadata", "fields", b"fields", "fields_audit", b"fields_audit", "generative_answer_first_chunk_time", b"generative_answer_first_chunk_time", "generative_answer_time", b"generative_answer_time", "generative_reasoning_first_chunk_time", b"generative_reasoning_first_chunk_time", "kb_counter", b"kb_counter", "kbid", b"kbid", "origin", b"origin", "processing_id", b"processing_id", "rephrase_time", b"rephrase_time", "request_time", b"request_time", "resources", b"resources", "retrieval_rephrased_question", b"retrieval_rephrased_question", "retrieval_time", b"retrieval_time", "rid", b"rid", "search", b"search", "success", b"success", "task", b"task", "time", b"time", "timeit", b"timeit", "trace_id", b"trace_id", "type", b"type", "user_request", b"user_request", "userid", b"userid"]) -> None: ...
|
|
376
384
|
@typing.overload
|
|
377
385
|
def WhichOneof(self, oneof_group: typing.Literal["_generative_answer_first_chunk_time", b"_generative_answer_first_chunk_time"]) -> typing.Literal["generative_answer_first_chunk_time"] | None: ...
|
|
378
386
|
@typing.overload
|
|
379
387
|
def WhichOneof(self, oneof_group: typing.Literal["_generative_answer_time", b"_generative_answer_time"]) -> typing.Literal["generative_answer_time"] | None: ...
|
|
380
388
|
@typing.overload
|
|
389
|
+
def WhichOneof(self, oneof_group: typing.Literal["_generative_reasoning_first_chunk_time", b"_generative_reasoning_first_chunk_time"]) -> typing.Literal["generative_reasoning_first_chunk_time"] | None: ...
|
|
390
|
+
@typing.overload
|
|
381
391
|
def WhichOneof(self, oneof_group: typing.Literal["_processing_id", b"_processing_id"]) -> typing.Literal["processing_id"] | None: ...
|
|
382
392
|
@typing.overload
|
|
383
393
|
def WhichOneof(self, oneof_group: typing.Literal["_rephrase_time", b"_rephrase_time"]) -> typing.Literal["rephrase_time"] | None: ...
|
nucliadb_protos/dataset_pb2.pyi
CHANGED
|
@@ -81,6 +81,8 @@ from nucliadb_protos.resources_pb2 import (
|
|
|
81
81
|
Representation as Representation,
|
|
82
82
|
RowsPreview as RowsPreview,
|
|
83
83
|
Sentence as Sentence,
|
|
84
|
+
SplitMetadata as SplitMetadata,
|
|
85
|
+
SplitsMetadata as SplitsMetadata,
|
|
84
86
|
TEXT as TEXT,
|
|
85
87
|
UserFieldMetadata as UserFieldMetadata,
|
|
86
88
|
UserMetadata as UserMetadata,
|
|
@@ -26,7 +26,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
|
|
|
26
26
|
|
|
27
27
|
from nucliadb_protos.utils_pb2 import *
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\",\n\x0eKnowledgeBoxID\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"h\n\x14\x43reatePineconeConfig\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12?\n\x10serverless_cloud\x18\x02 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\"\x86\x01\n\x15PineconeIndexMetadata\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x12\n\nindex_host\x18\x02 \x01(\t\x12\x18\n\x10vector_dimension\x18\x03 \x01(\x05\x12+\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x89\x02\n\x14StoredPineconeConfig\x12\x19\n\x11\x65ncrypted_api_key\x18\x01 \x01(\t\x12@\n\x07indexes\x18\x02 \x03(\x0b\x32/.knowledgebox.StoredPineconeConfig.IndexesEntry\x12?\n\x10serverless_cloud\x18\x03 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\x1aS\n\x0cIndexesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.knowledgebox.PineconeIndexMetadata:\x02\x38\x01\"\xa5\x01\n#CreateExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.CreatePineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa5\x01\n#StoredExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.StoredPineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"nucliadb_protos/knowledgebox.proto\x12\x0cknowledgebox\x1a\x1bnucliadb_protos/utils.proto\",\n\x0eKnowledgeBoxID\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"h\n\x14\x43reatePineconeConfig\x12\x0f\n\x07\x61pi_key\x18\x01 \x01(\t\x12?\n\x10serverless_cloud\x18\x02 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\"\x86\x01\n\x15PineconeIndexMetadata\x12\x12\n\nindex_name\x18\x01 \x01(\t\x12\x12\n\nindex_host\x18\x02 \x01(\t\x12\x18\n\x10vector_dimension\x18\x03 \x01(\x05\x12+\n\nsimilarity\x18\x04 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x89\x02\n\x14StoredPineconeConfig\x12\x19\n\x11\x65ncrypted_api_key\x18\x01 \x01(\t\x12@\n\x07indexes\x18\x02 \x03(\x0b\x32/.knowledgebox.StoredPineconeConfig.IndexesEntry\x12?\n\x10serverless_cloud\x18\x03 \x01(\x0e\x32%.knowledgebox.PineconeServerlessCloud\x1aS\n\x0cIndexesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.knowledgebox.PineconeIndexMetadata:\x02\x38\x01\"\xa5\x01\n#CreateExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.CreatePineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa5\x01\n#StoredExternalIndexProviderMetadata\x12\x35\n\x04type\x18\x01 \x01(\x0e\x32\'.knowledgebox.ExternalIndexProviderType\x12=\n\x0fpinecone_config\x18\x02 \x01(\x0b\x32\".knowledgebox.StoredPineconeConfigH\x00\x42\x08\n\x06\x63onfig\"\xa7\x03\n\x12KnowledgeBoxConfig\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04slug\x18\x05 \x01(\t\x12\x19\n\x11migration_version\x18\x07 \x01(\x03\x12R\n\x17\x65xternal_index_provider\x18\t \x01(\x0b\x32\x31.knowledgebox.StoredExternalIndexProviderMetadata\x12\x1b\n\x0f\x65nabled_filters\x18\x03 \x03(\tB\x02\x18\x01\x12\x1c\n\x10\x65nabled_insights\x18\x04 \x03(\tB\x02\x18\x01\x12\x1b\n\x0f\x64isable_vectors\x18\x06 \x01(\x08\x42\x02\x18\x01\x12\x32\n\x0frelease_channel\x18\x08 \x01(\x0e\x32\x15.utils.ReleaseChannelB\x02\x18\x01\x12 \n\x18hidden_resources_enabled\x18\n \x01(\x08\x12)\n!hidden_resources_hide_on_creation\x18\x0b \x01(\x08\x12\x17\n\x0fprewarm_enabled\x18\x0c \x01(\x08\"b\n\x12KnowledgeBoxUpdate\x12\x0c\n\x04slug\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\x30\n\x06\x63onfig\x18\x03 \x01(\x0b\x32 .knowledgebox.KnowledgeBoxConfig\"d\n\x1aUpdateKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"V\n\x1a\x44\x65leteKnowledgeBoxResponse\x12\x38\n\x06status\x18\x01 \x01(\x0e\x32(.knowledgebox.KnowledgeBoxResponseStatus\"B\n\x05Label\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07related\x18\x03 \x01(\t\x12\x0c\n\x04text\x18\x04 \x01(\t\x12\x0b\n\x03uri\x18\x05 \x01(\t\"\xe0\x01\n\x08LabelSet\x12\r\n\x05title\x18\x01 \x01(\t\x12\r\n\x05\x63olor\x18\x02 \x01(\t\x12#\n\x06labels\x18\x03 \x03(\x0b\x32\x13.knowledgebox.Label\x12\x10\n\x08multiple\x18\x04 \x01(\x08\x12\x31\n\x04kind\x18\x05 \x03(\x0e\x32#.knowledgebox.LabelSet.LabelSetKind\"L\n\x0cLabelSetKind\x12\r\n\tRESOURCES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x12\r\n\tSENTENCES\x10\x02\x12\x0e\n\nSELECTIONS\x10\x03\"\x87\x01\n\x06Labels\x12\x34\n\x08labelset\x18\x01 \x03(\x0b\x32\".knowledgebox.Labels.LabelsetEntry\x1aG\n\rLabelsetEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.knowledgebox.LabelSet:\x02\x38\x01\"L\n\x06\x45ntity\x12\r\n\x05value\x18\x02 \x01(\t\x12\x12\n\nrepresents\x18\x04 \x03(\t\x12\x0e\n\x06merged\x18\x03 \x01(\x08\x12\x0f\n\x07\x64\x65leted\x18\x05 \x01(\x08\"D\n\x14\x45ntitiesGroupSummary\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\"\xc1\x01\n\rEntitiesGroup\x12;\n\x08\x65ntities\x18\x01 \x03(\x0b\x32).knowledgebox.EntitiesGroup.EntitiesEntry\x12\r\n\x05title\x18\x02 \x01(\t\x12\r\n\x05\x63olor\x18\x03 \x01(\t\x12\x0e\n\x06\x63ustom\x18\x04 \x01(\x08\x1a\x45\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.knowledgebox.Entity:\x02\x38\x01\"0\n\x15\x44\x65letedEntitiesGroups\x12\x17\n\x0f\x65ntities_groups\x18\x01 \x03(\t\"\xaf\x01\n\x0e\x45ntitiesGroups\x12I\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32\x30.knowledgebox.EntitiesGroups.EntitiesGroupsEntry\x1aR\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12*\n\x05value\x18\x02 \x01(\x0b\x32\x1b.knowledgebox.EntitiesGroup:\x02\x38\x01\"\xf3\x03\n\x19\x45ntityGroupDuplicateIndex\x12T\n\x0f\x65ntities_groups\x18\x01 \x03(\x0b\x32;.knowledgebox.EntityGroupDuplicateIndex.EntitiesGroupsEntry\x1a&\n\x10\x45ntityDuplicates\x12\x12\n\nduplicates\x18\x01 \x03(\t\x1a\xe1\x01\n\x15\x45ntityGroupDuplicates\x12]\n\x08\x65ntities\x18\x01 \x03(\x0b\x32K.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates.EntitiesEntry\x1ai\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.knowledgebox.EntityGroupDuplicateIndex.EntityDuplicates:\x02\x38\x01\x1at\n\x13\x45ntitiesGroupsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.knowledgebox.EntityGroupDuplicateIndex.EntityGroupDuplicates:\x02\x38\x01\"K\n\tVectorSet\x12\x11\n\tdimension\x18\x01 \x01(\x05\x12+\n\nsimilarity\x18\x02 \x01(\x0e\x32\x17.utils.VectorSimilarity\"\x96\x01\n\nVectorSets\x12<\n\nvectorsets\x18\x01 \x03(\x0b\x32(.knowledgebox.VectorSets.VectorsetsEntry\x1aJ\n\x0fVectorsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.knowledgebox.VectorSet:\x02\x38\x01\"\xbe\x01\n\x11VectorIndexConfig\x12+\n\nsimilarity\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x19\n\x11normalize_vectors\x18\x02 \x01(\x08\x12-\n\x0bvector_type\x18\x03 \x01(\x0e\x32\x18.knowledgebox.VectorType\x12\x1d\n\x10vector_dimension\x18\x04 \x01(\rH\x00\x88\x01\x01\x42\x13\n\x11_vector_dimension\"\x8e\x02\n\x0fVectorSetConfig\x12\x14\n\x0cvectorset_id\x18\x01 \x01(\t\x12?\n\x16vectorset_index_config\x18\x02 \x01(\x0b\x32\x1f.knowledgebox.VectorIndexConfig\x12\x1d\n\x15matryoshka_dimensions\x18\x03 \x03(\r\x12\x46\n\x10storage_key_kind\x18\x04 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\"=\n\x0eStorageKeyKind\x12\t\n\x05UNSET\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x14\n\x10VECTORSET_PREFIX\x10\x02\"Q\n\x1cKnowledgeBoxVectorSetsConfig\x12\x31\n\nvectorsets\x18\x01 \x03(\x0b\x32\x1d.knowledgebox.VectorSetConfig\"X\n\x0eVectorSetPurge\x12\x46\n\x10storage_key_kind\x18\x01 \x01(\x0e\x32,.knowledgebox.VectorSetConfig.StorageKeyKind\" \n\x0cTermSynonyms\x12\x10\n\x08synonyms\x18\x01 \x03(\t\"\x86\x01\n\x08Synonyms\x12\x30\n\x05terms\x18\x01 \x03(\x0b\x32!.knowledgebox.Synonyms.TermsEntry\x1aH\n\nTermsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.knowledgebox.TermSynonyms:\x02\x38\x01\"\xda\x01\n\x15SemanticModelMetadata\x12\x34\n\x13similarity_function\x18\x01 \x01(\x0e\x32\x17.utils.VectorSimilarity\x12\x1d\n\x10vector_dimension\x18\x02 \x01(\x05H\x00\x88\x01\x01\x12\"\n\x11\x64\x65\x66\x61ult_min_score\x18\x03 \x01(\x02\x42\x02\x18\x01H\x01\x88\x01\x01\x12\x1d\n\x15matryoshka_dimensions\x18\x04 \x03(\rB\x13\n\x11_vector_dimensionB\x14\n\x12_default_min_score\"\x8c\x01\n\x0fKBConfiguration\x12\x16\n\x0esemantic_model\x18\x02 \x01(\t\x12\x18\n\x10generative_model\x18\x03 \x01(\t\x12\x11\n\tner_model\x18\x04 \x01(\t\x12\x1b\n\x13\x61nonymization_model\x18\x05 \x01(\t\x12\x17\n\x0fvisual_labeling\x18\x06 \x01(\t*n\n\x1aKnowledgeBoxResponseStatus\x12\x06\n\x02OK\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0c\n\x08NOTFOUND\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12!\n\x1d\x45XTERNAL_INDEX_PROVIDER_ERROR\x10\x04*4\n\x19\x45xternalIndexProviderType\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08PINECONE\x10\x01*\x8e\x01\n\x17PineconeServerlessCloud\x12\x12\n\x0ePINECONE_UNSET\x10\x00\x12\x11\n\rAWS_US_EAST_1\x10\x01\x12\x11\n\rAWS_US_WEST_2\x10\x02\x12\x11\n\rAWS_EU_WEST_1\x10\x03\x12\x13\n\x0fGCP_US_CENTRAL1\x10\x04\x12\x11\n\rAZURE_EASTUS2\x10\x05*\x1b\n\nVectorType\x12\r\n\tDENSE_F32\x10\x00P\x00\x62\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -59,14 +59,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
59
|
_globals['_SYNONYMS_TERMSENTRY']._serialized_options = b'8\001'
|
|
60
60
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._loaded_options = None
|
|
61
61
|
_globals['_SEMANTICMODELMETADATA'].fields_by_name['default_min_score']._serialized_options = b'\030\001'
|
|
62
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=
|
|
63
|
-
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=
|
|
64
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=
|
|
65
|
-
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=
|
|
66
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=
|
|
67
|
-
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=
|
|
68
|
-
_globals['_VECTORTYPE']._serialized_start=
|
|
69
|
-
_globals['_VECTORTYPE']._serialized_end=
|
|
62
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_start=4601
|
|
63
|
+
_globals['_KNOWLEDGEBOXRESPONSESTATUS']._serialized_end=4711
|
|
64
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_start=4713
|
|
65
|
+
_globals['_EXTERNALINDEXPROVIDERTYPE']._serialized_end=4765
|
|
66
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_start=4768
|
|
67
|
+
_globals['_PINECONESERVERLESSCLOUD']._serialized_end=4910
|
|
68
|
+
_globals['_VECTORTYPE']._serialized_start=4912
|
|
69
|
+
_globals['_VECTORTYPE']._serialized_end=4939
|
|
70
70
|
_globals['_KNOWLEDGEBOXID']._serialized_start=81
|
|
71
71
|
_globals['_KNOWLEDGEBOXID']._serialized_end=125
|
|
72
72
|
_globals['_CREATEPINECONECONFIG']._serialized_start=127
|
|
@@ -82,71 +82,71 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
82
82
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_start=807
|
|
83
83
|
_globals['_STOREDEXTERNALINDEXPROVIDERMETADATA']._serialized_end=972
|
|
84
84
|
_globals['_KNOWLEDGEBOXCONFIG']._serialized_start=975
|
|
85
|
-
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=
|
|
86
|
-
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=
|
|
87
|
-
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=
|
|
88
|
-
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=
|
|
89
|
-
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=
|
|
90
|
-
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=
|
|
91
|
-
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=
|
|
92
|
-
_globals['_LABEL']._serialized_start=
|
|
93
|
-
_globals['_LABEL']._serialized_end=
|
|
94
|
-
_globals['_LABELSET']._serialized_start=
|
|
95
|
-
_globals['_LABELSET']._serialized_end=
|
|
96
|
-
_globals['_LABELSET_LABELSETKIND']._serialized_start=
|
|
97
|
-
_globals['_LABELSET_LABELSETKIND']._serialized_end=
|
|
98
|
-
_globals['_LABELS']._serialized_start=
|
|
99
|
-
_globals['_LABELS']._serialized_end=
|
|
100
|
-
_globals['_LABELS_LABELSETENTRY']._serialized_start=
|
|
101
|
-
_globals['_LABELS_LABELSETENTRY']._serialized_end=
|
|
102
|
-
_globals['_ENTITY']._serialized_start=
|
|
103
|
-
_globals['_ENTITY']._serialized_end=
|
|
104
|
-
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=
|
|
105
|
-
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=
|
|
106
|
-
_globals['_ENTITIESGROUP']._serialized_start=
|
|
107
|
-
_globals['_ENTITIESGROUP']._serialized_end=
|
|
108
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=
|
|
109
|
-
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=
|
|
110
|
-
_globals['_DELETEDENTITIESGROUPS']._serialized_start=
|
|
111
|
-
_globals['_DELETEDENTITIESGROUPS']._serialized_end=
|
|
112
|
-
_globals['_ENTITIESGROUPS']._serialized_start=
|
|
113
|
-
_globals['_ENTITIESGROUPS']._serialized_end=
|
|
114
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=
|
|
115
|
-
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=
|
|
116
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=
|
|
117
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=
|
|
118
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=
|
|
119
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=
|
|
120
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=
|
|
121
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=
|
|
122
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=
|
|
123
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=
|
|
124
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=
|
|
125
|
-
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=
|
|
126
|
-
_globals['_VECTORSET']._serialized_start=
|
|
127
|
-
_globals['_VECTORSET']._serialized_end=
|
|
128
|
-
_globals['_VECTORSETS']._serialized_start=
|
|
129
|
-
_globals['_VECTORSETS']._serialized_end=
|
|
130
|
-
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=
|
|
131
|
-
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=
|
|
132
|
-
_globals['_VECTORINDEXCONFIG']._serialized_start=
|
|
133
|
-
_globals['_VECTORINDEXCONFIG']._serialized_end=
|
|
134
|
-
_globals['_VECTORSETCONFIG']._serialized_start=
|
|
135
|
-
_globals['_VECTORSETCONFIG']._serialized_end=
|
|
136
|
-
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=
|
|
137
|
-
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=
|
|
138
|
-
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=
|
|
139
|
-
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=
|
|
140
|
-
_globals['_VECTORSETPURGE']._serialized_start=
|
|
141
|
-
_globals['_VECTORSETPURGE']._serialized_end=
|
|
142
|
-
_globals['_TERMSYNONYMS']._serialized_start=
|
|
143
|
-
_globals['_TERMSYNONYMS']._serialized_end=
|
|
144
|
-
_globals['_SYNONYMS']._serialized_start=
|
|
145
|
-
_globals['_SYNONYMS']._serialized_end=
|
|
146
|
-
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=
|
|
147
|
-
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=
|
|
148
|
-
_globals['_SEMANTICMODELMETADATA']._serialized_start=
|
|
149
|
-
_globals['_SEMANTICMODELMETADATA']._serialized_end=
|
|
150
|
-
_globals['_KBCONFIGURATION']._serialized_start=
|
|
151
|
-
_globals['_KBCONFIGURATION']._serialized_end=
|
|
85
|
+
_globals['_KNOWLEDGEBOXCONFIG']._serialized_end=1398
|
|
86
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_start=1400
|
|
87
|
+
_globals['_KNOWLEDGEBOXUPDATE']._serialized_end=1498
|
|
88
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_start=1500
|
|
89
|
+
_globals['_UPDATEKNOWLEDGEBOXRESPONSE']._serialized_end=1600
|
|
90
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_start=1602
|
|
91
|
+
_globals['_DELETEKNOWLEDGEBOXRESPONSE']._serialized_end=1688
|
|
92
|
+
_globals['_LABEL']._serialized_start=1690
|
|
93
|
+
_globals['_LABEL']._serialized_end=1756
|
|
94
|
+
_globals['_LABELSET']._serialized_start=1759
|
|
95
|
+
_globals['_LABELSET']._serialized_end=1983
|
|
96
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_start=1907
|
|
97
|
+
_globals['_LABELSET_LABELSETKIND']._serialized_end=1983
|
|
98
|
+
_globals['_LABELS']._serialized_start=1986
|
|
99
|
+
_globals['_LABELS']._serialized_end=2121
|
|
100
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_start=2050
|
|
101
|
+
_globals['_LABELS_LABELSETENTRY']._serialized_end=2121
|
|
102
|
+
_globals['_ENTITY']._serialized_start=2123
|
|
103
|
+
_globals['_ENTITY']._serialized_end=2199
|
|
104
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_start=2201
|
|
105
|
+
_globals['_ENTITIESGROUPSUMMARY']._serialized_end=2269
|
|
106
|
+
_globals['_ENTITIESGROUP']._serialized_start=2272
|
|
107
|
+
_globals['_ENTITIESGROUP']._serialized_end=2465
|
|
108
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_start=2396
|
|
109
|
+
_globals['_ENTITIESGROUP_ENTITIESENTRY']._serialized_end=2465
|
|
110
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_start=2467
|
|
111
|
+
_globals['_DELETEDENTITIESGROUPS']._serialized_end=2515
|
|
112
|
+
_globals['_ENTITIESGROUPS']._serialized_start=2518
|
|
113
|
+
_globals['_ENTITIESGROUPS']._serialized_end=2693
|
|
114
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_start=2611
|
|
115
|
+
_globals['_ENTITIESGROUPS_ENTITIESGROUPSENTRY']._serialized_end=2693
|
|
116
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_start=2696
|
|
117
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX']._serialized_end=3195
|
|
118
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_start=2811
|
|
119
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYDUPLICATES']._serialized_end=2849
|
|
120
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_start=2852
|
|
121
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES']._serialized_end=3077
|
|
122
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_start=2972
|
|
123
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITYGROUPDUPLICATES_ENTITIESENTRY']._serialized_end=3077
|
|
124
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_start=3079
|
|
125
|
+
_globals['_ENTITYGROUPDUPLICATEINDEX_ENTITIESGROUPSENTRY']._serialized_end=3195
|
|
126
|
+
_globals['_VECTORSET']._serialized_start=3197
|
|
127
|
+
_globals['_VECTORSET']._serialized_end=3272
|
|
128
|
+
_globals['_VECTORSETS']._serialized_start=3275
|
|
129
|
+
_globals['_VECTORSETS']._serialized_end=3425
|
|
130
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_start=3351
|
|
131
|
+
_globals['_VECTORSETS_VECTORSETSENTRY']._serialized_end=3425
|
|
132
|
+
_globals['_VECTORINDEXCONFIG']._serialized_start=3428
|
|
133
|
+
_globals['_VECTORINDEXCONFIG']._serialized_end=3618
|
|
134
|
+
_globals['_VECTORSETCONFIG']._serialized_start=3621
|
|
135
|
+
_globals['_VECTORSETCONFIG']._serialized_end=3891
|
|
136
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_start=3830
|
|
137
|
+
_globals['_VECTORSETCONFIG_STORAGEKEYKIND']._serialized_end=3891
|
|
138
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_start=3893
|
|
139
|
+
_globals['_KNOWLEDGEBOXVECTORSETSCONFIG']._serialized_end=3974
|
|
140
|
+
_globals['_VECTORSETPURGE']._serialized_start=3976
|
|
141
|
+
_globals['_VECTORSETPURGE']._serialized_end=4064
|
|
142
|
+
_globals['_TERMSYNONYMS']._serialized_start=4066
|
|
143
|
+
_globals['_TERMSYNONYMS']._serialized_end=4098
|
|
144
|
+
_globals['_SYNONYMS']._serialized_start=4101
|
|
145
|
+
_globals['_SYNONYMS']._serialized_end=4235
|
|
146
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_start=4163
|
|
147
|
+
_globals['_SYNONYMS_TERMSENTRY']._serialized_end=4235
|
|
148
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_start=4238
|
|
149
|
+
_globals['_SEMANTICMODELMETADATA']._serialized_end=4456
|
|
150
|
+
_globals['_KBCONFIGURATION']._serialized_start=4459
|
|
151
|
+
_globals['_KBCONFIGURATION']._serialized_end=4599
|
|
152
152
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -279,6 +279,7 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
279
279
|
RELEASE_CHANNEL_FIELD_NUMBER: builtins.int
|
|
280
280
|
HIDDEN_RESOURCES_ENABLED_FIELD_NUMBER: builtins.int
|
|
281
281
|
HIDDEN_RESOURCES_HIDE_ON_CREATION_FIELD_NUMBER: builtins.int
|
|
282
|
+
PREWARM_ENABLED_FIELD_NUMBER: builtins.int
|
|
282
283
|
title: builtins.str
|
|
283
284
|
description: builtins.str
|
|
284
285
|
slug: builtins.str
|
|
@@ -288,6 +289,11 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
288
289
|
"""DEPRECATED: duplicated field also stored in `writer.proto Shards`"""
|
|
289
290
|
hidden_resources_enabled: builtins.bool
|
|
290
291
|
hidden_resources_hide_on_creation: builtins.bool
|
|
292
|
+
prewarm_enabled: builtins.bool
|
|
293
|
+
"""whether to enable prewarm of data for faster search or not. Activating
|
|
294
|
+
this flag allow faster searches (with less cold start) but it is
|
|
295
|
+
expensive on the infrastructure
|
|
296
|
+
"""
|
|
291
297
|
@property
|
|
292
298
|
def external_index_provider(self) -> global___StoredExternalIndexProviderMetadata: ...
|
|
293
299
|
@property
|
|
@@ -308,9 +314,10 @@ class KnowledgeBoxConfig(google.protobuf.message.Message):
|
|
|
308
314
|
release_channel: nucliadb_protos.utils_pb2.ReleaseChannel.ValueType = ...,
|
|
309
315
|
hidden_resources_enabled: builtins.bool = ...,
|
|
310
316
|
hidden_resources_hide_on_creation: builtins.bool = ...,
|
|
317
|
+
prewarm_enabled: builtins.bool = ...,
|
|
311
318
|
) -> None: ...
|
|
312
319
|
def HasField(self, field_name: typing.Literal["external_index_provider", b"external_index_provider"]) -> builtins.bool: ...
|
|
313
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
320
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "disable_vectors", b"disable_vectors", "enabled_filters", b"enabled_filters", "enabled_insights", b"enabled_insights", "external_index_provider", b"external_index_provider", "hidden_resources_enabled", b"hidden_resources_enabled", "hidden_resources_hide_on_creation", b"hidden_resources_hide_on_creation", "migration_version", b"migration_version", "prewarm_enabled", b"prewarm_enabled", "release_channel", b"release_channel", "slug", b"slug", "title", b"title"]) -> None: ...
|
|
314
321
|
|
|
315
322
|
global___KnowledgeBoxConfig = KnowledgeBoxConfig
|
|
316
323
|
|