Jido.AI.Runtime.Event (Jido AI v2.2.0)

Copy Markdown View Source

Canonical runtime event envelope shared across AI reasoning runtimes.

Summary

Functions

Create a new runtime event envelope.

Types

t()

@type t() :: %Jido.AI.Runtime.Event{
  at_ms: integer(),
  data: map(),
  id: binary(),
  iteration: integer(),
  kind: atom(),
  llm_call_id: nil | nil | binary(),
  request_id: binary(),
  run_id: binary(),
  seq: integer(),
  tool_call_id: nil | nil | binary(),
  tool_name: nil | nil | binary()
}

Functions

kinds()

@spec kinds() :: [atom()]

new(attrs)

@spec new(map()) :: t()

Create a new runtime event envelope.