refactor: antv skill refactor#90
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the retrieval and evaluation system, transitioning from file-path-based BM25 and tool-call strategies to an asynchronous, vector-based hybrid search using an in-process vector database (zvec) and the @huggingface/transformers library. Key changes include updating the embedding dimension to 512, adding a model pre-download script, refactoring the evaluation manager and CLI to support zvec retrieval, and rewriting the SKILL.md files for G2, G6, and X6 to provide streamlined quick references and critical rules. Additionally, comprehensive test suites were added for the embedder, synonyms, and token budget modules. The reviewer identified a critical inconsistency in the SKILL.md files where the library constraints endpoint was incorrectly documented as POST /info instead of POST /api/v1/info, which would cause LLM agent calls to fail.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
src/contentbm25召回逻辑@zvec/zvec和@huggingface/transformers重构整个检索体现