nucliadb-protos 6.3.7.post4091__py3-none-any.whl → 6.3.7.post4116__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.
.gitignore ADDED
@@ -0,0 +1 @@
1
+ *
build.py ADDED
@@ -0,0 +1,64 @@
1
+ # Copyright (C) 2021 Bosutech XXI S.L.
2
+ #
3
+ # nucliadb is offered under the AGPL v3.0 and as commercial software.
4
+ # For commercial licensing, contact us at info@nuclia.com.
5
+ #
6
+ # AGPL:
7
+ # This program is free software: you can redistribute it and/or modify
8
+ # it under the terms of the GNU Affero General Public License as
9
+ # published by the Free Software Foundation, either version 3 of the
10
+ # License, or (at your option) any later version.
11
+ #
12
+ # This program is distributed in the hope that it will be useful,
13
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ # GNU Affero General Public License for more details.
16
+ #
17
+ # You should have received a copy of the GNU Affero General Public License
18
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
+ #
20
+
21
+ from importlib import resources
22
+
23
+ from grpc_tools import protoc
24
+
25
+
26
+ def pdm_build_initialize(context):
27
+ build_dir = context.ensure_build_dir()
28
+
29
+ well_known_path = resources.files("grpc_tools") / "_proto"
30
+
31
+ # Compile protos
32
+ for proto, has_grpc in [
33
+ ("nucliadb_protos/noderesources.proto", False),
34
+ ("nucliadb_protos/utils.proto", False),
35
+ ("nucliadb_protos/resources.proto", False),
36
+ ("nucliadb_protos/knowledgebox.proto", False),
37
+ ("nucliadb_protos/audit.proto", False),
38
+ ("nucliadb_protos/nodewriter.proto", True),
39
+ ("nucliadb_protos/nodereader.proto", True),
40
+ ("nucliadb_protos/backups.proto", True),
41
+ ("nucliadb_protos/writer.proto", True),
42
+ ("nucliadb_protos/train.proto", True),
43
+ ("nucliadb_protos/dataset.proto", False),
44
+ ("nucliadb_protos/migrations.proto", False),
45
+ ("nucliadb_protos/standalone.proto", True),
46
+ ("nucliadb_protos/kb_usage.proto", False),
47
+ ]:
48
+ command = [
49
+ "grpc_tools.protoc",
50
+ "--proto_path=..",
51
+ f"--proto_path={well_known_path}",
52
+ f"--python_out={build_dir}",
53
+ f"--mypy_out={build_dir}",
54
+ proto,
55
+ ]
56
+ if has_grpc:
57
+ command.append(f"--grpc_python_out={build_dir}")
58
+ command.append(f"--mypy_grpc_out={build_dir}")
59
+
60
+ if protoc.main(command) != 0:
61
+ raise Exception("error: {} failed".format(command))
62
+
63
+ # Create py.typed to enable type checking
64
+ open(f"{build_dir}/nucliadb_protos/py.typed", "w")
@@ -43,7 +43,7 @@ except AttributeError:
43
43
  nucliadb__protos_dot_utils__pb2 = nucliadb__protos_dot_resources__pb2.nucliadb_protos.utils_pb2
44
44
 
45
45
 
46
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/audit.proto\x12\x05\x61udit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a nucliadb_protos/nodereader.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\"\xd9\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\x07\x63ontext\x18\x04 \x03(\x0b\x32\x12.audit.ChatContextB\x02\x18\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\x42\t\n\x07_answerB\x15\n\x13_rephrased_questionB\x0e\n\x0c_learning_idB\x08\n\x06_model\"\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\"\x97\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.nodereader.SearchRequest\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\"\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_question*\\\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')
46
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bnucliadb_protos/audit.proto\x12\x05\x61udit\x1a\x1fgoogle/protobuf/timestamp.proto\x1a nucliadb_protos/nodereader.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\"\xb6\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\x42\t\n\x07_answerB\x15\n\x13_rephrased_questionB\x0e\n\x0c_learning_idB\x08\n\x06_modelJ\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\"\x97\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\"\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_question\"\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')
47
47
 
48
48
  _globals = globals()
49
49
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -52,8 +52,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
52
52
  DESCRIPTOR._loaded_options = None
53
53
  _globals['_AUDITFIELD'].fields_by_name['size_delta']._loaded_options = None
54
54
  _globals['_AUDITFIELD'].fields_by_name['size_delta']._serialized_options = b'\030\001'
55
- _globals['_CHATAUDIT'].fields_by_name['context']._loaded_options = None
56
- _globals['_CHATAUDIT'].fields_by_name['context']._serialized_options = b'\030\001'
57
55
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["KB_DELETED"]._loaded_options = None
58
56
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["KB_DELETED"]._serialized_options = b'\010\001'
59
57
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["SUGGEST"]._loaded_options = None
@@ -62,10 +60,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
62
60
  _globals['_AUDITREQUEST_AUDITTYPE'].values_by_name["INDEXED"]._serialized_options = b'\010\001'
63
61
  _globals['_AUDITREQUEST'].fields_by_name['timeit']._loaded_options = None
64
62
  _globals['_AUDITREQUEST'].fields_by_name['timeit']._serialized_options = b'\030\001'
65
- _globals['_CLIENTTYPE']._serialized_start=2217
66
- _globals['_CLIENTTYPE']._serialized_end=2309
67
- _globals['_TASKTYPE']._serialized_start=2311
68
- _globals['_TASKTYPE']._serialized_end=2331
63
+ _globals['_CLIENTTYPE']._serialized_start=2506
64
+ _globals['_CLIENTTYPE']._serialized_end=2598
65
+ _globals['_TASKTYPE']._serialized_start=2600
66
+ _globals['_TASKTYPE']._serialized_end=2620
69
67
  _globals['_AUDITFIELD']._serialized_start=139
70
68
  _globals['_AUDITFIELD']._serialized_end=367
71
69
  _globals['_AUDITFIELD_FIELDACTION']._serialized_start=316
@@ -77,11 +75,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
77
75
  _globals['_RETRIEVEDCONTEXT']._serialized_start=468
78
76
  _globals['_RETRIEVEDCONTEXT']._serialized_end=523
79
77
  _globals['_CHATAUDIT']._serialized_start=526
80
- _globals['_CHATAUDIT']._serialized_end=871
81
- _globals['_FEEDBACKAUDIT']._serialized_start=874
82
- _globals['_FEEDBACKAUDIT']._serialized_end=1037
83
- _globals['_AUDITREQUEST']._serialized_start=1040
84
- _globals['_AUDITREQUEST']._serialized_end=2215
85
- _globals['_AUDITREQUEST_AUDITTYPE']._serialized_start=1853
86
- _globals['_AUDITREQUEST_AUDITTYPE']._serialized_end=2044
78
+ _globals['_CHATAUDIT']._serialized_end=836
79
+ _globals['_FEEDBACKAUDIT']._serialized_start=839
80
+ _globals['_FEEDBACKAUDIT']._serialized_end=1002
81
+ _globals['_AUDITREQUEST']._serialized_start=1005
82
+ _globals['_AUDITREQUEST']._serialized_end=2180
83
+ _globals['_AUDITREQUEST_AUDITTYPE']._serialized_start=1818
84
+ _globals['_AUDITREQUEST_AUDITTYPE']._serialized_end=2009
85
+ _globals['_AUDITSEARCHREQUEST']._serialized_start=2183
86
+ _globals['_AUDITSEARCHREQUEST']._serialized_end=2504
87
87
  # @@protoc_insertion_point(module_scope)
@@ -10,8 +10,8 @@ import google.protobuf.internal.containers
10
10
  import google.protobuf.internal.enum_type_wrapper
11
11
  import google.protobuf.message
12
12
  import google.protobuf.timestamp_pb2
13
- import nucliadb_protos.nodereader_pb2
14
13
  import nucliadb_protos.resources_pb2
14
+ import nucliadb_protos.utils_pb2
15
15
  import sys
16
16
  import typing
17
17
 
@@ -165,7 +165,6 @@ class ChatAudit(google.protobuf.message.Message):
165
165
  QUESTION_FIELD_NUMBER: builtins.int
166
166
  ANSWER_FIELD_NUMBER: builtins.int
167
167
  REPHRASED_QUESTION_FIELD_NUMBER: builtins.int
168
- CONTEXT_FIELD_NUMBER: builtins.int
169
168
  CHAT_CONTEXT_FIELD_NUMBER: builtins.int
170
169
  RETRIEVED_CONTEXT_FIELD_NUMBER: builtins.int
171
170
  LEARNING_ID_FIELD_NUMBER: builtins.int
@@ -177,10 +176,6 @@ class ChatAudit(google.protobuf.message.Message):
177
176
  learning_id: builtins.str
178
177
  status_code: builtins.int
179
178
  model: builtins.str
180
- @property
181
- def context(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChatContext]:
182
- """Conversation from chats"""
183
-
184
179
  @property
185
180
  def chat_context(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChatContext]:
186
181
  """context retrieved on the current ask"""
@@ -193,7 +188,6 @@ class ChatAudit(google.protobuf.message.Message):
193
188
  question: builtins.str = ...,
194
189
  answer: builtins.str | None = ...,
195
190
  rephrased_question: builtins.str | None = ...,
196
- context: collections.abc.Iterable[global___ChatContext] | None = ...,
197
191
  chat_context: collections.abc.Iterable[global___ChatContext] | None = ...,
198
192
  retrieved_context: collections.abc.Iterable[global___RetrievedContext] | None = ...,
199
193
  learning_id: builtins.str | None = ...,
@@ -201,7 +195,7 @@ class ChatAudit(google.protobuf.message.Message):
201
195
  model: builtins.str | None = ...,
202
196
  ) -> None: ...
203
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: ...
204
- 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", "context", b"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: ...
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: ...
205
199
  @typing.overload
206
200
  def WhichOneof(self, oneof_group: typing.Literal["_answer", b"_answer"]) -> typing.Literal["answer"] | None: ...
207
201
  @typing.overload
@@ -335,7 +329,7 @@ class AuditRequest(google.protobuf.message.Message):
335
329
  @property
336
330
  def fields(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
337
331
  @property
338
- def search(self) -> nucliadb_protos.nodereader_pb2.SearchRequest: ...
332
+ def search(self) -> global___AuditSearchRequest: ...
339
333
  @property
340
334
  def field_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nucliadb_protos.resources_pb2.FieldID]: ...
341
335
  @property
@@ -354,7 +348,7 @@ class AuditRequest(google.protobuf.message.Message):
354
348
  userid: builtins.str = ...,
355
349
  time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
356
350
  fields: collections.abc.Iterable[builtins.str] | None = ...,
357
- search: nucliadb_protos.nodereader_pb2.SearchRequest | None = ...,
351
+ search: global___AuditSearchRequest | None = ...,
358
352
  timeit: builtins.float = ...,
359
353
  origin: builtins.str = ...,
360
354
  rid: builtins.str = ...,
