sunholo 0.78.2__py3-none-any.whl → 0.78.4__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.
- sunholo/database/uuid.py +1 -1
- sunholo/embedder/embed_chunk.py +1 -1
- sunholo/gcs/add_file.py +1 -1
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/METADATA +2 -2
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/RECORD +9 -9
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/WHEEL +0 -0
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/entry_points.txt +0 -0
- {sunholo-0.78.2.dist-info → sunholo-0.78.4.dist-info}/top_level.txt +0 -0
sunholo/database/uuid.py
CHANGED
|
@@ -3,4 +3,4 @@ import uuid
|
|
|
3
3
|
def generate_uuid_from_object_id(object_id):
|
|
4
4
|
# UUID namespace for example purposes; in a real application, you might choose a fixed namespace
|
|
5
5
|
namespace = uuid.NAMESPACE_URL
|
|
6
|
-
return uuid.uuid5(namespace, object_id)
|
|
6
|
+
return str(uuid.uuid5(namespace, object_id))
|
sunholo/embedder/embed_chunk.py
CHANGED
|
@@ -95,7 +95,7 @@ def embed_pubsub_chunk(data: dict):
|
|
|
95
95
|
doc_id = generate_uuid_from_object_id(metadata["url"])
|
|
96
96
|
else:
|
|
97
97
|
log.warning(f"Could not derive a uuid - creating random uuid for {metadata}")
|
|
98
|
-
doc_id = uuid.uuid4()
|
|
98
|
+
doc_id = str(uuid.uuid4())
|
|
99
99
|
else:
|
|
100
100
|
doc_id = metadata["doc_id"]
|
|
101
101
|
|
sunholo/gcs/add_file.py
CHANGED
|
@@ -46,7 +46,7 @@ def handle_base64_image(base64_data: str, vector_name: str, extension: str):
|
|
|
46
46
|
header, encoded = base64_data.split(",", 1)
|
|
47
47
|
data = base64.b64decode(encoded)
|
|
48
48
|
|
|
49
|
-
filename = f"{uuid.uuid4()}{extension}"
|
|
49
|
+
filename = f"{str(uuid.uuid4())}{extension}"
|
|
50
50
|
with open(filename, "wb") as f:
|
|
51
51
|
f.write(data)
|
|
52
52
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.78.
|
|
3
|
+
Version: 0.78.4
|
|
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.78.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.78.4.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -63,7 +63,7 @@ sunholo/database/alloydb_client.py,sha256=AYA0SSaBy-1XEfeZI97sMGehfrwnfbwZ8sE0ex
|
|
|
63
63
|
sunholo/database/database.py,sha256=UDHkceiEvJmS3esQX2LYEjEMrHcogN_JHuJXoVWCH3M,7354
|
|
64
64
|
sunholo/database/lancedb.py,sha256=2rAbJVusMrm5TPtVTsUtmwn0z1iZ_wvbKhc6eyT6ClE,708
|
|
65
65
|
sunholo/database/static_dbs.py,sha256=aOyU3AJ-Dzz3qSNjbuN2293cfYw5PhkcQuQxdwPMJ4w,435
|
|
66
|
-
sunholo/database/uuid.py,sha256=
|
|
66
|
+
sunholo/database/uuid.py,sha256=I3kR20IkAx0ecT8eBByPXQFEyW4UhOZ0MVHKPYaeCsA,242
|
|
67
67
|
sunholo/database/sql/sb/create_function.sql,sha256=HuDyp3fxS5Etop3gGDy28_AuFuhgEgVcq9-q3oeecPU,1033
|
|
68
68
|
sunholo/database/sql/sb/create_function_time.sql,sha256=iTk6-y20fAIYaT-Uywjp4C70ICh_fl90qQ_p_3ztGrQ,1830
|
|
69
69
|
sunholo/database/sql/sb/create_table.sql,sha256=SbcOrf5tUiVKGUohu1lau7IsbDRbTFbrbOJ-FiPgrwE,291
|
|
@@ -75,9 +75,9 @@ sunholo/discovery_engine/chunker_handler.py,sha256=fDqvXeXr58s6TB75MMIGKKEg42T21
|
|
|
75
75
|
sunholo/discovery_engine/create_new.py,sha256=7oZG78T6lW0EspRzlo7-qRyXFSuFxDn2dfSAVEaqlqY,978
|
|
76
76
|
sunholo/discovery_engine/discovery_engine_client.py,sha256=YYsFeaW41l8jmWCruQnYxJGKEYBZ7dduTBDhdxI63hQ,17719
|
|
77
77
|
sunholo/embedder/__init__.py,sha256=sI4N_CqgEVcrMDxXgxKp1FsfsB4FpjoXgPGkl4N_u4I,44
|
|
78
|
-
sunholo/embedder/embed_chunk.py,sha256=
|
|
78
|
+
sunholo/embedder/embed_chunk.py,sha256=8BJ90tR0_JbCcsVCzrtPdZn6sVys0OhXSxLszlve_ko,6819
|
|
79
79
|
sunholo/gcs/__init__.py,sha256=SZvbsMFDko40sIRHTHppA37IijvJTae54vrhooEF5-4,90
|
|
80
|
-
sunholo/gcs/add_file.py,sha256=
|
|
80
|
+
sunholo/gcs/add_file.py,sha256=m-iQeYAmdXxy2EJ1uMmM3gx-eKbTcNpfsAyRd4sL_hA,7120
|
|
81
81
|
sunholo/gcs/download_folder.py,sha256=mfntDA3Gl-7quMK9_eSTWvUOY1330jF--1cb62C0K1E,1607
|
|
82
82
|
sunholo/gcs/download_url.py,sha256=iCIPESi2viQ-TcCINpbJXxUt7XJFFpF0KiVgSA6zFis,5228
|
|
83
83
|
sunholo/gcs/metadata.py,sha256=C9sMPsHsq1ETetdQCqB3EBs3Kws8b8QHS9L7ei_v5aw,891
|
|
@@ -132,9 +132,9 @@ sunholo/vertex/init.py,sha256=uyg76EqS39jWJ2gxMqXOLWP6MQ2hc81wFdwgG86ZoCM,2868
|
|
|
132
132
|
sunholo/vertex/memory_tools.py,sha256=pomHrDKqvY8MZxfUqoEwhdlpCvSGP6KmFJMVKOimXjs,6842
|
|
133
133
|
sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
|
|
134
134
|
sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
|
|
135
|
-
sunholo-0.78.
|
|
136
|
-
sunholo-0.78.
|
|
137
|
-
sunholo-0.78.
|
|
138
|
-
sunholo-0.78.
|
|
139
|
-
sunholo-0.78.
|
|
140
|
-
sunholo-0.78.
|
|
135
|
+
sunholo-0.78.4.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
136
|
+
sunholo-0.78.4.dist-info/METADATA,sha256=Ic8NbVh3Y5f0OZxVu18aB9QaI5PcIamIG3DDPzH6_6o,7348
|
|
137
|
+
sunholo-0.78.4.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
138
|
+
sunholo-0.78.4.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
139
|
+
sunholo-0.78.4.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
140
|
+
sunholo-0.78.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|