sunholo 0.56.6__tar.gz → 0.56.7__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.56.6 → sunholo-0.56.7}/PKG-INFO +2 -2
- {sunholo-0.56.6 → sunholo-0.56.7}/setup.py +1 -1
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/components/vectorstore.py +2 -1
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/langfuse/prompts.py +2 -6
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/PKG-INFO +2 -2
- {sunholo-0.56.6 → sunholo-0.56.7}/LICENSE.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/MANIFEST.in +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/README.md +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/setup.cfg +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/chat_history.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/dispatch_to_qa.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/fastapi/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/fastapi/base.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/fastapi/qna_routes.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/flask/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/flask/base.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/flask/qna_routes.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/langserve.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/pubsub.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/route.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/special_commands.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/agents/test_chat_history.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/archive/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/archive/archive.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/auth/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/auth/run.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/bots/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/bots/discord.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/bots/webapp.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/data_to_embed_pubsub.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/doc_handling.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/images.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/loaders.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/message_data.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/pdfs.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/publish.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/chunker/splitter.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/cli/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/cli/cli.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/components/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/components/llm.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/components/prompt.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/components/retriever.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/alloydb.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/database.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/lancedb.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/create_function.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/create_function_time.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/create_table.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/delete_source_row.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/return_sources.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/sql/sb/setup.sql +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/static_dbs.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/database/uuid.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/embedder/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/embedder/embed_chunk.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/gcs/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/gcs/add_file.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/gcs/download_url.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/gcs/metadata.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/langfuse/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/langfuse/callback.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/llamaindex/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/llamaindex/generate.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/llamaindex/import_files.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/logging.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/lookup/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/lookup/model_lookup.yaml +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/patches/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/patches/langchain/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/patches/langchain/lancedb.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/patches/langchain/vertexai.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/pubsub/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/pubsub/process_pubsub.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/pubsub/pubsub_manager.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/qna/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/qna/parsers.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/qna/retry.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/streaming/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/streaming/content_buffer.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/streaming/langserve.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/streaming/streaming.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/summarise/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/summarise/summarise.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/utils/__init__.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/utils/config.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/utils/gcp.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo/utils/parsers.py +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/SOURCES.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/dependency_links.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/entry_points.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/requires.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/sunholo.egg-info/top_level.txt +0 -0
- {sunholo-0.56.6 → sunholo-0.56.7}/test/test_dispatch_to_qa.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.56.
|
|
3
|
+
Version: 0.56.7
|
|
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.56.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.56.7.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -19,7 +19,8 @@ def pick_vectorstore(vs_str, vector_name, embeddings):
|
|
|
19
19
|
|
|
20
20
|
if vs_str == 'supabase':
|
|
21
21
|
from supabase import Client, create_client
|
|
22
|
-
from
|
|
22
|
+
from langchain_community.vectorstores import SupabaseVectorStore
|
|
23
|
+
|
|
23
24
|
from ..database.database import setup_supabase
|
|
24
25
|
|
|
25
26
|
log.debug(f"Initiating Supabase store: {vector_name}")
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
from ..logging import log
|
|
2
2
|
from ..utils import load_config_key
|
|
3
|
-
import yaml
|
|
4
3
|
|
|
5
4
|
# Load the YAML file
|
|
6
5
|
def load_prompt_from_yaml(key, prefix="sunholo", file_path=None):
|
|
@@ -20,9 +19,6 @@ def load_prompt_from_yaml(key, prefix="sunholo", file_path=None):
|
|
|
20
19
|
return langfuse_prompt.get_langchain_prompt()
|
|
21
20
|
|
|
22
21
|
except Exception as err:
|
|
23
|
-
|
|
24
|
-
log.error(f"Could not fine langfuse template {langfuse_template} and no file_path was provided {str(err)}")
|
|
25
|
-
raise
|
|
26
|
-
log.warning(f"Could not find langfuse template: {langfuse_template} - {str(err)} - attempting to load from {file_path}")
|
|
22
|
+
log.warning(f"Could not find langfuse template: {langfuse_template} - {str(err)} - attempting to load from promptConfig")
|
|
27
23
|
|
|
28
|
-
return load_config_key(key, vector_name=prefix,
|
|
24
|
+
return load_config_key(key, vector_name=prefix, kind="promptConfig")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.56.
|
|
3
|
+
Version: 0.56.7
|
|
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.56.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.56.7.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|