尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Course prototype of AI-assisted customer support for a fictional outdoor retailer. Pattern: the system suggests, a human decides. The AI never sends replies or issues refunds.
lib/rules.ts decides eligibility and escalation from data/policy.md.| Path | Purpose |
|---|---|
data/policy.md | Support policy (source of truth) |
data/orders.json | 15 mock orders |
data/test_cases.json | 25 customer messages with answer keys. Never upload this to the AI. |
lib/rules.ts | Rules engine (no LLM) |
lib/evaluate.ts | Runs rules on every test case and compares with the answer key |
lib/extractSchema.ts | Zod schema for the AI extraction |
lib/manualEval.ts | Scores pasted AI output (browser-safe): validation, hallucination checks, accuracy, consistency |
lib/manualResults.ts | Reads and writes saved results (server only) |
prompts/extract_v1.txt, prompts/extract_v2.txt | Prompts for the AI chat (simple and improved) |
manual/cases_for_ai.txt | The 25 messages for the AI, without answers |
scripts/eval-manual.ts | Scores one pasted run and saves it |
results/raw/<label>.json | AI output exactly as pasted |
results/<label>.json | Scored run |
app/page.tsx | Agent workspace: AI output vs. answer key |
app/run/page.tsx | Browser-only eval for non-technical users |
app/eval/page.tsx | Comparison of AI runs, plus rules evaluation |
docs/ai-log.md | Log of AI experiments and decisions |
npm install
npm run dev # http://localhost:3000
npm run test:rules # rules accuracy on the answer-key extraction
npm run eval:manual -- --file results/raw/v1-claude-run1.json --label v1-claude-run1
npm run build
Anyone can run an evaluation in the browser at /run, with no install: it provides the prompts and files, and scores the pasted AI reply in the browser. Nothing is stored, so download the CSV to keep results.
To publish a run on / and /eval, save the reply to results/raw/<label>.json, run npm run eval:manual, and commit results/. Those pages read results/*.json when the app is built.
Labels ending in -run1, -run2, ... form one group, which is how consistency is measured.
The answer key ships in the browser code so /run can score without a server. This is fine for a mock dataset, but anyone determined can read it.