honcho/src/crud
Rajat Ahuja 148f646796
Fix: vector query top k zero (#970)
* fix: guard against top_k=0 reaching the vector store

Turbopuffer rejects top_k=0 with a 400 ('top_k must be between 1 and
10000'). The fix returns [] for a non-positive top_k, before the embedding call), and
floor the semantic budget at 1 so an explicitly requested search isn't
silently allocated zero.

* fix: comments
2026-08-03 12:31:03 -04:00
..
__init__.py Counts documents deduped during representation, exact and semantically similar 2026-07-16 14:30:55 -02:00
collection.py feat: add support for redis cluster (#905) 2026-07-13 15:51:47 -04:00
deriver.py Modify Queue Status to only relevant tasks (#398) 2026-02-23 22:54:21 -05:00
document.py Fix: vector query top k zero (#970) 2026-08-03 12:31:03 -04:00
message.py feat: session allowlist on dialectic and representation via filters (#882) 2026-07-28 10:55:02 -04:00
peer.py feat: add support for redis cluster (#905) 2026-07-13 15:51:47 -04:00
peer_card.py Use savepoints to prevent race condition in get_or_create chain (#399) 2026-02-23 23:28:04 -05:00
representation.py Fix: vector query top k zero (#970) 2026-08-03 12:31:03 -04:00
session.py feat: add support for redis cluster (#905) 2026-07-13 15:51:47 -04:00
webhook.py Tighten Transaction Scopes (#525) 2026-04-08 11:14:50 -04:00
workspace.py feat: add support for redis cluster (#905) 2026-07-13 15:51:47 -04:00