Twinkle HubTwinkle Hub

政府 OpenData 跨領域 niche 語意檢索

tw_search_niche_corpora

Autres outils · 26 outils🇹🇼 Taïwanlecture seule

關鍵字 / Keywords: 特殊 corpus 小眾 niche corpora search 附屬 語料

跨領域 niche 政府 OpenData 語意檢索 (5,468 entries, 9 sources).

Catch-all corpus 涵蓋 5 個 topic / 9 個小 dataset 的混合集合: 文化 客委會文獻刻契 / 國立臺灣歷史博物館法規 環境 環保政策月刊 / 環境教育人員認證課程 稅務 中區國稅局復查決定書 / 行政救濟 FAQ 智財 智慧財產局智權知識問答 / 專利年費 FAQ 公司治理 違反董事會議事辦法常見缺失

Args: query: 自然語言 (e.g. "客家伙房", "PM2.5", "復查行政救濟", "薪資所得免稅") topic: 主題 filter — "文化"/"環境"/"稅務"/"智財"/"公司治理" agency: 機關名稱必含字串(寬鬆 match) dataset_id: 鎖定特定 dataset_id limit: top-K (1..100)

Returns: {n_corpus, n_returned, query, hits: [{topic, agency, dataset_id, title, content, date, link, similarity}, ...]}

Paramètres

NomTypeDescription
query *string
topicstring
agencystring
dataset_idstring
limitinteger
modestring
Schéma JSON brut
{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "topic": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Topic"
    },
    "agency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Agency"
    },
    "dataset_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Dataset Id"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_niche_corporaArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
tw_search_niche_corpora({ query: "…" })