sunholo 0.80.2__py3-none-any.whl → 0.80.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.
@@ -64,7 +64,7 @@ def pick_retriever(vector_name:str=None, config:ConfigManager=None, embeddings=N
64
64
  gcp_config = config.vacConfig('gcp_config')
65
65
  try:
66
66
  gcp_retriever = GoogleVertexAISearchRetriever(
67
- data_store_id=None if value.get("search_engine_id") else vector_name,
67
+ data_store_id=None if value.get("search_engine_id") else config.vector_name,
68
68
  max_documents=value.get('max_documents', 5),
69
69
  project_id=gcp_config.get('project_id') or get_gcp_project(),
70
70
  search_engine_id=value.get("search_engine_id"),
@@ -97,7 +97,7 @@ def pick_retriever(vector_name:str=None, config:ConfigManager=None, embeddings=N
97
97
 
98
98
  k_override = value.get('k', 3)
99
99
  if vectorstore_obj:
100
- vs_retriever = vectorstore.as_retriever(search_kwargs=dict(k=k_override))
100
+ vs_retriever = vectorstore_obj.as_retriever(search_kwargs=dict(k=k_override))
101
101
  retriever_list.append(vs_retriever)
102
102
  else:
103
103
  log.warning(f"No vectorstore found despite being in config: {key=}")
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sunholo
3
- Version: 0.80.2
3
+ Version: 0.80.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.80.2.tar.gz
6
+ Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.80.4.tar.gz
7
7
  Author: Holosun ApS
8
8
  Author-email: multivac@sunholo.com
9
9
  License: Apache License, Version 2.0
@@ -55,7 +55,7 @@ sunholo/cli/swagger.py,sha256=absYKAU-7Yd2eiVNUY-g_WLl2zJfeRUNdWQ0oH8M_HM,1564
55
55
  sunholo/cli/vertex.py,sha256=8130YCarxHL1UC3aqblNmUwGZTXbkdL4Y_FOnZJsWiI,2056
56
56
  sunholo/components/__init__.py,sha256=IDoylb74zFKo6NIS3RQqUl0PDFBGVxM1dfUmO7OJ44U,176
57
57
  sunholo/components/llm.py,sha256=5wRVf7lIb7q1vRADNcdQp26L9l4vGHFIvjtUDurZN_s,11488
58
- sunholo/components/retriever.py,sha256=G89Gfctsxr_Y2igFTUtPVcluUoZ6L7UXA5yO0207sV8,7377
58
+ sunholo/components/retriever.py,sha256=4gCtTXOjsAbNAuc3DmcFWU_Bq3wDoLe-cTfBI_8FvII,7388
59
59
  sunholo/components/vectorstore.py,sha256=xKk7micTRwZckaI7U6PxvFz_ZSjCH48xPTDYiDcv2tc,5913
60
60
  sunholo/database/__init__.py,sha256=Zz0Shcq-CtStf9rJGIYB_Ybzb8rY_Q9mfSj-nviM490,241
61
61
  sunholo/database/alloydb.py,sha256=c1PEmK9fJCxYaVmKv4emvOoXrajV7KqaVK5mqpeksvM,11527
@@ -133,9 +133,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
133
133
  sunholo/vertex/memory_tools.py,sha256=pgSahVDh7GPEulu3nl-w0jb5lTClb4TCnVxPnMokNZY,7533
134
134
  sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
135
135
  sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
136
- sunholo-0.80.2.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
137
- sunholo-0.80.2.dist-info/METADATA,sha256=uNKoHN6qsuLMg_784oOLPV1AJamXOqOifURetX-YDdo,7348
138
- sunholo-0.80.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
139
- sunholo-0.80.2.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
140
- sunholo-0.80.2.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
141
- sunholo-0.80.2.dist-info/RECORD,,
136
+ sunholo-0.80.4.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
137
+ sunholo-0.80.4.dist-info/METADATA,sha256=KytnH3hckVqgDQgTflabGRp0B3SRdyjcTHq2OCZVm2c,7348
138
+ sunholo-0.80.4.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
139
+ sunholo-0.80.4.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
140
+ sunholo-0.80.4.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
141
+ sunholo-0.80.4.dist-info/RECORD,,