nucliadb 6.2.1.post3109__py3-none-any.whl → 6.2.1.post3124__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.
- nucliadb/search/search/find_merge.py +7 -3
- nucliadb/writer/api/v1/vectorsets.py +2 -2
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/METADATA +5 -5
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/RECORD +8 -8
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/WHEEL +0 -0
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/top_level.txt +0 -0
- {nucliadb-6.2.1.post3109.dist-info → nucliadb-6.2.1.post3124.dist-info}/zip-safe +0 -0
@@ -96,9 +96,13 @@ async def build_find_response(
|
|
96
96
|
)
|
97
97
|
)
|
98
98
|
|
99
|
-
merged_text_blocks: list[TextBlockMatch]
|
100
|
-
|
101
|
-
|
99
|
+
merged_text_blocks: list[TextBlockMatch]
|
100
|
+
if len(keyword_results) == 0:
|
101
|
+
merged_text_blocks = semantic_results
|
102
|
+
elif len(semantic_results) == 0:
|
103
|
+
merged_text_blocks = keyword_results
|
104
|
+
else:
|
105
|
+
merged_text_blocks = rank_fusion_algorithm.fuse(keyword_results, semantic_results)
|
102
106
|
|
103
107
|
# cut
|
104
108
|
# we assume pagination + predict reranker is forbidden and has been already
|
@@ -41,7 +41,7 @@ from nucliadb_utils.utilities import get_storage
|
|
41
41
|
@api.post(
|
42
42
|
f"/{KB_PREFIX}/{{kbid}}/vectorsets/{{vectorset_id}}",
|
43
43
|
status_code=201,
|
44
|
-
summary="Add a
|
44
|
+
summary="Add a vector set to Knowledge Box",
|
45
45
|
tags=["VectorSets"],
|
46
46
|
# TODO: remove when the feature is mature
|
47
47
|
include_in_schema=False,
|
@@ -126,7 +126,7 @@ def get_vectorset_config(
|
|
126
126
|
@api.delete(
|
127
127
|
f"/{KB_PREFIX}/{{kbid}}/vectorsets/{{vectorset_id}}",
|
128
128
|
status_code=204,
|
129
|
-
summary="Delete
|
129
|
+
summary="Delete vector set from Knowledge Box",
|
130
130
|
tags=["VectorSets"],
|
131
131
|
# TODO: remove when the feature is mature
|
132
132
|
include_in_schema=False,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.2.1.
|
3
|
+
Version: 6.2.1.post3124
|
4
4
|
Home-page: https://docs.nuclia.dev/docs/management/nucliadb/intro
|
5
5
|
Author: NucliaDB Community
|
6
6
|
Author-email: nucliadb@nuclia.com
|
@@ -22,10 +22,10 @@ Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3 :: Only
|
23
23
|
Requires-Python: >=3.9, <4
|
24
24
|
Description-Content-Type: text/markdown
|
25
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.2.1.
|
26
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.
|
27
|
-
Requires-Dist: nucliadb-protos>=6.2.1.
|
28
|
-
Requires-Dist: nucliadb-models>=6.2.1.
|
25
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post3124
|
26
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3124
|
27
|
+
Requires-Dist: nucliadb-protos>=6.2.1.post3124
|
28
|
+
Requires-Dist: nucliadb-models>=6.2.1.post3124
|
29
29
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
30
30
|
Requires-Dist: nuclia-models>=0.24.2
|
31
31
|
Requires-Dist: uvicorn
|
@@ -210,7 +210,7 @@ nucliadb/search/search/exceptions.py,sha256=mbToQ-ghrv8ukLEv8S_-EZrgweWaIZZ5SIpo
|
|
210
210
|
nucliadb/search/search/fetch.py,sha256=XJHIFnZmXM_8Kb37lb4lg1GYG7cZ1plT-qAIb_QziX4,6184
|
211
211
|
nucliadb/search/search/filters.py,sha256=1MkHlJjAQqoRCj7e5cEzK2HvBxGLE17I_omsjiklbtw,6476
|
212
212
|
nucliadb/search/search/find.py,sha256=yQbttt85wQFc4NEaj2RNGgozP7IQx_bjAOhHke3fXY0,9890
|
213
|
-
nucliadb/search/search/find_merge.py,sha256=
|
213
|
+
nucliadb/search/search/find_merge.py,sha256=5Aqz54E5GG8jw666KNncVHIJcs821ug-YwJ46YL6Br8,17363
|
214
214
|
nucliadb/search/search/graph_strategy.py,sha256=Egcq_zn895gTUYmyQTsXj8YaUMa3HBKhcSa1GBvgzAM,31877
|
215
215
|
nucliadb/search/search/hydrator.py,sha256=-R37gCrGxkyaiHQalnTWHNG_FCx11Zucd7qA1vQCxuw,6985
|
216
216
|
nucliadb/search/search/merge.py,sha256=i_PTBFRqC5iTTziOMEltxLIlmokIou5hjjgR4BnoLBE,22635
|
@@ -315,7 +315,7 @@ nucliadb/writer/api/v1/services.py,sha256=THnBnRxiHrEZPpBTL-E-vplEUfcD-fZpuslKRo
|
|
315
315
|
nucliadb/writer/api/v1/slug.py,sha256=xlVBDBpRi9bNulpBHZwhyftVvulfE0zFm1XZIWl-AKY,2389
|
316
316
|
nucliadb/writer/api/v1/transaction.py,sha256=d2Vbgnkk_-FLGSTt3vfldwiJIUf0XoyD0wP1jQNz_DY,2430
|
317
317
|
nucliadb/writer/api/v1/upload.py,sha256=VOeqNTrZx1_z8iaKjM7p8fVlVcIYMtnQNK1dm72ct6k,33161
|
318
|
-
nucliadb/writer/api/v1/vectorsets.py,sha256=
|
318
|
+
nucliadb/writer/api/v1/vectorsets.py,sha256=mESaXkkI9f-jWWMW61ZZgv7E5YWXKemyc6vwT0lFXns,6747
|
319
319
|
nucliadb/writer/resource/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
320
320
|
nucliadb/writer/resource/audit.py,sha256=FvxMZPzrNHtd31HgpZEvxzwAkbxJTZRhPLqRYYJi3tA,1426
|
321
321
|
nucliadb/writer/resource/basic.py,sha256=l9zD-Qiq4eUkHezMf0w1Ksx2izKYLYuNoMIlXcNxxpM,11163
|
@@ -330,9 +330,9 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
330
330
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
331
331
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
332
332
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
333
|
-
nucliadb-6.2.1.
|
334
|
-
nucliadb-6.2.1.
|
335
|
-
nucliadb-6.2.1.
|
336
|
-
nucliadb-6.2.1.
|
337
|
-
nucliadb-6.2.1.
|
338
|
-
nucliadb-6.2.1.
|
333
|
+
nucliadb-6.2.1.post3124.dist-info/METADATA,sha256=36nzFrswC8y11kJvI4nFHmxM_KHuUdpSunLJXnDCjRA,4603
|
334
|
+
nucliadb-6.2.1.post3124.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
335
|
+
nucliadb-6.2.1.post3124.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
336
|
+
nucliadb-6.2.1.post3124.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
337
|
+
nucliadb-6.2.1.post3124.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
338
|
+
nucliadb-6.2.1.post3124.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|