计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
index-selection-and-search【效率与协作】Guides dense-vector metric selection, index construction, approximate search tuning, and CPU search validation in Faiss.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task is to choose or operate a CPU dense-vector index, compare exact and approximate nearest-neighbor search, or diagnose distance semantics, result contracts, search tuning, or OpenMP behavior. It covers float32 dense vectors, L2, inner product, cosine-as-normalized-inner-product, Flat, IVF-Flat, and graph indexes.
float32 matrix of shape (n, d) and
keep database and query dimensions identical. Read
the API contract before calling an index.is_trained is false, add, then search. Validate against an exact Flat
baseline before increasing approximation.python path/to/skills/disco/faiss/sub-skills/index-selection-and-search/scripts/smoke_search.py --help.
It has no downloads and is safe to run from any working directory.