Spaces:
Running
Running
File size: 3,434 Bytes
cbca414 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
export const CONTENT_CREATOR_PROMPT = (topic, category, subTopics, contentType, gender, targetLang) => {
const isBurmese = targetLang.toLowerCase() === 'burmese' || targetLang === 'ααΌααΊαα¬αα¬αα¬';
let burmeseRules = "";
if (isBurmese) {
const pronoun = gender === 'male' ? "αα»α½ααΊαα±α¬αΊ (Kyun-Daw)" : "αα»α½ααΊα (Kyun-Ma)";
burmeseRules = `
STRICT BURMESE NARRATIVE RULES:
- Output must be a PURE NARRATIVE. NO structural labels, NO titles, NO scene headers.
- ABSOLUTELY FORBIDDEN tags: 'α‘ααα―ααΊαΈ', 'αααα«ααΊαΈ', 'αα―ααΊαα―αΆαα±α¬αΊααΌαα»ααΊ', 'Host:', 'Visual:', 'SCENE', 'Intro', 'Title', 'Idea'.
- AVOID formal/literary endings: 'αααΊ', 'α', 'αα±α¬'.
- PRONOUNS: Use '${pronoun}' naturally. DO NOT repeat it excessively as it sounds unnatural. Use it only when necessary to establish identity or connection.
DYNAMIC HOOKS & TONE:
- DO NOT start with a fixed greeting like "Mingalaba" every time.
- START with a powerful, context-aware HOOK. This could be:
* A thought-provoking question related to "${topic}".
* A startling fact or futuristic scenario.
* An immediate emotional connection or a "What if" situation.
- TONE MATCHING: The writing style MUST match the category ("${category}") and topic ("${topic}").
* If it's Motivation/Startup: Use energetic, inspiring, and direct language.
* If it's Sad/Emotional/Health: Use a calm, empathetic, and gentle tone.
* If it's Fiction/Horror: Use immersive, mysterious, and descriptive language.
CONVERSATIONAL ENDINGS (Mix & Match naturally):
- Use only polite conversational endings. DO NOT be repetitive. Rotate through these based on context:
* 'αα«αααΊ', 'αα¬αα«', 'αααΊ', 'ααΌα
αΊαα«αααΊ', 'ααΌα
αΊαα±αα«αααΊ'
* 'ααΎααα«αααΊ', 'ααΎααα±αα«αααΊ', 'ααΎααα±αα¬αα«', 'ααΎααα²α·αα«αααΊ'
* 'αααΎααα²α·αα«αα°αΈ', 'αααΌα
αΊαα²α·αα«αα°αΈ', 'ααΌα
αΊααΎα¬ααα―ααΊαα«αα°αΈ', 'ααΌα
αΊααΎα¬αα«'
* 'ααα―ααΊαα«αααΊ', 'αα½α±α·ααα―ααΊααα«αααΊ', 'αα―ααΊααα―ααΊααα«αααΊ'
* 'ααΌα
αΊα
α±αα²α·αα«αααΊ', 'ααΌα
αΊα
α±αα²α·αα¬ααα―ααΊαα«αα°αΈ'
* 'ααα―α·αα«', 'ααα―ααΊααα―α·αα«', 'αα―ααΊαα±ααα―α·αα«', 'ααΌα
αΊαα±ααα―α·αα«'
* 'αα«αα°αΈ', 'α¦αΈαααΊαα±α¬αΊ', 'αααΊαα»α¬', 'ααΎαα·αΊ'
STYLE SPECIFICS:
- FOR VIDEO: Write as if someone is speaking directly to a camera or audience. Engaging, active, and conversational.
- FOR TEXT: Write as a smooth, immersive story. Focus on flow and beautiful word choices to keep the reader hooked.
- CHECKLIST INTEGRATION: Naturally weave these points into the flow: ${subTopics.join(', ')}.
`;
}
return `
Task: Write a highly engaging ${contentType} as a continuous conversational narrative about "${topic}".
Category: ${category}
Language: ${targetLang}
${burmeseRules}
Instructions:
1. The entire output should be ONLY the words to be spoken or read.
2. No meta-information, no descriptions, no stage directions.
3. Use clear paragraphs for readability.
4. Language must be beautiful, smooth, and human-like.
`;
};
|