sunholo 0.70.6__py3-none-any.whl → 0.71.0__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.
@@ -2,7 +2,7 @@ try:
2
2
  from google.api_core.client_options import ClientOptions
3
3
  from google.cloud import discoveryengine_v1alpha as discoveryengine
4
4
  from google.api_core.retry import Retry, if_exception_type
5
- from google.api_core.exceptions import ResourceExhausted
5
+ from google.api_core.exceptions import ResourceExhausted, AlreadyExists
6
6
  from google.cloud.discoveryengine_v1alpha import SearchResponse, Chunk
7
7
  except ImportError:
8
8
  ClientOptions = None
@@ -313,6 +313,9 @@ class DiscoveryEngineClient:
313
313
  log.error(f"DiscoveryEngine Operation failed after retries due to quota exceeded: {e}")
314
314
 
315
315
  raise e
316
+ except AlreadyExists as e:
317
+ log.warning(f"DiscoveryEngine - Already exists: {e} - {gcs_uri=} {bigquery_table=}")
318
+
316
319
  except Exception as e:
317
320
  log.error(f"An unexpected DiscoveryEngine error occurred: {e}")
318
321
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sunholo
3
- Version: 0.70.6
3
+ Version: 0.71.0
4
4
  Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
5
5
  Home-page: https://github.com/sunholo-data/sunholo-py
6
- Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.70.6.tar.gz
6
+ Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.71.0.tar.gz
7
7
  Author: Holosun ApS
8
8
  Author-email: multivac@sunholo.com
9
9
  License: Apache License, Version 2.0
@@ -56,6 +56,7 @@ Requires-Dist: langchain-anthropic >=0.1.13 ; extra == 'all'
56
56
  Requires-Dist: langfuse ; extra == 'all'
57
57
  Requires-Dist: pg8000 ; extra == 'all'
58
58
  Requires-Dist: pgvector ; extra == 'all'
59
+ Requires-Dist: playwright ; extra == 'all'
59
60
  Requires-Dist: psycopg2-binary ; extra == 'all'
60
61
  Requires-Dist: pypdf ; extra == 'all'
61
62
  Requires-Dist: python-socketio ; extra == 'all'
@@ -110,6 +111,8 @@ Requires-Dist: GitPython ; extra == 'pipeline'
110
111
  Requires-Dist: lark ; extra == 'pipeline'
111
112
  Requires-Dist: pypdf ; extra == 'pipeline'
112
113
  Requires-Dist: tabulate ; extra == 'pipeline'
114
+ Provides-Extra: tools
115
+ Requires-Dist: playwright ; extra == 'tools'
113
116
 
114
117
  ## Introduction
115
118
  This is the Sunholo Python project, a comprehensive toolkit for working with language models and vector stores on Google Cloud Platform. It provides a wide range of functionalities and utilities to facilitate the development and deployment of language model applications.
@@ -63,7 +63,7 @@ sunholo/database/sql/sb/setup.sql,sha256=CvoFvZQev2uWjmFa3aj3m3iuPFzAAJZ0S7Qi3L3
63
63
  sunholo/discovery_engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
64
  sunholo/discovery_engine/chunker_handler.py,sha256=H1HHDqWMCkchJER1_oU9TOLxqf2PygiMO6CL3uKZP64,4563
65
65
  sunholo/discovery_engine/create_new.py,sha256=7oZG78T6lW0EspRzlo7-qRyXFSuFxDn2dfSAVEaqlqY,978
66
- sunholo/discovery_engine/discovery_engine_client.py,sha256=lZDV-eGXTMa6e4xBKFWvudbSHVJayWXoXB17TRZVrck,14655
66
+ sunholo/discovery_engine/discovery_engine_client.py,sha256=QiPB9DExPW-qN-dZq1llXie1hTnWydSZan7Y3mp9dOc,14803
67
67
  sunholo/embedder/__init__.py,sha256=sI4N_CqgEVcrMDxXgxKp1FsfsB4FpjoXgPGkl4N_u4I,44
68
68
  sunholo/embedder/embed_chunk.py,sha256=d_dIzeNF630Q0Ar-u1hxos60s0tLIImJccAvuo_LTIw,6814
69
69
  sunholo/gcs/__init__.py,sha256=DtVw_AZwQn-IguR5BJuIi2XJeF_FQXizhJikzRNrXiE,50
@@ -113,9 +113,9 @@ sunholo/vertex/extensions_class.py,sha256=0-XMrMvfhMN380ZdGXl11Mt7R9kCu9rB4Vduif
113
113
  sunholo/vertex/init.py,sha256=RLjQppTUwubWgwf2PoAke-EtcwlVkFPaPMYvUsMw1KQ,2029
114
114
  sunholo/vertex/memory_tools.py,sha256=hy_UhKl05Bka5zK7KWoO8ZPVM-p8AQkcgFVLHUg9jZs,5748
115
115
  sunholo/vertex/safety.py,sha256=3meAX0HyGZYrH7rXPUAHxtI_3w_zoy_RX7Shtkoa660,1275
116
- sunholo-0.70.6.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
117
- sunholo-0.70.6.dist-info/METADATA,sha256=LhA1lHY2mU6i7YHXkJtxgbqwqac6lU0p75reOatR2bk,6240
118
- sunholo-0.70.6.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
119
- sunholo-0.70.6.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
120
- sunholo-0.70.6.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
121
- sunholo-0.70.6.dist-info/RECORD,,
116
+ sunholo-0.71.0.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
117
+ sunholo-0.71.0.dist-info/METADATA,sha256=FBr0EOFvBeqhlFja8LOxDiHKK12wmtiAj59fJ97jKns,6350
118
+ sunholo-0.71.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
119
+ sunholo-0.71.0.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
120
+ sunholo-0.71.0.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
121
+ sunholo-0.71.0.dist-info/RECORD,,