@@ -395,3 +389,50 @@ class AuditRequest(google.protobuf.message.Message):
395
389
  def WhichOneof(self, oneof_group: typing.Literal["_user_request", b"_user_request"]) -> typing.Literal["user_request"] | None: ...
396
390
 
397
391
  global___AuditRequest = AuditRequest
392
+
393
+ @typing.final
394
+ class AuditSearchRequest(google.protobuf.message.Message):
395
+ """This message is a subset of the nidx SearchRequest with what we want to audit"""
396
+
397
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
398
+
399
+ BODY_FIELD_NUMBER: builtins.int
400
+ RESULT_PER_PAGE_FIELD_NUMBER: builtins.int
401
+ VECTOR_FIELD_NUMBER: builtins.int
402
+ VECTORSET_FIELD_NUMBER: builtins.int
403
+ MIN_SCORE_SEMANTIC_FIELD_NUMBER: builtins.int
404
+ MIN_SCORE_BM25_FIELD_NUMBER: builtins.int
405
+ SECURITY_FIELD_NUMBER: builtins.int
406
+ FILTER_FIELD_NUMBER: builtins.int
407
+ body: builtins.str
408
+ result_per_page: builtins.int
409
+ vectorset: builtins.str
410
+ min_score_semantic: builtins.float
411
+ min_score_bm25: builtins.float
412
+ filter: builtins.str
413
+ @property
414
+ def vector(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.float]:
415
+ """Embedded vector search."""
416
+
417
+ @property
418
+ def security(self) -> nucliadb_protos.utils_pb2.Security: ...
419
+ def __init__(
420
+ self,
421
+ *,
422
+ body: builtins.str = ...,
423
+ result_per_page: builtins.int = ...,
424
+ vector: collections.abc.Iterable[builtins.float] | None = ...,
425
+ vectorset: builtins.str = ...,
426
+ min_score_semantic: builtins.float = ...,
427
+ min_score_bm25: builtins.float = ...,
428
+ security: nucliadb_protos.utils_pb2.Security | None = ...,
429
+ filter: builtins.str | None = ...,
430
+ ) -> None: ...
431
+ def HasField(self, field_name: typing.Literal["_filter", b"_filter", "_security", b"_security", "filter", b"filter", "security", b"security"]) -> builtins.bool: ...
432
+ def ClearField(self, field_name: typing.Literal["_filter", b"_filter", "_security", b"_security", "body", b"body", "filter", b"filter", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "result_per_page", b"result_per_page", "security", b"security", "vector", b"vector", "vectorset", b"vectorset"]) -> None: ...
433
+ @typing.overload
434
+ def WhichOneof(self, oneof_group: typing.Literal["_filter", b"_filter"]) -> typing.Literal["filter"] | None: ...
435
+ @typing.overload
436
+ def WhichOneof(self, oneof_group: typing.Literal["_security", b"_security"]) -> typing.Literal["security"] | None: ...
437
+
438
+ global___AuditSearchRequest = AuditSearchRequest
@@ -33,7 +33,7 @@ from nucliadb_protos import utils_pb2 as nucliadb__protos_dot_utils__pb2
33
33
  from nucliadb_protos.noderesources_pb2 import *
34
34
  from nucliadb_protos.utils_pb2 import *
35
35
 
