E-commerce intelligent shopping guide/product recommendation agent that helps users discover products and provides personalized purchase suggestions
智能导购/商品推荐Agent通过多轮对话了解用户需求,提供个性化商品推荐。
用户输入
│
▼
需求分析 (demand_analysis)
│
▼
用户画像 (user_profiling)
│
▼
商品搜索 (product_search)
│
▼
推荐排序 (recommendation_ranking)
│
▼
推荐解释 (recommendation_explanation)
│
▼
最终输出
| 参数 | 类型 | 必填 | 说明 | |------|------|------|------| | user_input | string | 是 | 用户输入文本 | | user_id | string | 否 | 用户ID,用于个性化 | | context | object | 否 | 额外上下文 |
| 字段 | 类型 | 说明 | |------|------|------| | response | string | 自然语言回复 | | recommendations | array | 推荐商品列表 | | dialogue_state | string | 对话状态 | | extracted_constraints | object | 提取的约束条件 |
# 商品数据库
PRODUCT_DB_URL=postgresql://user:pass@host:port/db
# 用户画像服务
USER_PROFILE_API_URL=https://api.example.com/user-profile
# 搜索服务
SEARCH_API_URL=https://search.example.com
用户输入:
我想买个2000-3000的手机,平时玩游戏比较多
预期输出:
根据您的需求,我为您推荐以下几款手机:
首选推荐:Redmi K70 (¥2499)
- 性能强劲:搭载骁龙8 Gen2处理器,游戏性能出色
- 屏幕优秀:2K分辨率+120Hz高刷屏
- 续航给力:5000mAh大电池+120W快充
- 性价比高:2499元的价格在同档位非常有竞争力
用户输入:
我想买个好东西
预期输出:
我可以帮您推荐商品!请告诉我:
1. 您想买什么类型的商品?(如手机、耳机、电脑等)
2. 您的预算大概是多少?
3. 主要用途是什么?
npx skills add fhammer/ecommerce_recommendation下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Category:business
Tags:ecommerce, recommendation, shopping