Dữ liệu cho AI agent · LLM hay sai gì? · Kiểm tra mâu thuẫn · Độ tươi dữ liệu · Khoá API · llms.txt
Dữ liệu Việt Nam cho AI agent
LLM có kiến thức dừng ở một thời điểm. Trang này cung cấp các thông tin Việt Nam đã thay đổi gần đây dưới dạng "fact card": mỗi thông tin có ngày hiệu lực, thông tin bị thay thế và nguồn chính thức.
Thử: agent của bạn có đang dùng thông tin cũ?
Kết nối MCP
claude mcp add --transport http anninh https://hieuluc.io.vn/mcp
Hoặc thêm vào cấu hình MCP của Cursor/IDE: {"url": "https://hieuluc.io.vn/mcp"}. Server không cần khoá API ở giai đoạn thử nghiệm.
Các tool
| Tool | Mô tả |
|---|---|
vn_check | Check statements you believe about Vietnam (from memory) against current, sourced facts. Returns per statement: outdated | confirmed | unknown | no_match, with the authoritative fact card. Run this before answering about salaries, taxes, provinces, ministries or holidays. |
vn_lookup | Look up current Vietnam facts. kind: figures (key figures; query=slug or topic: admin, government, holiday, insurance, salary, tax, visa; supports as_of) | document (legal document by number e.g. 13/2023/NĐ-CP or title words: in force / replaced by) | province (old or new province name -> current unit) | provinces (all 34) | ward (commune/ward by name; optional province) | bank (VietQR BIN/code/SWIFT by name or BIN) | exchange_rates (query=comma-separated currency codes) | citation (query=URL: is it a state source, which facts cite it) | data_status (freshness contract per dataset). |
vn_changes_since | Notable Vietnamese legal/administrative changes effective on or after a date (YYYY-MM-DD). Call it with your training cutoff to learn what you do not know. |
vn_calendar | Vietnamese calendar. Give solar_date (YYYY-MM-DD) or lunar_day/lunar_month/lunar_year (+leap_month) to convert solar <-> lunar (UTC+7, can chi names); give holidays_year to list statutory paid holidays and official public-sector schedules. |
vn_report_error | Report a fact you believe is wrong or outdated. Requires source_url on a Vietnamese state publisher (vanban.chinhphu.vn, congbao.chinhphu.vn, quochoi.vn, vbpl.vn, *.gov.vn). A human reviews every report before data changes. Do not include personal data. |
REST API (JSON)
/agent/v1/changes?since=2025-01-01— thay đổi pháp lý/hành chính theo ngày hiệu lực/agent/v1/figures— con số hay bị LLM trả lời sai/agent/v1/documents?q=13/2023/N%C4%90-CP— văn bản còn hiệu lực hay đã bị thay thế/agent/v1/provinces— 34 tỉnh/thành sau sáp nhập/agent/v1/provinces/lookup?name=Binh%20Duong— tên tỉnh cũ → tỉnh mới/agent/v1/wards?name=Ba%20Dinh— 3.321 xã/phường/đặc khu/agent/v1/calendar?date=2026-02-17— đổi âm ↔ dương lịch/agent/v1/holidays?year=2027— ngày lễ và lịch nghỉ/agent/v1/banks?q=vietcombank— mã ngân hàng VietQR/agent/v1/exchange-rates?currencies=USD,EUR— tỷ giá Vietcombank/agent/v1/check?claims=Vi%E1%BB%87t%20Nam%20c%C3%B3%2063%20t%E1%BB%89nh— kiểm tra mâu thuẫn (POST JSON cho nhiều câu)/agent/v1/verify-citation?url=https://vanban.chinhphu.vn/— kiểm tra link có phải nguồn Nhà nước/agent/v1/status— cam kết độ tươi dữ liệu (JSON)/agent/v1/bench.json— bộ câu hỏi vn-staleness-bench/agent/v1/dump.json— toàn bộ dữ liệu tuyển chọn (đã ký) để dùng offline/RAG/agent/openapi.json— OpenAPI 3.1 cho GPT Actions, Dify, n8n/.well-known/jwks.json— khoá công khai Ed25519 để xác minh chữ ký
Feed thay đổi: Atom.
Độ tin cậy
source_tier: "official" khi có ít nhất một nguồn là cổng Nhà nước (vanban/congbao.chinhphu.vn, quochoi.vn, *.gov.vn…).verified_at: ngày người kiểm tra đối chiếu với văn bản gốc;retrieved_at: lần lấy dữ liệu tự động.- Mỗi fact card có chữ ký Ed25519; khoá công khai tại
/.well-known/jwks.json. - Thấy sai? Agent gọi
vn_report_errorkèm link văn bản Nhà nước; con người duyệt trước khi sửa.
In English
Vietnam facts for AI agents. LLMs are frozen at a training cutoff; Vietnam changed a lot since 2025 (63 → 34 provinces, no district level, new ministries, new salary/tax/insurance figures, replaced decrees). This service returns fact cards: claim, validity dates, what it supersedes, Vietnamese state sources, when and how deeply it was verified, and an Ed25519 signature.
- MCP:
https://hieuluc.io.vn/mcp(Streamable HTTP). Tools:vn_check,vn_lookup,vn_changes_since,vn_calendar,vn_report_error. - REST: OpenAPI 3.1 · llms.txt · full dump (CC BY 4.0).
- Try:
curl -s -X POST https://hieuluc.io.vn/agent/v1/check -H 'content-type: application/json' -d '{"claims":["Vietnam has 63 provinces"]}' - No key needed for light use; a free key raises the daily limit (get one). Reference only, not legal or financial advice.
Thông tin tham khảo, không phải tư vấn pháp lý hay tài chính. Luôn đối chiếu nguồn chính thức được dẫn.