PhoenixAI.Store.EventLog.Event (PhoenixAI.Store v0.1.0)

Copy Markdown View Source

An immutable event record in the append-only event log.

Events capture significant actions (message sent, cost recorded, policy violation, etc.) with a type atom and a data map containing type-specific payload.

Summary

Types

t()

@type t() :: %PhoenixAI.Store.EventLog.Event{
  conversation_id: String.t() | nil,
  data: map(),
  id: String.t() | nil,
  inserted_at: DateTime.t() | nil,
  metadata: map(),
  type: atom(),
  user_id: String.t() | nil
}