using MediatR;

namespace MktXService.Domain.Events;

/// <summary>
/// EN: Domain event raised when AI detects an intent.
/// VI: Domain event được phát ra khi AI phát hiện ý định.
/// </summary>
public class IntentDetectedDomainEvent : INotification
{
    public Guid SessionId { get; }
    public string Intent { get; }
    public double Confidence { get; }

    public IntentDetectedDomainEvent(Guid sessionId, string intent, double confidence)
    {
        SessionId = sessionId;
        Intent = intent;
        Confidence = confidence;
    }
}
