43017036fd
- Move IAiPromptsRepository, EfAiPromptsRepository to cv-matcher-data/Repositories - Move IMatcherRepository, EfMatcherRepository to cv-matcher-data/Repositories - Add cv-matcher-api-models ProjectReference to cv-matcher-data.csproj - Delete cv-matcher-api/Data folder (all data access now in cv-matcher-data) Pattern: cv-matcher-api (logic) → cv-matcher-data (repositories, EF entities, migrations) Aligns with rag-api → rag-data consolidation Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
13 lines
642 B
C#
13 lines
642 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, CancellationToken ct);
|
|
Task<string?> GetChatCompletionAsync(string cacheKey, CancellationToken ct);
|
|
Task SaveChatCompletionAsync(string cacheKey, string model, decimal temperature, string responseText, CancellationToken ct);
|
|
}
|