Selects the next participant speaker based on their LLM-rated "desire to talk". The moderator's turns are primarily handled by the `FocusGroup`'s phase/script logic. This flow is mainly for choosing which participant responds to the moderator.
Super class
FocusGroup::ConversationFlow -> DesireBasedFlow
Public fields
last_desire_scoresNamed numeric vector. Stores the most recent desire scores.
last_scoring_modeCharacter. How the most recent desire scores were obtained: "broadcast_shared_config" (one config for all), "broadcast_grouped_config" (agents grouped by differing configs), or "per_agent".
min_desire_thresholdNumeric. Minimum desire score for a participant to be considered.
Methods
Inherited methods
Method new()
Initialize DesireBasedFlow.
Usage
DesireBasedFlow$new(agents, moderator_id, min_desire_threshold = 3)