b6878e3b45
The frontend sends the active language code (currentLang()) with every match request. CvMatcherService injects a language instruction into the system prompt so the LLM returns summary, strengths, gaps, recommendations, and evidence in the correct language. The match result cache (CvMatchResults) now includes Language as part of the lookup key so Romanian and English results are stored and retrieved independently. Existing cached rows default to 'en'. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
480 B
C#
14 lines
480 B
C#
namespace Models.Requests;
|
|
|
|
public sealed class JobMatchRequest
|
|
{
|
|
public string? CvDocumentId { get; set; }
|
|
public string? JobUrl { get; set; }
|
|
public string? JobDescription { get; set; }
|
|
public bool GdprConsent { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? CaptchaToken { get; set; }
|
|
/// <summary>ISO 639-1 language code for the match result (e.g. "en", "ro"). Defaults to "en".</summary>
|
|
public string? Language { get; set; }
|
|
}
|