WeKnora/internal
wizardchen 092044b68f refactor(postgres): optimize vector retrieval and HNSW settings
- Adjusted the expanded TopK limit to a maximum of 200 candidates to enhance HNSW efficiency.
- Updated the vector retrieval query to ensure the ORDER BY expression matches the indexed expression, improving index usage.
- Implemented local settings for HNSW's ef_search and iterative_scan within a transaction to optimize candidate retrieval.
- Added fallback logic to handle unsupported GUCs gracefully, ensuring query execution continues even with older pgvector versions.

These changes improve the performance and reliability of vector retrieval in the PostgreSQL implementation.
2026-04-17 12:11:03 +08:00
..
agent feat(output): enhance output formatting to XML for various tools 2026-04-17 12:11:03 +08:00
application refactor(postgres): optimize vector retrieval and HNSW settings 2026-04-17 12:11:03 +08:00
assets feat(assets): add ASR test audio file and embed it in the application 2026-04-02 21:27:27 +08:00
common feat: add organization management features 2026-02-09 11:40:25 +08:00
config feat(agent): support customizable LLM call timeout and add docker-compose mapping 2026-04-07 11:26:52 +08:00
container feat: add registry dual-map and engine factory for VectorStore 2026-04-17 00:15:37 +08:00
database fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
datasource fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
errors feat: Add agent configuration and cleanup scripts for database migrations 2025-11-05 23:18:44 +08:00
event refactor(agent): remove query display from DatabaseQuery component and update tool result structure 2026-03-25 22:08:29 +08:00
handler Fix logger format string errors in system handler 2026-04-16 18:39:30 +08:00
im feat(im): support custom endpoints for private WeCom deployments 2026-04-13 22:54:42 +08:00
infrastructure refactor(chunk): improve parent-child chunk relationship handling in SplitTextParentChild 2026-04-16 18:29:33 +08:00
logger feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
mcp feat(mcp): implement reconnection logic for MCP tool calls and tool listing 2026-03-31 11:57:15 +08:00
middleware feat: implement auto-setup for Lite edition, enhancing user experience by automating user and tenant creation on first launch 2026-04-11 18:51:16 +08:00
models feat(logger): implement LLM debug logging functionality 2026-04-16 23:15:02 +08:00
router feat(system): remove MinIO list buckets API and UI dependencies 2026-04-16 18:13:21 +08:00
runtime init commit 2025-08-05 15:08:07 +08:00
sandbox feat: optimize security and deployment of agent skills 2026-02-04 20:08:49 +08:00
searchutil feat(prompt): enhance question rewriting and intent classification in prompt templates 2026-04-16 23:15:02 +08:00
stream feat(redis): add REDIS_USERNAME support for Redis ACL 2026-02-04 19:38:40 +08:00
tracing init commit 2025-08-05 15:08:07 +08:00
types feat: add registry dual-map and engine factory for VectorStore 2026-04-17 00:15:37 +08:00
utils feat: enhance URL validation and timeout handling in knowledge base components 2026-04-16 18:13:19 +08:00