fabricatio_novel.models.scripting
This module defines the core data structures for narrative scenes and scripts.
Together, these classes form a foundation for creating structured yet flexible narrative content.
Classes
The most basic narrative unit. |
|
A sequence of scenes forming a cohesive narrative unit especially for a novel chapter. |
|
Structured summary of a generated chapter for cross-chapter context tracking. |
Module Contents
- class fabricatio_novel.models.scripting.Scene(/, **data: Any)
Bases:
fabricatio_capabilities.models.generic.PersistentAble,fabricatio_core.models.generic.SketchedAble,fabricatio_core.models.generic.DescribedThe most basic narrative unit.
- class fabricatio_novel.models.scripting.Script(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAble,fabricatio_capabilities.models.generic.PersistentAble,fabricatio_capabilities.models.generic.AsPromptA sequence of scenes forming a cohesive narrative unit especially for a novel chapter.
- scenes: List[Scene]
Ordered list of scenes. Must contain at least one scene. Sequence implies narrative flow.
- class fabricatio_novel.models.scripting.ChapterSummary(/, **data: Any)
Bases:
fabricatio_core.models.generic.SketchedAble,fabricatio_capabilities.models.generic.AsPromptStructured summary of a generated chapter for cross-chapter context tracking.
- character_states: Dict[str, str] = None
Map of character name to their emotional/physical state at chapter end.