鼎稔道學館
← 開源 LLM/Demos Hub/軌道 A · 商用/A1 招牌
A1招牌

宮廟客服 Bot

MVP 可跑

嵌入宮廟官網 / LINE OA 的即問即答 Bot — 神祇職司 / 拜法 / 儀式 / 廟史,全部走鼎稔道學館 95k 知識庫 + 公開 RAG API,無需訓練、無需資料準備、嵌入一行 JS 即可

(系統訊息)你好!我是 LIUS 宮廟客服 Bot。可以問我神祇、經文、儀式、廟史相關問題。試試下方話題快查 →
話題快查:
🔧 嵌入範例(一行 JS)
<!-- 在宮廟官網 footer 加這一行 -->
<script src="https://lius.cc/embed/temple-bot.js" data-temple="行天宮"></script>

# LINE OA Bot webhook(伺服器端 Python 範例)
import requests
@app.post("/webhook")
async def webhook(request):
    msg = request.json()["events"][0]["message"]["text"]
    res = requests.post(
        "https://lius.cc/api/llm-rag",
        json={"q": msg, "n": 3, "types": ["deity", "ritual", "concept", "location"]},
        timeout=10,
    )
    res.raise_for_status()
    hits = res.json().get("hits", [])
    reply = "\n\n".join(f"📖 {h['name']}\n{h['summary'][:120]}…" for h in hits[:3])
    return {"replies": [{"type": "text", "text": reply}]}

上面的 embed.js 跟 LINE OA 範例本月內陸續上線;本頁 Bot 已可直接用。

⚠ 紅線(內建 prompt 鎖死)
  • 嚴禁回答「我能不能求到」「該不該求籤」「拜得到嗎」等個人化問題
  • 嚴禁占卜、解籤、運勢預測
  • 只做道教知識查詢宮廟資訊導覽
← 軌道 A 其他 demo
宮廟客服 Bot · Demo A1 · 招牌 · 鼎稔道學館