AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Opinionated Paranoid Text Spacing as a Service
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Opinionated paranoid text spacing: automatically inserts whitespace between CJK (Chinese, Japanese, Korean) and ANS (alphabetical letters, numerical digits and symbols).
• pangu.js
• pangu.py
• pangu.go
• pangu.java
• pangu.space (Website and HTTP API)
Try it at pangu.space: paste text on the left, get the spaced text on the right, with every added or removed space highlighted.
Use GET with query strings.
Use QUERY if you want to use a JSON body. Content-Type is optional; if provided, it must be application/json.
Same as QUERY, for convenience.檢視完整 README ↗Opinionated paranoid text spacing: automatically inserts whitespace between CJK (Chinese, Japanese, Korean) and ANS (alphabetical letters, numerical digits and symbols).
Try it at pangu.space: paste text on the left, get the spaced text on the right, with every added or removed space highlighted.
https://api.pangu.space/textUse GET with query strings.
$ curl --get https://api.pangu.space/text --data-urlencode "text=當你凝視著bug,bug也凝視著你"
{"text":"當你凝視著 bug,bug 也凝視著你","lib":"pangu-js","version":"10.4.0"}
Use QUERY if you want to use a JSON body. Content-Type is optional; if provided, it must be application/json.
$ curl --request QUERY https://api.pangu.space/text --header "Content-Type: application/json" --data '{"text": "與PM戰鬥的人,應當小心自己不要成為PM"}'
{"text":"與 PM 戰鬥的人,應當小心自己不要成為 PM","lib":"pangu-js","version":"10.4.0"}
Same as QUERY, for convenience.
$ curl https://api.pangu.space/text --header "Content-Type: application/json" --data '{"text": "與PM戰鬥的人,應當小心自己不要成為PM"}'
{"text":"與 PM 戰鬥的人,應當小心自己不要成為 PM","lib":"pangu-js","version":"10.4.0"}
Regex rules can't tell a minus sign from a separator, so add feature=ai-spacing to the query string and an LLM decides. Works with GET, QUERY, and POST.
$ curl --get "https://api.pangu.space/text?feature=ai-spacing" --data-urlencode "text=女朋友今天的氣溫是-273.15度"
{
"text": "女朋友今天的氣溫是 -273.15 度",
"lib": "pangu-js",
"version": "10.4.0",
"model": "@cf/google/gemma-4-26b-a4b-it",
"promptVersions": { "hyphen-digit": "v29-zh", "digit-plus": "v18-en-real-examples" },
"candidates": [{ "kind": "hyphen-digit", "sentence": "女朋友今天的氣溫是-273.15度", "at": 9, "label": "signed-number" }]
}
candidates: every symbol the model was asked about. at is the symbol's index in sentencelabel: the model's answer. null means the model failed, and that symbol keeps the regex spacingErrors come with a code you can check:
missing_text (400): no text in the query string, or no string text in the JSON bodyinvalid_json (400): the QUERY or POST body is not valid JSONunsupported_media_type (415): QUERY or POST provides a content type other than application/jsonunknown_feature (400): any feature other than ai-spacingtoo_many_candidates (413): the text has more than 20 ambiguous spots. Split it into smaller requestsai_quota_exceeded (429): the daily AI quota is used up. It resets at 00:00 UTC, and Retry-After tells you how many seconds are leftmethod_not_allowed (405): any method other than GET, QUERY, POST, and OPTIONSnot_found (404): any path other than /text{
"error": {
"code": "missing_text",
"message": "missing query parameter: text"
}
}
$ npm install
$ npm run dev -w web # the website, http://localhost:5566
$ npm run dev -w api # the API, http://localhost:8787
$ npm test -w api
The website has no bundler. web/scripts/vendor.mjs copies pangu.js into web/public/vendor/, and both dev and deploy run it first.
$ npm run deploy -w web
$ npm run deploy -w api
Design tokens live in web/public/tokens.css. The design boards and their generators live in design/.