V7 Entertainment Agent Demo
Belief-guided personalization agent for ambiguous entertainment feedback.
这个页面把 v7 的完整流程做成可试玩网站:注册用户,先答 10 个偏好问题;GPT 生成 profile、长期偏好和短期记忆;用户选题后流式生成章节;再由 GPT 生成 feedback-conditioned auto-rubric、Judge 打分、Score Aggregator 汇总,并把反馈回写到下一轮 Planner state。
Server-side GPT
前端只调用同域 proxy,用户不需要配置模型连接参数。
模型连接由服务端环境变量管理;浏览器只请求 /api/openai/responses。这能避免外部 API 的 CORS 限制,也不会把敏感配置暴露到静态 HTML。
Local Account
简单注册后开始试玩
账号只保存在这个浏览器的 localStorage,用来隔离每个用户的 profile、memory、章节和评分记录。
No user
GPT Proxy
统一服务端调用
所有 profile、章节生成、auto-rubric、Judge、UserSim 和 memory update 都走同一个 Responses proxy。前端不再展示模型连接配置。
POST /api/openai/responses
wire_api: responses
Not tested
Preference Capture
10 个偏好问题
Belief State
User profile, long-term preference, short-term memory
Profile summary
No profile yet.
Planner state preview
Waiting for profile.
Next Task
选择主题和题目
这里的 Frozen Generator 是调用同一个 GPT endpoint 模拟冻结生成器;demo 只更新 Planner state 和 memory,不做模型微调。
Generated Chapters
History
Frozen Generator Output
Chapter Output
Auto-Rubric Builder
feedback-conditioned checklist
No rubric yet.
Judge + Score Aggregator
Score
No judge score yet.
Human Feedback / UserSim
下一轮反馈
Planner Feedback
diagnosis -> next brief
No memory update yet.