36
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/nodereader.proto\x12\nnodereader\x1a#nucliadb_protos/noderesources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"\x82\x01\n\x0cStreamFilter\x12\x39\n\x0b\x63onjunction\x18\x01 \x01(\x0e\x32$.nodereader.StreamFilter.Conjunction\x12\x0e\n\x06labels\x18\x02 \x03(\t\"\'\n\x0b\x43onjunction\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\x12\x07\n\x03NOT\x10\x02\"\x19\n\x07\x46\x61\x63\x65ted\x12\x0e\n\x06labels\x18\x01 \x03(\t\"\xc3\x01\n\x07OrderBy\x12\x11\n\x05\x66ield\x18\x01 \x01(\tB\x02\x18\x01\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.nodereader.OrderBy.OrderType\x12/\n\x07sort_by\x18\x03 \x01(\x0e\x32\x1e.nodereader.OrderBy.OrderField\"\x1e\n\tOrderType\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01\"\'\n\nOrderField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\")\n\x0b\x46\x61\x63\x65tResult\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05total\x18\x02 \x01(\x05\"=\n\x0c\x46\x61\x63\x65tResults\x12-\n\x0c\x66\x61\x63\x65tresults\x18\x01 \x03(\x0b\x32\x17.nodereader.FacetResult\",\n\x0bResultScore\x12\x0c\n\x04\x62m25\x18\x01 \x01(\x02\x12\x0f\n\x07\x62ooster\x18\x02 \x01(\x02\"e\n\x0e\x44ocumentResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12&\n\x05score\x18\x03 \x01(\x0b\x32\x17.nodereader.ResultScore\x12\r\n\x05\x66ield\x18\x04 \x01(\t\x12\x0e\n\x06labels\x18\x05 \x03(\t\"\xbb\x02\n\x16\x44ocumentSearchResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12+\n\x07results\x18\x02 \x03(\x0b\x32\x1a.nodereader.DocumentResult\x12>\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32..nodereader.DocumentSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"\xf8\x01\n\x0fParagraphResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t\x12\r\n\x05start\x18\x04 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x05 \x01(\x04\x12\x11\n\tparagraph\x18\x06 \x01(\t\x12\r\n\x05split\x18\x07 \x01(\t\x12\r\n\x05index\x18\x08 \x01(\x04\x12&\n\x05score\x18\t \x01(\x0b\x32\x17.nodereader.ResultScore\x12\x0f\n\x07matches\x18\n \x03(\t\x12\x32\n\x08metadata\x18\x0b \x01(\x0b\x32 .noderesources.ParagraphMetadata\x12\x0e\n\x06labels\x18\x0c \x03(\t\"\xe8\x02\n\x17ParagraphSearchResponse\x12\x16\n\x0e\x66uzzy_distance\x18\n \x01(\x05\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12?\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32/.nodereader.ParagraphSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x12\x10\n\x08\x65matches\x18\t \x03(\t\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"&\n\x18\x44ocumentVectorIdentifier\x12\n\n\x02id\x18\x01 \x01(\t\"\x98\x01\n\x0e\x44ocumentScored\x12\x34\n\x06\x64oc_id\x18\x01 \x01(\x0b\x32$.nodereader.DocumentVectorIdentifier\x12\r\n\x05score\x18\x02 \x01(\x02\x12\x31\n\x08metadata\x18\x03 \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\x12\x0e\n\x06labels\x18\x04 \x03(\t\"s\n\x14VectorSearchResponse\x12-\n\tdocuments\x18\x01 \x03(\x0b\x32\x1a.nodereader.DocumentScored\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\"q\n\x12RelationNodeFilter\x12/\n\tnode_type\x18\x01 \x01(\x0e\x32\x1c.utils.RelationNode.NodeType\x12\x19\n\x0cnode_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0f\n\r_node_subtype\"\x95\x01\n\x12RelationEdgeFilter\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x1d\n\x10relation_subtype\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x16\n\x0erelation_value\x18\x03 \x03(\tB\x13\n\x11_relation_subtype\"\x80\x01\n\x1bRelationPrefixSearchRequest\x12\x10\n\x06prefix\x18\x01 \x01(\tH\x00\x12\x0f\n\x05query\x18\x03 \x01(\tH\x00\x12\x34\n\x0cnode_filters\x18\x02 \x03(\x0b\x32\x1e.nodereader.RelationNodeFilterB\x08\n\x06search\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x87\x02\n\x17\x45ntitiesSubgraphRequest\x12)\n\x0c\x65ntry_points\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12\x12\n\x05\x64\x65pth\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12M\n\x10\x64\x65leted_entities\x18\x04 \x03(\x0b\x32\x33.nodereader.EntitiesSubgraphRequest.DeletedEntities\x12\x16\n\x0e\x64\x65leted_groups\x18\x05 \x03(\t\x1a<\n\x0f\x44\x65letedEntities\x12\x14\n\x0cnode_subtype\x18\x01 \x01(\t\x12\x13\n\x0bnode_values\x18\x02 \x03(\tB\x08\n\x06_depth\"K\n\x18\x45ntitiesSubgraphResponse\x12/\n\trelations\x18\x02 \x03(\x0b\x32\x1c.noderesources.IndexRelation\"\x88\x0b\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf4\x04\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x02\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x03\x88\x01\x01\x12=\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKindB\x02\x18\x01\x12\x37\n\x05\x65xact\x18\x05 \x01(\x0b\x32&.nodereader.GraphQuery.Node.ExactMatchH\x00\x12\x37\n\x05\x66uzzy\x18\x06 \x01(\x0b\x32&.nodereader.GraphQuery.Node.FuzzyMatchH\x00\x1a\x45\n\nExactMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x1aW\n\nFuzzyMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x12\x10\n\x08\x64istance\x18\x02 \x01(\r\"7\n\tMatchKind\x12\x14\n\x10\x44\x45PRECATED_EXACT\x10\x00\x12\x14\n\x10\x44\x45PRECATED_FUZZY\x10\x01\"B\n\rMatchLocation\x12\x08\n\x04\x46ULL\x10\x00\x12\n\n\x06PREFIX\x10\x01\x12\t\n\x05WORDS\x10\x02\x12\x10\n\x0cPREFIX_WORDS\x10\x03\x42\x10\n\x0enew_match_kindB\x08\n\x06_valueB\x0c\n\n_node_typeB\x0f\n\r_node_subtype\x1at\n\x08Relation\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x38\n\rrelation_type\x18\x02 \x01(\x0e\x32\x1c.utils.Relation.RelationTypeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x10\n\x0e_relation_type\x1a\xe3\x01\n\x04Path\x12\x30\n\x06source\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x00\x88\x01\x01\x12\x36\n\x08relation\x18\x02 \x01(\x0b\x32\x1f.nodereader.GraphQuery.RelationH\x01\x88\x01\x01\x12\x35\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x02\x88\x01\x01\x12\x12\n\nundirected\x18\x04 \x01(\x08\x42\t\n\x07_sourceB\x0b\n\t_relationB\x0e\n\x0c_destination\x1a?\n\tBoolQuery\x12\x32\n\x08operands\x18\x01 \x03(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\t\x1a\x97\x02\n\tPathQuery\x12+\n\x04path\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.PathH\x00\x12\x34\n\x08\x62ool_not\x18\x02 \x01(\x0b\x32 .nodereader.GraphQuery.PathQueryH\x00\x12\x34\n\x08\x62ool_and\x18\x03 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x07\x62ool_or\x18\x04 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x05\x66\x61\x63\x65t\x18\x05 \x01(\x0b\x32\".nodereader.GraphQuery.FacetFilterH\x00\x42\x07\n\x05query\"\xc1\x02\n\x12GraphSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12%\n\x05query\x18\x02 \x01(\x0b\x32\x16.nodereader.GraphQuery\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32(.nodereader.GraphSearchRequest.QueryKind\x12\r\n\x05top_k\x18\x04 \x01(\r\x12&\n\x08security\x18\x05 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x06 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\"/\n\tQueryKind\x12\x08\n\x04PATH\x10\x00\x12\t\n\x05NODES\x10\x01\x12\r\n\tRELATIONS\x10\x02\x42\x0b\n\t_securityB\x0f\n\r_field_filter\"\xbe\x03\n\x13GraphSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12;\n\trelations\x18\x02 \x03(\x0b\x32(.nodereader.GraphSearchResponse.Relation\x12\x33\n\x05graph\x18\x03 \x03(\x0b\x32$.nodereader.GraphSearchResponse.Path\x1aN\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x1a\xc0\x01\n\x04Path\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x10\n\x08relation\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\r\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.utils.RelationMetadataH\x00\x88\x01\x01\x12\x1e\n\x11resource_field_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x06 \x03(\tB\x0b\n\t_metadataB\x14\n\x12_resource_field_id\"f\n\x15RelationSearchRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x35\n\x08subgraph\x18\x0c \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequestJ\x04\x08\x0b\x10\x0c\"\x8a\x01\n\x16RelationSearchResponse\x12\x38\n\x06prefix\x18\x0b \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\x12\x36\n\x08subgraph\x18\x0c \x01(\x0b\x32$.nodereader.EntitiesSubgraphResponse\"\xfa\x07\n\x10\x46ilterExpression\x12\x45\n\x08\x62ool_and\x18\x01 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x44\n\x07\x62ool_or\x18\x02 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x30\n\x08\x62ool_not\x18\x03 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x12?\n\x08resource\x18\x04 \x01(\x0b\x32+.nodereader.FilterExpression.ResourceFilterH\x00\x12\x39\n\x05\x66ield\x18\x05 \x01(\x0b\x32(.nodereader.FilterExpression.FieldFilterH\x00\x12=\n\x07keyword\x18\x06 \x01(\x0b\x32*.nodereader.FilterExpression.KeywordFilterH\x00\x12<\n\x04\x64\x61te\x18\x07 \x01(\x0b\x32,.nodereader.FilterExpression.DateRangeFilterH\x00\x12\x39\n\x05\x66\x61\x63\x65t\x18\x08 \x01(\x0b\x32(.nodereader.FilterExpression.FacetFilterH\x00\x1a\x46\n\x14\x46ilterExpressionList\x12.\n\x08operands\x18\x01 \x03(\x0b\x32\x1c.nodereader.FilterExpression\x1a%\n\x0eResourceFilter\x12\x13\n\x0bresource_id\x18\x01 \x01(\t\x1a\x45\n\x0b\x46ieldFilter\x12\x12\n\nfield_type\x18\x01 \x01(\t\x12\x15\n\x08\x66ield_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_field_id\x1a\xf4\x01\n\x0f\x44\x61teRangeFilter\x12\x45\n\x05\x66ield\x18\x01 \x01(\x0e\x32\x36.nodereader.FilterExpression.DateRangeFilter.DateField\x12.\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\"&\n\tDateField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x42\x08\n\x06_sinceB\x08\n\x06_until\x1a \n\rKeywordFilter\x12\x0f\n\x07keyword\x18\x01 \x01(\t\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\tB\x06\n\x04\x65xpr\"\xc2\x06\n\rSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\"\n\x05order\x18\x05 \x01(\x0b\x32\x13.nodereader.OrderBy\x12$\n\x07\x66\x61\x63\x65ted\x18\x06 \x01(\x0b\x32\x13.nodereader.Faceted\x12\x13\n\x0bpage_number\x18\x07 \x01(\x05\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\x11\n\tparagraph\x18\x0c \x01(\x08\x12\x10\n\x08\x64ocument\x18\r \x01(\x08\x12\x17\n\x0fwith_duplicates\x18\x0e \x01(\x08\x12\x14\n\x0conly_faceted\x18\x10 \x01(\x08\x12\x1b\n\x0e\x61\x64vanced_query\x18\x12 \x01(\tH\x00\x88\x01\x01\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\x01\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x1a \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x02\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x1b \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x03\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\x1c \x01(\x0e\x32\x1a.nodereader.FilterOperator\x12\x42\n\x11relation_subgraph\x18\x15 \x01(\x0b\x32#.nodereader.EntitiesSubgraphRequestB\x02\x18\x01\x12;\n\x0cgraph_search\x18\x1d \x01(\x0b\x32%.nodereader.SearchRequest.GraphSearch\x1a\x34\n\x0bGraphSearch\x12%\n\x05query\x18\x01 \x01(\x0b\x32\x16.nodereader.GraphQueryB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filterJ\x04\x08\x14\x10\x15\"\xad\x02\n\x0eSuggestRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1b.nodereader.SuggestFeatures\x12\x37\n\x0c\x66ield_filter\x18\x07 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x08 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\t \x01(\x0e\x32\x1a.nodereader.FilterOperatorB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"2\n\x0fRelatedEntities\x12\x10\n\x08\x65ntities\x18\x01 \x03(\t\x12\r\n\x05total\x18\x02 \x01(\r\"\xb1\x01\n\x0fSuggestResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12\r\n\x05query\x18\x03 \x01(\t\x12\x10\n\x08\x65matches\x18\x04 \x03(\t\x12@\n\x0e\x65ntity_results\x18\x06 \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\"\x96\x02\n\x0eSearchResponse\x12\x34\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\".nodereader.DocumentSearchResponse\x12\x36\n\tparagraph\x18\x02 \x01(\x0b\x32#.nodereader.ParagraphSearchResponse\x12\x30\n\x06vector\x18\x03 \x01(\x0b\x32 .nodereader.VectorSearchResponse\x12\x34\n\x08relation\x18\x04 \x01(\x0b\x32\".nodereader.RelationSearchResponse\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponse\"\x1b\n\x0cIdCollection\x12\x0b\n\x03ids\x18\x01 \x03(\t\"Q\n\x0cRelationEdge\x12/\n\tedge_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x10\n\x08property\x18\x02 \x01(\t\"2\n\x08\x45\x64geList\x12&\n\x04list\x18\x01 \x03(\x0b\x32\x18.nodereader.RelationEdge\"N\n\x0fGetShardRequest\x12(\n\x08shard_id\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"+\n\rParagraphItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\";\n\x0c\x44ocumentItem\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x02 \x01(\t\x12\x0e\n\x06labels\x18\x03 \x03(\t\"c\n\rStreamRequest\x12(\n\x08shard_id\x18\x03 \x01(\x0b\x32\x16.noderesources.ShardId\x12(\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x18.nodereader.StreamFilter\"(\n\x14GetShardFilesRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\"5\n\rShardFileList\x12$\n\x05\x66iles\x18\x02 \x03(\x0b\x32\x15.nodereader.ShardFile\"0\n\tShardFile\x12\x15\n\rrelative_path\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\"C\n\x18\x44ownloadShardFileRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x15\n\rrelative_path\x18\x02 \x01(\t\"-\n\x0eShardFileChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\x05*!\n\x0e\x46ilterOperator\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01*/\n\x0fSuggestFeatures\x12\x0c\n\x08\x45NTITIES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x32\xdf\x06\n\nNodeReader\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x41\n\x0b\x44ocumentIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x42\n\x0cParagraphIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x43\n\tVectorIds\x12\x1a.noderesources.VectorSetID\x1a\x18.nodereader.IdCollection\"\x00\x12\x41\n\x0bRelationIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12?\n\rRelationEdges\x12\x16.noderesources.ShardId\x1a\x14.nodereader.EdgeList\"\x00\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\x00\x12\x44\n\x07Suggest\x12\x1a.nodereader.SuggestRequest\x1a\x1b.nodereader.SuggestResponse\"\x00\x12\x46\n\nParagraphs\x12\x19.nodereader.StreamRequest\x1a\x19.nodereader.ParagraphItem\"\x00\x30\x01\x12\x44\n\tDocuments\x12\x19.nodereader.StreamRequest\x1a\x18.nodereader.DocumentItem\"\x00\x30\x01\x12N\n\rGetShardFiles\x12 .nodereader.GetShardFilesRequest\x1a\x19.nodereader.ShardFileList\"\x00\x12Y\n\x11\x44ownloadShardFile\x12$.nodereader.DownloadShardFileRequest\x1a\x1a.nodereader.ShardFileChunk\"\x00\x30\x01P\x00P\x02\x62\x06proto3')
36
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n nucliadb_protos/nodereader.proto\x12\nnodereader\x1a#nucliadb_protos/noderesources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bnucliadb_protos/utils.proto\"\x82\x01\n\x0cStreamFilter\x12\x39\n\x0b\x63onjunction\x18\x01 \x01(\x0e\x32$.nodereader.StreamFilter.Conjunction\x12\x0e\n\x06labels\x18\x02 \x03(\t\"\'\n\x0b\x43onjunction\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01\x12\x07\n\x03NOT\x10\x02\"\x19\n\x07\x46\x61\x63\x65ted\x12\x0e\n\x06labels\x18\x01 \x03(\t\"\xc3\x01\n\x07OrderBy\x12\x11\n\x05\x66ield\x18\x01 \x01(\tB\x02\x18\x01\x12+\n\x04type\x18\x02 \x01(\x0e\x32\x1d.nodereader.OrderBy.OrderType\x12/\n\x07sort_by\x18\x03 \x01(\x0e\x32\x1e.nodereader.OrderBy.OrderField\"\x1e\n\tOrderType\x12\x08\n\x04\x44\x45SC\x10\x00\x12\x07\n\x03\x41SC\x10\x01\"\'\n\nOrderField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\")\n\x0b\x46\x61\x63\x65tResult\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\r\n\x05total\x18\x02 \x01(\x05\"=\n\x0c\x46\x61\x63\x65tResults\x12-\n\x0c\x66\x61\x63\x65tresults\x18\x01 \x03(\x0b\x32\x17.nodereader.FacetResult\",\n\x0bResultScore\x12\x0c\n\x04\x62m25\x18\x01 \x01(\x02\x12\x0f\n\x07\x62ooster\x18\x02 \x01(\x02\"e\n\x0e\x44ocumentResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12&\n\x05score\x18\x03 \x01(\x0b\x32\x17.nodereader.ResultScore\x12\r\n\x05\x66ield\x18\x04 \x01(\t\x12\x0e\n\x06labels\x18\x05 \x03(\t\"\xbb\x02\n\x16\x44ocumentSearchResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12+\n\x07results\x18\x02 \x03(\x0b\x32\x1a.nodereader.DocumentResult\x12>\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32..nodereader.DocumentSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"\xf8\x01\n\x0fParagraphResult\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x03 \x01(\t\x12\r\n\x05start\x18\x04 \x01(\x04\x12\x0b\n\x03\x65nd\x18\x05 \x01(\x04\x12\x11\n\tparagraph\x18\x06 \x01(\t\x12\r\n\x05split\x18\x07 \x01(\t\x12\r\n\x05index\x18\x08 \x01(\x04\x12&\n\x05score\x18\t \x01(\x0b\x32\x17.nodereader.ResultScore\x12\x0f\n\x07matches\x18\n \x03(\t\x12\x32\n\x08metadata\x18\x0b \x01(\x0b\x32 .noderesources.ParagraphMetadata\x12\x0e\n\x06labels\x18\x0c \x03(\t\"\xe8\x02\n\x17ParagraphSearchResponse\x12\x16\n\x0e\x66uzzy_distance\x18\n \x01(\x05\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12?\n\x06\x66\x61\x63\x65ts\x18\x03 \x03(\x0b\x32/.nodereader.ParagraphSearchResponse.FacetsEntry\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\x12\r\n\x05query\x18\x06 \x01(\t\x12\x11\n\tnext_page\x18\x07 \x01(\x08\x12\x0c\n\x04\x62m25\x18\x08 \x01(\x08\x12\x10\n\x08\x65matches\x18\t \x03(\t\x1aG\n\x0b\x46\x61\x63\x65tsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.nodereader.FacetResults:\x02\x38\x01\"&\n\x18\x44ocumentVectorIdentifier\x12\n\n\x02id\x18\x01 \x01(\t\"\x98\x01\n\x0e\x44ocumentScored\x12\x34\n\x06\x64oc_id\x18\x01 \x01(\x0b\x32$.nodereader.DocumentVectorIdentifier\x12\r\n\x05score\x18\x02 \x01(\x02\x12\x31\n\x08metadata\x18\x03 \x01(\x0b\x32\x1f.noderesources.SentenceMetadata\x12\x0e\n\x06labels\x18\x04 \x03(\t\"s\n\x14VectorSearchResponse\x12-\n\tdocuments\x18\x01 \x03(\x0b\x32\x1a.nodereader.DocumentScored\x12\x13\n\x0bpage_number\x18\x04 \x01(\x05\x12\x17\n\x0fresult_per_page\x18\x05 \x01(\x05\"B\n\x1cRelationPrefixSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\"\x88\x0b\n\nGraphQuery\x12.\n\x04path\x18\x01 \x01(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\xf4\x04\n\x04Node\x12\x12\n\x05value\x18\x01 \x01(\tH\x01\x88\x01\x01\x12\x34\n\tnode_type\x18\x02 \x01(\x0e\x32\x1c.utils.RelationNode.NodeTypeH\x02\x88\x01\x01\x12\x19\n\x0cnode_subtype\x18\x03 \x01(\tH\x03\x88\x01\x01\x12=\n\nmatch_kind\x18\x04 \x01(\x0e\x32%.nodereader.GraphQuery.Node.MatchKindB\x02\x18\x01\x12\x37\n\x05\x65xact\x18\x05 \x01(\x0b\x32&.nodereader.GraphQuery.Node.ExactMatchH\x00\x12\x37\n\x05\x66uzzy\x18\x06 \x01(\x0b\x32&.nodereader.GraphQuery.Node.FuzzyMatchH\x00\x1a\x45\n\nExactMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x1aW\n\nFuzzyMatch\x12\x37\n\x04kind\x18\x01 \x01(\x0e\x32).nodereader.GraphQuery.Node.MatchLocation\x12\x10\n\x08\x64istance\x18\x02 \x01(\r\"7\n\tMatchKind\x12\x14\n\x10\x44\x45PRECATED_EXACT\x10\x00\x12\x14\n\x10\x44\x45PRECATED_FUZZY\x10\x01\"B\n\rMatchLocation\x12\x08\n\x04\x46ULL\x10\x00\x12\n\n\x06PREFIX\x10\x01\x12\t\n\x05WORDS\x10\x02\x12\x10\n\x0cPREFIX_WORDS\x10\x03\x42\x10\n\x0enew_match_kindB\x08\n\x06_valueB\x0c\n\n_node_typeB\x0f\n\r_node_subtype\x1at\n\x08Relation\x12\x12\n\x05value\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x38\n\rrelation_type\x18\x02 \x01(\x0e\x32\x1c.utils.Relation.RelationTypeH\x01\x88\x01\x01\x42\x08\n\x06_valueB\x10\n\x0e_relation_type\x1a\xe3\x01\n\x04Path\x12\x30\n\x06source\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x00\x88\x01\x01\x12\x36\n\x08relation\x18\x02 \x01(\x0b\x32\x1f.nodereader.GraphQuery.RelationH\x01\x88\x01\x01\x12\x35\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32\x1b.nodereader.GraphQuery.NodeH\x02\x88\x01\x01\x12\x12\n\nundirected\x18\x04 \x01(\x08\x42\t\n\x07_sourceB\x0b\n\t_relationB\x0e\n\x0c_destination\x1a?\n\tBoolQuery\x12\x32\n\x08operands\x18\x01 \x03(\x0b\x32 .nodereader.GraphQuery.PathQuery\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\t\x1a\x97\x02\n\tPathQuery\x12+\n\x04path\x18\x01 \x01(\x0b\x32\x1b.nodereader.GraphQuery.PathH\x00\x12\x34\n\x08\x62ool_not\x18\x02 \x01(\x0b\x32 .nodereader.GraphQuery.PathQueryH\x00\x12\x34\n\x08\x62ool_and\x18\x03 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x07\x62ool_or\x18\x04 \x01(\x0b\x32 .nodereader.GraphQuery.BoolQueryH\x00\x12\x33\n\x05\x66\x61\x63\x65t\x18\x05 \x01(\x0b\x32\".nodereader.GraphQuery.FacetFilterH\x00\x42\x07\n\x05query\"\xc1\x02\n\x12GraphSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12%\n\x05query\x18\x02 \x01(\x0b\x32\x16.nodereader.GraphQuery\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32(.nodereader.GraphSearchRequest.QueryKind\x12\r\n\x05top_k\x18\x04 \x01(\r\x12&\n\x08security\x18\x05 \x01(\x0b\x32\x0f.utils.SecurityH\x00\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x06 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\"/\n\tQueryKind\x12\x08\n\x04PATH\x10\x00\x12\t\n\x05NODES\x10\x01\x12\r\n\tRELATIONS\x10\x02\x42\x0b\n\t_securityB\x0f\n\r_field_filter\"\xbe\x03\n\x13GraphSearchResponse\x12\"\n\x05nodes\x18\x01 \x03(\x0b\x32\x13.utils.RelationNode\x12;\n\trelations\x18\x02 \x03(\x0b\x32(.nodereader.GraphSearchResponse.Relation\x12\x33\n\x05graph\x18\x03 \x03(\x0b\x32$.nodereader.GraphSearchResponse.Path\x1aN\n\x08Relation\x12\x33\n\rrelation_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\r\n\x05label\x18\x02 \x01(\t\x1a\xc0\x01\n\x04Path\x12\x0e\n\x06source\x18\x01 \x01(\r\x12\x10\n\x08relation\x18\x02 \x01(\r\x12\x13\n\x0b\x64\x65stination\x18\x03 \x01(\r\x12.\n\x08metadata\x18\x04 \x01(\x0b\x32\x17.utils.RelationMetadataH\x00\x88\x01\x01\x12\x1e\n\x11resource_field_id\x18\x05 \x01(\tH\x01\x88\x01\x01\x12\x0e\n\x06\x66\x61\x63\x65ts\x18\x06 \x03(\tB\x0b\n\t_metadataB\x14\n\x12_resource_field_id\"\xfa\x07\n\x10\x46ilterExpression\x12\x45\n\x08\x62ool_and\x18\x01 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x44\n\x07\x62ool_or\x18\x02 \x01(\x0b\x32\x31.nodereader.FilterExpression.FilterExpressionListH\x00\x12\x30\n\x08\x62ool_not\x18\x03 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x12?\n\x08resource\x18\x04 \x01(\x0b\x32+.nodereader.FilterExpression.ResourceFilterH\x00\x12\x39\n\x05\x66ield\x18\x05 \x01(\x0b\x32(.nodereader.FilterExpression.FieldFilterH\x00\x12=\n\x07keyword\x18\x06 \x01(\x0b\x32*.nodereader.FilterExpression.KeywordFilterH\x00\x12<\n\x04\x64\x61te\x18\x07 \x01(\x0b\x32,.nodereader.FilterExpression.DateRangeFilterH\x00\x12\x39\n\x05\x66\x61\x63\x65t\x18\x08 \x01(\x0b\x32(.nodereader.FilterExpression.FacetFilterH\x00\x1a\x46\n\x14\x46ilterExpressionList\x12.\n\x08operands\x18\x01 \x03(\x0b\x32\x1c.nodereader.FilterExpression\x1a%\n\x0eResourceFilter\x12\x13\n\x0bresource_id\x18\x01 \x01(\t\x1a\x45\n\x0b\x46ieldFilter\x12\x12\n\nfield_type\x18\x01 \x01(\t\x12\x15\n\x08\x66ield_id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0b\n\t_field_id\x1a\xf4\x01\n\x0f\x44\x61teRangeFilter\x12\x45\n\x05\x66ield\x18\x01 \x01(\x0e\x32\x36.nodereader.FilterExpression.DateRangeFilter.DateField\x12.\n\x05since\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12.\n\x05until\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x88\x01\x01\"&\n\tDateField\x12\x0b\n\x07\x43REATED\x10\x00\x12\x0c\n\x08MODIFIED\x10\x01\x42\x08\n\x06_sinceB\x08\n\x06_until\x1a \n\rKeywordFilter\x12\x0f\n\x07keyword\x18\x01 \x01(\t\x1a\x1c\n\x0b\x46\x61\x63\x65tFilter\x12\r\n\x05\x66\x61\x63\x65t\x18\x01 \x01(\tB\x06\n\x04\x65xpr\"\x84\x06\n\rSearchRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x03 \x01(\t\x12\"\n\x05order\x18\x05 \x01(\x0b\x32\x13.nodereader.OrderBy\x12$\n\x07\x66\x61\x63\x65ted\x18\x06 \x01(\x0b\x32\x13.nodereader.Faceted\x12\x13\n\x0bpage_number\x18\x07 \x01(\x05\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\x11\n\tparagraph\x18\x0c \x01(\x08\x12\x10\n\x08\x64ocument\x18\r \x01(\x08\x12\x17\n\x0fwith_duplicates\x18\x0e \x01(\x08\x12\x14\n\x0conly_faceted\x18\x10 \x01(\x08\x12\x1b\n\x0e\x61\x64vanced_query\x18\x12 \x01(\tH\x00\x88\x01\x01\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\x01\x88\x01\x01\x12\x37\n\x0c\x66ield_filter\x18\x1a \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x02\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x1b \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x03\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\x1c \x01(\x0e\x32\x1a.nodereader.FilterOperator\x12;\n\x0cgraph_search\x18\x1d \x01(\x0b\x32%.nodereader.SearchRequest.GraphSearch\x1a\x34\n\x0bGraphSearch\x12%\n\x05query\x18\x01 \x01(\x0b\x32\x16.nodereader.GraphQueryB\x11\n\x0f_advanced_queryB\x0b\n\t_securityB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filterJ\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16\"\xad\x02\n\x0eSuggestRequest\x12\r\n\x05shard\x18\x01 \x01(\t\x12\x0c\n\x04\x62ody\x18\x02 \x01(\t\x12-\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1b.nodereader.SuggestFeatures\x12\x37\n\x0c\x66ield_filter\x18\x07 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x00\x88\x01\x01\x12;\n\x10paragraph_filter\x18\x08 \x01(\x0b\x32\x1c.nodereader.FilterExpressionH\x01\x88\x01\x01\x12\x33\n\x0f\x66ilter_operator\x18\t \x01(\x0e\x32\x1a.nodereader.FilterOperatorB\x0f\n\r_field_filterB\x13\n\x11_paragraph_filter\"2\n\x0fRelatedEntities\x12\x10\n\x08\x65ntities\x18\x01 \x03(\t\x12\r\n\x05total\x18\x02 \x01(\r\"\xb1\x01\n\x0fSuggestResponse\x12\r\n\x05total\x18\x01 \x01(\x05\x12,\n\x07results\x18\x02 \x03(\x0b\x32\x1b.nodereader.ParagraphResult\x12\r\n\x05query\x18\x03 \x01(\t\x12\x10\n\x08\x65matches\x18\x04 \x03(\t\x12@\n\x0e\x65ntity_results\x18\x06 \x01(\x0b\x32(.nodereader.RelationPrefixSearchResponse\"\xe6\x01\n\x0eSearchResponse\x12\x34\n\x08\x64ocument\x18\x01 \x01(\x0b\x32\".nodereader.DocumentSearchResponse\x12\x36\n\tparagraph\x18\x02 \x01(\x0b\x32#.nodereader.ParagraphSearchResponse\x12\x30\n\x06vector\x18\x03 \x01(\x0b\x32 .nodereader.VectorSearchResponse\x12.\n\x05graph\x18\x05 \x01(\x0b\x32\x1f.nodereader.GraphSearchResponseJ\x04\x08\x04\x10\x05\"\x1b\n\x0cIdCollection\x12\x0b\n\x03ids\x18\x01 \x03(\t\"Q\n\x0cRelationEdge\x12/\n\tedge_type\x18\x01 \x01(\x0e\x32\x1c.utils.Relation.RelationType\x12\x10\n\x08property\x18\x02 \x01(\t\"2\n\x08\x45\x64geList\x12&\n\x04list\x18\x01 \x03(\x0b\x32\x18.nodereader.RelationEdge\"N\n\x0fGetShardRequest\x12(\n\x08shard_id\x18\x01 \x01(\x0b\x32\x16.noderesources.ShardId\x12\x11\n\tvectorset\x18\x02 \x01(\t\"+\n\rParagraphItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06labels\x18\x02 \x03(\t\";\n\x0c\x44ocumentItem\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05\x66ield\x18\x02 \x01(\t\x12\x0e\n\x06labels\x18\x03 \x03(\t\"c\n\rStreamRequest\x12(\n\x08shard_id\x18\x03 \x01(\x0b\x32\x16.noderesources.ShardId\x12(\n\x06\x66ilter\x18\x04 \x01(\x0b\x32\x18.nodereader.StreamFilter\"(\n\x14GetShardFilesRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\"5\n\rShardFileList\x12$\n\x05\x66iles\x18\x02 \x03(\x0b\x32\x15.nodereader.ShardFile\"0\n\tShardFile\x12\x15\n\rrelative_path\x18\x01 \x01(\t\x12\x0c\n\x04size\x18\x02 \x01(\x04\"C\n\x18\x44ownloadShardFileRequest\x12\x10\n\x08shard_id\x18\x01 \x01(\t\x12\x15\n\rrelative_path\x18\x02 \x01(\t\"-\n\x0eShardFileChunk\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12\r\n\x05index\x18\x02 \x01(\x05*!\n\x0e\x46ilterOperator\x12\x07\n\x03\x41ND\x10\x00\x12\x06\n\x02OR\x10\x01*/\n\x0fSuggestFeatures\x12\x0c\n\x08\x45NTITIES\x10\x00\x12\x0e\n\nPARAGRAPHS\x10\x01\x32\xdf\x06\n\nNodeReader\x12?\n\x08GetShard\x12\x1b.nodereader.GetShardRequest\x1a\x14.noderesources.Shard\"\x00\x12\x41\n\x0b\x44ocumentIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x42\n\x0cParagraphIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12\x43\n\tVectorIds\x12\x1a.noderesources.VectorSetID\x1a\x18.nodereader.IdCollection\"\x00\x12\x41\n\x0bRelationIds\x12\x16.noderesources.ShardId\x1a\x18.nodereader.IdCollection\"\x00\x12?\n\rRelationEdges\x12\x16.noderesources.ShardId\x1a\x14.nodereader.EdgeList\"\x00\x12\x41\n\x06Search\x12\x19.nodereader.SearchRequest\x1a\x1a.nodereader.SearchResponse\"\x00\x12\x44\n\x07Suggest\x12\x1a.nodereader.SuggestRequest\x1a\x1b.nodereader.SuggestResponse\"\x00\x12\x46\n\nParagraphs\x12\x19.nodereader.StreamRequest\x1a\x19.nodereader.ParagraphItem\"\x00\x30\x01\x12\x44\n\tDocuments\x12\x19.nodereader.StreamRequest\x1a\x18.nodereader.DocumentItem\"\x00\x30\x01\x12N\n\rGetShardFiles\x12 .nodereader.GetShardFilesRequest\x1a\x19.nodereader.ShardFileList\"\x00\x12Y\n\x11\x44ownloadShardFile\x12$.nodereader.DownloadShardFileRequest\x1a\x1a.nodereader.ShardFileChunk\"\x00\x30\x01P\x00P\x02\x62\x06proto3')
37
37
 
