2026-01-22 20:47:55 +00:00
|
|
|
using RealCV.Application.Models;
|
2026-01-21 00:51:24 +01:00
|
|
|
|
2026-01-22 20:47:55 +00:00
|
|
|
namespace RealCV.Application.Interfaces;
|
2026-01-21 00:51:24 +01:00
|
|
|
|
|
|
|
|
public interface ICompanyNameMatcherService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Uses AI to semantically compare a company name from a CV against Companies House candidates.
|
|
|
|
|
/// Returns the best match with confidence score and reasoning.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<SemanticMatchResult?> FindBestMatchAsync(
|
|
|
|
|
string cvCompanyName,
|
|
|
|
|
List<CompanyCandidate> candidates,
|
|
|
|
|
CancellationToken cancellationToken = default);
|
|
|
|
|
}
|