fabricatio_character.models.character

This module contains the models for the character.

Classes

CharacterCard

A structured character profile for storytelling, role-playing, or AI narrative generation.

Module Contents

class fabricatio_character.models.character.CharacterCard(/, **data: Any)

Bases: fabricatio_core.models.generic.SketchedAble, fabricatio_core.models.generic.Named, fabricatio_capabilities.models.generic.AsPrompt, fabricatio_capabilities.models.generic.PersistentAble

A structured character profile for storytelling, role-playing, or AI narrative generation.

Each field captures a core dimension of the character to ensure consistent and vivid portrayal. All fields are required and must contain at least one character.

name: str

The character’s identifying name (can be real name, alias, or title).

role: str

The character’s narrative or functional role within the story.

look: str

Visual appearance including clothing, physique, distinguishing features, and style.

act: str

Typical behaviors, mannerisms, speech patterns, or reactions under stress.

want: str

The character’s core motivation or deepest goal driving their actions.

flaw: str

Critical weakness, moral failing, or psychological vulnerability that creates conflict.

rendering_template: ClassVar[str]