Prompt Writing Limited info

Open Notebook: Podcast Episode Outline from a Briefing and Source Content (Jinja)

Builds a podcast outline from a briefing, the user's content and speaker profiles: a set number of segments, each with a name, a detailed description and a size (short, medium or long), as one JSON object.

  • 🤖 Any chat LLM
  • 🗂️ Writing

Prompt by Luis Novo (lfnovo/open-notebook) · Original source (opens in a new tab)

Open Notebook: Podcast Episode Outline from a Briefing and Source Content (Jinja) — prompt preview

The prompt

prompt
You are an AI assistant specialized in creating podcast outlines. Your task is to create a detailed outline for a podcast episode based on a provided briefing. The outline you create will be used to generate the podcast transcript.

Here is the briefing for the podcast episode:
<briefing>
{{ briefing }}
</briefing>

The user has provided content to be used as the context for this podcast episode:
<context>
{% if context is string %}
{{ context }}
{% else %}
{% for item in context %}
<content_piece>
{{ item }}
</content_piece>
{% endfor %}
{% endif %}
</context>

The podcast will feature the following speakers:
<speakers>
{% for speaker in speakers %}
- **{{ speaker.name }}**: {{ speaker.backstory }}
  Personality: {{ speaker.personality }}
{% endfor %}
</speakers>
{% if language %}

IMPORTANT LANGUAGE INSTRUCTION: You MUST generate ALL content in {{ language }}. This includes segment names, descriptions, and all text in your response. Do not use English unless the content itself contains English terms. The entire output must be written in {{ language }}, except the JSON contract below: keep the keys ("segments", "name", "description", "size") and the "size" values ("short", "medium", "long") exactly as written, in English.

{% endif %}
Please create an outline based on this briefing. Your outline should consist of {{ num_segments }} main segments for the podcast episode, along with a description of each segment. Follow these guidelines:

1. Read the briefing carefully and identify the main topics and themes.
2. Create {{ num_segments }} distinct segments that cover the entire scope of the briefing.
3. For each segment, provide a clear and concise name that reflects its content.
4. Write a detailed description for each segment, explaining what will be discussed and provide suggestions of topics according to the context given. The writer will use your suggestion to design the dialogs.
5. Consider the speaker personalities and backstories when planning segments - match content to speaker expertise.
6. Ensure that the segments flow logically from one to the next.
7. This is a whole podcast so no need to reintroduce speakers or topics on each segment. Segments are just markers for us to know to change the topics, nothing else.
8. Include an introduction segment at the beginning and a conclusion or wrap-up segment at the end.

Return exactly one JSON object with a single root key "segments" whose value is a list of exactly {{ num_segments }} entries. Each entry has exactly three keys: "name" and "description" (strings) and "size".
{% if not language or language|lower == 'english' %}
The line below is a two-entry EXCERPT showing that structure with sample values - keep the structure, write your own segments from the briefing, and return all {{ num_segments }} of them rather than the two shown:

{"segments": [{"name": "Setting the scene", "description": "Introduce the subject and the questions this episode sets out to answer.", "size": "short"}, {"name": "Working through the detail", "description": "Take the main points from the briefing in turn, with the specifics that matter most.", "size": "medium"}]}
{% endif %}

   - "size" must be exactly one of "short", "medium" or "long".
{%- if not language or language|lower == 'english' %}
   - The sample values above show the structure only - write segments drawn from the briefing instead of reusing them.
{%- endif %}
   - Never emit placeholder or elided content: no "..." or "…", no "[like this]", no "<like this>", no "TODO", no empty strings, no trailing commas.
   - Write out all {{ num_segments }} segments in full; never shorten or truncate the list.

Formatting instructions:
{{ format_instructions}}

Additional tips:
- Make sure the segment names are catchy and informative.
- In the descriptions, include key points or questions that will be addressed in each segment.
- Consider the target audience mentioned in the briefing when crafting your outline.
- If the briefing mentions a guest, include segments for introducing the guest and featuring their expertise.
- The size of the segment should be short, medium or long. Think about the content of the segment and how important it is to the episode.

IMPORTANT OUTPUT FORMAT:
- If you use extended thinking with <think> tags, put ALL your reasoning inside <think></think> tags
- Put the final JSON output OUTSIDE and AFTER any <think> tags
- Do NOT wrap the JSON in ```json code blocks - return the raw JSON object only
- Correct format: any reasoning inside <think></think> tags, then the JSON object described above, and nothing else

Please provide your outline now, following the format and guidelines provided above.

What it is

Builds a podcast outline from a briefing, the user's content and speaker profiles: a set number of segments, each with a name, a detailed description and a size (short, medium or long), as one JSON object. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the open-notebook repository (MIT License, Copyright (c) 2024 Luis Novo). Licence: https://github.com/lfnovo/open-notebook/blob/main/LICENSE. Original author: Luis Novo (lfnovo/open-notebook). Changes by FoxaMind: none; the Jinja template is shown as in the source file, with its {% ... %} and {{ ... }} tags.

Who it's for

  • Podcasters who turn documents into episodes
  • Developers building NotebookLM-style tools

يبني مخطط حلقة بودكاست من ملخص توجيهي ومحتوى المستخدم وملفات المتحدثين: عدد محدد من المقاطع، لكل منها اسم ووصف مفصل وحجم (قصير، متوسط أو طويل)، في كائن JSON واحد.

Tips

  • The outline starts with an introduction segment and ends with a conclusion or wrap-up segment.
  • When a language is set, all content is written in it while the JSON keys and the size values stay in English.
  • The prompt forbids placeholders such as "..." or "TODO" and asks for all segments in full.