Nous.Memory.Entry (nous v0.13.3)

View Source

Memory entry struct with scoping fields for flexible isolation.

Summary

Types

memory_type()

@type memory_type() :: :semantic | :episodic | :procedural

t()

@type t() :: %Nous.Memory.Entry{
  access_count: non_neg_integer(),
  agent_id: String.t() | nil,
  content: String.t(),
  created_at: DateTime.t(),
  embedding: [float()] | nil,
  evergreen: boolean(),
  id: String.t(),
  importance: float(),
  last_accessed_at: DateTime.t(),
  metadata: map(),
  namespace: String.t() | nil,
  session_id: String.t() | nil,
  type: memory_type(),
  updated_at: DateTime.t(),
  user_id: String.t() | nil
}

Functions

new(attrs)