discourse-ai/spec/system/ai_helper
Rafael dos Santos Silva 37bf160d26
FIX: Add workaround to pgvector HNSW search limitations (#1133)
From [pgvector/pgvector](https://github.com/pgvector/pgvector) README

> With approximate indexes, filtering is applied after the index is scanned. If a condition matches 10% of rows, with HNSW and the default hnsw.ef_search of 40, only 4 rows will match on average. For more rows, increase hnsw.ef_search.
> 
> Starting with 0.8.0, you can enable [iterative index scans](https://github.com/pgvector/pgvector#iterative-index-scans), which will automatically scan more of the index when needed.


Since we are stuck on 0.7.0 we are going the first option for now.
2025-02-19 16:30:01 -03:00
..
ai_composer_helper_spec.rb FIX: Add workaround to pgvector HNSW search limitations (#1133) 2025-02-19 16:30:01 -03:00
ai_image_caption_spec.rb FIX: Prevent AI caption setting from showing unless all criteria is met (#753) 2024-08-14 10:17:36 -07:00
ai_post_helper_spec.rb DEV: Improve explain suggestion footnote replacement (#999) 2024-12-04 11:41:34 -08:00
ai_proofreading_spec.rb DEV: Move composer AI helper to toolbar (#796) 2024-09-13 11:59:30 -07:00
ai_split_topic_suggestion_spec.rb FIX: Add workaround to pgvector HNSW search limitations (#1133) 2025-02-19 16:30:01 -03:00