Files
myAi/cv-matcher-api/Data/Repositories/Contracts/IMatcherRepository.cs
T
claude 64b0219038
Build and Push Docker Images / build (push) Failing after 27s
Move models in separate projects
2026-05-06 17:11:44 +03:00

13 lines
602 B
C#

using CvMatcher.Models.Responses;
namespace Api.Data.Repositories.Contracts;
public interface IMatcherRepository
{
Task InitializeAsync(CancellationToken ct);
Task<JobMatchResponse?> GetMatchAsync(string cvDocumentId, string jobDocumentId, CancellationToken ct);
Task SaveMatchAsync(string cvDocumentId, string jobDocumentId, JobMatchResponse response, CancellationToken ct);
Task<string?> GetChatCompletionAsync(string cacheKey, CancellationToken ct);
Task SaveChatCompletionAsync(string cacheKey, string model, decimal temperature, string responseText, CancellationToken ct);
}