sunholo 0.119.13__py3-none-any.whl → 0.119.14__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.
@@ -350,6 +350,7 @@ class DiscoveryEngineClient:
350
350
  f"## metadata\n"
351
351
  f"Document URI: {chunk.document_metadata.uri}\n"
352
352
  f"Document Title: {chunk.document_metadata.title}\n"
353
+ f"Document ImportTime: {chunk.document_metadata.eventTime}\n"
353
354
  )
354
355
 
355
356
  def process_chunks(self, response):
@@ -357,7 +358,8 @@ class DiscoveryEngineClient:
357
358
 
358
359
  # Check if the response contains results
359
360
  if not hasattr(response, 'results') or not response.results:
360
- raise ValueError(f'No results found in response: {response=}')
361
+ log.info(f'No results found in response: {response=}')
362
+ return []
361
363
 
362
364
  # Iterate through each result in the response
363
365
  for result in response.results:
@@ -386,7 +388,8 @@ class DiscoveryEngineClient:
386
388
 
387
389
  # Check if the response contains results
388
390
  if not hasattr(response, 'results') or not response.results:
389
- raise ValueError(f'No results found in response: {response=}')
391
+ log.info(f'No results found in response: {response=}')
392
+ return []
390
393
 
391
394
  # Iterate through each result in the response
392
395
  for result in response.results:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sunholo
3
- Version: 0.119.13
3
+ Version: 0.119.14
4
4
  Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
5
5
  Author-email: Holosun ApS <multivac@sunholo.com>
6
6
  License: Apache License, Version 2.0
@@ -75,7 +75,7 @@ sunholo/discovery_engine/__init__.py,sha256=hLgqRDJ22Aov9o2QjAEfsVgnL3kMdM-g5p8R
75
75
  sunholo/discovery_engine/chunker_handler.py,sha256=2775W5wHzdkYXqkRMlwh8MRbas20wcMnnnNngo0ljms,6160
76
76
  sunholo/discovery_engine/cli.py,sha256=KGVle5rkLL49oF9TQhrGI--8017IvvLOEoYur545Qb0,12790
77
77
  sunholo/discovery_engine/create_new.py,sha256=WUi4_xh_dFaGX3xA9jkNKZhaR6LCELjMPeRb0hyj4FU,1226
78
- sunholo/discovery_engine/discovery_engine_client.py,sha256=w3ZwAcP9t8cGgwEQZsf4_b1HPnnIzgetTiaEvG4tMwI,36741
78
+ sunholo/discovery_engine/discovery_engine_client.py,sha256=m6qEZvya7HCoMdNcr-zACH25RyvrKX7vg0YTUjBgqSA,36851
79
79
  sunholo/discovery_engine/get_ai_search_chunks.py,sha256=I6Dt1CznqEvE7XIZ2PkLqopmjpO96iVEWJJqL5cJjOU,5554
80
80
  sunholo/embedder/__init__.py,sha256=sI4N_CqgEVcrMDxXgxKp1FsfsB4FpjoXgPGkl4N_u4I,44
81
81
  sunholo/embedder/embed_chunk.py,sha256=did2pKkWM2o0KkRcb0H9l2x_WjCq6OyuHDxGbITFKPM,6530
@@ -166,9 +166,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
166
166
  sunholo/vertex/memory_tools.py,sha256=tBZxqVZ4InTmdBvLlOYwoSEWu4-kGquc-gxDwZCC4FA,7667
167
167
  sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
168
168
  sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
169
- sunholo-0.119.13.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
170
- sunholo-0.119.13.dist-info/METADATA,sha256=m5LFMkpjiaKq1GOIq6HYsOt66fe0gcrSUW80_FlmbRk,9715
171
- sunholo-0.119.13.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
172
- sunholo-0.119.13.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
173
- sunholo-0.119.13.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
174
- sunholo-0.119.13.dist-info/RECORD,,
169
+ sunholo-0.119.14.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
170
+ sunholo-0.119.14.dist-info/METADATA,sha256=3D7g9iM8f8RbHW4dsiz6-AWynQr4O2JOPZlZWp_IkYU,9715
171
+ sunholo-0.119.14.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
172
+ sunholo-0.119.14.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
173
+ sunholo-0.119.14.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
174
+ sunholo-0.119.14.dist-info/RECORD,,