Files
microfish/backend/app/templates.json
Kunthawat Greethong dd3db561e5 fix: strengthen entity filtering for ad/business content
- Add marketing metadata to 'Not allowed' list in ontology prompt
- Strengthen exclude_self filter instruction
- Add exclude_rules support from template filter rules
- Update business_ad template with more excluded types
2026-06-26 12:19:45 +07:00

99 lines
4.6 KiB
JSON

{
"templates": [
{
"id": "news_event",
"icon": "📰",
"category": "news",
"prompt_th": "จำลองปฏิกิริยาของประชาชนบนโซเชียลมีเดียหลังจาก [เหตุการณ์] ในช่วง [ระยะเวลา] ชั่วโมง",
"prompt_en": "Simulate public reactions on social media after [event] within [timeframe] hours",
"prompt_zh": "模拟[事件]发生后公众在社交媒体上的反应,时间范围[时间]小时",
"placeholders": [
"event",
"timeframe"
],
"entity_filter": {
"exclude_types": [],
"focus": "affected_parties, public, media, officials"
}
},
{
"id": "policy_regulation",
"icon": "📋",
"category": "policy",
"prompt_th": "จำลองผลกระทบของนโยบาย [ชื่อนโยบาย] ต่อกลุ่มต่างๆ ในสังคม รวมถึงการโต้ตอบบนโซเชียลมีเดีย",
"prompt_en": "Simulate the impact of [policy name] on different social groups, including social media interactions",
"prompt_zh": "模拟[政策名称]对不同社会群体的影响,包括社交媒体互动",
"placeholders": [
"policy_name"
],
"entity_filter": {
"exclude_types": [],
"focus": "citizens, experts, media, government, affected_groups"
}
},
{
"id": "business_ad",
"icon": "📢",
"category": "business",
"prompt_th": "จำลองการแพร่กระจายและผลตอบรับของ [แคมเปญ/สินค้า] บนโซเชียลมีเดีย รวมถึงปฏิกิริยาของกลุ่มเป้าหมาย",
"prompt_en": "Simulate the spread and reception of [campaign/product] on social media, including target audience reactions",
"prompt_zh": "模拟[活动/产品]在社交媒体上的传播和反馈,包括目标受众的反应",
"placeholders": [
"campaign_product"
],
"entity_filter": {
"exclude_self": true,
"exclude_types": [
"Advertiser",
"BrandOwner",
"Campaign",
"AdPosition",
"AdChannel",
"AdCreative",
"MarketingPlan",
"Brand"
],
"exclude_rules": [
"Do NOT create entities for the business/brand that created the ad",
"Do NOT create entities for ad metadata (campaign name, ad position, ad channel, ad format)",
"Do NOT create entities for abstract marketing concepts",
"ONLY create entities for real people/organizations who would react to the ad"
],
"focus": "target_audience, competitors, influencers, media, consumer_groups"
}
},
{
"id": "fiction_story",
"icon": "📖",
"category": "fiction",
"prompt_th": "จำลองเรื่องราวต่อจาก [เนื้อเรื่อง] โดยให้ตัวละครแต่ละตัวมีปฏิสัมพันธ์กันบนโซเชียลมีเดีย และทำนายตอนจบ",
"prompt_en": "Simulate the story continuation from [plot] with characters interacting on social media, and predict the ending",
"prompt_zh": "模拟从[情节]开始的故事延续,角色在社交媒体上互动,并预测结局",
"placeholders": [
"plot"
],
"entity_filter": {
"exclude_types": [
"Author",
"Narrator"
],
"focus": "characters, story_entities"
}
},
{
"id": "social_culture",
"icon": "🌍",
"category": "social",
"prompt_th": "จำลองผลกระทบของ [กระแสสังคม] ต่อกลุ่มคนต่างๆ บนโซเชียลมีเดีย รวมถึงการแพร่กระจายของข้อมูล",
"prompt_en": "Simulate the impact of [social trend] on different groups on social media, including information spread",
"prompt_zh": "模拟[社会潮流]对不同群体在社交媒体上的影响,包括信息传播",
"placeholders": [
"social_trend"
],
"entity_filter": {
"exclude_types": [],
"focus": "public_figures, communities, media, influencers, general_public"
}
}
]
}