nucliadb 6.2.1.post3165__py3-none-any.whl → 6.2.1.post3176__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/query_parser/fetcher.py +2 -2
- nucliadb/writer/api/v1/export_import.py +1 -1
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/METADATA +5 -5
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/RECORD +8 -8
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/WHEEL +0 -0
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/top_level.txt +0 -0
- {nucliadb-6.2.1.post3165.dist-info → nucliadb-6.2.1.post3176.dist-info}/zip-safe +0 -0
@@ -306,7 +306,7 @@ class Fetcher:
|
|
306
306
|
self.rephrase,
|
307
307
|
self.rephrase_prompt,
|
308
308
|
)
|
309
|
-
except SendToPredictError:
|
309
|
+
except (SendToPredictError, TimeoutError):
|
310
310
|
query_info = None
|
311
311
|
|
312
312
|
self.cache.predict_query_info = query_info
|
@@ -318,7 +318,7 @@ class Fetcher:
|
|
318
318
|
|
319
319
|
try:
|
320
320
|
detected_entities = await detect_entities(self.kbid, self.query)
|
321
|
-
except SendToPredictError as ex:
|
321
|
+
except (SendToPredictError, TimeoutError) as ex:
|
322
322
|
logger.warning(f"Errors on Predict API detecting entities: {ex}", extra={"kbid": self.kbid})
|
323
323
|
detected_entities = []
|
324
324
|
|
@@ -112,7 +112,7 @@ async def kb_create_and_import_endpoint(request: Request):
|
|
112
112
|
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
113
113
|
import_kb_config = KnowledgeBoxConfig(
|
114
114
|
title=f"Imported KB - {now}",
|
115
|
-
learning_configuration=learning_config.
|
115
|
+
learning_configuration=learning_config.model_dump(),
|
116
116
|
)
|
117
117
|
kbid, slug = await create_kb(import_kb_config)
|
118
118
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.2.1.
|
3
|
+
Version: 6.2.1.post3176
|
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.post3176
|
26
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3176
|
27
|
+
Requires-Dist: nucliadb-protos>=6.2.1.post3176
|
28
|
+
Requires-Dist: nucliadb-models>=6.2.1.post3176
|
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
|
@@ -233,7 +233,7 @@ nucliadb/search/search/chat/prompt.py,sha256=r2JTiRWH3YHPdeRAG5w6gD0g0fWVxdTjYIR
|
|
233
233
|
nucliadb/search/search/chat/query.py,sha256=rBssR6MPSx8h2DASRMTLODaz9oGE5tNVVVeDncSrEp4,15684
|
234
234
|
nucliadb/search/search/query_parser/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
235
235
|
nucliadb/search/search/query_parser/exceptions.py,sha256=szAOXUZ27oNY-OSa9t2hQ5HHkQQC0EX1FZz_LluJHJE,1224
|
236
|
-
nucliadb/search/search/query_parser/fetcher.py,sha256=
|
236
|
+
nucliadb/search/search/query_parser/fetcher.py,sha256=4ObVZSRN_dApeA2rP0yQR7l3gdvmhxY478j3pOYMssA,15528
|
237
237
|
nucliadb/search/search/query_parser/models.py,sha256=-VlCDXUCgOroAZw1Leqhj2VMgRv_CD2w40PXXOBLaUM,2332
|
238
238
|
nucliadb/search/search/query_parser/parser.py,sha256=JC6koS9Np1PzCfEk1Xy6mpP1HmovS_vIxxA9u-kwzos,6498
|
239
239
|
nucliadb/standalone/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
|
@@ -307,7 +307,7 @@ nucliadb/writer/api/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20
|
|
307
307
|
nucliadb/writer/api/constants.py,sha256=qWEDjFUycrEZnSJyLnNK4PQNodU2oVmkO4NycaEZtio,1738
|
308
308
|
nucliadb/writer/api/utils.py,sha256=wIQHlU8RQiIGVLI72suvyVIKlCU44Unh0Ae0IiN6Qwo,1313
|
309
309
|
nucliadb/writer/api/v1/__init__.py,sha256=akI9A_jloNLb0dU4T5zjfdyvmSAiDeIdjAlzNx74FlU,1128
|
310
|
-
nucliadb/writer/api/v1/export_import.py,sha256=
|
310
|
+
nucliadb/writer/api/v1/export_import.py,sha256=Cv4DNtqoR_x2LMNx80C9ehyaCaFIxhq2eutEk2uzcZg,8249
|
311
311
|
nucliadb/writer/api/v1/field.py,sha256=OsWOYA0WQ6onE5Rkl20QIEdtrSi7Jgnu62fUt90Ziy8,17503
|
312
312
|
nucliadb/writer/api/v1/knowledgebox.py,sha256=MLeIuym4jPrJgfy1NTcN9CpUGwuBiqDHMcx0hY9DR7g,9530
|
313
313
|
nucliadb/writer/api/v1/learning_config.py,sha256=GaYaagjBrVG9ZxrWQyVQfqGMQV3tAJjqJ5CStaKhktU,2058
|
@@ -332,9 +332,9 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
332
332
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
333
333
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
334
334
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
335
|
-
nucliadb-6.2.1.
|
336
|
-
nucliadb-6.2.1.
|
337
|
-
nucliadb-6.2.1.
|
338
|
-
nucliadb-6.2.1.
|
339
|
-
nucliadb-6.2.1.
|
340
|
-
nucliadb-6.2.1.
|
335
|
+
nucliadb-6.2.1.post3176.dist-info/METADATA,sha256=XQOa1mhfC7OVx3mKUPGENRAT46HQDx5D2ND5TnE59vU,4603
|
336
|
+
nucliadb-6.2.1.post3176.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
337
|
+
nucliadb-6.2.1.post3176.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
338
|
+
nucliadb-6.2.1.post3176.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
339
|
+
nucliadb-6.2.1.post3176.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
340
|
+
nucliadb-6.2.1.post3176.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|