ADK.Memory.Entry (ADK v0.0.1-alpha.1)

Copy Markdown View Source

A single memory entry.

Mirrors Python ADK's MemoryEntry — stores content with optional metadata.

Summary

Functions

Create a new memory entry with an auto-generated ID and timestamp.

Types

t()

@type t() :: %ADK.Memory.Entry{
  author: String.t() | nil,
  content: String.t(),
  id: String.t(),
  metadata: map(),
  timestamp: DateTime.t()
}

Functions

new(opts)

@spec new(keyword()) :: t()

Create a new memory entry with an auto-generated ID and timestamp.