协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
retrieval-and-indexing【开发与工程】Build and diagnose FlashRAG corpora, BM25/dense/multimodal/web retrievers, indexes, rerankers, and multi-retriever configurations.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about FlashRAG corpus preparation, index construction, retriever configuration, reranking, multi-retriever fusion, multimodal retrieval, or web retrieval. Do not use it for generator/refiner internals, full pipeline/method selection, or base dataset/config conventions outside retrieval-specific fields.
id and contents, check title/text formatting, estimate chunking readiness, then see data preparation.bm25s or pyserini), dense Faiss, CLIP multimodal, or SPLADE/Seismic commands; see indexing workflows.retrieval_method, retrieval_model_path, index_path, corpus_path, pooling, Faiss GPU, cache, and batch settings; see retriever API.use_reranker or use_multi_retriever with concat, rrf, or rerank; see retriever API.scripts/validate_corpus_jsonl.py checks FlashRAG corpus JSONL shape and reports chunking/indexing risks without rewriting the corpus.scripts/inspect_index_builder_args.py validates and prints python -m flashrag.retriever.index_builder commands without importing heavy optional retrieval dependencies.python skills/flashrag/sub-skills/retrieval-and-indexing/scripts/validate_corpus_jsonl.py corpus.jsonl --sample 20
python skills/flashrag/sub-skills/retrieval-and-indexing/scripts/inspect_index_builder_args.py --retrieval_method bm25 --corpus_path corpus.jsonl --save_dir indexes --bm25_backend bm25s
Each usable retriever needs a corpus and either an index or an external search service. BM25 indexes are directories, dense and CLIP indexes are Faiss .index files, multimodal CLIP may use separate text and image index paths, and Serper uses web API credentials instead of local index files.