# `LlmCore.Memory`
[🔗](https://github.com/fosferon/llm_core/blob/v0.9.7/lib/llm_core/memory.ex#L1)

Backend-neutral semantic memory API.

# `available?`

```elixir
@spec available?() :: boolean()
```

# `backend`

```elixir
@spec backend() :: module()
```

# `recall`

```elixir
@spec recall(String.t(), keyword()) :: {:ok, [map()]} | {:error, term()}
```

# `reflect`

```elixir
@spec reflect(String.t() | atom(), keyword()) :: {:ok, term()} | {:error, term()}
```

# `retain`

```elixir
@spec retain(String.t(), map(), keyword()) :: :ok
```

# `retain_sync`

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

---

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