Changes
Build and Push Docker Images / build (push) Successful in 37s

This commit is contained in:
2026-05-04 21:02:35 +03:00
parent 34625ae242
commit fa1ef23c02
87 changed files with 3151 additions and 522 deletions
-23
View File
@@ -1,23 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Api.Models
{
public sealed class ContactRequest
{
[Required, StringLength(100)]
public string Name { get; set; } = "";
[Required, EmailAddress, StringLength(200)]
public string Email { get; set; } = "";
[Required, StringLength(200)]
public string Subject { get; set; } = "";
[Required, StringLength(5000)]
public string Message { get; set; } = "";
// Token returned by the captcha widget
[Required]
public string CaptchaToken { get; set; } = "";
}
}
-43
View File
@@ -1,43 +0,0 @@
namespace Api.Models.Rag;
public sealed record CvIngestResponse(
string DocumentId,
int Chunks,
int CharactersExtracted,
string Summary
);
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 sealed class JobMatchResponse
{
public int Score { get; set; }
public string Summary { get; set; } = string.Empty;
public List<string> Strengths { get; set; } = [];
public List<string> Gaps { get; set; } = [];
public List<string> Recommendations { get; set; } = [];
public List<string> Evidence { get; set; } = [];
}
public sealed class StoredCvChunk
{
public required string Id { get; init; }
public required string DocumentId { get; init; }
public required string Text { get; init; }
public required float[] Embedding { get; init; }
public required int ChunkIndex { get; init; }
public DateTimeOffset ExpiresAt { get; init; }
}
public sealed class RetrievedCvChunk
{
public required string Text { get; init; }
public required int ChunkIndex { get; init; }
public double Score { get; init; }
}
-15
View File
@@ -1,15 +0,0 @@
using System.ComponentModel.DataAnnotations;
namespace Api.Models
{
public sealed class SubscribeRequest
{
[Required, EmailAddress, StringLength(200)]
public string Email { get; set; } = "";
// Token returned by the captcha widget
[Required]
public string CaptchaToken { get; set; } = "";
}
}