sunholo 0.78.3__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/embedder/embed_chunk.py +1 -1
- sunholo/gcs/add_file.py +1 -1
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/METADATA +2 -2
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/RECORD +8 -8
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/WHEEL +0 -0
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/entry_points.txt +0 -0
- {sunholo-0.78.3.dist-info → sunholo-0.78.4.dist-info}/top_level.txt +0 -0
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
|
|
@@ -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
|