• 2 Posts
  • 3 Comments
Joined 1 year ago
cake
Cake day: September 26th, 2023

help-circle

  • Creating a 100,000-word coherent story using an LLM with a limited context window requires strategic planning in how you manage the narrative flow, continuity, and character development over multiple sessions. Here’s a strategy tailored for this scenario:

    1. Detailed Plot Outline:

      Expand the Outline: Break down the story into smaller, manageable arcs or segments (e.g., each act could be split into several chapters). Each segment should have its own mini-outline: Major plot points Character development for that segment Setting changes Key interactions or conflicts Micro-Outline for Each Chapter: For each chapter within these arcs: Opening scenario Middle conflict Resolution or cliffhanger Character arcs within the chapter

    2. Session Management:

      Context Management: Due to the limited context window, you’ll need to manage how much information is retained from session to session: Summarize Previous Content: Before each new prompt, provide a concise summary of the previous narrative sections. This summary should include: Key events Current state of characters Unresolved conflicts or mysteries Setting and time Prompt Structure: Start with a Summary: Begin each prompt with a summary:

       Previous chapter summary: [insert summary here]. Now, write the next chapter where [describe the key elements from the micro-outline].
      
       Specify Tone and Style: If the story has a specific tone or narrative style, remind the LLM of this:
      
       Maintain the [tone/style] from previous chapters. 
      

      Length of Each Segment: Estimate how many words you can comfortably fit into one session. If your LLM can handle around 2,000 tokens (which could be around 1,500 words, depending on the model), you might aim for each session to produce a chapter of 1,500 words.

    3. Continuity and Cohesion:

      Character Consistency: Keep a running document of character details, relationships, and developments outside the LLM context. Use this to ensure consistency: Character sheets Timeline of events Plot Devices: Use recurring elements or plot devices to maintain cohesion: Recurring themes Foreshadowing elements from earlier segments Feedback Loop: After each session, review the output for: Continuity errors Character voice consistency Plot holes

      Use this feedback to adjust your next prompts or summaries to address any discrepancies.

    4. Incremental Development:

      Iterative Refinement: As you generate content, refine your prompts based on what works…