sunholo 0.77.1__tar.gz → 0.77.2__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.77.1 → sunholo-0.77.2}/PKG-INFO +4 -2
- {sunholo-0.77.1 → sunholo-0.77.2}/setup.py +3 -1
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/components/llm.py +19 -10
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/invoke/invoke_vac_utils.py +3 -2
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/extensions_call.py +1 -1
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/PKG-INFO +4 -2
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/requires.txt +2 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/LICENSE.txt +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/MANIFEST.in +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/README.md +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/setup.cfg +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/chat_history.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/dispatch_to_qa.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/fastapi/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/fastapi/base.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/fastapi/qna_routes.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/flask/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/flask/base.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/flask/qna_routes.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/flask/vac_routes.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/langserve.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/pubsub.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/route.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/special_commands.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/agents/swagger.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/archive/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/archive/archive.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/auth/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/auth/gcloud.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/auth/refresh.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/auth/run.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/azure/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/azure/event_grid.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/bots/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/bots/discord.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/bots/github_webhook.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/bots/webapp.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/azure.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/doc_handling.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/images.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/loaders.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/message_data.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/pdfs.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/process_chunker_data.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/publish.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/pubsub.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/chunker/splitter.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/chat_vac.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/cli.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/cli_init.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/configs.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/deploy.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/embedder.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/merge_texts.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/run_proxy.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/sun_rich.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/swagger.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/cli/vertex.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/components/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/components/retriever.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/components/vectorstore.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/alloydb.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/alloydb_client.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/database.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/lancedb.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/create_function.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/create_function_time.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/create_table.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/delete_source_row.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/return_sources.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/sql/sb/setup.sql +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/static_dbs.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/database/uuid.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/discovery_engine/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/discovery_engine/chunker_handler.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/discovery_engine/create_new.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/discovery_engine/discovery_engine_client.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/embedder/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/embedder/embed_chunk.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/gcs/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/gcs/add_file.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/gcs/download_folder.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/gcs/download_url.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/gcs/metadata.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/invoke/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/langfuse/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/langfuse/callback.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/langfuse/prompts.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/llamaindex/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/llamaindex/generate.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/llamaindex/get_files.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/llamaindex/import_files.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/logging.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/lookup/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/lookup/model_lookup.yaml +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/patches/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/patches/langchain/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/patches/langchain/lancedb.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/patches/langchain/vertexai.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/pubsub/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/pubsub/process_pubsub.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/pubsub/pubsub_manager.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/qna/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/qna/parsers.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/qna/retry.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/streaming/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/streaming/content_buffer.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/streaming/langserve.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/streaming/stream_lookup.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/streaming/streaming.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/summarise/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/summarise/summarise.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/tools/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/tools/web_browser.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/api_key.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/big_context.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/config.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/config_class.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/config_schema.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/gcp.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/gcp_project.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/parsers.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/timedelta.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/user_ids.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/utils/version.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/__init__.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/extensions_class.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/genai_functions.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/init.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/memory_tools.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/safety.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo/vertex/type_dict_to_json.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/SOURCES.txt +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/dependency_links.txt +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/entry_points.txt +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/sunholo.egg-info/top_level.txt +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/tests/test_chat_history.py +0 -0
- {sunholo-0.77.1 → sunholo-0.77.2}/tests/test_config.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.77.
|
|
3
|
+
Version: 0.77.2
|
|
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.77.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.77.2.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -54,6 +54,7 @@ Requires-Dist: langchain-openai; extra == "all"
|
|
|
54
54
|
Requires-Dist: langchain-google-genai; extra == "all"
|
|
55
55
|
Requires-Dist: langchain_google_alloydb_pg; extra == "all"
|
|
56
56
|
Requires-Dist: langchain-anthropic>=0.1.13; extra == "all"
|
|
57
|
+
Requires-Dist: langchain-google-vertexai; extra == "all"
|
|
57
58
|
Requires-Dist: langfuse; extra == "all"
|
|
58
59
|
Requires-Dist: pg8000; extra == "all"
|
|
59
60
|
Requires-Dist: pgvector; extra == "all"
|
|
@@ -108,6 +109,7 @@ Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
|
108
109
|
Requires-Dist: google-generativeai>=0.7.1; extra == "gcp"
|
|
109
110
|
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
110
111
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
112
|
+
Requires-Dist: langchain-google-vertexai; extra == "gcp"
|
|
111
113
|
Requires-Dist: pillow; extra == "gcp"
|
|
112
114
|
Provides-Extra: openai
|
|
113
115
|
Requires-Dist: langchain-openai; extra == "openai"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
|
|
3
3
|
# Define your base version
|
|
4
|
-
version = '0.77.
|
|
4
|
+
version = '0.77.2'
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='sunholo',
|
|
@@ -69,6 +69,7 @@ setup(
|
|
|
69
69
|
"langchain-google-genai",
|
|
70
70
|
"langchain_google_alloydb_pg",
|
|
71
71
|
"langchain-anthropic>=0.1.13",
|
|
72
|
+
"langchain-google-vertexai",
|
|
72
73
|
"langfuse",
|
|
73
74
|
"pg8000",
|
|
74
75
|
"pgvector",
|
|
@@ -129,6 +130,7 @@ setup(
|
|
|
129
130
|
"google-generativeai>=0.7.1",
|
|
130
131
|
"langchain-google-genai>=1.0.5",
|
|
131
132
|
"langchain_google_alloydb_pg>=0.2.2",
|
|
133
|
+
"langchain-google-vertexai",
|
|
132
134
|
"pillow",
|
|
133
135
|
|
|
134
136
|
],
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
from ..logging import log
|
|
15
|
-
from ..utils
|
|
15
|
+
from ..utils import load_config_key, ConfigManager
|
|
16
16
|
|
|
17
17
|
import os
|
|
18
18
|
|
|
@@ -57,7 +57,14 @@ def pick_streaming(vector_name):
|
|
|
57
57
|
return False
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
def llm_str_to_llm(llm_str, model=None, vector_name=None):
|
|
60
|
+
def llm_str_to_llm(llm_str, model=None, vector_name=None, config=None):
|
|
61
|
+
|
|
62
|
+
if llm_str is None:
|
|
63
|
+
raise NotImplementedError("llm_str was None")
|
|
64
|
+
|
|
65
|
+
if vector_name:
|
|
66
|
+
config = ConfigManager(vector_name)
|
|
67
|
+
|
|
61
68
|
if llm_str == 'openai':
|
|
62
69
|
# Setup for OpenAI LLM
|
|
63
70
|
from langchain_openai import ChatOpenAI
|
|
@@ -70,7 +77,7 @@ def llm_str_to_llm(llm_str, model=None, vector_name=None):
|
|
|
70
77
|
|
|
71
78
|
elif llm_str == 'vertex':
|
|
72
79
|
# Setup for Vertex LLM
|
|
73
|
-
from
|
|
80
|
+
from langchain_google_vertexai import VertexAI
|
|
74
81
|
if model is None:
|
|
75
82
|
model = 'text-unicorn'
|
|
76
83
|
log.info(f"No 'model' value in config file - selecting default {model}")
|
|
@@ -79,7 +86,7 @@ def llm_str_to_llm(llm_str, model=None, vector_name=None):
|
|
|
79
86
|
|
|
80
87
|
elif llm_str == 'model_garden':
|
|
81
88
|
from ..patches.langchain.vertexai import VertexAIModelGarden
|
|
82
|
-
model_garden_config =
|
|
89
|
+
model_garden_config = config.vacConfig("gcp_config")
|
|
83
90
|
if model_garden_config is None:
|
|
84
91
|
raise ValueError("llm='model_garden' requires a gcp_config entry in config yaml file")
|
|
85
92
|
|
|
@@ -97,16 +104,18 @@ def llm_str_to_llm(llm_str, model=None, vector_name=None):
|
|
|
97
104
|
if llm_str is None:
|
|
98
105
|
raise NotImplementedError(f'No llm implemented for {llm_str}')
|
|
99
106
|
|
|
100
|
-
def get_llm(vector_name, model=None):
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
107
|
+
def get_llm(vector_name=None, model=None, config=None):
|
|
108
|
+
|
|
109
|
+
if vector_name:
|
|
110
|
+
config = ConfigManager(vector_name)
|
|
111
|
+
|
|
112
|
+
llm_str = config.vacConfig("llm")
|
|
104
113
|
|
|
105
114
|
if not model:
|
|
106
|
-
model =
|
|
115
|
+
model = config.vacConfig("model")
|
|
107
116
|
|
|
108
117
|
log.debug(f"Chose LLM: {llm_str}")
|
|
109
|
-
return llm_str_to_llm(llm_str, model=model,
|
|
118
|
+
return llm_str_to_llm(llm_str, model=model, config=config)
|
|
110
119
|
|
|
111
120
|
def get_llm_chat(vector_name, model=None):
|
|
112
121
|
llm_str = load_config_key("llm", vector_name, kind="vacConfig")
|
|
@@ -21,7 +21,7 @@ def invoke_vac_qa(vac_input: dict, vac_name: str, chat_history=[], stream=False)
|
|
|
21
21
|
image_uri = vac_input.get('image_url') or vac_input.get('image_uri')
|
|
22
22
|
|
|
23
23
|
if not stream:
|
|
24
|
-
log.
|
|
24
|
+
log.warning(f'Batch invoke_vac_qa with {vac_input=}')
|
|
25
25
|
vac_response = send_to_qa(
|
|
26
26
|
vac_input["user_input"],
|
|
27
27
|
vector_name=vac_name,
|
|
@@ -40,7 +40,8 @@ def invoke_vac_qa(vac_input: dict, vac_name: str, chat_history=[], stream=False)
|
|
|
40
40
|
},
|
|
41
41
|
user_id=user_id,
|
|
42
42
|
session_id=session_id,
|
|
43
|
-
message_source="sunholo.invoke_vac_qa.invoke"
|
|
43
|
+
message_source="sunholo.invoke_vac_qa.invoke",
|
|
44
|
+
stream=False)
|
|
44
45
|
|
|
45
46
|
# ensures {'answer': answer}
|
|
46
47
|
answer = parse_output(vac_response)
|
|
@@ -10,7 +10,7 @@ def dynamic_extension_call(question, config:ConfigManager, project_id:str=None,
|
|
|
10
10
|
|
|
11
11
|
extensions = config.vacConfig('extensions')
|
|
12
12
|
if not extensions:
|
|
13
|
-
log.warning("No extensions founded for vac: {
|
|
13
|
+
log.warning(f"No extensions founded for vac: {ConfigManager.vector_name}")
|
|
14
14
|
|
|
15
15
|
return None
|
|
16
16
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.77.
|
|
3
|
+
Version: 0.77.2
|
|
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.77.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.77.2.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -54,6 +54,7 @@ Requires-Dist: langchain-openai; extra == "all"
|
|
|
54
54
|
Requires-Dist: langchain-google-genai; extra == "all"
|
|
55
55
|
Requires-Dist: langchain_google_alloydb_pg; extra == "all"
|
|
56
56
|
Requires-Dist: langchain-anthropic>=0.1.13; extra == "all"
|
|
57
|
+
Requires-Dist: langchain-google-vertexai; extra == "all"
|
|
57
58
|
Requires-Dist: langfuse; extra == "all"
|
|
58
59
|
Requires-Dist: pg8000; extra == "all"
|
|
59
60
|
Requires-Dist: pgvector; extra == "all"
|
|
@@ -108,6 +109,7 @@ Requires-Dist: google-cloud-discoveryengine; extra == "gcp"
|
|
|
108
109
|
Requires-Dist: google-generativeai>=0.7.1; extra == "gcp"
|
|
109
110
|
Requires-Dist: langchain-google-genai>=1.0.5; extra == "gcp"
|
|
110
111
|
Requires-Dist: langchain_google_alloydb_pg>=0.2.2; extra == "gcp"
|
|
112
|
+
Requires-Dist: langchain-google-vertexai; extra == "gcp"
|
|
111
113
|
Requires-Dist: pillow; extra == "gcp"
|
|
112
114
|
Provides-Extra: openai
|
|
113
115
|
Requires-Dist: langchain-openai; extra == "openai"
|
|
@@ -35,6 +35,7 @@ langchain-openai
|
|
|
35
35
|
langchain-google-genai
|
|
36
36
|
langchain_google_alloydb_pg
|
|
37
37
|
langchain-anthropic>=0.1.13
|
|
38
|
+
langchain-google-vertexai
|
|
38
39
|
langfuse
|
|
39
40
|
pg8000
|
|
40
41
|
pgvector
|
|
@@ -88,6 +89,7 @@ google-cloud-discoveryengine
|
|
|
88
89
|
google-generativeai>=0.7.1
|
|
89
90
|
langchain-google-genai>=1.0.5
|
|
90
91
|
langchain_google_alloydb_pg>=0.2.2
|
|
92
|
+
langchain-google-vertexai
|
|
91
93
|
pillow
|
|
92
94
|
|
|
93
95
|
[http]
|
|
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
|
|
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
|