sunholo 0.67.8__py3-none-any.whl → 0.67.10__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/components/retriever.py +2 -2
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/METADATA +2 -2
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/RECORD +7 -7
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/WHEEL +0 -0
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/entry_points.txt +0 -0
- {sunholo-0.67.8.dist-info → sunholo-0.67.10.dist-info}/top_level.txt +0 -0
sunholo/components/retriever.py
CHANGED
|
@@ -53,7 +53,7 @@ def pick_retriever(vector_name, embeddings=None):
|
|
|
53
53
|
continue
|
|
54
54
|
|
|
55
55
|
embeddings = embeddings or get_embeddings(vector_name)
|
|
56
|
-
read_only = value.get('
|
|
56
|
+
read_only = value.get('read_only')
|
|
57
57
|
vectorstore = pick_vectorstore(vectorstore,
|
|
58
58
|
vector_name=vector_name,
|
|
59
59
|
embeddings=embeddings,
|
|
@@ -103,7 +103,7 @@ def metadata_retriever(metadata: dict, key: str, vector_name:str, embeddings=Non
|
|
|
103
103
|
if key not in metadata:
|
|
104
104
|
raise ValueError(f"Missing {key} in {metadata}")
|
|
105
105
|
the_id = metadata[key]
|
|
106
|
-
read_only = value.get('
|
|
106
|
+
read_only = value.get('read_only')
|
|
107
107
|
embeddings = embeddings or get_embeddings(vector_name)
|
|
108
108
|
vectorstore = pick_vectorstore(vectorstore,
|
|
109
109
|
vector_name=the_id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.67.
|
|
3
|
+
Version: 0.67.10
|
|
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.67.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.67.10.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -44,7 +44,7 @@ sunholo/cli/sun_rich.py,sha256=UpMqeJ0C8i0pkue1AHnnyyX0bFJ9zZeJ7HBR6yhuA8A,54
|
|
|
44
44
|
sunholo/cli/swagger.py,sha256=absYKAU-7Yd2eiVNUY-g_WLl2zJfeRUNdWQ0oH8M_HM,1564
|
|
45
45
|
sunholo/components/__init__.py,sha256=IDoylb74zFKo6NIS3RQqUl0PDFBGVxM1dfUmO7OJ44U,176
|
|
46
46
|
sunholo/components/llm.py,sha256=T4we3tGmqUj4tPwxQr9M6AXv_BALqZV_dRSvINan-oU,10374
|
|
47
|
-
sunholo/components/retriever.py,sha256=
|
|
47
|
+
sunholo/components/retriever.py,sha256=SKb19WxYSdOmy3hAnIai_UnSj-B-Q5S2s7g5xsTAq4g,6149
|
|
48
48
|
sunholo/components/vectorstore.py,sha256=BxtMF_wX8Zrexr67P07OTSJPjucTewmcPM5OQwIXHPM,5630
|
|
49
49
|
sunholo/database/__init__.py,sha256=Zz0Shcq-CtStf9rJGIYB_Ybzb8rY_Q9mfSj-nviM490,241
|
|
50
50
|
sunholo/database/alloydb.py,sha256=UeWbk_DAqivquMGibX_tz8v1Jza9qnf4SWThNBG2Dh4,17327
|
|
@@ -105,9 +105,9 @@ sunholo/vertex/__init__.py,sha256=JvHcGFuv6R_nAhY2AdoqqhMpJ5ugeWPZ_svGhWrObBk,13
|
|
|
105
105
|
sunholo/vertex/init.py,sha256=JDMUaBRdednzbKF-5p33qqLit2LMsvgvWW-NRz0AqO0,1801
|
|
106
106
|
sunholo/vertex/memory_tools.py,sha256=8F1iTWnqEK9mX4W5RzCVKIjydIcNp6OFxjn_dtQ3GXo,5379
|
|
107
107
|
sunholo/vertex/safety.py,sha256=3meAX0HyGZYrH7rXPUAHxtI_3w_zoy_RX7Shtkoa660,1275
|
|
108
|
-
sunholo-0.67.
|
|
109
|
-
sunholo-0.67.
|
|
110
|
-
sunholo-0.67.
|
|
111
|
-
sunholo-0.67.
|
|
112
|
-
sunholo-0.67.
|
|
113
|
-
sunholo-0.67.
|
|
108
|
+
sunholo-0.67.10.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
109
|
+
sunholo-0.67.10.dist-info/METADATA,sha256=N4lheJkc7di64bOevGMEgiA2K5-1DdIxT1ZNx-ie38o,6157
|
|
110
|
+
sunholo-0.67.10.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
|
|
111
|
+
sunholo-0.67.10.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
112
|
+
sunholo-0.67.10.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
113
|
+
sunholo-0.67.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|