vector-corpus
Ground STORM article runs on a user CSV or local corpus with VectorRM and Qdrant, including schema validation, offline/online vector stores, device choices, and STORMWikiRunner integration.
- License 许可
- MIT
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- vector-corpus
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Ground STORM article runs on a user CSV or local corpus with VectorRM and Qdrant, including schema validation, offline/online vector stores, device choices, and STORMWikiRunner integration.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/api-reference.md7.7 KB
- 参考文档references/data-formats.md5.3 KB
- 参考文档references/troubleshooting.md7.6 KB
- 参考文档references/workflows.md8.0 KB
- 脚本scripts/process_kaggle_arxiv_abstract_dataset.py6.4 KB
- 脚本scripts/run_storm_wiki_with_vector_rm.py22.0 KB
- 脚本scripts/validate_vector_corpus_csv.py5.4 KB
03 SKILL.md 正文
vector-corpus
Use this sub-skill when the task asks to run or prepare STORM over a user-owned CSV/local corpus rather than Internet search. It covers VectorRM, Qdrant offline/online stores, CSV validation, corpus chunking, embedding device choices, and the handoff into STORMWikiRunner.
Route here when
- The user has a CSV corpus with
contentandurlcolumns and wants STORM grounded on those rows. - The user needs to create or update a Qdrant collection for
VectorRMfrom CSV documents. - The user already has a local Qdrant directory or Qdrant Cloud URL and needs
VectorRMto retrieve from it. - The user asks about
VectorRM.__init__,init_offline_vector_db,init_online_vector_db,get_vector_count,forward, orQdrantVectorStoreManager.create_or_update_vector_store.
Route elsewhere
- Internet-search STORM workflows, search retriever selection, stage resume, and article output inspection belong in
../storm-wiki/. - Co-STORM collaborative discourse, warm start, turn-taking, mind maps, and report generation belong in
../co-storm/.
Bundled references
- references/workflows.md: end-to-end commands for validating CSVs, creating offline/online Qdrant stores, and plugging
VectorRMinto STORM. - references/data-formats.md: exact CSV schema, chunking arguments, and validation symptoms.
- references/api-reference.md: API signatures and behavior for
VectorRMandQdrantVectorStoreManager. - references/troubleshooting.md: symptoms, causes, and fixes for CSV, Qdrant, embedding, device, and STORM runner issues.
Bundled scripts
scripts/validate_vector_corpus_csv.py: standard-library CSV schema checker. Use--strict-unique-urlbefore indexing.scripts/process_kaggle_arxiv_abstract_dataset.py: converts Kaggle arXiv abstracts CSVs into theVectorRMCSV schema.scripts/run_storm_wiki_with_vector_rm.py: safe helper for corpus-grounded STORM with currentLitellmModel; supports--dry-runand--validate-onlywithout embedding, Qdrant, LLM, or network calls.
Minimum safe workflow
- Validate the corpus with
python scripts/validate_vector_corpus_csv.py --input-path corpus.csv --strict-unique-url. - Choose Qdrant mode:
- offline: local filesystem directory with
--vector-db-mode offline --offline-vector-db-dir ./vector_store; - online: Qdrant URL plus
QDRANT_API_KEYwith--vector-db-mode online --online-vector-db-url https://....
- offline: local filesystem directory with
- Start with
--device cpu; usecudaormpsonly for embedding acceleration when available. - Use
--dry-runor--validate-onlyfirst, then run the full helper with explicit STORM stage flags.
The runtime scripts assume the public knowledge-storm package is installed for full runs. Help, dry-run, and validate-only paths avoid package imports where possible.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).