Jidoka.Chat.Request (Jidoka v0.9.0)

Copy Markdown View Source

Data handle for an asynchronous Jidoka chat request.

The handle is intentionally not part of the durable agent data contract. It is caller-owned data for UI processes that stream request-scoped events and await the normalized final chat result. The internal async chat module owns task control.

Summary

Types

t()

@type t() :: %Jidoka.Chat.Request{
  cancellation: Jidoka.Cancellation.token(),
  controller: nil | nil | pid(),
  metadata: map(),
  request_id: binary(),
  session_id: nil | nil | binary(),
  started_at_ms: integer(),
  stream_to: nil | nil | pid(),
  target: any(),
  task: Task.t()
}