|
|
5 месяцев назад | |
|---|---|---|
| .. | ||
| README.md | 5 месяцев назад | |
voc-report-factory/scripts/tools/chapter-insight-writer.jsscripts/tools/platform-mini-report-generator.jsvoc-report-factory/html-v2/gen-report-template.js推荐使用小红书课程样例:
demo/xiaohongshu/normalized/_merged.json
demo/xiaohongshu/normalized/comments-flat.jsonl
node scripts/tools/chapter-insight-writer.js --input demo/xiaohongshu/normalized --output demo/xiaohongshu/chapter-insights --project xiaohongshu-course-demo --category 冻干益生菌 --version light --min-evidence 3
预期输出:
demo/xiaohongshu/chapter-insights/chapter-insights.md
demo/xiaohongshu/chapter-insights/chapter-insights.json
node scripts/tools/platform-mini-report-generator.js --input demo/xiaohongshu/normalized --output demo/xiaohongshu/platform-mini-report --project xiaohongshu-course-demo --category 冻干益生菌 --platform xiaohongshu --data-nature 课程合成样例 --owner "VOC Skills 课程 demo" --date 2026-04-29
预期输出:
demo/xiaohongshu/platform-mini-report/platform-mini-report.md
demo/xiaohongshu/platform-mini-report/platform-mini-report.json
内置 demo:
node voc-report-factory/html-v2/gen-report-template.js --output demo/report-factory/html-v2-demo-report.html
从单平台 mini report 生成 HTML:
node voc-report-factory/html-v2/gen-report-template.js --data demo/xiaohongshu/platform-mini-report/platform-mini-report.json --output demo/xiaohongshu/platform-mini-report/platform-mini-report.html
从章节草稿生成 HTML:
node voc-report-factory/html-v2/gen-report-template.js --data demo/xiaohongshu/chapter-insights/chapter-insights.json --output demo/xiaohongshu/chapter-insights/chapter-insights.html
预期输出:
demo/report-factory/html-v2-demo-report.html
demo/xiaohongshu/platform-mini-report/platform-mini-report.html
demo/xiaohongshu/chapter-insights/chapter-insights.html
_merged.json,找不到再读 comments-flat.jsonl。--min-evidence 太高会触发 warning;课堂 demo 建议从 3 开始。--owner "VOC Skills 课程 demo" 这类带空格参数要加引号。warnings、unsupportedConclusionCount、hasTraceableEvidence。