38
38
  _globals = globals()
39
39
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -48,12 +48,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
48
48
  _globals['_PARAGRAPHSEARCHRESPONSE_FACETSENTRY']._serialized_options = b'8\001'
49
49
  _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._loaded_options = None
50
50
  _globals['_GRAPHQUERY_NODE'].fields_by_name['match_kind']._serialized_options = b'\030\001'
51
- _globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._loaded_options = None
52
- _globals['_SEARCHREQUEST'].fields_by_name['relation_subgraph']._serialized_options = b'\030\001'
53
- _globals['_FILTEROPERATOR']._serialized_start=8639
54
- _globals['_FILTEROPERATOR']._serialized_end=8672
55
- _globals['_SUGGESTFEATURES']._serialized_start=8674
56
- _globals['_SUGGESTFEATURES']._serialized_end=8721
51
+ _globals['_FILTEROPERATOR']._serialized_start=7543
52
+ _globals['_FILTEROPERATOR']._serialized_end=7576
53
+ _globals['_SUGGESTFEATURES']._serialized_start=7578
54
+ _globals['_SUGGESTFEATURES']._serialized_end=7625
57
55
  _globals['_STREAMFILTER']._serialized_start=148
58
56
  _globals['_STREAMFILTER']._serialized_end=278
59
57
  _globals['_STREAMFILTER_CONJUNCTION']._serialized_start=239
