🎁 Get the FREE AI Skills Starter GuideSubscribe →
BytesAgainBytesAgain
🦀 ClawHub

RAG Search

by @loda666

Backend retrieval skill for structured search of occupational health standards and documents, returning relevant text with source and clause details.

Versionv0.1.1
Downloads3,864
Stars4
TERMINAL
clawhub install rag-search

📖 About This Skill

rag-search

Minimal RAG search skill for backend retrieval.

⚠️ Important

This skill is intended to be used as a backend retrieval component and should not be invoked directly by end users.

Use occupational_health_qa or occupational_health_report_writer for direct user requests.

Usage

你:调用 rag-search,查询"GBZ 2.1-2019 苯 职业接触限值"

Returns

Returns structured search results with:

  • content: Original text from the document
  • source: File name / standard number
  • clause: Clause number (if available)
  • regulation_level: Regulation level (国家法律/国家标准/行业标准/etc)
  • score: Relevance score (0-1)
  • Example Response

    {
      "results": [
        {
          "content": "苯的时间加权平均容许浓度(PC-TWA)为6 mg/m³...",
          "source": "GBZ 2.1-2019.pdf",
          "clause": "第4.1条",
          "regulation_level": "国家标准",
          "score": 0.93
        }
      ]
    }
    

    💡 Examples

    你:调用 rag-search,查询"GBZ 2.1-2019 苯 职业接触限值"