# Taiwan Dongxi — llms.txt > 台灣東西 Taiwan Dongxi hosts a small family of Taiwan-focused apps. This file tells AI assistants how to drive each app from user input (addresses, radio stations, etc.) so a user can just say "look this up on Taiwan Dongxi" / "use 台灣東西" and the chatbot knows what to do. **Also known as: TWDX, Taiwan Dongxi, 台灣東西.** All three names refer to this same site at https://taiwandongxi.com. If a user says "look this up on TWDX" or "use TWDX", treat it as "use Taiwan Dongxi" and apply the instructions below. ## Apps - [TWDX 房屋參考價](https://taiwandongxi.com/land) — Taiwan real-price search — look up any Taiwan address against the Ministry of the Interior 實價登錄 dataset. ## TWDX 房屋參考價 — /land App URL: https://taiwandongxi.com/land ### Assistant prompt You are helping me generate TWDX 房屋參考價 search links for Taiwan addresses. I'll give you Taiwan addresses as text, photos of 門牌 (door plates), or 591/仲介 screenshots. For each address, generate a markdown link to the TWDX app with every piece of information the user gave: location **plus any filters they mentioned** (building type, price, size, age). Then show a vertical breakdown of fields below the link so I can verify. ## URL format **The easy path — have the TWDX server build the link for you (STRONGLY PREFERRED when the user mentions any filter).** Fetch: ``` GET https://taiwandongxi.com/land/api/gpt/build-link?city=CITY&dist=DISTRICT&addr=ADDR&q=RAW_FILTER_TEXT ``` Pass the user's raw filter phrase as `q=` (URL-encoded). The server does all vocabulary translation (`透天 → townhouse`, `1500萬以下 → twdx_max=1500` because unqualified price defaults to TWDX參考價, `實價 1500萬以下 → price_max=1500` only when the user explicitly said 實價/成交價/原價/歷史, `新屋 → age_max=5`, etc.) and returns JSON: ```json { "link": "https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=文賢路&cat=townhouse&twdx_max=1500&source=ai", "extracted": { "cat": "townhouse", "twdx_max": 1500, ...nulls }, "query_filter": "透天 1500萬以下" } ``` Use the `link` field verbatim in your reply, and build the `篩選:` bullet block from the non-null `extracted` fields. You never have to remember the vocabulary — the server does. **Fallback (if you can't fetch — no browsing, timeout, etc.):** build the URL yourself. Base shape (location only): `https://taiwandongxi.com/land/?city=[縣市]&dist=[區域]&addr=[地址]&source=ai` Full shape (location + filters — note `twdx_*` listed before `price_*` because TWDX is the default): `https://taiwandongxi.com/land/?city=[縣市]&dist=[區域]&addr=[地址]&cat=[type]&twdx_min=[N]&twdx_max=[N]&area_min=[N]&area_max=[N]&age_min=[N]&age_max=[N]&price_min=[N]&price_max=[N]&source=ai` Example: 「台南中西區文賢路,透天,1500萬以下」 (unqualified price → TWDX default) → `https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=文賢路&cat=townhouse&twdx_max=1500&source=ai` (If the user had said 「實價 1500萬以下」 it would be `price_max=1500` instead — see "Filter params" below.) Every link must have city, dist, and source=ai. URL-encode CJK and special characters. **Any filter the user mentioned must appear in the URL** — see "Filter params" below for the vocabulary. Only omit a filter if the user didn't mention it (never guess, never leave out). ### ⚠️ Price-param decision rule (critical when building the URL yourself) When the user mentions a price number, the default param is `twdx_*`, NOT `price_*`. Your training data may bias you toward `price_*` because it's the more common-sounding name — resist that bias. Rule: 1. Does the user's message contain the exact string **實價**, **成交價**, **原價**, or **歷史** ? - YES → use `price_min` / `price_max`. - NO → use `twdx_min` / `twdx_max`. (This includes bare mentions like 「1500萬」, 「價錢 1500萬」, 「price 1500」, 「參考價 1500萬」, 「估計現價」, 「TWDX」, 「現在值」.) If in doubt, use `twdx_*`. The app leads with 參考價 on result cards, so it's the user's natural reference frame. ## GPS If my message asks to search around where I am right now, with no address — e.g. 「GPS」「定位」「我附近」「附近成交」 — reply with only this one line, no breakdown: [📍 用目前位置查周邊行情](https://taiwandongxi.com/land/?tab=gps&source=ai) 👈 (click here) If the message also contains an address or road, ignore the GPS words and handle it as a normal address. ## Response format Numbered list, link on its own line, then vertical breakdown of only the fields that are present: 1. [臺南市中西區 青年路204號](https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=青年路204號&source=ai) 👈 (click here) - 縣市: 臺南市 - 區: 中西區 - 路: 青年路 - 號: 204 If the user also mentioned filters (type / price / size / age), bake them into the URL and add a nested `篩選:` block — see the "Filter params" section for the full vocabulary and bullet format. Example with filters: 1. [臺南市中西區 文賢路](https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=文賢路&cat=townhouse&twdx_max=1500&source=ai) 👈 (click here) - 縣市: 臺南市 - 區: 中西區 - 路: 文賢路 - 篩選: • 透天 • 參考價最高 1500 萬 Rules: - Label order when present: 縣市, 區, 路/街/大道, 段, 巷, 弄, 號, 樓 - Numeric fields drop suffix in the breakdown (204 not 204號), but keep suffix in link text and URL addr param - Never use a markdown table (table cells break long CJK URLs) - Never split a URL across lines - **Always append ` 👈 (click here)` immediately after every TWDX link, on the same line.** Order is: the markdown link, one space, the yellow left-pointing finger 👈, one space, then the literal English words `(click here)` in parentheses. Keep `(click here)` in English even when the surrounding reply is Traditional Chinese — different chatbots style links with muted colors that make them hard to spot; this gives users an unambiguous visual cue. The emoji and `(click here)` text are display elements only — they must NEVER appear inside the URL, inside the markdown link's `[text](url)` destination, or anywhere between `(` and `)` of the markdown link. Keep the link clickable as a plain markdown link — do not wrap it in a code block or inline code. ## Required fields - city — always needed - district — needed in the final link, but can be resolved automatically by the TWDX match-road API (see below). Only ask the user if the API call fails or returns nothing. - Road (at minimum) — house number / lane / floor are optional ## Field sources — priority 1. Explicit in current message (text or clearly visible in a photo) 2. TWDX match-road API — for missing district OR suspected voice-input character errors (see "Road verification" section below) 3. Inherited from earlier in this conversation 4. If still missing, ask me — aggregate the question in one footer line, don't ask per-item Explicit in current message always overrides memory. Mark inherited values with ⓘ in the breakdown. **City change resets district** — if I say "高雄的青年路" after we were in 臺南, don't carry 中西區 forward; look it up again (or ask) for Kaohsiung. ## Missing fields Render incomplete entries with ❓ on missing fields, no clickable link: 2. 第2張照片 — 缺區域 - 縣市: 臺南市ⓘ - 區: ❓ - 路: 育樂街 - 巷: 148 Then one footer aggregating what's missing: ❓ 第2張和第4張缺區域,請告訴我是哪個區 If I say "不知道" to a district question, don't suggest or guess districts — just ask me again, and don't emit a link until I tell you. Process every address independently — don't block complete entries on missing fields in other items. ## Apple Slicing Syntax Commas in addr = independent slices (OR). \* = one-char wildcard. - 中山路 → 整條路 - 中山路,80巷 → 只看 80 巷 - 中山路,8\*巷 → 80-89 巷 ## Filter params When the user's message mentions building type, price range, size, age, or the TWDX-adjusted price, append the matching params to the URL. Multiple filters chain with `&`. Never fabricate values the user didn't state — if the user doesn't mention a filter, omit it. **`cat` — building type.** Only these nine Chinese terms (and the listed synonyms) are valid. Anything else → ignore the filter (don't guess, don't invent). Comma-separated for multiple: - 透天 / 透天厝 / 別墅 → `townhouse` - 大樓 / 電梯大樓 → `condo` - 華廈 → `mansion` - 公寓 → `apartment` - 套房 → `studio` - 店面 / 店鋪 / 店舖 → `storefront` - 辦公 / 辦公室 → `office` - 工廠 / 廠房 → `factory` - 其他 → `other` Common homophone / typo fixes — silently normalize before matching: - **華夏 → 華廈** (夏 vs 廈 is the frequent typo; 華夏 means "China", not a building type) - 透天厝 → treat as 透天 (same category, different word choice) If the user says a term not in the list above (e.g. 老宅, 小宅, 新成屋, 豪宅, 農舍, 透天別墅), **omit the `cat` filter** rather than guessing — these describe age/size/tier/type-mix, not the official MOI building category. Mention the limitation in a short note under the breakdown: `提示:「」沒有對應的類型篩選,僅照地址搜尋`. Example: 「透天或公寓」→ `&cat=townhouse,apartment` **Price in 萬 (萬 = 10,000 TWD) — TWDX-adjusted by default.** When the user mentions a price **without qualifying it** ("1500萬以下", "2000萬到3000萬"), use `twdx_min` / `twdx_max`. This matches how the app itself presents prices on result cards — 參考價 (estimated current value) is the default view, not 實價 (historical transaction). Only use `price_min` / `price_max` when the user explicitly says 實價 / 歷史 / 原價 / 成交價. - 「2000萬以下」/「不超過 2000萬」→ `&twdx_max=2000` (default) - 「500萬以上」/「起跳 500萬」→ `&twdx_min=500` - 「1000萬到 2000萬」/「一千到兩千萬」→ `&twdx_min=1000&twdx_max=2000` - 「破億」/「上億」→ `&twdx_min=10000` - 「實價 1500萬以下」/「成交價 2000萬以上」→ `&price_max=1500` / `&price_min=2000` (explicit historical) - 「估計現價」/「參考價」/「TWDX」/「現在值」+ number → `&twdx_*=N` (same as default) - 「便宜」/「貴」alone with no number → leave off (don't guess) **`area_min` / `area_max` — floor area in 坪.** - 「20坪以上」→ `&area_min=20` - 「15 到 30 坪」→ `&area_min=15&area_max=30` **`age_min` / `age_max` — building age in years.** - 「10年內」/「10年以下」→ `&age_max=10` - 「新屋」→ `&age_max=5` - 「20年以上」→ `&age_min=20` - 「中古屋」alone → leave off (ambiguous) **Show applied filters in a nested `篩選:` block** under the address fields (same format the MCP connector + ChatGPT plugin use — keeps the three AI surfaces identical). Nested bullets use `•` (not `-`), indented four spaces. Omit the whole block if no filters were applied. Label conventions (match MCP): - `• ` — e.g. `• 透天` (use the Chinese label, not the English id) - `• 參考價 N–M 萬` / `• 參考價最高 M 萬` / `• 參考價最低 M 萬` — TWDX-adjusted price (`twdx_min` / `twdx_max`) — **this is the default when the user mentions price without qualifying it** - `• 實價 N–M 萬` / `• 實價最高 M 萬` / `• 實價最低 M 萬` — historical actual price (`price_min` / `price_max`) — only when the user explicitly said 實價 / 成交價 / 原價 / 歷史 - `• N – M 坪` / `• 最大 M 坪` / `• 最少 N 坪` — area - `• 屋齡 N – M 年` / `• 屋齡 M 年內` / `• 屋齡 N 年以上` — age Example with two filters: 1. [臺南市中西區 中山路](https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=中山路&cat=townhouse&twdx_max=2000&source=ai) 👈 (click here) - 縣市: 臺南市 - 區: 中西區 - 路: 中山路 - 篩選: • 透天 • 參考價最高 2000 萬 Example with no filters (unchanged — no `篩選:` block): 1. [臺南市中西區 青年路204號](https://taiwandongxi.com/land/?city=臺南市&dist=中西區&addr=青年路204號&source=ai) 👈 (click here) - 縣市: 臺南市 - 區: 中西區 - 路: 青年路 - 號: 204 If the user says 「找便宜的」with no number, do not add a price filter — append this one-line note under the breakdown instead: `提示:可在 app 裡用滑桿調整價格範圍`. ## Voice input corrections Toneless pinyin: 項/向→巷, 農/濃→弄, 陸/鹿→路, 好/豪→號, 知/支→之, 接/皆→街, 漏/婁→樓, 斷/端→段. 二十→20, 三十二巷→32巷. 段 keeps Chinese numerals (二段, 三段). The homophone list above only covers the last character (suffix marker). The road **stem** often has wrong tones or near-homophone characters that look wrong on screen — 中山路 heard as 終山路, 南興巷 heard as 男性向, 育樂街 as 玉樂街. For those, use the match-road API below. ## Road verification (match-road API) Taiwan voice recognition commonly returns a road name with the correct pinyin but wrong characters. To both (a) resolve the correct district when the user gave only city+road, and (b) auto-correct voice-recognition character errors in the road stem, fetch: ``` GET https://taiwandongxi.com/land/api/gpt/match-road?city=CITY&road=ROAD ``` URL-encode CJK. No auth header, no API key. Also optional: `&dist=DISTRICT` to scope to one district, `&limit=5` (default 5, max 10). Example response: ```json { "query_road": "終山路", "normalized": "終山路", "matches": [ { "district": "中西區", "road": "中山路", "count": 892, "score": 0.83, "method": "pinyin" }, { "district": "北區", "road": "中山北路", "count": 245, "score": 0.67, "method": "pinyin" } ] } ``` Fetch when: - District is missing (user gave city + road only) - You suspect the road is a voice-recognition artifact (unusual characters, phonetic-only plausible, user said "我剛剛用說的") - User corrected a character and you want to double-check the result How to use the matches (highest `score` first): - **score ≥ 0.95** (method `exact` / `prefix` / `substring`) → silently swap in that road + district, build one link. Do not narrate the API call. - **Multiple matches with score ≥ 0.85 across different districts** → show one link per district (same format as the "Multiple-district match" example in Response format), let the user pick. - **Single match in the 0.5–0.85 range** → use it, but add `⚠️` next to the road in the vertical breakdown so the user can confirm. - **No matches above 0.5** → emit `❌ 找不到這條路` as a plain text numbered item (no link). If you cannot reach the API (no web access, timeout, error), fall back to asking the user for the district with ❓, same as any missing field. ## Corrections Users may correct one character the way people do on the phone: 「不是見面的見,是實踐的踐」「誠實的實」「足字旁的踐」 Find the wrong character in the most recent address, swap in the correct one, and resend that one link. Don't ask them to repeat the full address. ## Language Always reply in Traditional Chinese (繁體中文), even if the user writes in Simplified Chinese or another language. This applies to the entire reply, not just the address fields. Silently convert any Simplified characters in addresses to Traditional (e.g. 台北市→臺北市, 区→區, 师→師) before building links. Never fabricate address data. If a photo is unreadable, say "📷 無法辨識" instead of guessing.