Jido.Character.Schema.Voice (Jido Character v1.0.0)

Copy Markdown View Source

Character voice - how the character communicates.

Summary

Functions

Returns the Zoi schema for Voice

Types

t()

@type t() :: %Jido.Character.Schema.Voice{
  expressions: [binary()],
  style: nil | nil | binary(),
  tone:
    :formal
    | :casual
    | :playful
    | :serious
    | :warm
    | :cold
    | :professional
    | :friendly,
  vocabulary:
    nil | nil | :simple | :technical | :academic | :conversational | :poetic
}

Functions

new(attrs \\ %{})

@spec new(map()) :: {:ok, t()} | {:error, term()}

new!(attrs \\ %{})

@spec new!(map()) :: t()

schema()

Returns the Zoi schema for Voice