02d2b1e510
Threads the caller's email and client IP through the match pipeline so every Results row records who triggered the match and from where. Closes #45 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
682 B
C#
13 lines
682 B
C#
using CvMatcher.Models.Responses;
|
|
|
|
namespace CvMatcher.Data.Repositories.Contracts;
|
|
|
|
public interface IMatcherRepository
|
|
{
|
|
Task InitializeAsync(CancellationToken ct);
|
|
Task<JobMatchResponse?> GetMatchAsync(string cvDocumentId, string jobDocumentId, string language, CancellationToken ct);
|
|
Task SaveMatchAsync(string cvDocumentId, string jobDocumentId, string language, JobMatchResponse response, string? email, string? clientIpAddress, CancellationToken ct);
|
|
Task<string?> GetChatCompletionAsync(string cacheKey, CancellationToken ct);
|
|
Task SaveChatCompletionAsync(string cacheKey, string model, decimal temperature, string responseText, CancellationToken ct);
|
|
}
|