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 个偏好问题

1. 常看的题材

2. 章节节奏

3. 叙事视角

4. 角色偏好

5. 情绪基调

6. 世界观密度

7. 明确不想要的内容

8. 你通常怎么反馈

9. 哪些行为能代表喜欢

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

Not started
生成内容会在这里流式出现。

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.