@@ -90,108 +88,92 @@ if not _descriptor._USE_C_DESCRIPTORS:
90
88
  _globals['_DOCUMENTSCORED']._serialized_end=1885
91
89
  _globals['_VECTORSEARCHRESPONSE']._serialized_start=1887
92
90
  _globals['_VECTORSEARCHRESPONSE']._serialized_end=2002
93
- _globals['_RELATIONNODEFILTER']._serialized_start=2004
94
- _globals['_RELATIONNODEFILTER']._serialized_end=2117
95
- _globals['_RELATIONEDGEFILTER']._serialized_start=2120
96
- _globals['_RELATIONEDGEFILTER']._serialized_end=2269
97
- _globals['_RELATIONPREFIXSEARCHREQUEST']._serialized_start=2272
98
- _globals['_RELATIONPREFIXSEARCHREQUEST']._serialized_end=2400
99
- _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_start=2402
100
- _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_end=2468
101
- _globals['_ENTITIESSUBGRAPHREQUEST']._serialized_start=2471
102
- _globals['_ENTITIESSUBGRAPHREQUEST']._serialized_end=2734
103
- _globals['_ENTITIESSUBGRAPHREQUEST_DELETEDENTITIES']._serialized_start=2664
104
- _globals['_ENTITIESSUBGRAPHREQUEST_DELETEDENTITIES']._serialized_end=2724
105
- _globals['_ENTITIESSUBGRAPHRESPONSE']._serialized_start=2736
106
- _globals['_ENTITIESSUBGRAPHRESPONSE']._serialized_end=2811
107
- _globals['_GRAPHQUERY']._serialized_start=2814
108
- _globals['_GRAPHQUERY']._serialized_end=4230
109
- _globals['_GRAPHQUERY_NODE']._serialized_start=2877
110
- _globals['_GRAPHQUERY_NODE']._serialized_end=3505
111
- _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_start=3163
112
- _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_end=3232
113
- _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_start=3234
114
- _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_end=3321
115
- _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_start=3323
116
- _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_end=3378
117
- _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_start=3380
118
- _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_end=3446
119
- _globals['_GRAPHQUERY_RELATION']._serialized_start=3507
120
- _globals['_GRAPHQUERY_RELATION']._serialized_end=3623
121
- _globals['_GRAPHQUERY_PATH']._serialized_start=3626
122
- _globals['_GRAPHQUERY_PATH']._serialized_end=3853
123
- _globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3855
124
- _globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3918
125
- _globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3920
126
- _globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3948
127
- _globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3951
128
- _globals['_GRAPHQUERY_PATHQUERY']._serialized_end=4230
129
- _globals['_GRAPHSEARCHREQUEST']._serialized_start=4233
130
- _globals['_GRAPHSEARCHREQUEST']._serialized_end=4554
131
- _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=4477
132
- _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=4524
133
- _globals['_GRAPHSEARCHRESPONSE']._serialized_start=4557
134
- _globals['_GRAPHSEARCHRESPONSE']._serialized_end=5003
135
- _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=4730
136
- _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4808
137
- _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4811
138
- _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=5003
139
- _globals['_RELATIONSEARCHREQUEST']._serialized_start=5005
140
- _globals['_RELATIONSEARCHREQUEST']._serialized_end=5107
141
- _globals['_RELATIONSEARCHRESPONSE']._serialized_start=5110
142
- _globals['_RELATIONSEARCHRESPONSE']._serialized_end=5248
143
- _globals['_FILTEREXPRESSION']._serialized_start=5251
144
- _globals['_FILTEREXPRESSION']._serialized_end=6269
145
- _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=5770
146
- _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=5840
147
- _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=5842
148
- _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=5879
149
- _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=5881
150
- _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=5950
151
- _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=5953
152
- _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=6197
153
- _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=6139
154
- _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=6177
155
- _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=6199
156
- _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=6231
157
- _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3920
158
- _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3948
159
- _globals['_SEARCHREQUEST']._serialized_start=6272
160
- _globals['_SEARCHREQUEST']._serialized_end=7106
161
- _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=6978
162
- _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=7030
163
- _globals['_SUGGESTREQUEST']._serialized_start=7109
164
- _globals['_SUGGESTREQUEST']._serialized_end=7410
165
- _globals['_RELATEDENTITIES']._serialized_start=7412
166
- _globals['_RELATEDENTITIES']._serialized_end=7462
167
- _globals['_SUGGESTRESPONSE']._serialized_start=7465
168
- _globals['_SUGGESTRESPONSE']._serialized_end=7642
169
- _globals['_SEARCHRESPONSE']._serialized_start=7645
170
- _globals['_SEARCHRESPONSE']._serialized_end=7923
171
- _globals['_IDCOLLECTION']._serialized_start=7925
172
- _globals['_IDCOLLECTION']._serialized_end=7952
173
- _globals['_RELATIONEDGE']._serialized_start=7954
174
- _globals['_RELATIONEDGE']._serialized_end=8035
175
- _globals['_EDGELIST']._serialized_start=8037
176
- _globals['_EDGELIST']._serialized_end=8087
177
- _globals['_GETSHARDREQUEST']._serialized_start=8089
178
- _globals['_GETSHARDREQUEST']._serialized_end=8167
179
- _globals['_PARAGRAPHITEM']._serialized_start=8169
180
- _globals['_PARAGRAPHITEM']._serialized_end=8212
181
- _globals['_DOCUMENTITEM']._serialized_start=8214
182
- _globals['_DOCUMENTITEM']._serialized_end=8273
183
- _globals['_STREAMREQUEST']._serialized_start=8275
184
- _globals['_STREAMREQUEST']._serialized_end=8374
185
- _globals['_GETSHARDFILESREQUEST']._serialized_start=8376
186
- _globals['_GETSHARDFILESREQUEST']._serialized_end=8416
187
- _globals['_SHARDFILELIST']._serialized_start=8418
188
- _globals['_SHARDFILELIST']._serialized_end=8471
189
- _globals['_SHARDFILE']._serialized_start=8473
190
- _globals['_SHARDFILE']._serialized_end=8521
191
- _globals['_DOWNLOADSHARDFILEREQUEST']._serialized_start=8523
192
- _globals['_DOWNLOADSHARDFILEREQUEST']._serialized_end=8590
193
- _globals['_SHARDFILECHUNK']._serialized_start=8592
194
- _globals['_SHARDFILECHUNK']._serialized_end=8637
195
- _globals['_NODEREADER']._serialized_start=8724
196
- _globals['_NODEREADER']._serialized_end=9587
91
+ _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_start=2004
92
+ _globals['_RELATIONPREFIXSEARCHRESPONSE']._serialized_end=2070
93
+ _globals['_GRAPHQUERY']._serialized_start=2073
94
+ _globals['_GRAPHQUERY']._serialized_end=3489
95
+ _globals['_GRAPHQUERY_NODE']._serialized_start=2136
96
+ _globals['_GRAPHQUERY_NODE']._serialized_end=2764
97
+ _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_start=2422
98
+ _globals['_GRAPHQUERY_NODE_EXACTMATCH']._serialized_end=2491
99
+ _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_start=2493
100
+ _globals['_GRAPHQUERY_NODE_FUZZYMATCH']._serialized_end=2580
101
+ _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_start=2582
102
+ _globals['_GRAPHQUERY_NODE_MATCHKIND']._serialized_end=2637
103
+ _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_start=2639
104
+ _globals['_GRAPHQUERY_NODE_MATCHLOCATION']._serialized_end=2705
105
+ _globals['_GRAPHQUERY_RELATION']._serialized_start=2766
106
+ _globals['_GRAPHQUERY_RELATION']._serialized_end=2882
107
+ _globals['_GRAPHQUERY_PATH']._serialized_start=2885
108
+ _globals['_GRAPHQUERY_PATH']._serialized_end=3112
109
+ _globals['_GRAPHQUERY_BOOLQUERY']._serialized_start=3114
110
+ _globals['_GRAPHQUERY_BOOLQUERY']._serialized_end=3177
111
+ _globals['_GRAPHQUERY_FACETFILTER']._serialized_start=3179
112
+ _globals['_GRAPHQUERY_FACETFILTER']._serialized_end=3207
113
+ _globals['_GRAPHQUERY_PATHQUERY']._serialized_start=3210
114
+ _globals['_GRAPHQUERY_PATHQUERY']._serialized_end=3489
115
+ _globals['_GRAPHSEARCHREQUEST']._serialized_start=3492
116
+ _globals['_GRAPHSEARCHREQUEST']._serialized_end=3813
117
+ _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_start=3736
118
+ _globals['_GRAPHSEARCHREQUEST_QUERYKIND']._serialized_end=3783
119
+ _globals['_GRAPHSEARCHRESPONSE']._serialized_start=3816
120
+ _globals['_GRAPHSEARCHRESPONSE']._serialized_end=4262
121
+ _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_start=3989
122
+ _globals['_GRAPHSEARCHRESPONSE_RELATION']._serialized_end=4067
123
+ _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_start=4070
124
+ _globals['_GRAPHSEARCHRESPONSE_PATH']._serialized_end=4262
125
+ _globals['_FILTEREXPRESSION']._serialized_start=4265
126
+ _globals['_FILTEREXPRESSION']._serialized_end=5283
127
+ _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_start=4784
128
+ _globals['_FILTEREXPRESSION_FILTEREXPRESSIONLIST']._serialized_end=4854
129
+ _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_start=4856
130
+ _globals['_FILTEREXPRESSION_RESOURCEFILTER']._serialized_end=4893
131
+ _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_start=4895
132
+ _globals['_FILTEREXPRESSION_FIELDFILTER']._serialized_end=4964
133
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_start=4967
134
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER']._serialized_end=5211
135
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_start=5153
136
+ _globals['_FILTEREXPRESSION_DATERANGEFILTER_DATEFIELD']._serialized_end=5191
137
+ _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_start=5213
138
+ _globals['_FILTEREXPRESSION_KEYWORDFILTER']._serialized_end=5245
139
+ _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_start=3179
140
+ _globals['_FILTEREXPRESSION_FACETFILTER']._serialized_end=3207
141
+ _globals['_SEARCHREQUEST']._serialized_start=5286
142
+ _globals['_SEARCHREQUEST']._serialized_end=6058
143
+ _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_start=5924
144
+ _globals['_SEARCHREQUEST_GRAPHSEARCH']._serialized_end=5976
145
+ _globals['_SUGGESTREQUEST']._serialized_start=6061
146
+ _globals['_SUGGESTREQUEST']._serialized_end=6362
147
+ _globals['_RELATEDENTITIES']._serialized_start=6364
148
+ _globals['_RELATEDENTITIES']._serialized_end=6414
149
+ _globals['_SUGGESTRESPONSE']._serialized_start=6417
150
+ _globals['_SUGGESTRESPONSE']._serialized_end=6594
151
+ _globals['_SEARCHRESPONSE']._serialized_start=6597
152
+ _globals['_SEARCHRESPONSE']._serialized_end=6827
153
+ _globals['_IDCOLLECTION']._serialized_start=6829
154
+ _globals['_IDCOLLECTION']._serialized_end=6856
155
+ _globals['_RELATIONEDGE']._serialized_start=6858
156
+ _globals['_RELATIONEDGE']._serialized_end=6939
157
+ _globals['_EDGELIST']._serialized_start=6941
158
+ _globals['_EDGELIST']._serialized_end=6991
159
+ _globals['_GETSHARDREQUEST']._serialized_start=6993
160
+ _globals['_GETSHARDREQUEST']._serialized_end=7071
161
+ _globals['_PARAGRAPHITEM']._serialized_start=7073
162
+ _globals['_PARAGRAPHITEM']._serialized_end=7116
163
+ _globals['_DOCUMENTITEM']._serialized_start=7118
164
+ _globals['_DOCUMENTITEM']._serialized_end=7177
165
+ _globals['_STREAMREQUEST']._serialized_start=7179
166
+ _globals['_STREAMREQUEST']._serialized_end=7278
167
+ _globals['_GETSHARDFILESREQUEST']._serialized_start=7280
168
+ _globals['_GETSHARDFILESREQUEST']._serialized_end=7320
169
+ _globals['_SHARDFILELIST']._serialized_start=7322
170
+ _globals['_SHARDFILELIST']._serialized_end=7375
171
+ _globals['_SHARDFILE']._serialized_start=7377
172
+ _globals['_SHARDFILE']._serialized_end=7425
173
+ _globals['_DOWNLOADSHARDFILEREQUEST']._serialized_start=7427
174
+ _globals['_DOWNLOADSHARDFILEREQUEST']._serialized_end=7494
175
+ _globals['_SHARDFILECHUNK']._serialized_start=7496
176
+ _globals['_SHARDFILECHUNK']._serialized_end=7541
177
+ _globals['_NODEREADER']._serialized_start=7628
178
+ _globals['_NODEREADER']._serialized_end=8491
197
179
  # @@protoc_insertion_point(module_scope)
