Next Item:发现某性别和年龄段搜索上升的内容
由商品企划和策划者提出“二十多岁女性下一个趋势是什么”而开启。广泛收集候选项,按分数筛选,仅对入选项深入分析。
方案
广泛收集(低成本调用),按分数筛选(代码),只对选中的深入分析(高成本调用)。按成本分阶段是核心策略。
API及各自功能
intent_finder围绕主题收集相关搜索作为候选keyword_info一次性获取所有候选词的总量、月度趋势及性别年龄分布trend_finder补充近期快速增长的话题path_finder · cluster_finder仅对选中候选词,在两个时间点:路径是否变宽?
逻辑:保证数据真实的规则
性别和年龄占比单独给出。交叉值如“二十多岁的女性”为两者乘积,界面标记为“推导”。未测量的分数部分不计入权重,卡片会说明。
界面:显示内容
每个候选卡片展示分数及其组成部分,每个值标记为测量、计算、推导或无数据。
本应用中真实存在的提示词
从应用代码原样复制的部分。共同点:首先声明 AI 不可做的事。自定义:AI编程工具的起步提示
一个构建该应用简化版的示例。可粘贴到Claude Code、Cursor等工具中,将中括号内容按公司需求修改。Build a small web app with these conditions. (Python FastAPI + one HTML page)
[What to build]
Enter a keyword and see the 20 related searches that grew most in the last 3 months.
[Data]
Use only the ListeningMind API. Base https://daas.listeningmind.ai/v1, header Authorization: Bearer $LM_KEY (read the key from an environment variable, never write it in code).
1) POST /v1/intent_finder {keyword, market, limit: 300} for candidates.
2) POST /v1/keyword_info {keywords: [candidates], market, data_type: "all"} for volume_avg, volume_trend and monthly_volume.
Before a call, check the price with POST /v1/estimate_cost, and send max_lima with every call.
[Rules]
- Drop candidates whose volume_avg is too small (make the threshold adjustable on screen).
- Rank by volume_trend and also compute, from monthly_volume, whether it is above the same month last year.
- Every number (volume, change, rank, score) is computed in code. The AI does no arithmetic.
- The AI gets only the evidence picked from API responses and may not write a number or keyword that is not in it. Take its output as JSON and drop any keyword that is not in the evidence, in code.
[Screen]
- A table: keyword, monthly volume, 3-month change, change from the same month last year, a small 12-month bar chart.
- On top, the AI explains 'the three that grew most' in one sentence each.
- Next to every number, show in small type which API and field it came from.
First explain the file layout and the order of calls; write the code after I confirm.