Skip to main content

Module conversation_state

Module conversation_state 

Source
Expand description

§Conversation State Machine

Tracks the lifecycle phase of a conversation via a finite-state machine. Phases transition based on TransitionTrigger events detected from user text or explicit external signals (timeout, close).

Structs§

ConversationStateMachine
Finite-state machine that advances a conversation through its lifecycle.
PhaseTransition
A recorded phase change with its cause and wall-clock timestamp.

Enums§

ConversationPhase
High-level lifecycle phase of a conversation.
TransitionTrigger
Events that may cause a phase transition.