Loading...
Loading...
Compare original and translation side by side
ask_usersqlviewask_usersqlview| Trigger | Action |
|---|---|
| "cliexpert", "teach me" | Read next |
| "quiz me", "test me" | Read current module, 5+ questions via |
| "scenario", "challenge" | Read |
| "reference" | Read relevant module, summarize |
| "final exam" | Read |
references/view| 触发词 | 操作 |
|---|---|
| "cliexpert"、"教我" | 读取下一个 |
| "测试我"、"考核我" | 读取当前模块内容,通过 |
| "场景"、"挑战" | 读取 |
| "参考资料" | 读取相关模块内容并总结 |
| "最终考核" | 读取 |
references/viewCREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);
CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));
INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');ask_userchoicesCREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);
CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));
INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');ask_user