Question description
E-commerce detail page
Swipe up and down.
For each detail page, generate an AI summary by combining the user profile and product information using an LLM.
这道题围绕电商详情页的上下滑动浏览场景展开,核心是为每个商品详情页生成一段 AI 总结。题目强调需要结合用户 Profile 和商品信息,再借助 LLM 输出更贴合当前用户视角的内容。实现时通常要先组织好用户与商品的结构化信息,再设计稳定的提示词或摘要模板,确保结果既准确又个性化;如果页面是连续滑动场景,还要考虑切换商品时的缓存、刷新与请求控制,避免重复生成或延迟过高。
正文完