@@ -526,77 +526,6 @@ class VectorSearchResponse(google.protobuf.message.Message):
526
526
 
527
527
  global___VectorSearchResponse = VectorSearchResponse
528
528
 
529
- @typing.final
530
- class RelationNodeFilter(google.protobuf.message.Message):
531
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
532
-
533
- NODE_TYPE_FIELD_NUMBER: builtins.int
534
- NODE_SUBTYPE_FIELD_NUMBER: builtins.int
535
- node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType
536
- node_subtype: builtins.str
537
- def __init__(
538
- self,
539
- *,
540
- node_type: nucliadb_protos.utils_pb2.RelationNode.NodeType.ValueType = ...,
541
- node_subtype: builtins.str | None = ...,
542
- ) -> None: ...
543
- def HasField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "node_subtype", b"node_subtype"]) -> builtins.bool: ...
544
- def ClearField(self, field_name: typing.Literal["_node_subtype", b"_node_subtype", "node_subtype", b"node_subtype", "node_type", b"node_type"]) -> None: ...
545
- def WhichOneof(self, oneof_group: typing.Literal["_node_subtype", b"_node_subtype"]) -> typing.Literal["node_subtype"] | None: ...
546
-
547
- global___RelationNodeFilter = RelationNodeFilter
548
-
549
- @typing.final
550
- class RelationEdgeFilter(google.protobuf.message.Message):
551
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
552
-
553
- RELATION_TYPE_FIELD_NUMBER: builtins.int
554
- RELATION_SUBTYPE_FIELD_NUMBER: builtins.int
555
- RELATION_VALUE_FIELD_NUMBER: builtins.int
556
- relation_type: nucliadb_protos.utils_pb2.Relation.RelationType.ValueType
557
- """Will filter the search to edges of type ntype."""
558
- relation_subtype: builtins.str
559
- @property
560
- def relation_value(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
561
- def __init__(
562
- self,
563
- *,
564
- relation_type: nucliadb_protos.utils_pb2.Relation.RelationType.ValueType = ...,
565
- relation_subtype: builtins.str | None = ...,
566
- relation_value: collections.abc.Iterable[builtins.str] | None = ...,
567
- ) -> None: ...
568
- def HasField(self, field_name: typing.Literal["_relation_subtype", b"_relation_subtype", "relation_subtype", b"relation_subtype"]) -> builtins.bool: ...
569
- def ClearField(self, field_name: typing.Literal["_relation_subtype", b"_relation_subtype", "relation_subtype", b"relation_subtype", "relation_type", b"relation_type", "relation_value", b"relation_value"]) -> None: ...
570
- def WhichOneof(self, oneof_group: typing.Literal["_relation_subtype", b"_relation_subtype"]) -> typing.Literal["relation_subtype"] | None: ...
571
-
572
- global___RelationEdgeFilter = RelationEdgeFilter
573
-
574
- @typing.final
575
- class RelationPrefixSearchRequest(google.protobuf.message.Message):
576
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
577
-
578
- PREFIX_FIELD_NUMBER: builtins.int
579
- QUERY_FIELD_NUMBER: builtins.int
580
- NODE_FILTERS_FIELD_NUMBER: builtins.int
581
- prefix: builtins.str
582
- """Search for a single prefix"""
583
- query: builtins.str
584
- """Search for entities appearing on a query"""
585
- @property
586
- def node_filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RelationNodeFilter]: ...
587
- def __init__(
588
- self,
589
- *,
590
- prefix: builtins.str = ...,
591
- query: builtins.str = ...,
592
- node_filters: collections.abc.Iterable[global___RelationNodeFilter] | None = ...,
593
- ) -> None: ...
594
- def HasField(self, field_name: typing.Literal["prefix", b"prefix", "query", b"query", "search", b"search"]) -> builtins.bool: ...
595
- def ClearField(self, field_name: typing.Literal["node_filters", b"node_filters", "prefix", b"prefix", "query", b"query", "search", b"search"]) -> None: ...
596
- def WhichOneof(self, oneof_group: typing.Literal["search", b"search"]) -> typing.Literal["prefix", "query"] | None: ...
597
-
598
- global___RelationPrefixSearchRequest = RelationPrefixSearchRequest
599
-
600
529
  @typing.final
