fabricatio_novel.models.draft
Novel draft models for early stage novel design.
Classes
Chapter Draft for early stage novel design. |
|
A draft representing a novel, including its title, genre, characters, chapters, and synopsis. |
Module Contents
- class fabricatio_novel.models.draft.ChapterDraft(/, **data: Any)
Bases:
fabricatio_core.models.generic.TitledChapter Draft for early stage novel design.
- title: str
Descriptive string without chapter number, chapter number is autogenerated based on how many chapters in total.
- synopsis: str
Super detailed summaries for each chapter. Cover: what happens, how characters change, physical interaction, key scenes/dialogue, setting shifts, emotional tone, and hints or themes. Goal: Lock in every important detail so nothing gets lost later — like a mini-script for each chapter.
- class fabricatio_novel.models.draft.NovelDraft(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAble,fabricatio_core.models.generic.Titled,fabricatio_core.models.generic.Language,fabricatio_capabilities.models.generic.PersistentAble,fabricatio_capabilities.models.generic.WordCountA draft representing a novel, including its title, genre, characters, chapters, and synopsis.
- character_descriptions: List[str]
Super detailed descriptions for each main character. Include: looks, personality, backstory, goals, relationships, inner struggles, and their role in the story. Goal: Make every character feel real, consistent, and fully fleshed out — no vague or shallow summaries.
- chapters: List[ChapterDraft]
Ordered chapter drafts with per-chapter synopsis and weight.
- property all_chapters_titles: List[str]
{title}’.
- Type:
Return formatted titles for all chapters as ‘Ch-{idx}
- iter_chap() Generator[Tuple[int, int, ChapterDraft], None, None]
Iterate through all chapters with metadata.