This commit is contained in:
2026-05-06 10:56:02 +03:00
parent 661bf461f9
commit 17266730fc
11 changed files with 562 additions and 1024 deletions
@@ -8,8 +8,8 @@ using System.Text.Json;
namespace Api.Controllers;
[ApiController]
[Route("api/rag")]
[EnableRateLimiting("rag")]
[Route("api/cv-matcher")]
[EnableRateLimiting("cv-matcher")]
public sealed class RagController : ControllerBase
{
private readonly IHttpClientFactory _httpClientFactory;
@@ -26,7 +26,7 @@ public sealed class RagController : ControllerBase
_logger = logger;
}
[HttpPost("cv")]
[HttpPost("upload")]
[RequestSizeLimit(8 * 1024 * 1024)]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]