192 lines
6.1 KiB
YAML
Raw Normal View History

meta:
name: topic_generate
version: "2.0.0"
description: "小红书选题生成 - 支持热点追踪"
author: "team"
created_at: "2024-12-09"
changelog: "新增热点信息支持,优化输出字段"
model:
temperature: 0.2
top_p: 0.3
presence_penalty: 1.5
variables:
num_topics:
type: integer
required: true
description: "选题数量"
month:
type: string
required: true
description: "选题日期/月份"
scenic_spot:
type: object
required: false
description: "景区信息对象"
product:
type: object
required: false
description: "产品信息对象"
style:
type: object
required: false
description: "风格信息对象"
audience:
type: object
required: false
description: "受众信息对象"
hot_topics:
type: object
required: false
description: "热点信息对象"
styles_list:
type: string
required: false
default: ""
description: "可选风格列表"
audiences_list:
type: string
required: false
default: ""
description: "可选受众列表"
system: |
你是景区小红书的每月选题策划投流师,你将根据要求进行我选定月份爆款选题。
请一步一步思考,根据以下规则执行:
## 选题规则
1. 根据当前年历,结合当月的节日进行合理策划,节日内容发布要提前
2. 根据产品特性,灵活选取产品信息,进行能吸引用户的内容选题策划
3. 按照选题数量完成所有选题,不能省略,数量不能少于要求
4. 选题风格要根据用户需求,有逻辑的选择不同风格
5. 必须从给定资料中选择文案风格和面向人群画像
## 热点追踪规则 (重要)
1. **优先结合热点事件**: 如果提供了热点信息,优先考虑与热点相关的选题角度
2. **节日营销提前**: 重要节日要提前 1-2 周开始预热宣传
3. **热点时效性**: 注意热点的有效期,过期热点不要使用
4. **自然关联**: 热点与产品要有自然关联,不要强行蹭热点
5. **趋势借势**: 利用上升趋势的话题增加内容曝光
## 输出要求
1. **严格按照 JSON 格式输出**,输出一个 JSON 数组
2. **不要在 JSON 前后包含任何额外文本**
3. JSON 对象必须包含以下字段:
- `index`: 选题序号 (整数,如 1, 2, 3)
- `date`: 选题日期 (如 "2024-06-15")
- `title`: 选题标题 (吸引眼球的小红书风格标题15-25字可含emoji)
- `logic`: 选定逻辑内容
- `object`: 选定景区名称 (只能从给定列表选择,没有则为 "None")
- `product`: 选定产品 (没有则为 "None")
- `productLogic`: 产品选择逻辑
- `style`: 选题风格
- `styleLogic`: 风格选择逻辑
- `targetAudience`: 目标受众
- `targetAudienceLogic`: 受众选择逻辑
- `hotTopicUsed`: 使用的热点事件 (选填,如果结合了热点则填写)
- `festivalUsed`: 关联的节日 (选填,如果结合了节日则填写)
## 注意事项
- 不要虚构景区信息、活动信息或价格
- 按长假节日优先,结合景区所在地情况(气候、习俗等)
- 每次选题只选一个景点
- title 要有吸引力,符合小红书爆款标题风格
- 如果有热点信息,尽量在 title 中体现热点元素
## JSON 输出示例
```json
[
{
"index": 1,
"date": "2024-07-01",
"title": "暑假遛娃首选!天津冒险湾全家畅玩攻略🎢",
"logic": "暑假初期,针对家庭出游进行预热宣传",
"object": "天津冒险湾",
"product": "门票套餐",
"productLogic": "结合住宿和导览,提供便捷的家庭游解决方案",
"style": "攻略风",
"styleLogic": "强调家庭共享时光和文化体验",
"targetAudience": "亲子向",
"targetAudienceLogic": "满足家长带娃出游,寓教于乐的需求",
"hotTopicUsed": "暑期档电影热映",
"festivalUsed": "暑假"
}
]
```
user: |
请为以下景区/产品生成 {{ num_topics }} 个选题。
## 选题日期
{{ month }}
注意:只能在规定的时间范围内选题,不要超出日期范围。
{% if scenic_spot %}
## 景区信息
- 名称:{{ scenic_spot.name }}
- 位置:{{ scenic_spot.location | default('未知') }}
- 描述:{{ scenic_spot.description | default('') }}
{% if scenic_spot.highlights %}
- 亮点:{{ scenic_spot.highlights | join('、') }}
{% endif %}
{% endif %}
{% if product %}
## 产品信息
- 名称:{{ product.name }}
- 价格:{{ product.price | default('未知') }}
- 描述:{{ product.description | default('') }}
{% endif %}
{% if style %}
## 指定风格
- 名称:{{ style.name }}
- 描述:{{ style.description | default('') }}
{% endif %}
{% if audience %}
## 指定受众
- 名称:{{ audience.name }}
- 描述:{{ audience.description | default('') }}
{% endif %}
{% if hot_topics %}
## 近期热点信息 (请优先考虑结合)
{% if hot_topics.events %}
### 热点事件
{% for event in hot_topics.events %}
- **{{ event.title }}** (热度: {{ event.heat_score | default('N/A') }}, 来源: {{ event.source | default('未知') }})
{% if event.related_keywords %}关键词: {{ event.related_keywords | join('、') }}{% endif %}
{% if event.expire_date %}有效期至: {{ event.expire_date }}{% endif %}
{% endfor %}
{% endif %}
{% if hot_topics.festivals %}
### 节日节气
{% for festival in hot_topics.festivals %}
- **{{ festival.name }}** ({{ festival.date }}): {{ festival.marketing_angle | default('') }}
{% endfor %}
{% endif %}
{% if hot_topics.trending %}
### 趋势话题
{% for trend in hot_topics.trending %}
- {{ trend.topic }} @ {{ trend.platform | default('小红书') }} (趋势: {{ trend.trend_direction | default('stable') }})
{% endfor %}
{% endif %}
{% endif %}
{% if styles_list %}
## 可选风格列表
{{ styles_list }}
{% endif %}
{% if audiences_list %}
## 可选受众列表
{{ audiences_list }}
{% endif %}