601
530
  class RelationPrefixSearchResponse(google.protobuf.message.Message):
602
531
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -613,70 +542,6 @@ class RelationPrefixSearchResponse(google.protobuf.message.Message):
613
542
 
614
543
  global___RelationPrefixSearchResponse = RelationPrefixSearchResponse
615
544
 
616
- @typing.final
617
- class EntitiesSubgraphRequest(google.protobuf.message.Message):
618
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
619
-
620
- @typing.final
621
- class DeletedEntities(google.protobuf.message.Message):
622
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
623
-
624
- NODE_SUBTYPE_FIELD_NUMBER: builtins.int
625
- NODE_VALUES_FIELD_NUMBER: builtins.int
626
- node_subtype: builtins.str
627
- @property
628
- def node_values(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
629
- def __init__(
630
- self,
631
- *,
632
- node_subtype: builtins.str = ...,
633
- node_values: collections.abc.Iterable[builtins.str] | None = ...,
634
- ) -> None: ...
635
- def ClearField(self, field_name: typing.Literal["node_subtype", b"node_subtype", "node_values", b"node_values"]) -> None: ...
636
-
637
- ENTRY_POINTS_FIELD_NUMBER: builtins.int
638
- DEPTH_FIELD_NUMBER: builtins.int
639
- DELETED_ENTITIES_FIELD_NUMBER: builtins.int
640
- DELETED_GROUPS_FIELD_NUMBER: builtins.int
641
- depth: builtins.int
642
- @property
643
- def entry_points(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nucliadb_protos.utils_pb2.RelationNode]:
644
- """List of vertices where search will trigger"""
645
-
646
- @property
647
- def deleted_entities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___EntitiesSubgraphRequest.DeletedEntities]: ...
648
- @property
649
- def deleted_groups(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
650
- def __init__(
651
- self,
652
- *,
653
- entry_points: collections.abc.Iterable[nucliadb_protos.utils_pb2.RelationNode] | None = ...,
654
- depth: builtins.int | None = ...,
655
- deleted_entities: collections.abc.Iterable[global___EntitiesSubgraphRequest.DeletedEntities] | None = ...,
656
- deleted_groups: collections.abc.Iterable[builtins.str] | None = ...,
657
- ) -> None: ...
658
- def HasField(self, field_name: typing.Literal["_depth", b"_depth", "depth", b"depth"]) -> builtins.bool: ...
659
- def ClearField(self, field_name: typing.Literal["_depth", b"_depth", "deleted_entities", b"deleted_entities", "deleted_groups", b"deleted_groups", "depth", b"depth", "entry_points", b"entry_points"]) -> None: ...
660
- def WhichOneof(self, oneof_group: typing.Literal["_depth", b"_depth"]) -> typing.Literal["depth"] | None: ...
661
-
662
- global___EntitiesSubgraphRequest = EntitiesSubgraphRequest
663
-
664
- @typing.final
665
- class EntitiesSubgraphResponse(google.protobuf.message.Message):
666
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
667
-
668
- RELATIONS_FIELD_NUMBER: builtins.int
669
- @property
670
- def relations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[nucliadb_protos.noderesources_pb2.IndexRelation]: ...
671
- def __init__(
672
- self,
673
- *,
674
- relations: collections.abc.Iterable[nucliadb_protos.noderesources_pb2.IndexRelation] | None = ...,
675
- ) -> None: ...
676
- def ClearField(self, field_name: typing.Literal["relations", b"relations"]) -> None: ...
677
-
678
- global___EntitiesSubgraphResponse = EntitiesSubgraphResponse
679
-
680
545
  @typing.final
681
546
  class GraphQuery(google.protobuf.message.Message):
682
547
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -1053,55 +918,6 @@ class GraphSearchResponse(google.protobuf.message.Message):
1053
918
 
1054
919
  global___GraphSearchResponse = GraphSearchResponse
1055
920
 
1056
- @typing.final
1057
- class RelationSearchRequest(google.protobuf.message.Message):
1058
- """Query relation index to obtain different information about the
1059
- knowledge graph. It can be queried using the following strategies:
1060
-
1061
- - prefix search over vertex (node) names
1062
- - graph search:
1063
- - given some entry vertices, get the filtered subgraph around them
1064
- """
1065
-
1066
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1067
-
1068
- SHARD_ID_FIELD_NUMBER: builtins.int
1069
- SUBGRAPH_FIELD_NUMBER: builtins.int
1070
- shard_id: builtins.str
1071
- @property
1072
- def subgraph(self) -> global___EntitiesSubgraphRequest: ...
1073
- def __init__(
1074
- self,
1075
- *,
1076
- shard_id: builtins.str = ...,
1077
- subgraph: global___EntitiesSubgraphRequest | None = ...,
1078
- ) -> None: ...
1079
- def HasField(self, field_name: typing.Literal["subgraph", b"subgraph"]) -> builtins.bool: ...
1080
- def ClearField(self, field_name: typing.Literal["shard_id", b"shard_id", "subgraph", b"subgraph"]) -> None: ...
1081
-
1082
- global___RelationSearchRequest = RelationSearchRequest
1083
-
1084
- @typing.final
1085
- class RelationSearchResponse(google.protobuf.message.Message):
1086
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1087
-
1088
- PREFIX_FIELD_NUMBER: builtins.int
1089
- SUBGRAPH_FIELD_NUMBER: builtins.int
1090
- @property
1091
- def prefix(self) -> global___RelationPrefixSearchResponse: ...
1092
- @property
1093
- def subgraph(self) -> global___EntitiesSubgraphResponse: ...
1094
- def __init__(
1095
- self,
1096
- *,
1097
- prefix: global___RelationPrefixSearchResponse | None = ...,
1098
- subgraph: global___EntitiesSubgraphResponse | None = ...,
1099
- ) -> None: ...
1100
- def HasField(self, field_name: typing.Literal["prefix", b"prefix", "subgraph", b"subgraph"]) -> builtins.bool: ...
1101
- def ClearField(self, field_name: typing.Literal["prefix", b"prefix", "subgraph", b"subgraph"]) -> None: ...
1102
-
1103
- global___RelationSearchResponse = RelationSearchResponse
1104
-
1105
921
  @typing.final
1106
922
  class FilterExpression(google.protobuf.message.Message):
1107
923
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -1301,7 +1117,6 @@ class SearchRequest(google.protobuf.message.Message):
1301
1117
  FIELD_FILTER_FIELD_NUMBER: builtins.int
1302
1118
  PARAGRAPH_FILTER_FIELD_NUMBER: builtins.int
1303
1119
  FILTER_OPERATOR_FIELD_NUMBER: builtins.int
1304
- RELATION_SUBGRAPH_FIELD_NUMBER: builtins.int
1305
1120
  GRAPH_SEARCH_FIELD_NUMBER: builtins.int
1306
1121
  shard: builtins.str
1307
1122
  body: builtins.str
@@ -1332,8 +1147,6 @@ class SearchRequest(google.protobuf.message.Message):
1332
1147
  @property
1333
1148
  def paragraph_filter(self) -> global___FilterExpression: ...
1334
1149
  @property
1335
- def relation_subgraph(self) -> global___EntitiesSubgraphRequest: ...
1336
- @property
1337
1150
  def graph_search(self) -> global___SearchRequest.GraphSearch: ...
1338
1151
  def __init__(
1339
1152
  self,
@@ -1357,11 +1170,10 @@ class SearchRequest(google.protobuf.message.Message):
1357
1170
  field_filter: global___FilterExpression | None = ...,
1358
1171
  paragraph_filter: global___FilterExpression | None = ...,
1359
1172
  filter_operator: global___FilterOperator.ValueType = ...,
1360
- relation_subgraph: global___EntitiesSubgraphRequest | None = ...,
1361
1173
  graph_search: global___SearchRequest.GraphSearch | None = ...,
1362
1174
  ) -> None: ...
1363
- def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "graph_search", b"graph_search", "order", b"order", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "security", b"security"]) -> builtins.bool: ...
1364
- def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "graph_search", b"graph_search", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "page_number", b"page_number", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "relation_subgraph", b"relation_subgraph", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
1175
+ def HasField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "faceted", b"faceted", "field_filter", b"field_filter", "graph_search", b"graph_search", "order", b"order", "paragraph_filter", b"paragraph_filter", "security", b"security"]) -> builtins.bool: ...
1176
+ def ClearField(self, field_name: typing.Literal["_advanced_query", b"_advanced_query", "_field_filter", b"_field_filter", "_paragraph_filter", b"_paragraph_filter", "_security", b"_security", "advanced_query", b"advanced_query", "body", b"body", "document", b"document", "faceted", b"faceted", "field_filter", b"field_filter", "filter_operator", b"filter_operator", "graph_search", b"graph_search", "min_score_bm25", b"min_score_bm25", "min_score_semantic", b"min_score_semantic", "only_faceted", b"only_faceted", "order", b"order", "page_number", b"page_number", "paragraph", b"paragraph", "paragraph_filter", b"paragraph_filter", "result_per_page", b"result_per_page", "security", b"security", "shard", b"shard", "vector", b"vector", "vectorset", b"vectorset", "with_duplicates", b"with_duplicates"]) -> None: ...
1365
1177
  @typing.overload
