Spectre.Router.Adapter.Request (Spectre v0.3.4)

Copy Markdown View Source

Privacy-scoped input delivered to a router Adapter.

The request deliberately excludes handlers, runtime host context, raw input, mutable candidates, traces, and errors.

Summary

Types

t()

@type t() :: %Spectre.Router.Adapter.Request{
  current_flow: atom() | nil,
  current_scope: Spectre.Definition.scope() | nil,
  meta: map(),
  recent_chat: String.t(),
  rules: [Spectre.Router.Adapter.RuleView.t()],
  text: String.t()
}