using CvMatcher.Models.Requests;
using CvMatcher.Models.Responses;

namespace Api.Clients.Api.Contracts;

public interface IRagApiClient
{
    Task<RagIndexResponse> IndexCvPdfAsync(IFormFile file, CancellationToken ct);
    Task<RagIndexResponse> IndexJobTextAsync(string text, string? url, string? title, CancellationToken ct);
    Task<RagDocumentDetails?> GetDocumentAsync(string documentId, CancellationToken ct);
    Task<RagSearchResponse> SearchAsync(RagSearchRequest request, CancellationToken ct);
}
