Commit Graph
23 Commits
Author SHA1 Message Date
KKlochko dfab9d3df0 Update the lifecycle to load the model only from local files. 2025-11-16 15:42:24 +02:00
KKlochko fc286b34ed Add the prompt support for endpoints. 2025-11-16 15:40:13 +02:00
KKlochko 6588ed2767 Remove unused models. 2025-11-16 13:05:45 +02:00
KKlochko 0f9546462e Add the validation for empty texts. 2025-11-16 12:58:05 +02:00
KKlochko 59caa6a0ab Add a handler to make the structure of validation errors consistent. 2025-11-16 12:26:47 +02:00
KKlochko 763773ee51 Add the integration test. 2025-11-15 22:08:14 +02:00
KKlochko efb3683fb7 Update README to add how to use the server. 2025-11-15 21:58:37 +02:00
KKlochko 3bb822f77c Add Dockerfile and .dockerignore. 2025-11-15 12:23:14 +02:00
KKlochko 004b076794 Update .gitignore. 2025-11-15 12:17:51 +02:00
KKlochko 8539dc45a8 Add tests for verify output structure. 2025-11-14 19:48:43 +02:00
KKlochko be811ddb59 Add logging for tracing errors. 2025-11-14 19:48:02 +02:00
KKlochko 12475d8d0a Add tests for relation extraction endpoint. 2025-11-14 19:47:06 +02:00
KKlochko 9b1661c9ef Fix the implentation for relation extraction endpoint. 2025-11-14 19:46:13 +02:00
KKlochko 295b9368f9 Add tests for sumarization endpoint. 2025-11-14 18:44:24 +02:00
KKlochko ac34ef0740 Add tests for general endpoint. 2025-11-14 15:44:09 +02:00
KKlochko 487e5d00a1 Add tests to verify error response format for endpoints. 2025-11-14 15:25:06 +02:00
KKlochko cda672a84a Add exception handler to make flat error responses. 2025-11-14 15:18:06 +02:00
KKlochko f2d1ec9957 Add helper methods and endpoint implementations. 2025-11-14 15:17:24 +02:00
KKlochko eab1d4ffd3 Add the lifespan to load model or to cleanup. 2025-11-14 14:24:58 +02:00
KKlochko e40c0af2f7 Add models. 2025-11-14 14:23:45 +02:00
KKlochko d5d204c642 Add tests for the health endpoint. 2025-11-14 10:27:30 +02:00
KKlochko c8b724fd29 Add requirements for prod and dev profiles. 2025-11-14 10:26:44 +02:00
KKlochko 24ac2744d0 Init the project. 2025-11-13 21:16:36 +02:00