sunholo 0.67.0__tar.gz → 0.67.3__tar.gz
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.
- {sunholo-0.67.0 → sunholo-0.67.3}/PKG-INFO +9 -9
- {sunholo-0.67.0 → sunholo-0.67.3}/setup.py +8 -8
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/publish.py +8 -3
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/alloydb.py +5 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/pubsub/pubsub_manager.py +8 -2
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/PKG-INFO +9 -9
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/requires.txt +7 -7
- {sunholo-0.67.0 → sunholo-0.67.3}/LICENSE.txt +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/MANIFEST.in +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/README.md +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/setup.cfg +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/chat_history.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/dispatch_to_qa.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/fastapi/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/fastapi/base.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/fastapi/qna_routes.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/flask/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/flask/base.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/flask/qna_routes.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/langserve.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/pubsub.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/route.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/special_commands.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/agents/swagger.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/archive/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/archive/archive.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/auth/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/auth/run.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/bots/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/bots/discord.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/bots/github_webhook.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/bots/webapp.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/data_to_embed_pubsub.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/doc_handling.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/images.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/loaders.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/message_data.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/pdfs.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/chunker/splitter.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/chat_vac.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/cli.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/cli_init.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/configs.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/deploy.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/embedder.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/merge_texts.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/run_proxy.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/sun_rich.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/cli/swagger.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/components/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/components/llm.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/components/retriever.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/components/vectorstore.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/database.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/lancedb.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/create_function.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/create_function_time.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/create_table.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/delete_source_row.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/return_sources.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/sql/sb/setup.sql +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/static_dbs.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/database/uuid.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/embedder/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/embedder/embed_chunk.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/gcs/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/gcs/add_file.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/gcs/download_url.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/gcs/metadata.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/langfuse/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/langfuse/callback.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/langfuse/prompts.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/llamaindex/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/llamaindex/generate.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/llamaindex/get_files.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/llamaindex/import_files.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/logging.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/lookup/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/lookup/model_lookup.yaml +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/patches/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/patches/langchain/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/patches/langchain/lancedb.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/patches/langchain/vertexai.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/pubsub/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/pubsub/process_pubsub.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/qna/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/qna/parsers.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/qna/retry.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/streaming/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/streaming/content_buffer.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/streaming/langserve.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/streaming/stream_lookup.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/streaming/streaming.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/summarise/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/summarise/summarise.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/api_key.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/big_context.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/config.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/config_schema.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/gcp.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/gcp_project.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/parsers.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/timedelta.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/user_ids.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/utils/version.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/vertex/__init__.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/vertex/init.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/vertex/memory_tools.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo/vertex/safety.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/SOURCES.txt +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/dependency_links.txt +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/entry_points.txt +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/sunholo.egg-info/top_level.txt +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/tests/test_chat_history.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/tests/test_chunker.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/tests/test_config.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/tests/test_dispatch_to_qa.py +0 -0
- {sunholo-0.67.0 → sunholo-0.67.3}/tests/test_swagger.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.67.
|
|
3
|
+
Version: 0.67.3
|
|
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.67.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.67.3.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -21,7 +21,7 @@ License-File: LICENSE.txt
|
|
|
21
21
|
Requires-Dist: google-auth
|
|
22
22
|
Requires-Dist: ruamel.yaml
|
|
23
23
|
Requires-Dist: langchain>=0.2.5
|
|
24
|
-
Requires-Dist: langchain_experimental
|
|
24
|
+
Requires-Dist: langchain_experimental>0.0.60
|
|
25
25
|
Requires-Dist: langchain-community
|
|
26
26
|
Provides-Extra: all
|
|
27
27
|
Requires-Dist: asyncpg; extra == "all"
|
|
@@ -52,7 +52,7 @@ Requires-Dist: langchain-community; extra == "all"
|
|
|
52
52
|
Requires-Dist: langchain-openai; extra == "all"
|
|
53
53
|
Requires-Dist: langchain-google-genai; extra == "all"
|
|
54
54
|
Requires-Dist: langchain_google_alloydb_pg; extra == "all"
|
|
55
|
-
Requires-Dist: langchain-anthropic; extra == "all"
|
|
55
|
+
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"
|
|
@@ -63,7 +63,7 @@ Requires-Dist: rich; extra == "all"
|
|
|
63
63
|
Requires-Dist: supabase; extra == "all"
|
|
64
64
|
Requires-Dist: tiktoken; extra == "all"
|
|
65
65
|
Provides-Extra: cli
|
|
66
|
-
Requires-Dist: jsonschema; extra == "cli"
|
|
66
|
+
Requires-Dist: jsonschema>=4.21.1; extra == "cli"
|
|
67
67
|
Requires-Dist: rich; extra == "cli"
|
|
68
68
|
Provides-Extra: database
|
|
69
69
|
Requires-Dist: asyncpg; extra == "database"
|
|
@@ -89,16 +89,16 @@ Requires-Dist: google-cloud-storage; extra == "gcp"
|
|
|
89
89
|
Requires-Dist: google-cloud-logging; extra == "gcp"
|
|
90
90
|
Requires-Dist: google-cloud-pubsub; extra == "gcp"
|
|
91
91
|
Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
92
|
-
Requires-Dist: google-generativeai; extra == "gcp"
|
|
93
|
-
Requires-Dist: langchain-google-genai; extra == "gcp"
|
|
94
|
-
Requires-Dist: langchain_google_alloydb_pg; extra == "gcp"
|
|
92
|
+
Requires-Dist: google-generativeai>=0.4.1; extra == "gcp"
|
|
93
|
+
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
94
|
+
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
95
95
|
Requires-Dist: google-api-python-client; extra == "gcp"
|
|
96
96
|
Requires-Dist: google-cloud-alloydb-connector[pg8000]; extra == "gcp"
|
|
97
97
|
Provides-Extra: openai
|
|
98
98
|
Requires-Dist: langchain-openai; extra == "openai"
|
|
99
99
|
Requires-Dist: tiktoken; extra == "openai"
|
|
100
100
|
Provides-Extra: anthropic
|
|
101
|
-
Requires-Dist: langchain-anthropic; extra == "anthropic"
|
|
101
|
+
Requires-Dist: langchain-anthropic>=0.1.13; extra == "anthropic"
|
|
102
102
|
Provides-Extra: http
|
|
103
103
|
Requires-Dist: fastapi; extra == "http"
|
|
104
104
|
Requires-Dist: flask; extra == "http"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
3
|
# Define your base version
|
|
4
|
-
version = '0.67.
|
|
4
|
+
version = '0.67.3'
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='sunholo',
|
|
@@ -32,7 +32,7 @@ setup(
|
|
|
32
32
|
#"tenacity==8.3.0", #TODO: remove soon
|
|
33
33
|
"ruamel.yaml",
|
|
34
34
|
"langchain>=0.2.5",
|
|
35
|
-
"langchain_experimental",
|
|
35
|
+
"langchain_experimental>0.0.60",
|
|
36
36
|
"langchain-community",
|
|
37
37
|
# Add the minimal dependencies that your package requires here
|
|
38
38
|
],
|
|
@@ -67,7 +67,7 @@ setup(
|
|
|
67
67
|
"langchain-openai",
|
|
68
68
|
"langchain-google-genai",
|
|
69
69
|
"langchain_google_alloydb_pg",
|
|
70
|
-
"langchain-anthropic",
|
|
70
|
+
"langchain-anthropic>=0.1.13",
|
|
71
71
|
"langfuse",
|
|
72
72
|
"pg8000",
|
|
73
73
|
"pgvector",
|
|
@@ -80,7 +80,7 @@ setup(
|
|
|
80
80
|
|
|
81
81
|
],
|
|
82
82
|
'cli': [
|
|
83
|
-
"jsonschema",
|
|
83
|
+
"jsonschema>=4.21.1",
|
|
84
84
|
"rich"
|
|
85
85
|
],
|
|
86
86
|
'database': [
|
|
@@ -109,9 +109,9 @@ setup(
|
|
|
109
109
|
"google-cloud-logging",
|
|
110
110
|
"google-cloud-pubsub",
|
|
111
111
|
"google-cloud-discoveryengine",
|
|
112
|
-
"google-generativeai",
|
|
113
|
-
"langchain-google-genai",
|
|
114
|
-
"langchain_google_alloydb_pg",
|
|
112
|
+
"google-generativeai>=0.4.1",
|
|
113
|
+
"langchain-google-genai>=1.0.5",
|
|
114
|
+
"langchain_google_alloydb_pg>=0.2.2",
|
|
115
115
|
"google-api-python-client",
|
|
116
116
|
"google-cloud-alloydb-connector[pg8000]",
|
|
117
117
|
],
|
|
@@ -120,7 +120,7 @@ setup(
|
|
|
120
120
|
"tiktoken"
|
|
121
121
|
],
|
|
122
122
|
'anthropic': [
|
|
123
|
-
"langchain-anthropic",
|
|
123
|
+
"langchain-anthropic>=0.1.13",
|
|
124
124
|
],
|
|
125
125
|
'http': [
|
|
126
126
|
"fastapi",
|
|
@@ -27,9 +27,14 @@ def publish_chunks(chunks: list[Document], vector_name: str):
|
|
|
27
27
|
|
|
28
28
|
log.info("Publishing chunks to embed_chunk")
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
try:
|
|
31
|
+
pubsub_manager = PubSubManager(vector_name,
|
|
32
|
+
pubsub_topic="chunk-to-pubsub-embed",
|
|
33
|
+
project_id=project)
|
|
34
|
+
except Exception as err:
|
|
35
|
+
log.error(f"PubSubManager init error: Could not publish chunks to {project} {vector_name} pubsub_topic chunk-to-pubsub-embed - {str(err)}")
|
|
36
|
+
|
|
37
|
+
return None
|
|
33
38
|
|
|
34
39
|
for chunk in chunks:
|
|
35
40
|
# Convert chunk to string, as Pub/Sub messages must be strings or bytes
|
|
@@ -8,6 +8,7 @@ try:
|
|
|
8
8
|
from langchain_google_alloydb_pg import AlloyDBEngine, Column, AlloyDBLoader, AlloyDBDocumentSaver
|
|
9
9
|
from google.cloud.alloydb.connector import IPTypes
|
|
10
10
|
except ImportError:
|
|
11
|
+
AlloyDBEngine = None
|
|
11
12
|
pass
|
|
12
13
|
|
|
13
14
|
from .database import get_vector_size
|
|
@@ -16,6 +17,10 @@ from ..utils.config import load_config_key
|
|
|
16
17
|
|
|
17
18
|
def create_alloydb_engine(vector_name):
|
|
18
19
|
|
|
20
|
+
if not AlloyDBEngine:
|
|
21
|
+
log.error("Can't create AlloyDBEngine - install via `pip install sunholo[gcp,database]`")
|
|
22
|
+
raise ValueError("Can't import AlloyDBEngine")
|
|
23
|
+
|
|
19
24
|
alloydb_config = load_config_key(
|
|
20
25
|
'alloydb_config',
|
|
21
26
|
vector_name=vector_name,
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
try:
|
|
15
15
|
from google.cloud import pubsub_v1
|
|
16
|
-
from google.api_core.exceptions import NotFound
|
|
17
|
-
from google.api_core.exceptions import AlreadyExists
|
|
16
|
+
from google.api_core.exceptions import AlreadyExists, PermissionDenied, NotFound
|
|
18
17
|
from google.auth import default
|
|
19
18
|
except ImportError:
|
|
20
19
|
pubsub_v1 = None
|
|
@@ -67,6 +66,13 @@ class PubSubManager:
|
|
|
67
66
|
log.info(f"Created Pub/Sub topic: {self.pubsub_topic}")
|
|
68
67
|
if self.verbose:
|
|
69
68
|
print(f"Created Pub/Sub topic: {self.pubsub_topic}")
|
|
69
|
+
except PermissionDenied:
|
|
70
|
+
# Obtain the current credentials being used
|
|
71
|
+
credentials, project_id = default()
|
|
72
|
+
log.error(f"Permission denied to get/create Pub/Sub topic {self.pubsub_topic} - project: {self.project_id} - credentials: {credentials}")
|
|
73
|
+
except Exception as e:
|
|
74
|
+
# Catch any other exceptions and log them
|
|
75
|
+
log.error(f"An unexpected error occurred while accessing Pub/Sub topic {self.pubsub_topic}: {e}")
|
|
70
76
|
|
|
71
77
|
def subscription_exists(self, subscription_name:str):
|
|
72
78
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.67.
|
|
3
|
+
Version: 0.67.3
|
|
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.67.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.67.3.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -21,7 +21,7 @@ License-File: LICENSE.txt
|
|
|
21
21
|
Requires-Dist: google-auth
|
|
22
22
|
Requires-Dist: ruamel.yaml
|
|
23
23
|
Requires-Dist: langchain>=0.2.5
|
|
24
|
-
Requires-Dist: langchain_experimental
|
|
24
|
+
Requires-Dist: langchain_experimental>0.0.60
|
|
25
25
|
Requires-Dist: langchain-community
|
|
26
26
|
Provides-Extra: all
|
|
27
27
|
Requires-Dist: asyncpg; extra == "all"
|
|
@@ -52,7 +52,7 @@ Requires-Dist: langchain-community; extra == "all"
|
|
|
52
52
|
Requires-Dist: langchain-openai; extra == "all"
|
|
53
53
|
Requires-Dist: langchain-google-genai; extra == "all"
|
|
54
54
|
Requires-Dist: langchain_google_alloydb_pg; extra == "all"
|
|
55
|
-
Requires-Dist: langchain-anthropic; extra == "all"
|
|
55
|
+
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"
|
|
@@ -63,7 +63,7 @@ Requires-Dist: rich; extra == "all"
|
|
|
63
63
|
Requires-Dist: supabase; extra == "all"
|
|
64
64
|
Requires-Dist: tiktoken; extra == "all"
|
|
65
65
|
Provides-Extra: cli
|
|
66
|
-
Requires-Dist: jsonschema; extra == "cli"
|
|
66
|
+
Requires-Dist: jsonschema>=4.21.1; extra == "cli"
|
|
67
67
|
Requires-Dist: rich; extra == "cli"
|
|
68
68
|
Provides-Extra: database
|
|
69
69
|
Requires-Dist: asyncpg; extra == "database"
|
|
@@ -89,16 +89,16 @@ Requires-Dist: google-cloud-storage; extra == "gcp"
|
|
|
89
89
|
Requires-Dist: google-cloud-logging; extra == "gcp"
|
|
90
90
|
Requires-Dist: google-cloud-pubsub; extra == "gcp"
|
|
91
91
|
Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
92
|
-
Requires-Dist: google-generativeai; extra == "gcp"
|
|
93
|
-
Requires-Dist: langchain-google-genai; extra == "gcp"
|
|
94
|
-
Requires-Dist: langchain_google_alloydb_pg; extra == "gcp"
|
|
92
|
+
Requires-Dist: google-generativeai>=0.4.1; extra == "gcp"
|
|
93
|
+
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
94
|
+
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
95
95
|
Requires-Dist: google-api-python-client; extra == "gcp"
|
|
96
96
|
Requires-Dist: google-cloud-alloydb-connector[pg8000]; extra == "gcp"
|
|
97
97
|
Provides-Extra: openai
|
|
98
98
|
Requires-Dist: langchain-openai; extra == "openai"
|
|
99
99
|
Requires-Dist: tiktoken; extra == "openai"
|
|
100
100
|
Provides-Extra: anthropic
|
|
101
|
-
Requires-Dist: langchain-anthropic; extra == "anthropic"
|
|
101
|
+
Requires-Dist: langchain-anthropic>=0.1.13; extra == "anthropic"
|
|
102
102
|
Provides-Extra: http
|
|
103
103
|
Requires-Dist: fastapi; extra == "http"
|
|
104
104
|
Requires-Dist: flask; extra == "http"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
google-auth
|
|
2
2
|
ruamel.yaml
|
|
3
3
|
langchain>=0.2.5
|
|
4
|
-
langchain_experimental
|
|
4
|
+
langchain_experimental>0.0.60
|
|
5
5
|
langchain-community
|
|
6
6
|
|
|
7
7
|
[all]
|
|
@@ -33,7 +33,7 @@ langchain-community
|
|
|
33
33
|
langchain-openai
|
|
34
34
|
langchain-google-genai
|
|
35
35
|
langchain_google_alloydb_pg
|
|
36
|
-
langchain-anthropic
|
|
36
|
+
langchain-anthropic>=0.1.13
|
|
37
37
|
langfuse
|
|
38
38
|
pg8000
|
|
39
39
|
pgvector
|
|
@@ -45,10 +45,10 @@ supabase
|
|
|
45
45
|
tiktoken
|
|
46
46
|
|
|
47
47
|
[anthropic]
|
|
48
|
-
langchain-anthropic
|
|
48
|
+
langchain-anthropic>=0.1.13
|
|
49
49
|
|
|
50
50
|
[cli]
|
|
51
|
-
jsonschema
|
|
51
|
+
jsonschema>=4.21.1
|
|
52
52
|
rich
|
|
53
53
|
|
|
54
54
|
[database]
|
|
@@ -71,9 +71,9 @@ google-cloud-storage
|
|
|
71
71
|
google-cloud-logging
|
|
72
72
|
google-cloud-pubsub
|
|
73
73
|
google-cloud-discoveryengine
|
|
74
|
-
google-generativeai
|
|
75
|
-
langchain-google-genai
|
|
76
|
-
langchain_google_alloydb_pg
|
|
74
|
+
google-generativeai>=0.4.1
|
|
75
|
+
langchain-google-genai>=1.0.5
|
|
76
|
+
langchain_google_alloydb_pg>=0.2.2
|
|
77
77
|
google-api-python-client
|
|
78
78
|
google-cloud-alloydb-connector[pg8000]
|
|
79
79
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|