sunholo 0.70.2__py3-none-any.whl → 0.70.3__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 +5 -2
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/METADATA +2 -2
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/RECORD +7 -7
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/WHEEL +0 -0
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/entry_points.txt +0 -0
- {sunholo-0.70.2.dist-info → sunholo-0.70.3.dist-info}/top_level.txt +0 -0
sunholo/embedder/embed_chunk.py
CHANGED
|
@@ -142,8 +142,11 @@ def embed_pubsub_chunk(data: dict):
|
|
|
142
142
|
continue
|
|
143
143
|
|
|
144
144
|
vectorstore_obj = pick_vectorstore(vectorstore, vector_name=vector_name, embeddings=embeddings)
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
if vectorstore_obj:
|
|
146
|
+
vs_retriever = vectorstore_obj.as_retriever(search_kwargs=dict(k=3))
|
|
147
|
+
vectorstore_list.append(vs_retriever)
|
|
148
|
+
else:
|
|
149
|
+
log.warning(f"No vectorstore added for {vectorstore}")
|
|
147
150
|
|
|
148
151
|
# can have multiple vectorstores per embed
|
|
149
152
|
metadata_list = []
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.70.
|
|
3
|
+
Version: 0.70.3
|
|
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.70.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.70.3.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -65,7 +65,7 @@ sunholo/discovery_engine/chunker_handler.py,sha256=H1HHDqWMCkchJER1_oU9TOLxqf2Py
|
|
|
65
65
|
sunholo/discovery_engine/create_new.py,sha256=7oZG78T6lW0EspRzlo7-qRyXFSuFxDn2dfSAVEaqlqY,978
|
|
66
66
|
sunholo/discovery_engine/discovery_engine_client.py,sha256=n4euIZjc3pWUYfoFhpvReIzHXnIYO8J9nKC8euKSTgY,14581
|
|
67
67
|
sunholo/embedder/__init__.py,sha256=sI4N_CqgEVcrMDxXgxKp1FsfsB4FpjoXgPGkl4N_u4I,44
|
|
68
|
-
sunholo/embedder/embed_chunk.py,sha256=
|
|
68
|
+
sunholo/embedder/embed_chunk.py,sha256=d_dIzeNF630Q0Ar-u1hxos60s0tLIImJccAvuo_LTIw,6814
|
|
69
69
|
sunholo/gcs/__init__.py,sha256=DtVw_AZwQn-IguR5BJuIi2XJeF_FQXizhJikzRNrXiE,50
|
|
70
70
|
sunholo/gcs/add_file.py,sha256=y2s7ZZBiJD3pu1TqRAy0s1SRGvHvzJqSDaYD-MFFh1c,5717
|
|
71
71
|
sunholo/gcs/download_url.py,sha256=8XSEf8byfubqs5CMQeF_tn9wxqwUTq3n9mo5mLNIUTA,4801
|
|
@@ -112,9 +112,9 @@ sunholo/vertex/extensions.py,sha256=LDeuCp8RcHHACdlYhGyGjMoG5v70132HWA_2u-tzcAo,
|
|
|
112
112
|
sunholo/vertex/init.py,sha256=RLjQppTUwubWgwf2PoAke-EtcwlVkFPaPMYvUsMw1KQ,2029
|
|
113
113
|
sunholo/vertex/memory_tools.py,sha256=l2jNRFLjYpiNJULDZQq5b8fEEaqBQFPM4ehM9NhDHss,5718
|
|
114
114
|
sunholo/vertex/safety.py,sha256=3meAX0HyGZYrH7rXPUAHxtI_3w_zoy_RX7Shtkoa660,1275
|
|
115
|
-
sunholo-0.70.
|
|
116
|
-
sunholo-0.70.
|
|
117
|
-
sunholo-0.70.
|
|
118
|
-
sunholo-0.70.
|
|
119
|
-
sunholo-0.70.
|
|
120
|
-
sunholo-0.70.
|
|
115
|
+
sunholo-0.70.3.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
116
|
+
sunholo-0.70.3.dist-info/METADATA,sha256=12xVzzz1Hz5ODp7fgw3qNJxO7ZJoDkEi_hq5P0FW3Ck,6240
|
|
117
|
+
sunholo-0.70.3.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
|
118
|
+
sunholo-0.70.3.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
119
|
+
sunholo-0.70.3.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
120
|
+
sunholo-0.70.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|