본문으로 건너뛰기
cccskills
무료GitHub에 공개

flashrag

Use FlashRAG for retrieval-augmented generation research workflows: config/data validation, retrieval and index building, generation/refinement components, RAG pipelines/method reproduction, evaluation, and WebUI setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(37)

  • SKILL.md4.8 KB
  • references/capability-map.md4.2 KB
  • references/repo-provenance.md1.9 KB
  • references/repo-routing-metadata.json501 B
  • references/troubleshooting.md3.8 KB
  • scripts/check_flashrag_environment.py4.1 KB
  • sub-skills/data-and-config/references/api-reference.md5.3 KB
  • sub-skills/data-and-config/references/configuration.md4.6 KB
  • sub-skills/data-and-config/references/data-formats.md4.2 KB
  • sub-skills/data-and-config/references/troubleshooting.md5.1 KB
  • sub-skills/data-and-config/scripts/validate_flashrag_inputs.py12.4 KB
  • sub-skills/data-and-config/SKILL.md2.1 KB
  • sub-skills/evaluation-and-webui/references/evaluation-api.md7.3 KB
  • sub-skills/evaluation-and-webui/references/troubleshooting.md5.3 KB
  • sub-skills/evaluation-and-webui/references/webui.md5.1 KB
  • sub-skills/evaluation-and-webui/scripts/inspect_metrics.py5.4 KB
  • sub-skills/evaluation-and-webui/SKILL.md3.1 KB
  • sub-skills/generation-and-refinement/references/generator-api.md4.9 KB
  • sub-skills/generation-and-refinement/references/model-and-backend-options.md4.9 KB
  • sub-skills/generation-and-refinement/references/refiner-and-judger.md5.0 KB
  • sub-skills/generation-and-refinement/references/troubleshooting.md6.4 KB
  • sub-skills/generation-and-refinement/scripts/inspect_generation_config.py10.2 KB
  • sub-skills/generation-and-refinement/SKILL.md2.9 KB
  • sub-skills/pipelines-and-methods/references/method-recipes.md6.8 KB
  • sub-skills/pipelines-and-methods/references/multimodal-and-reasoning.md5.1 KB
  • sub-skills/pipelines-and-methods/references/pipeline-api.md7.3 KB
  • sub-skills/pipelines-and-methods/references/quick-start-and-multiturn.md4.3 KB
  • sub-skills/pipelines-and-methods/references/troubleshooting.md5.8 KB
  • sub-skills/pipelines-and-methods/scripts/validate_pipeline_config.py22.5 KB
  • sub-skills/pipelines-and-methods/SKILL.md2.3 KB
  • sub-skills/retrieval-and-indexing/references/data-preparation.md3.9 KB
  • sub-skills/retrieval-and-indexing/references/indexing-workflows.md6.8 KB
  • sub-skills/retrieval-and-indexing/references/retriever-api.md6.8 KB
  • sub-skills/retrieval-and-indexing/references/troubleshooting.md6.3 KB
  • sub-skills/retrieval-and-indexing/scripts/inspect_index_builder_args.py9.3 KB
  • sub-skills/retrieval-and-indexing/scripts/validate_corpus_jsonl.py5.6 KB
  • sub-skills/retrieval-and-indexing/SKILL.md2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

FlashRAG

Use this skill when a task asks for help with FlashRAG, the Python toolkit for Retrieval-Augmented Generation research, benchmark reproduction, custom RAG pipelines, retriever/index setup, generator/refiner configuration, evaluation, or the FlashRAG UI.

Start Here

  • Check staleness first: Read repo-provenance.md before using this skill with a local checkout; refresh the skill if the commit, dirty state, package version, or public evidence paths changed.
  • Install minimally: Public package name is flashrag-dev; install with pip install flashrag-dev --pre or install a checkout with pip install -e . when editing the repo.
  • Verify import: Run python -c "import flashrag, importlib.metadata as md; print(md.version('flashrag_dev'))" after install. If metadata lookup fails, try flashrag-dev because Python tools normalize underscores and hyphens differently.
  • Check optional dependencies: Run check_flashrag_environment.py before loading models, building indexes, or launching services.
  • Read troubleshooting: Use troubleshooting.md for cross-cutting install/import, optional dependency, data, hardware, credential, and stale-skill failures.

Route by Task

  • Config, dataset, corpus schemas, and safe input checks: Use data-and-config for Config, Dataset, YAML/dict override behavior, JSONL schemas, and validation helpers.
  • Corpus preparation, retrieval, reranking, and index building: Use retrieval-and-indexing for BM25s/Pyserini, dense Faiss, CLIP/multimodal retrieval, Serper/web retrieval, rerankers, and multi-retriever fusion.
  • Generators, prompt templates, refiners, compressors, and judgers: Use generation-and-refinement for HF/FastChat/vLLM/OpenAI generation, multimodal generators, PromptTemplate, refiners, and judgers.
  • End-to-end pipelines and method reproduction: Use pipelines-and-methods for quick-start demos, SequentialPipeline, active/branching/adaptive/reasoning RAG, multimodal RAG, and experiment-runner planning.
  • Evaluation metrics and WebUI: Use evaluation-and-webui for Evaluator, metrics, prediction parsing, WebUI chat/evaluate setup, and service troubleshooting.

Capability Map

Read capability-map.md when a request spans multiple FlashRAG areas or when you need to choose the right sub-skill owner for a source artifact, helper, or failure mode.

Safe Workflow Defaults

  1. Validate config/data with the data/config helper before running retrieval or pipelines.
  2. For retrieval, validate corpus JSONL and build command arguments before starting index construction.
  3. For generation or methods, inspect config keys and optional dependency requirements before loading models or contacting APIs.
  4. Treat benchmark reproduction, model downloads, vLLM serving, WebUI launch, and large index builds as explicit user-approved runtime actions.
  5. Keep API keys, model paths, dataset locations, and machine-specific paths out of generated notes unless the user explicitly asks for local operational commands.

Optional Dependency Surface

FlashRAG core workflows commonly need torch, transformers, PyYAML, numpy, tqdm, and related runtime packages. Optional workflows add more constraints:

  • Dense retrieval: faiss plus embedding model packages.
  • BM25 retrieval: bm25s for lightweight CPU use, or pyserini plus Java for Lucene-backed indexes.
  • Generator acceleration: vllm requires a compatible PyTorch/CUDA stack.
  • OpenAI generation or LLMJudge-style evaluation: openai, tiktoken, and credentials.
  • Multimodal RAG: image packages and model-specific utilities such as Qwen-VL helpers.
  • WebUI: service/UI dependencies such as Streamlit or Gradio plus valid model/index configs.

When Editing a FlashRAG Checkout

  • Prefer focused changes in the owning module and update nearby docs/examples when public behavior changes.
  • Use package source and installed-package inspection to confirm APIs; docs/examples show intended workflows but source resolves defaults and edge behavior.
  • If modifying public config keys, retriever/generator factories, pipeline names, or metric names, refresh this skill after the code change so routing and references stay aligned.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3392026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고