Character memory with entries and capacity limit.
Returns the Zoi schema for Memory
@type t() :: %Jido.Character.Schema.Memory{ capacity: integer(), entries: [ %Jido.Character.Schema.MemoryEntry{ category: nil | nil | binary(), content: binary(), decay_rate: float(), importance: float(), timestamp: nil | nil | DateTime.t() } ] }
@spec new(map()) :: {:ok, t()} | {:error, term()}
@spec new!(map()) :: t()