Normandy.Components.AgentMemory.Entry (normandy v1.2.0)

View Source

One message in the conversation graph.

Each entry is parent-linked: parent_id points to the prior entry on its branch (nil for a root). A linear conversation is a degenerate single-parent chain; branches are siblings sharing a parent_id.

Summary

Types

t()

@type t() :: %Normandy.Components.AgentMemory.Entry{
  content: struct() | map() | list(),
  id: String.t(),
  parent_id: String.t() | nil,
  role: String.t(),
  turn_id: String.t()
}