NarraLeaf

SentenceUserConfig

The user-facing, partial form of `SentenceConfig` passed to `character.say`, accepting a plain string for `voice`.

type SentenceUserConfig = Partial<Omit<SentenceConfig, "voice"> & {
    voice: Sound | string | null | undefined;
}>;

For SentenceConfig, see SentenceConfig. That includes optional fields such as metadata and avatar (dialog avatars — see Dialog).