public class DefaultPrimaryBotOrchestrationEventHandler implements PrimaryBotOrchestrationEventHandler
public DefaultPrimaryBotOrchestrationEventHandler(@NotNull
ai.tock.bot.definition.StoryDefinition comebackStory)
public void onStarOrchestration(@NotNull
ai.tock.bot.engine.BotBus bus,
@NotNull
AvailableOrchestrationResponse orchestrationResponse)
Event when the primary bot delegate conversation to a secondary bot
orchestrationResponse - chosen response (secondary bot more relevant)bus - @NotNull public ComeBackFromSecondary onStopOrchestration(@NotNull ai.tock.bot.engine.BotBus bus, @NotNull Orchestration orchestration)
Event when a Intent in stopOrchestrationIntentList (primary bot configuration) is enabled
orchestration - current orchestrationbus - @NotNull public ComeBackFromSecondary onNoOrchestration(@NotNull ai.tock.bot.engine.BotBus bus, @NotNull Orchestration orchestration)
Event when a Intent in noOrchestrationIntentList (primary bot configuration) is enabled
orchestration - current orchestrationbus - @NotNull public ComeBackFromSecondary onTakeBackOrchestration(@NotNull ai.tock.bot.engine.BotBus bus, @NotNull Orchestration orchestration)
Event when takeBackOrchestration() (primary bot configuration) is true
orchestration - current orchestrationbus -