sunholo 0.62.10__py3-none-any.whl → 0.62.12__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/agents/dispatch_to_qa.py +1 -1
- sunholo/utils/config.py +1 -1
- sunholo/vertex/memory_tools.py +1 -1
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/METADATA +2 -2
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/RECORD +9 -9
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/LICENSE.txt +0 -0
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/WHEEL +0 -0
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/entry_points.txt +0 -0
- {sunholo-0.62.10.dist-info → sunholo-0.62.12.dist-info}/top_level.txt +0 -0
sunholo/agents/dispatch_to_qa.py
CHANGED
|
@@ -74,7 +74,7 @@ def prep_request_payload(user_input, chat_history, vector_name, stream, **kwargs
|
|
|
74
74
|
# Update qna_data with optional values from kwargs
|
|
75
75
|
qna_data.update(kwargs)
|
|
76
76
|
|
|
77
|
-
if
|
|
77
|
+
if 'vector_name' not in qna_data:
|
|
78
78
|
qna_data['vector_name'] = vector_name
|
|
79
79
|
|
|
80
80
|
return qna_endpoint, qna_data
|
sunholo/utils/config.py
CHANGED
sunholo/vertex/memory_tools.py
CHANGED
|
@@ -37,7 +37,7 @@ def get_vertex_memories(vector_name):
|
|
|
37
37
|
print("Error fetching corpus:", str(e))
|
|
38
38
|
```
|
|
39
39
|
"""
|
|
40
|
-
gcp_config = load_config_key("gcp_config", vector_name=vector_name,
|
|
40
|
+
gcp_config = load_config_key("gcp_config", vector_name=vector_name, kind="vacConfig")
|
|
41
41
|
|
|
42
42
|
if not rag:
|
|
43
43
|
raise ValueError("Need to install vertexai module via `pip install sunholo[gcp]`")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sunholo
|
|
3
|
-
Version: 0.62.
|
|
3
|
+
Version: 0.62.12
|
|
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.62.
|
|
6
|
+
Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.62.12.tar.gz
|
|
7
7
|
Author: Holosun ApS
|
|
8
8
|
Author-email: multivac@sunholo.com
|
|
9
9
|
License: Apache License, Version 2.0
|
|
@@ -2,7 +2,7 @@ sunholo/__init__.py,sha256=0CdpufyRKWyZe7J7UKigL6j_qOorM-p0OjHIAuf9M38,864
|
|
|
2
2
|
sunholo/logging.py,sha256=hPmB5VgHV9fN2Ze55jNkRx5QNfxRtezYQkhu_RaE8mc,11667
|
|
3
3
|
sunholo/agents/__init__.py,sha256=CnlbVohPt-Doth9PyROSlN3P8xMV9j9yS19YE-wCS90,341
|
|
4
4
|
sunholo/agents/chat_history.py,sha256=bkII7PNEbGCaobu2Rnr2rM9dim3BCK0kM-tiWhoI1tw,5219
|
|
5
|
-
sunholo/agents/dispatch_to_qa.py,sha256=
|
|
5
|
+
sunholo/agents/dispatch_to_qa.py,sha256=7Dl82DL3Wt-MxpLyCi_Udf8OPvxU6-UXbgP-pojoPuY,8339
|
|
6
6
|
sunholo/agents/langserve.py,sha256=FdhQjorAY2bMn2rpuabNT6bU3uqSKWrl8DjpH3L_V7k,4375
|
|
7
7
|
sunholo/agents/pubsub.py,sha256=5hbbhbBGyVWRpt2sAGC5FEheYH1mCCwVUhZEB1S7vGg,1337
|
|
8
8
|
sunholo/agents/route.py,sha256=R_j-o2-K0RiDkj8Gt1yZivBohcI9SCl-8j79h03H1mQ,2109
|
|
@@ -90,7 +90,7 @@ sunholo/summarise/__init__.py,sha256=MZk3dblUMODcPb1crq4v-Z508NrFIpkSWNf9FIO8BcU
|
|
|
90
90
|
sunholo/summarise/summarise.py,sha256=C3HhjepTjUhUC8FLk4jMQIBvq1BcORniwuTFHjPVhVo,3784
|
|
91
91
|
sunholo/utils/__init__.py,sha256=G11nN_6ATjxpuMfG_BvcUr9UU8onPIgkpTK6CjOcbr8,48
|
|
92
92
|
sunholo/utils/big_context.py,sha256=gJIP7_ZL-YSLhOMq8jmFTMqH1wq8eB1NK7oKPeZAq2s,5578
|
|
93
|
-
sunholo/utils/config.py,sha256=
|
|
93
|
+
sunholo/utils/config.py,sha256=v5J5j2K9TDDw2mJne5q63jCqvp9Few0Wgesc7j-46HI,8950
|
|
94
94
|
sunholo/utils/config_schema.py,sha256=Wv-ncitzljOhgbDaq9qnFqH5LCuxNv59dTGDWgd1qdk,4189
|
|
95
95
|
sunholo/utils/gcp.py,sha256=uueODEpA-P6O15-t0hmcGC9dONLO_hLfzSsSoQnkUss,4854
|
|
96
96
|
sunholo/utils/gcp_project.py,sha256=0ozs6tzI4qEvEeXb8MxLnCdEVoWKxlM6OH05htj7_tc,1325
|
|
@@ -99,10 +99,10 @@ sunholo/utils/timedelta.py,sha256=BbLabEx7_rbErj_YbNM0MBcaFN76DC4PTe4zD2ucezg,49
|
|
|
99
99
|
sunholo/utils/user_ids.py,sha256=SQd5_H7FE7vcTZp9AQuQDWBXd4FEEd7TeVMQe1H4Ny8,292
|
|
100
100
|
sunholo/vertex/__init__.py,sha256=7B5Wf41da0dl9JOOrwq35Ob5jcKen_w5T-Tw5f4eoWE,75
|
|
101
101
|
sunholo/vertex/init.py,sha256=JDMUaBRdednzbKF-5p33qqLit2LMsvgvWW-NRz0AqO0,1801
|
|
102
|
-
sunholo/vertex/memory_tools.py,sha256
|
|
103
|
-
sunholo-0.62.
|
|
104
|
-
sunholo-0.62.
|
|
105
|
-
sunholo-0.62.
|
|
106
|
-
sunholo-0.62.
|
|
107
|
-
sunholo-0.62.
|
|
108
|
-
sunholo-0.62.
|
|
102
|
+
sunholo/vertex/memory_tools.py,sha256=AFiuUPeP35b2FtKIwB2hq7GvJCdhmqfsyrbxtzi5gZQ,3598
|
|
103
|
+
sunholo-0.62.12.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
|
|
104
|
+
sunholo-0.62.12.dist-info/METADATA,sha256=DAPURuKLUJOVKWPfQdfsGd4KycfCX4iL2OOB0T5ReYA,8059
|
|
105
|
+
sunholo-0.62.12.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
106
|
+
sunholo-0.62.12.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
|
|
107
|
+
sunholo-0.62.12.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
|
|
108
|
+
sunholo-0.62.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|