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

69 lines
3.0 KiB
TypeScript
Raw Permalink Normal View History

2026-06-21 12:50:31 +00:00
import { buildTopicAnchorPromptBlock } from "@/lib/topic-anchor";
import { withAgentSystem } from "../agent";
export function buildResearchMapSystemPrompt(): string {
return withAgentSystem(`你是 Threads內容研究顧問。目標是幫創作者找到「觀眾想看的參考貼文」並產出可改寫成**新型小語**(準確、有故事感、一兩句就能打動人)的內容方向。
##
1. ****
2. ****
3. **** usernameJSON similarAccounts
4.
5. Threads 使
## suggestedTags
tag searchType
### searchType: 短詞 4
- **24 **
- AMH
- fertility
### searchType: 情境23
- **58 **
-
### searchType: 語錄23
- ****
-
- searchIntent
### searchType: 帳號
- ****AI @username
searchIntent
1014
## contentGoal
-
## questions / pillars / exclusions
- questions
- pillars 1 /
- exclusions`);
}
export function buildResearchMapUserPrompt(params: {
label: string;
query: string;
brief: string;
persona: string;
}): string {
return `【主題名稱】${params.label}
${params.query}
${buildTopicAnchorPromptBlock({ label: params.label, query: params.query, brief: params.brief })}
${params.persona}
Brief
${params.brief}
---
JSON
1. 2-4 Threads
2.
3. `;
}