# `Jidoka.Memory.Entry`
[🔗](https://github.com/agentjido/jidoka/blob/v0.9.0/lib/jidoka/memory/entry.ex#L1)

Durable memory entry available to prompt assembly.

# `t`

```elixir
@type t() :: %Jidoka.Memory.Entry{
  agent_id: binary(),
  content: binary(),
  id: binary(),
  metadata: map(),
  session_id: nil | nil | binary()
}
```

# `from_input`

```elixir
@spec from_input(
  t() | keyword() | map(),
  keyword()
) :: {:ok, t()} | {:error, term()}
```

Normalizes an existing memory entry, keyword list, or map.

# `new`

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

Builds a memory entry and applies optional identifier defaults.

# `new!`

```elixir
@spec new!(
  keyword() | map(),
  keyword()
) :: t()
```

Builds a memory entry and raises if the attributes are invalid.

# `schema`

```elixir
@spec schema() :: Zoi.schema()
```

Returns the Zoi schema for a memory entry.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
