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
Key Components
| Name | Type | Description |
|---|
| conversationOrchestrator | IConversationService | Used to start conversations when trigger conditions are met. |
Public Methods
| Name | Parameters | Return Type | Description |
|---|
| Register | ConversationTriggerSource source | void | Registers a trigger source for periodic evaluation. |
| Unregister | ConversationTriggerSource source | void | Removes a trigger source from evaluation. |
| Evaluate | N/A | void | Runs one evaluation pass across all registered trigger sources. |