namespace PowderCoating.Application.Interfaces;
public interface IAiHelpService
{
///
/// Send a message to the AI help assistant and get a response.
///
/// Prior turns: alternating user/assistant messages.
/// The current user message.
/// Read-only context about the current user and company.
Task SendMessageAsync(
List conversationHistory,
string userMessage,
string systemPrompt);
}
public record AiHelpMessage(string Role, string Content);
public record AiHelpTenantContext(
string CompanyName,
string UserRole,
string UserName,
string? SubscriptionPlan);