1366
1178
  def WhichOneof(self, oneof_group: typing.Literal["_advanced_query", b"_advanced_query"]) -> typing.Literal["advanced_query"] | None: ...
1367
1179
  @typing.overload
@@ -1471,7 +1283,6 @@ class SearchResponse(google.protobuf.message.Message):
1471
1283
  DOCUMENT_FIELD_NUMBER: builtins.int
1472
1284
  PARAGRAPH_FIELD_NUMBER: builtins.int
1473
1285
  VECTOR_FIELD_NUMBER: builtins.int
1474
- RELATION_FIELD_NUMBER: builtins.int
1475
1286
  GRAPH_FIELD_NUMBER: builtins.int
1476
1287
  @property
1477
1288
  def document(self) -> global___DocumentSearchResponse: ...
@@ -1480,8 +1291,6 @@ class SearchResponse(google.protobuf.message.Message):
1480
1291
  @property
1481
1292
  def vector(self) -> global___VectorSearchResponse: ...
1482
1293
  @property
1483
- def relation(self) -> global___RelationSearchResponse: ...
1484
- @property
1485
1294
  def graph(self) -> global___GraphSearchResponse: ...
1486
1295
  def __init__(
1487
1296
  self,
@@ -1489,11 +1298,10 @@ class SearchResponse(google.protobuf.message.Message):
1489
1298
  document: global___DocumentSearchResponse | None = ...,
1490
1299
  paragraph: global___ParagraphSearchResponse | None = ...,
1491
1300
  vector: global___VectorSearchResponse | None = ...,
1492
- relation: global___RelationSearchResponse | None = ...,
1493
1301
  graph: global___GraphSearchResponse | None = ...,
1494
1302
  ) -> None: ...
1495
- def HasField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> builtins.bool: ...
1496
- def ClearField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "relation", b"relation", "vector", b"vector"]) -> None: ...
1303
+ def HasField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "vector", b"vector"]) -> builtins.bool: ...
1304
+ def ClearField(self, field_name: typing.Literal["document", b"document", "graph", b"graph", "paragraph", b"paragraph", "vector", b"vector"]) -> None: ...
1497
1305
 
1498
1306
  global___SearchResponse = SearchResponse
1499
1307
 
@@ -27,6 +27,7 @@ from nucliadb_protos.audit_pb2 import (
27
27
  AuditField as AuditField,
28
28
  AuditKBCounter as AuditKBCounter,
29
29
  AuditRequest as AuditRequest,
30
+ AuditSearchRequest as AuditSearchRequest,
30
31
  CHAT as CHAT,
31
32
  CHROME_EXTENSION as CHROME_EXTENSION,
32
33
  ChatAudit as ChatAudit,
@@ -16,6 +16,7 @@ from nucliadb_protos.audit_pb2 import (
16
16
  AuditField as AuditField,
17
17
  AuditKBCounter as AuditKBCounter,
18
18
  AuditRequest as AuditRequest,
19
+ AuditSearchRequest as AuditSearchRequest,
19
20
  CHAT as CHAT,
20
21
  CHROME_EXTENSION as CHROME_EXTENSION,
21
22
  ChatAudit as ChatAudit,
@@ -1,11 +1,9 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: nucliadb_protos
3
- Version: 6.3.7.post4091
3
+ Version: 6.3.7.post4116
4
4
  Summary: Protobuf definitions for nucliadb
5
- Author-email: Nuclia <nucliadb@nuclia.com>
5
+ Author-Email: Nuclia <nucliadb@nuclia.com>
6
6
  License: AGPL
7
- Project-URL: Homepage, https://nuclia.com
8
- Project-URL: Repository, https://github.com/nuclia/nucliadb
9
7
  Classifier: Development Status :: 4 - Beta
10
8
  Classifier: Programming Language :: Python
11
9
  Classifier: Programming Language :: Python :: 3.9
@@ -14,7 +12,10 @@ Classifier: Programming Language :: Python :: 3.11
14
12
  Classifier: Programming Language :: Python :: 3.12
15
13
  Classifier: Programming Language :: Python :: 3 :: Only
16
14
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
+ Project-URL: Homepage, https://nuclia.com
16
+ Project-URL: Repository, https://github.com/nuclia/nucliadb
17
17
  Requires-Python: <4,>=3.9
18
18
  Requires-Dist: protobuf>=4.22.3
19
19
  Requires-Dist: mypy-protobuf>=3.4.0
20
20
  Requires-Dist: types-protobuf>=4.24
21
+
@@ -1,6 +1,10 @@
1
- nucliadb_protos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- nucliadb_protos/audit_pb2.py,sha256=NRkvobXHsVSxQ-msju2TW8jbnRE4hh65EGg8wGHmwHc,8891
3
- nucliadb_protos/audit_pb2.pyi,sha256=7Wvqc3YSAhdpWFNlsQVsNITRdn9R07qXPrf3UghDNuM,19640
1
+ .gitignore,sha256=zbyuFRBda3geYggTx5x-hodA1OnMU85vX8u8Ejh630s,2
2
+ build.py,sha256=oZ9ZGGaq6WCqwfPaZKupVdSl5qUK4UHR9V1LqUPNhGU,2400
3
+ nucliadb_protos-6.3.7.post4116.dist-info/METADATA,sha256=Mv3oPYBO0aNAOZyz9-12z-xSCPwdNZ3n1V29nMd6qXQ,819
4
+ nucliadb_protos-6.3.7.post4116.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
5
+ nucliadb_protos-6.3.7.post4116.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
6
+ nucliadb_protos/audit_pb2.py,sha256=i-oslOOFIW-14vyr0A3MGae68ilvHsUz0_Cg_WvETlk,9557
7
+ nucliadb_protos/audit_pb2.pyi,sha256=qcZDmFiUT6Z69-H6DKOpHfTTgjVU7VzEaU1rkGeLBSQ,21575
4
8
  nucliadb_protos/backups_pb2.py,sha256=CYNHQ6u2m6LBTuzdCwvc3L3SotD2dbOE1w8D_0CwidU,3676
5
9
  nucliadb_protos/backups_pb2.pyi,sha256=OU3jM6utKOuYS0sEqP6ajEEMkl-dYQv8muJZ21-oX7I,6938
6
10
  nucliadb_protos/backups_pb2_grpc.py,sha256=rfQlAMHvnbTkUr-3AG1GdBkW8oN37mdYTUA50rWuOaA,904
@@ -13,8 +17,8 @@ nucliadb_protos/knowledgebox_pb2.py,sha256=dnk5u5bXo-ClVFrlE0KbYaIQHobm-kxOaszzf
13
17
  nucliadb_protos/knowledgebox_pb2.pyi,sha256=ddrV26ZGwvKWey2wU3r69cnT5hb9IKe0ZVCFIn-deiI,39708
14
18
  nucliadb_protos/migrations_pb2.py,sha256=SRLR8yH9stiYQJ6fLFBgsj7h_5quH6OEx8Y1EtyfQBY,1407
15
19
  nucliadb_protos/migrations_pb2.pyi,sha256=K1doWaVBMDlpF1pHBdZd97AZKBKynJz6C7uHDYhaJs4,844
16
- nucliadb_protos/nodereader_pb2.py,sha256=XOnI6O4CnH_b47dJUwqO5pr6VaKTeijcj2Vpd-hscJY,27051
17
- nucliadb_protos/nodereader_pb2.pyi,sha256=xY5yXKaFfu3uVZeK4EilJQOAczbagyJ2sbQrzm_xrTc,75909
20
+ nucliadb_protos/nodereader_pb2.py,sha256=wuOfOvlqUvjtlCy8CvunS_SZvpGLt8ajTFpkZhhFaBw,24134
21
+ nucliadb_protos/nodereader_pb2.pyi,sha256=vLw6TfzBK01Rp7NpIT8B22V79pyyxswLcTyuKNz1-bA,66665
18
22
  nucliadb_protos/nodereader_pb2_grpc.py,sha256=MocIOgp0gaanKyxeJ6ZarICrlaRPFhwg8Vcn9qJzswk,23545
19
23
  nucliadb_protos/nodereader_pb2_grpc.pyi,sha256=Z2ID_s0lPLy4rIT4_D8jDvPoHD7tS7gPdTqfGp4oneQ,10245
20
24
  nucliadb_protos/noderesources_pb2.py,sha256=YXJVY-CpCzNmc7jIYiSYYUckcP4uICQNph28gZC1RCc,16812
@@ -37,10 +41,7 @@ nucliadb_protos/train_pb2_grpc.pyi,sha256=O2fa7MJXT8sTsKqiz0MgiO-j6WwqPAawtVEMO-
37
41
  nucliadb_protos/utils_pb2.py,sha256=DjWGFcZquXuJoG-wRSMxKUT0OExc9NaYvoT_w4lqFbc,7076
38
42
  nucliadb_protos/utils_pb2.pyi,sha256=_ebOQU711CHIpXRQ9nJ4Z1I410wVVSYmcrgU1Cw1B-o,18970
39
43
  nucliadb_protos/writer_pb2.py,sha256=SiomL8KQcuQVX_J95VbKvpYe7SI29jkS-usfWD7sX84,29666
40
- nucliadb_protos/writer_pb2.pyi,sha256=kz-pEfnlXORugLrm7VwyZazgyc02RjIWOPhurVPdwvw,72926
44
+ nucliadb_protos/writer_pb2.pyi,sha256=lNKbKfBEFCCHiSlFGli0ybl9EHO63aP0jB2FLdUrx4Y,72972
41
45
  nucliadb_protos/writer_pb2_grpc.py,sha256=08SyrUd6XU-JepqNQYtyf1S0-UWRIrXLTC32CJyP0cE,33238
42
- nucliadb_protos/writer_pb2_grpc.pyi,sha256=P2NUVoSFe8l_PM_lX3aMb-a8ZWoudW2-fc_eX-IA4Fs,18322
43
- nucliadb_protos-6.3.7.post4091.dist-info/METADATA,sha256=cqsA5A_4ZDZM9xaKJ1ePiEtIlfxYAJx0RKPqdftPExk,818
44
- nucliadb_protos-6.3.7.post4091.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
45
- nucliadb_protos-6.3.7.post4091.dist-info/top_level.txt,sha256=wRP-apvCCaxGnNKXTnYx6tpAPggTof4SZQyoI1b-sjU,16
46
- nucliadb_protos-6.3.7.post4091.dist-info/RECORD,,
46
+ nucliadb_protos/writer_pb2_grpc.pyi,sha256=xlntqyO6xqlNfBVsO--pxrA2Hj3GQBNp_0vye6tuPB0,18368
47
+ nucliadb_protos-6.3.7.post4116.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.0)
2
+ Generator: pdm-backend (2.4.4)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+
3
+ [gui_scripts]
4
+
File without changes
@@ -1 +0,0 @@
1
- nucliadb_protos