sunholo 0.102.0__py3-none-any.whl → 0.103.1__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.
@@ -365,7 +365,7 @@ class AlloyDBClient:
365
365
  SELECT *
366
366
  FROM {table_name}
367
367
  WHERE {conditions}
368
- ORDER BY langchain_metadata->>'objectId' ASC
368
+ ORDER BY source ASC
369
369
  LIMIT 50;
370
370
  """
371
371
 
@@ -378,17 +378,19 @@ class AlloyDBClient:
378
378
  if sources:
379
379
  conditions = self._and_or_ilike(sources, search_type=search_type)
380
380
  query = f"""
381
- SELECT DISTINCT langchain_metadata->>'objectId' AS objectId
381
+ SELECT source AS objectId
382
382
  FROM {table_name}
383
383
  WHERE {conditions}
384
- ORDER BY langchain_metadata->>'objectId' ASC
384
+ GROUP BY source
385
+ ORDER BY source ASC
385
386
  LIMIT 500;
386
387
  """
387
388
  else:
388
389
  query = f"""
389
- SELECT DISTINCT langchain_metadata->>'objectId' AS objectId
390
+ SELECT DISTINCT source AS objectId
390
391
  FROM {table_name}
391
- ORDER BY langchain_metadata->>'objectId' ASC
392
+ GROUP BY source
393
+ ORDER BY source ASC
392
394
  LIMIT 500;
393
395
  """
394
396
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sunholo
3
- Version: 0.102.0
3
+ Version: 0.103.1
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.102.0.tar.gz
6
+ Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.103.1.tar.gz
7
7
  Author: Holosun ApS
8
8
  Author-email: multivac@sunholo.com
9
9
  License: Apache License, Version 2.0
@@ -59,7 +59,7 @@ sunholo/components/retriever.py,sha256=bKIVT7_18Ut3OJd0E0jyiISPnD9qkHWVjcQPT4i1_
59
59
  sunholo/components/vectorstore.py,sha256=xKk7micTRwZckaI7U6PxvFz_ZSjCH48xPTDYiDcv2tc,5913
60
60
  sunholo/database/__init__.py,sha256=bpB5Nk21kwqYj-qdVnvNgXjLsbflnH4g-San7OHMqR4,283
61
61
  sunholo/database/alloydb.py,sha256=YH8wNPS8gN-TDZEXQcVHxwd1NScHRfAxma3gK4R6KCk,11740
62
- sunholo/database/alloydb_client.py,sha256=UQpmILNeInuqMrMgf-AeIB7_I44AgJuR_WSrBafDC_k,18986
62
+ sunholo/database/alloydb_client.py,sha256=0Zljdy_AHCJE88_HD1nKc74x6edByuZUzYlaNbSJnn8,18916
63
63
  sunholo/database/database.py,sha256=VqhZdkXUNdvWn8sUcUV3YNby1JDVf7IykPVXWBtxo9U,7361
64
64
  sunholo/database/lancedb.py,sha256=DyfZntiFKBlVPaFooNN1Z6Pl-LAs4nxWKKuq8GBqN58,715
65
65
  sunholo/database/static_dbs.py,sha256=8cvcMwUK6c32AS2e_WguKXWMkFf5iN3g9WHzsh0C07Q,442
@@ -147,9 +147,9 @@ sunholo/vertex/init.py,sha256=1OQwcPBKZYBTDPdyU7IM4X4OmiXLdsNV30C-fee2scQ,2875
147
147
  sunholo/vertex/memory_tools.py,sha256=tBZxqVZ4InTmdBvLlOYwoSEWu4-kGquc-gxDwZCC4FA,7667
148
148
  sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
149
149
  sunholo/vertex/type_dict_to_json.py,sha256=uTzL4o9tJRao4u-gJOFcACgWGkBOtqACmb6ihvCErL8,4694
150
- sunholo-0.102.0.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
151
- sunholo-0.102.0.dist-info/METADATA,sha256=5-dYSKg8cpNoJLR8gKDD4f_y1sIlQ4TvJdox0l7K4n4,8312
152
- sunholo-0.102.0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
153
- sunholo-0.102.0.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
154
- sunholo-0.102.0.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
155
- sunholo-0.102.0.dist-info/RECORD,,
150
+ sunholo-0.103.1.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
151
+ sunholo-0.103.1.dist-info/METADATA,sha256=YGSRAl2J8mSfpd3w0uPG79av4wmOEqIyntnmYlERRAE,8312
152
+ sunholo-0.103.1.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
153
+ sunholo-0.103.1.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
154
+ sunholo-0.103.1.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
155
+ sunholo-0.103.1.dist-info/RECORD,,