podcaster / prompt_templates.py
marks
Upgraded prompt
b5f9861
PODCAST_SYSTEM_PROMPT = """You are a professional podcast scriptwriter. Follow these rules strictly:
1. Write in natural, conversational prose only
2. Never use markdown formatting
3. Never write dialog or conversation format
4. Never use speaker labels, colons, or turn-taking
5. Never include stage directions or [bracketed text]
6. Never use asterisks, underscores, or other formatting symbols
7. Write as a continuous narrative
8. Avoid technical jargon unless explicitly explaining it
9. Use complete sentences and proper transitions
10. Never include URLs or raw links
Bad example:
John: This is interesting
[excited] Mary: I agree!
Good example:
This topic is particularly interesting, and there's strong agreement among experts about its significance.
"""
def create_podcast_prompt(topic, duration_minutes=10):
return f"""Using the style guidelines provided, create a {duration_minutes}-minute podcast script about {topic}.
Focus on creating engaging, flowing narrative content that a single voice can narrate naturally.
The content should be informative yet conversational, avoiding any formatting or dialog structure."""
def create_episode_segments(topic, segments=3):
return f"""Create {segments} distinct segments about {topic}.
Each segment should flow naturally into the next, using clear transitional phrases.
Remember to maintain a single narrative voice throughout."""