# `PhoenixAI.Store.LongTermMemory.Fact`
[🔗](https://github.com/franciscpd/phoenix-ai-store/blob/v0.1.0/lib/phoenix_ai/store/long_term_memory/fact.ex#L1)

A key-value fact associated with a user, persisted across conversations.

Facts are simple string pairs — the key identifies what is known, the value
holds the information. Save is upsert: writing to the same `{user_id, key}`
silently overwrites the previous value.

# `t`

```elixir
@type t() :: %PhoenixAI.Store.LongTermMemory.Fact{
  id: String.t() | nil,
  inserted_at: DateTime.t() | nil,
  key: String.t(),
  updated_at: DateTime.t() | nil,
  user_id: String.t(),
  value: String.t()
}
```

---

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