Codex.Voice.Events.VoiceStreamEventLifecycle (Codex SDK v0.7.2)

Copy Markdown View Source

Lifecycle event from the voice pipeline.

Events include:

  • :turn_started - A new turn (user speech segment) has started
  • :turn_ended - The current turn has ended
  • :session_ended - The entire session has ended

Summary

Types

lifecycle_event()

@type lifecycle_event() :: :turn_started | :turn_ended | :session_ended

t()

@type t() :: %Codex.Voice.Events.VoiceStreamEventLifecycle{
  event: lifecycle_event(),
  type: :voice_stream_event_lifecycle
}