Skip to main content

Conversation Trigger Service

Description

Evaluates registered conversation trigger sources each frame to determine when agent-to-agent conversations should start. For each potential initiator, checks trigger profiles (proximity, requirements, cooldowns, probability) and starts conversations through the orchestrator when all conditions are met.

Interface

Type
IConversationTriggerService

Inherits

Type
N/A

Key Components

NameTypeDescription
conversationOrchestratorIConversationServiceUsed to start conversations when trigger conditions are met.

Public Methods

NameParametersReturn TypeDescription
RegisterConversationTriggerSource sourcevoidRegisters a trigger source for periodic evaluation.
UnregisterConversationTriggerSource sourcevoidRemoves a trigger source from evaluation.
EvaluateN/AvoidRuns one evaluation pass across all registered trigger sources.