sunholo 0.71.13__tar.gz → 0.71.15__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.71.13 → sunholo-0.71.15}/PKG-INFO +4 -4
- {sunholo-0.71.13 → sunholo-0.71.15}/setup.py +3 -3
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/__init__.py +1 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/extensions_class.py +43 -11
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/init.py +5 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/PKG-INFO +4 -4
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/requires.txt +2 -2
- {sunholo-0.71.13 → sunholo-0.71.15}/LICENSE.txt +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/MANIFEST.in +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/README.md +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/setup.cfg +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/chat_history.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/dispatch_to_qa.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/fastapi/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/fastapi/base.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/fastapi/qna_routes.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/flask/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/flask/base.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/flask/qna_routes.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/flask/vac_routes.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/langserve.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/pubsub.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/route.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/special_commands.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/agents/swagger.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/archive/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/archive/archive.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/auth/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/auth/run.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/bots/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/bots/discord.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/bots/github_webhook.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/bots/webapp.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/data_to_embed_pubsub.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/doc_handling.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/images.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/loaders.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/message_data.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/pdfs.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/publish.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/chunker/splitter.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/chat_vac.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/cli.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/cli_init.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/configs.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/deploy.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/embedder.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/merge_texts.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/run_proxy.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/sun_rich.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/cli/swagger.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/components/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/components/llm.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/components/retriever.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/components/vectorstore.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/alloydb.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/alloydb_client.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/database.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/lancedb.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/create_function.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/create_function_time.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/create_table.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/delete_source_row.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/return_sources.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/sql/sb/setup.sql +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/static_dbs.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/database/uuid.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/discovery_engine/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/discovery_engine/chunker_handler.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/discovery_engine/create_new.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/discovery_engine/discovery_engine_client.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/embedder/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/embedder/embed_chunk.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/gcs/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/gcs/add_file.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/gcs/download_url.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/gcs/metadata.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/langfuse/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/langfuse/callback.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/langfuse/prompts.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/llamaindex/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/llamaindex/generate.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/llamaindex/get_files.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/llamaindex/import_files.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/logging.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/lookup/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/lookup/model_lookup.yaml +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/patches/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/patches/langchain/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/patches/langchain/lancedb.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/patches/langchain/vertexai.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/pubsub/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/pubsub/process_pubsub.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/pubsub/pubsub_manager.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/qna/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/qna/parsers.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/qna/retry.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/streaming/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/streaming/content_buffer.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/streaming/langserve.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/streaming/stream_lookup.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/streaming/streaming.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/summarise/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/summarise/summarise.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/tools/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/tools/web_browser.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/__init__.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/api_key.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/big_context.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/config.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/config_schema.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/gcp.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/gcp_project.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/parsers.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/timedelta.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/user_ids.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/utils/version.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/extensions.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/memory_tools.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo/vertex/safety.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/SOURCES.txt +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/dependency_links.txt +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/entry_points.txt +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/sunholo.egg-info/top_level.txt +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/tests/test_chat_history.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/tests/test_chunker.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/tests/test_config.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/tests/test_dispatch_to_qa.py +0 -0
- {sunholo-0.71.13 → sunholo-0.71.15}/tests/test_swagger.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.71.
|
|
3
|
+
Version: 0.71.15
|
|
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.71.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.71.15.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -40,7 +40,7 @@ Requires-Dist: google-cloud-logging; extra == "all"
|
|
|
40
40
|
Requires-Dist: google-cloud-storage; extra == "all"
|
|
41
41
|
Requires-Dist: google-cloud-pubsub; extra == "all"
|
|
42
42
|
Requires-Dist: google-cloud-discoveryengine; extra == "all"
|
|
43
|
-
Requires-Dist: google-generativeai; extra == "all"
|
|
43
|
+
Requires-Dist: google-generativeai>=0.7.1; extra == "all"
|
|
44
44
|
Requires-Dist: gunicorn; extra == "all"
|
|
45
45
|
Requires-Dist: httpcore; extra == "all"
|
|
46
46
|
Requires-Dist: httpx; extra == "all"
|
|
@@ -97,7 +97,7 @@ Requires-Dist: google-cloud-storage; extra == "gcp"
|
|
|
97
97
|
Requires-Dist: google-cloud-logging; extra == "gcp"
|
|
98
98
|
Requires-Dist: google-cloud-pubsub; extra == "gcp"
|
|
99
99
|
Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
100
|
-
Requires-Dist: google-generativeai>=0.
|
|
100
|
+
Requires-Dist: google-generativeai>=0.7.1; extra == "gcp"
|
|
101
101
|
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
102
102
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
103
103
|
Requires-Dist: google-api-python-client; extra == "gcp"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
3
|
# Define your base version
|
|
4
|
-
version = '0.71.
|
|
4
|
+
version = '0.71.15'
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='sunholo',
|
|
@@ -55,7 +55,7 @@ setup(
|
|
|
55
55
|
"google-cloud-storage",
|
|
56
56
|
"google-cloud-pubsub",
|
|
57
57
|
"google-cloud-discoveryengine",
|
|
58
|
-
"google-generativeai",
|
|
58
|
+
"google-generativeai>=0.7.1",
|
|
59
59
|
"gunicorn",
|
|
60
60
|
"httpcore",
|
|
61
61
|
"httpx",
|
|
@@ -117,7 +117,7 @@ setup(
|
|
|
117
117
|
"google-cloud-logging",
|
|
118
118
|
"google-cloud-pubsub",
|
|
119
119
|
"google-cloud-discoveryengine",
|
|
120
|
-
"google-generativeai>=0.
|
|
120
|
+
"google-generativeai>=0.7.1",
|
|
121
121
|
"langchain-google-genai>=1.0.5",
|
|
122
122
|
"langchain_google_alloydb_pg>=0.2.2",
|
|
123
123
|
"google-api-python-client",
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
try:
|
|
2
|
+
from vertexai.preview import extensions
|
|
3
|
+
except ImportError:
|
|
4
|
+
extensions = None
|
|
5
|
+
|
|
2
6
|
from .init import init_vertex
|
|
3
7
|
from ..logging import log
|
|
4
8
|
from ..utils.gcp_project import get_gcp_project
|
|
@@ -9,6 +13,9 @@ from io import StringIO
|
|
|
9
13
|
|
|
10
14
|
class VertexAIExtensions:
|
|
11
15
|
def __init__(self):
|
|
16
|
+
if extensions is None:
|
|
17
|
+
raise ImportError("VertexAIExtensions needs vertexai.previewextensions to be installed. Install via `pip install sunholo[gcp]`")
|
|
18
|
+
|
|
12
19
|
self.CODE_INTERPRETER_WRITTEN_FILES = []
|
|
13
20
|
self.css_styles = """
|
|
14
21
|
<style>
|
|
@@ -21,6 +28,20 @@ class VertexAIExtensions:
|
|
|
21
28
|
self.IMAGE_FILE_EXTENSIONS = set(["jpg", "jpeg", "png"])
|
|
22
29
|
self.location = "us-central1"
|
|
23
30
|
|
|
31
|
+
def list_extensions(self):
|
|
32
|
+
the_list = extensions.Extension.list()
|
|
33
|
+
|
|
34
|
+
extensions_list = []
|
|
35
|
+
for ext in the_list:
|
|
36
|
+
extensions_list.append({
|
|
37
|
+
"resource_name": getattr(ext, 'resource_name', ''),
|
|
38
|
+
"display_name": getattr(ext, 'display_name', 'N/A'),
|
|
39
|
+
"description": getattr(ext, 'description', 'N/A')
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
return extensions_list
|
|
43
|
+
|
|
44
|
+
|
|
24
45
|
def get_extension_import_config(self, display_name: str, description: str,
|
|
25
46
|
api_spec_gcs: dict, service_account_name: dict, tool_use_examples: list):
|
|
26
47
|
tool_use_examples = [
|
|
@@ -118,8 +139,19 @@ class VertexAIExtensions:
|
|
|
118
139
|
def execute_code_extension(self, query: str, filenames: list[str] = None, gcs_files: list[str] = None):
|
|
119
140
|
if filenames and gcs_files:
|
|
120
141
|
raise ValueError("Can't specify both filenames and gcs_files")
|
|
142
|
+
|
|
143
|
+
listed_extensions = self.list_extensions()
|
|
144
|
+
code_interpreter_exists = False
|
|
145
|
+
for ext in listed_extensions:
|
|
146
|
+
if ext.get('display_name') == 'Code Interpreter':
|
|
147
|
+
code_interpreter_exists = True
|
|
148
|
+
extension_code_interpreter = extensions.Extension(ext['resource_name'])
|
|
149
|
+
break
|
|
121
150
|
|
|
122
|
-
|
|
151
|
+
if not code_interpreter_exists:
|
|
152
|
+
extension_code_interpreter = extensions.Extension.from_hub("code_interpreter")
|
|
153
|
+
|
|
154
|
+
operation_params = {"query": query}
|
|
123
155
|
|
|
124
156
|
file_arr = None
|
|
125
157
|
if filenames:
|
|
@@ -130,14 +162,14 @@ class VertexAIExtensions:
|
|
|
130
162
|
}
|
|
131
163
|
for filename in filenames
|
|
132
164
|
]
|
|
133
|
-
|
|
165
|
+
operation_params["files"] = file_arr
|
|
166
|
+
|
|
167
|
+
if gcs_files:
|
|
168
|
+
operation_params["file_gcs_uris"] = gcs_files
|
|
169
|
+
|
|
134
170
|
response = extension_code_interpreter.execute(
|
|
135
171
|
operation_id="generate_and_execute",
|
|
136
|
-
operation_params=
|
|
137
|
-
"query": query,
|
|
138
|
-
"files": file_arr,
|
|
139
|
-
"file_gcs_uris": gcs_files
|
|
140
|
-
})
|
|
172
|
+
operation_params=operation_params)
|
|
141
173
|
|
|
142
174
|
self.CODE_INTERPRETER_WRITTEN_FILES.extend(
|
|
143
175
|
[item['name'] for item in response['output_files']])
|
|
@@ -195,7 +227,7 @@ class VertexAIExtensions:
|
|
|
195
227
|
buffer_html = [details_tml.format(**_file) for _file in file_list]
|
|
196
228
|
return "".join(buffer_html)
|
|
197
229
|
|
|
198
|
-
def process_response(self, response: dict,
|
|
230
|
+
def process_response(self, response: dict, save_file_name=None) -> str:
|
|
199
231
|
result_template = """
|
|
200
232
|
<details open>
|
|
201
233
|
<summary class='main_summary'>{summary}:</summary>
|
|
@@ -234,8 +266,8 @@ class VertexAIExtensions:
|
|
|
234
266
|
{result}
|
|
235
267
|
</div>
|
|
236
268
|
"""
|
|
237
|
-
if
|
|
238
|
-
with open('code_execution_results.html', 'w') as file:
|
|
269
|
+
if save_file_name:
|
|
270
|
+
with open(save_file_name or 'code_execution_results.html', 'w') as file:
|
|
239
271
|
file.write(html_content)
|
|
240
272
|
|
|
241
273
|
return html_content
|
|
@@ -3,6 +3,11 @@ from ..utils.gcp_project import get_gcp_project
|
|
|
3
3
|
import os
|
|
4
4
|
|
|
5
5
|
def init_genai():
|
|
6
|
+
"""
|
|
7
|
+
There are some features that come to the google.generativeai first,
|
|
8
|
+
which needs to be authenticated via a GOOGLE_API_KEY environment variable,
|
|
9
|
+
created via the Google AI Console at https://aistudio.google.com/app/apikey
|
|
10
|
+
"""
|
|
6
11
|
try:
|
|
7
12
|
import google.generativeai as genai
|
|
8
13
|
except ImportError:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.71.
|
|
3
|
+
Version: 0.71.15
|
|
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.71.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.71.15.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -40,7 +40,7 @@ Requires-Dist: google-cloud-logging; extra == "all"
|
|
|
40
40
|
Requires-Dist: google-cloud-storage; extra == "all"
|
|
41
41
|
Requires-Dist: google-cloud-pubsub; extra == "all"
|
|
42
42
|
Requires-Dist: google-cloud-discoveryengine; extra == "all"
|
|
43
|
-
Requires-Dist: google-generativeai; extra == "all"
|
|
43
|
+
Requires-Dist: google-generativeai>=0.7.1; extra == "all"
|
|
44
44
|
Requires-Dist: gunicorn; extra == "all"
|
|
45
45
|
Requires-Dist: httpcore; extra == "all"
|
|
46
46
|
Requires-Dist: httpx; extra == "all"
|
|
@@ -97,7 +97,7 @@ Requires-Dist: google-cloud-storage; extra == "gcp"
|
|
|
97
97
|
Requires-Dist: google-cloud-logging; extra == "gcp"
|
|
98
98
|
Requires-Dist: google-cloud-pubsub; extra == "gcp"
|
|
99
99
|
Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
100
|
-
Requires-Dist: google-generativeai>=0.
|
|
100
|
+
Requires-Dist: google-generativeai>=0.7.1; extra == "gcp"
|
|
101
101
|
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
102
102
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
103
103
|
Requires-Dist: google-api-python-client; extra == "gcp"
|
|
@@ -21,7 +21,7 @@ google-cloud-logging
|
|
|
21
21
|
google-cloud-storage
|
|
22
22
|
google-cloud-pubsub
|
|
23
23
|
google-cloud-discoveryengine
|
|
24
|
-
google-generativeai
|
|
24
|
+
google-generativeai>=0.7.1
|
|
25
25
|
gunicorn
|
|
26
26
|
httpcore
|
|
27
27
|
httpx
|
|
@@ -77,7 +77,7 @@ google-cloud-storage
|
|
|
77
77
|
google-cloud-logging
|
|
78
78
|
google-cloud-pubsub
|
|
79
79
|
google-cloud-discoveryengine
|
|
80
|
-
google-generativeai>=0.
|
|
80
|
+
google-generativeai>=0.7.1
|
|
81
81
|
langchain-google-genai>=1.0.5
|
|
82
82
|
langchain_google_alloydb_pg>=0.2.2
|
|
83
83
|
google-api-python-client
|
|
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
|
|
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
|