using ROLAC.API.DTOs.Expense;
namespace ROLAC.API.Services.Ai;
/// AI assistance for expense entry: translate a description and suggest a category.
public interface IExpenseAiService
{
///
/// Translate to concise accounting English and suggest the best
/// major/sub category from the live catalog, using as a hint.
/// Never throws on an upstream/AI failure — returns a suggestion with null fields instead.
///
Task SuggestAsync(string chineseText, decimal amount, CancellationToken ct = default);
}