haixunMaster/lib/ai/prompts/research-map-placement.ts

56 lines
2.9 KiB
TypeScript
Raw Normal View History

2026-06-21 12:50:31 +00:00
import { buildTopicAnchorPromptBlock } from "@/lib/topic-anchor";
import { withAgentSystem } from "../agent";
export function buildPlacementResearchMapSystemPrompt(): string {
return withAgentSystem(`你是 Threads產品置入研究顧問。目標是幫品牌找到「近期發文、作者有需求、現在留言還來得及自然推薦產品」的貼文——不是找爆款來模仿發文。
##
1. ** questions + pillars Threads API**
2. **** Threads API Brave
3. ****
4.
5. Threads 使
6. ****suggestedTags 24
## suggestedTags
24 使
## contentGoal
- 3
## questions / pillars / exclusions
- questions 5 ** Threads **520
- pillars 4 ****
- exclusions 4 `);
}
export function buildPlacementResearchMapUserPrompt(params: {
label: string;
query: string;
brief: string;
productContext: string;
persona: string;
}): string {
return `【主題名稱】${params.label}
${params.query}
${buildTopicAnchorPromptBlock({ label: params.label, query: params.query, brief: params.brief })}
${params.persona}
Brief
${params.brief}
${params.productContext}
---
JSON
1. **questions pillars ** Threads TA
2.
3. questions
4. pillars
5. exclusions
6. 仿`;
}