Lux.Signal.Chat (Lux v0.5.0)

View Source

Defines the schema for chat messages between agents.

Summary

Types

A signal with a schema_id set to this module.

Types

signal()

@type signal() :: %Lux.Signal{
  id: term(),
  metadata: term(),
  payload: term(),
  recipient: term(),
  schema_id: Lux.Signal.Chat,
  sender: term(),
  timestamp: term()
}

A signal with a schema_id set to this module.

Functions

id()

name()

schema()

schema_id()

validate(signal)

view()