nucliadb 6.5.0.post4415__py3-none-any.whl → 6.5.0.post4420__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.
@@ -187,7 +187,7 @@ async def chat_streaming_generator(
187
187
 
188
188
  if is_json:
189
189
  try:
190
- parsed_chunk = GenerativeChunk.model_validate(chunk)
190
+ parsed_chunk = GenerativeChunk.model_validate_json(chunk).chunk
191
191
  if isinstance(parsed_chunk, TextGenerativeResponse):
192
192
  text_answer += parsed_chunk.text
193
193
  elif isinstance(parsed_chunk, JSONGenerativeResponse):
@@ -195,7 +195,7 @@ async def chat_streaming_generator(
195
195
  elif isinstance(parsed_chunk, StatusGenerativeResponse):
196
196
  status_code = parsed_chunk.code
197
197
  except ValidationError:
198
- logger.warning(
198
+ logger.exception(
199
199
  f"Unexpected item in predict answer stream: {chunk.decode()}",
200
200
  extra={"kbid": kbid},
201
201
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nucliadb
3
- Version: 6.5.0.post4415
3
+ Version: 6.5.0.post4420
4
4
  Summary: NucliaDB
5
5
  Author-email: Nuclia <nucliadb@nuclia.com>
6
6
  License-Expression: AGPL-3.0-or-later
@@ -19,11 +19,11 @@ Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
20
  Requires-Python: <4,>=3.9
21
21
  Description-Content-Type: text/markdown
22
- Requires-Dist: nucliadb-telemetry[all]>=6.5.0.post4415
23
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.0.post4415
24
- Requires-Dist: nucliadb-protos>=6.5.0.post4415
25
- Requires-Dist: nucliadb-models>=6.5.0.post4415
26
- Requires-Dist: nidx-protos>=6.5.0.post4415
22
+ Requires-Dist: nucliadb-telemetry[all]>=6.5.0.post4420
23
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.5.0.post4420
24
+ Requires-Dist: nucliadb-protos>=6.5.0.post4420
25
+ Requires-Dist: nucliadb-models>=6.5.0.post4420
26
+ Requires-Dist: nidx-protos>=6.5.0.post4420
27
27
  Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
28
28
  Requires-Dist: nuclia-models>=0.24.2
29
29
  Requires-Dist: uvicorn[standard]
@@ -250,7 +250,7 @@ nucliadb/search/search/merge.py,sha256=XiRBsxhYPshPV7lZXD-9E259KZOPIf4I2tKosY0lP
250
250
  nucliadb/search/search/metrics.py,sha256=3I6IN0qDSmqIvUaWJmT3rt-Jyjs6LcvnKI8ZqCiuJPY,3501
251
251
  nucliadb/search/search/paragraphs.py,sha256=pNAEiYqJGGUVcEf7xf-PFMVqz0PX4Qb-WNG-_zPGN2o,7799
252
252
  nucliadb/search/search/pgcatalog.py,sha256=QtgArjoM-dW_B1oO0aXqp5au7GlLG8jAct9jevUHatw,10997
253
- nucliadb/search/search/predict_proxy.py,sha256=2451FR2DJLedA4eV8KbMbY4la5WZCgjBUHO_iQVaA8I,8634
253
+ nucliadb/search/search/predict_proxy.py,sha256=cuD_sfM3RLdEoQaanRz0CflO6nKVGGKPzoFA17shb_w,8647
254
254
  nucliadb/search/search/query.py,sha256=0qIQdt548L3jtKOyKo06aGJ73SLBxAW3N38_Hc1M3Uw,11528
255
255
  nucliadb/search/search/rank_fusion.py,sha256=xZtXhbmKb_56gs73u6KkFm2efvTATOSMmpOV2wrAIqE,9613
256
256
  nucliadb/search/search/rerankers.py,sha256=E2J1QdKAojqbhHM3KAyaOXKf6tJyETUxKs4tf_BEyqk,7472
@@ -370,8 +370,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
370
370
  nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
371
371
  nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
372
372
  nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
373
- nucliadb-6.5.0.post4415.dist-info/METADATA,sha256=lSbgbK7GgTJXjm5IIzYAeFt7-W8LdME3CKarZjmQwbg,4152
374
- nucliadb-6.5.0.post4415.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
375
- nucliadb-6.5.0.post4415.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
376
- nucliadb-6.5.0.post4415.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
377
- nucliadb-6.5.0.post4415.dist-info/RECORD,,
373
+ nucliadb-6.5.0.post4420.dist-info/METADATA,sha256=Y8E6BV81nPotYeQCWKtqRxEFgrUUqRQjirb-pDLI2hk,4152
374
+ nucliadb-6.5.0.post4420.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
375
+ nucliadb-6.5.0.post4420.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
376
+ nucliadb-6.5.0.post4420.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
377
+ nucliadb-6.5.0.post4420.dist-info/RECORD,,