AI NEVER LATE. TRY LIC-KEE v1.0 ↗

DEVELOPMENT JOURNEY / PHASE 1 → v1.0

唔係一次設計完成,而係由每一次真實測試推住架構行前一步。

呢頁用時間線記錄 LIC-KEE 由最初 Knowledge Base 實驗,到 RAG、Conversation、Policy、Human Escalation,再到 Frozen v1.0 嘅主要轉折。

01 / PHASE TIMELINE

由「可以搜尋」一路行到「可以受控地對話」。

01

Knowledge Base Foundation

由少量 FEHD HTML / PDF 開始,驗證 extraction、OCR、chunking、embedding、Chroma retrieval。

274 records · 12/12 retrieval baseline
02

Licensing Scope Expansion

由食物牌照 FAQ 擴展至較完整 FEHD Licensing / Permit scope。

約 290 canonical official sources · v3 2,569 records
03

Evidence-controlled RAG

建立 FastAPI、Evidence Pack、Evidence Gate、Citation Validator,將「搵到資料」升級成「受控回答」。

39/39 retrieval · 25/25 Evidence Gate · 6/6 Citation Validator
04

Live LLM + Public UI

接入 live Answer LLM,再用 React + Vite 做公開 Demo,開始由查詢頁走向 conversational UI。

47/47 live evaluation baseline
05

Incremental Ingestion & Admin

建立 incoming / candidate / validation / promote / rollback 架構,避免每次更新都 full rebuild。

Stable KB write protection · Single active pointer
06

Conversation Interpreter

由 deterministic keyword rules 升級,讓 LLM 理解自然語言,但唔直接作 licence conclusion。

Exact-term preservation · multi-turn understanding
07

Conversation Controller

正式定義「LLM understands and proposes. Code validates and executes.」

ASK_CLARIFICATION · SEARCH_KB · OUT_OF_SCOPE
08

State Re-evaluation

新 facts 會推翻舊 hypothesis;「只外賣」唔再等於自動推某一牌照。

Latest explicit fact wins
09

Authoritative Scope Audit

將 Department Scope 同 KB Coverage 分開,建立官方 service catalogue。

50 regulatory services audited
10

Policy Registry & Human Safety

加入官方名稱白名單、department boundary、clarification limit、human escalation。

Max clarification = 3
11

v5 Candidate

擴展 Knowledge Base 覆蓋範圍,保留 v3 作 rollback。

Active KB 3,089 · Rollback 2,569
12

Frozen v1.0 Release

由 mutable UAT 抽出獨立 frozen release,加入 Git baseline、hash verification、Controlled Pilot logging。

11,974 / 11,974 runtime hashes MATCH

02 / TURNING POINTS

真正改變架構方向嘅幾個時刻。

「燒賣」唔可以變「燒味」

自然語言理解唔可以用「合理化」取代 exact fact。呢個直接推動 exact-term preservation。

「只外賣」唔等於 Food Factory

一條新 fact 應該令舊 hypothesis 失效,但亦唔應該硬 mapping 去另一張牌;system 要重新問真正 decisive fact。

KB 搵唔到 ≠ 唔屬 FEHD

呢個問題令 Department Scope 同 KB Coverage 正式分開,亦催生 authoritative service catalogue。

Test PASS ≠ Real Conversation Ready

單元測試同固定 regression 無法完全反映真實使用者講法,所以後期加入 Human-style Acceptance Test,同時將 bug-fixing 收窄成 bounded tickets。

永遠 UAT ≠ Product

最後一定要 freeze:建立獨立 release、Git tag、runtime hash、rollback path 同 pilot logging,先可以真正開始收集真實使用數據。

03 / v1.0 FINAL STATE

Frozen Controlled Pilot Baseline

Public ReleaseLIC記 v1.0 / Controlled Pilot
Active KBfehd_licensing_v5_candidate · 3,089 records
Rollback KBfehd_licensing_v3 · 2,569 records
Embeddingqwen3-embedding:0.6b · 1,024 dimensions
Answer ModelOpenRouter / qwen/qwen3.7-flash
Git Tagv1.0
Runtime Verification11,974 / 11,974 hashes match
由一個 FEHD Licensing AI Prototype,逐步演進成一個 Departmental AI Knowledge Management Proof of Concept。