Twinkle HubTwinkle Hub
登入

📌 2026-08-17 新增:⚖️ 台灣法條時光機 — 歷史法條原文 · 修法沿革 · 全文檢索 · 條文關聯圖(935 個 dataset · 35,454+ 筆 row)

查看完整 Changelog →

教檢題目語意+關鍵字檢索

tw_search_teacher_exam_questions

台灣​專屬MIT

**關鍵字 / Keywords**: 教檢題目 教資考選擇題 師培題 teacher exam questions 幼兒園 特教

以自然語言 + (可選) 關鍵字過濾, 檢索**教檢題目**級別.

Corpus: 教師資格考試 (教育部), 民國 094-115 選擇題逐題抽取 + Qwen3-
Embedding-4B 向量化. 約 ~3,000-4,000 題 (試題本含 selection question
部分; 申論/綜合/寫作題不抽取).

參數:
    query: 自然語言, 例「兒童認知發展階段」「特殊教育學生評量」
    stem_contains: 題幹必含此子字串 (硬性 keyword filter)
    exid / category_contains / subject_contains: 同 tw_search_teacher_exam
    year_from / year_to: 西元年範圍
    limit: top-K (1..100)

回傳 schema:
    {n_corpus, n_returned, query,
     hits: [{paper_id, exam_year (民國), exam_year_西元,
             exam_name, exid, category, subject_name,
             question_no, question_type, stem, options{A,B,C,D},
             answer, similarity}, ...]}

典型用法:
    tw_search_teacher_exam_questions("皮亞傑認知發展")
    tw_search_teacher_exam_questions("特殊兒童", category_contains="特殊")
    tw_search_teacher_exam_questions("教學評量", subject_contains="課程與教學",
                                  year_from=2020)

輸入 schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "stem_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Stem Contains"
    },
    "exid": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Exid"
    },
    "category_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Category Contains"
    },
    "subject_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Subject Contains"
    },
    "year_from": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year From"
    },
    "year_to": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year To"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_teacher_exam_questionsArguments",
  "type": "object"
}

呼叫​方式

配置​好 Twinkle Hub 的 MCP client 後,​agent 會​看到 tw_search_teacher_exam_questions。直接讓它呼叫​即可,​例如:

# Ask Claude / any MCP client:
請用 tw_search_teacher_exam_questions 處理 "…"。

# It will call:
tw_search_teacher_exam_questions(input="…")

尚未​設定 Client?

Claude Desktop 約 3 分鐘即可完成​設定 — 下載 .mcpb 檔案並雙擊​即可,或參閱​文件中的各 Client 安裝​步驟。

查看使用者設定​文件