discourse-ai/lib
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_bot DEV: improve artifact editing and eval system (#1130) 2025-02-19 15:44:33 +11:00
ai_helper FIX: Add workaround to pgvector HNSW search limitations (#1133) 2025-02-19 16:30:01 -03:00
ai_moderation FIX: Check post action creator result when flagging spam (#1119) 2025-02-11 13:29:27 +10:00
automation FIX: Check post action creator result when flagging spam (#1119) 2025-02-11 13:29:27 +10:00
completions FIX: use max_completion_tokens for open ai models (#1134) 2025-02-19 15:49:15 +11:00
configuration FEATURE: PDF support for rag pipeline (#1118) 2025-02-14 12:15:07 +11:00
database DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discord/bot FEATURE: PDF support for rag pipeline (#1118) 2025-02-14 12:15:07 +11:00
embeddings FIX: Add workaround to pgvector HNSW search limitations (#1133) 2025-02-19 16:30:01 -03:00
inference DEV: Build sentiment clients outside of promises (#1117) 2025-02-06 13:11:10 -03:00
sentiment DEV: Build sentiment clients outside of promises (#1117) 2025-02-06 13:11:10 -03:00
summarization FEATURE: Changes to summaries' outdated logic. (#1108) 2025-02-04 09:31:11 -03:00
tasks/modules FIX: Embeddings backfill rake task was using old code (#1084) 2025-01-22 14:00:26 -03:00
tokenizer FEATURE: Gemini Tokenizer (#1088) 2025-01-23 18:20:35 -03:00
utils DEV: improve artifact editing and eval system (#1130) 2025-02-19 15:44:33 +11:00
automation.rb FIX: AI Automation scripts were broken when using seeded models (#991) 2024-12-02 19:07:05 -03:00
embeddings.rb DEV: Robust check for embeddings enabled (#1116) 2025-02-06 12:18:55 -03:00
engine.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
guardian_extensions.rb FEATURE: Calculate gists from non hot topics too (#958) 2024-11-26 13:44:12 -03:00
multisite_hash.rb FIX: properly cache user locale (#593) 2024-04-26 09:28:35 -03:00
post_extensions.rb FEATURE: Backfill posts sentiment. (#982) 2024-12-03 10:27:03 -03:00
summarization.rb FEATURE: Generate topic gists for the hot topics list. (#837) 2024-10-18 18:01:39 -03:00
topic_extensions.rb PERF: Preload only gists when including summaries in topic list (#948) 2024-11-25 12:24:02 -03:00