ai_member_xiaoxi/memory/.dreams/short-term-recall.json
2026-05-08 08:00:01 +08:00

69 lines
4.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"version": 1,
"updatedAt": "2026-05-07T04:41:47.636Z",
"entries": {
"memory:memory/2026-05-06.md:1:20": {
"key": "memory:memory/2026-05-06.md:1:20",
"path": "memory/2026-05-06.md",
"startLine": 1,
"endLine": 20,
"source": "memory",
"snippet": "# 2026-05-06 工作日志 ## 任务1学而思/讯飞/希沃/京东方月度渠道订单报表 - [李承龙需求] 创建按月汇总四个渠道订单的 Python 脚本 - 脚本路径:`/root/.openclaw/workspace/scripts/monthly_channel_order_report.py` - **渠道映射:** 仅端内 `key_from='app-active-h5-0-0'`sale_channel: 21=学而思, 22=讯飞, 26=希沃, 27=京东方 - **输出格式:** 四个渠道各一个 Sheet每月按天展示学而思/希沃/京东方只显示有订单日期,讯飞显示全月每天) - **指标差异:** - 学而思/希沃/京东方订单数、GMV、CPS分成学而思×0.45希沃×0.4京东方×0.3)、订单号(分号拼接) - 讯飞订单数、GMV、新增注册download_channel LIKE '%讯飞%'、CPA分成新增注册×7、订单号 - **退费剔除:** NOT EXISTS (bi_refund_order.status=3) AND order_status != 4 - **测试运行:** 2026-04 月份,新增注册 537讯飞订单合计 15 单GMV 14585 元 - **订单号格式问题:** Excel 科学计数法 → 设置单元格为文本格式解决 - **psycopg2 转义:** LIKE 中 `%` 需写成 `%%`psycopg2 的 `%s` 占位符冲突) ## 任务2销售线",
"recallCount": 1,
"dailyCount": 0,
"groundedCount": 0,
"totalScore": 1,
"maxScore": 1,
"firstRecalledAt": "2026-05-06T12:28:28.905Z",
"lastRecalledAt": "2026-05-06T12:28:28.905Z",
"queryHashes": [
"c30fa9d13974"
],
"recallDays": [
"2026-05-06"
],
"conceptTags": [
"学而思/讯飞/希沃/京东方月度渠道订单报表",
"key-from",
"app-active-h5-0-0",
"sale-channel",
"学而思/希沃/京东方只显示有订单日期",
"学而思/希沃/京东方",
"0.45",
"0.4"
]
},
"memory:memory/2026-05-06.md:15:30": {
"key": "memory:memory/2026-05-06.md:15:30",
"path": "memory/2026-05-06.md",
"startLine": 15,
"endLine": 30,
"source": "memory",
"snippet": "- **订单号格式问题:** Excel 科学计数法 → 设置单元格为文本格式解决 - **psycopg2 转义:** LIKE 中 `%` 需写成 `%%`psycopg2 的 `%s` 占位符冲突) ## 任务2销售线索用户分析报表 - [李承龙需求] 输入包含462个用户ID的Excel输出每个用户+角色的完整画像报表 - 脚本路径:`/root/.openclaw/workspace/scripts/lead_user_analysis.py` - **重要口径修正(李承龙确认):** - **体验课定义:** 固定为 L1 U00(L01-L05) + L2 U00(L01-L05) 共10节课**不通过 expire_time 区分** - L1 chapter_id: 343, 344, 345, 346, 348 - L2 chapter_id: 55, 56, 57, 58, 59 - **完成时间:** 取 `bi_user_chapter_play_record` 中 `play_status=1` 记录的**最早 `updated_at`**(非 `created_at` - **报表列:** 用户ID、角色ID、用户注册时间、角色创建时间、L1序章5节完成时间、L2序章5节完成时间、购买时间、购买课包名称、支付金额、购买渠道key_from、是否退款、退款金额 - **分表规则:** `bi_user_chapter_play_record_{0..7}`,分表号 = user_id % 8 - **重要关联:** `b",
"recallCount": 1,
"dailyCount": 0,
"groundedCount": 0,
"totalScore": 0.9835963163573811,
"maxScore": 0.9835963163573811,
"firstRecalledAt": "2026-05-07T04:41:47.636Z",
"lastRecalledAt": "2026-05-07T04:41:47.636Z",
"queryHashes": [
"dd105d141c56"
],
"recallDays": [
"2026-05-07"
],
"conceptTags": [
"l01-l05",
"expire-time",
"chapter-id",
"bi-user-chapter-play-record",
"play-status",
"updated-at",
"created-at",
"购买渠道key-from"
]
}
}
}