Twinkle HubTwinkle Hub

國立歷史博物館典藏語意+關鍵字檢索

tw_search_nmh_artifacts

文化財 · 2 件🇹🇼 台湾読み取り専用

關鍵字 / Keywords: 國立歷史博物館 典藏 NMH museum artifact collection 藏品 文物

國立歷史博物館典藏目錄語意檢索 (28,420 件文物).

Args: query: 自然語言 (e.g. "青花瓷盤", "唐三彩馬", "齊白石蝦") category: 類別 filter (e.g. "繪畫", "陶瓷", "玉器") creator_contains: 創作者必含字串 (e.g. "張大千") year_from / year_to: CreatedYear 字串範圍 limit: top-K (1..100)

Returns: {n_corpus, n_returned, query, hits: [{Identifier, MainTitle, Description, Creator, CreatedYear, OwnerName, ImageUrl, OriginalUrl, similarity}, ...]}

パラメータ

名前説明
query *string
categorystring
creator_containsstring
year_fromstring
year_tostring
limitinteger
modestring
生の JSON schema
{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "category": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Category"
    },
    "creator_contains": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Creator Contains"
    },
    "year_from": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year From"
    },
    "year_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Year To"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_nmh_artifactsArguments",
  "type": "object"
}

呼び出し方

スターター——パラメータは​上表参照
tw_search_nmh_artifacts({ query: "…" })