fleet-memory/hindsight-api/hindsight_api/engine/consolidation
Nicolò Boschi d871c3009d
feat: support timescale pg_textsearch as text search extension (#359)
* feat: support timescale pg_textsearch as text search extension

* refactor: deduplicate text search query in retrieve_semantic_bm25_combined

Instead of maintaining 3 complete query copies (native, vchord, pg_textsearch),
now we:
- Build backend-specific parts (score_expr, order_by, where_filter)
- Use a single query template with injected backend-specific parts

This makes maintenance easier - changes to the semantic CTE or overall structure
only need to be made once.
2026-02-12 17:38:13 +01:00
..
__init__.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
consolidator.py feat: support timescale pg_textsearch as text search extension (#359) 2026-02-12 17:38:13 +01:00
prompts.py feat: support markdown in reflect and mental models (#307) 2026-02-06 10:49:13 +01:00