计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
generation-and-refinement【效率与协作】Use FlashRAG generators, prompt templates, OpenAI/vLLM/HF/FastChat backends, multimodal generation, refiners/compressors, and judgers as reusable components.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks you to configure, instantiate, call, or debug FlashRAG generation-side components rather than build indexes, assemble full RAG methods, or report final metrics.
flashrag.utils.get_generator(config) and generator.generate(...); see generator-api.md.flashrag.prompt.PromptTemplate to convert questions, retrieval results, messages, and previous generations into backend-ready strings or chat messages; see generator-api.md.framework: hf, vllm, fschat, or openai, then align model paths, credentials, optional packages, and generation_params; see model-and-backend-options.md.flashrag.utils.get_refiner(config) or a concrete refiner to compress retrieved documents or prompts; see refiner-and-judger.md.flashrag.utils.get_judger(config) when a pipeline needs a component that decides whether or how strongly to retrieve; see refiner-and-judger.md.python skills/flashrag/sub-skills/generation-and-refinement/scripts/inspect_generation_config.py path/to/config.yaml; see troubleshooting.md.This sub-skill owns generator, prompt, refiner, compressor, and judger components. For retrieval model setup, index files, corpus processing, and reranking, use the retrieval/indexing sub-skill. For complete methods such as Self-RAG, FLARE, Adaptive-RAG, Trace, or end-to-end experiment scripts, use the pipelines/methods sub-skill. For evaluation metrics or WebUI behavior, use the evaluation/WebUI sub-skill.
generator_model_path, refiner_model_path, and judger model paths as user-supplied model identifiers or local paths; validate intent before downloading or loading large models.