{"id":473760,"date":"2025-09-02T21:02:43","date_gmt":"2025-09-02T21:02:43","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=473760"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=473760","title":{"rendered":"<span>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e tRPC, NLP \u0438 Vertex AI<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d1b\/574\/8dc\/d1b5748dc919f8eb0873a2bd7d549bf6.png\" alt=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e tRPC, NLP \u0438 Vertex AI\" title=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e tRPC, NLP \u0438 Vertex AI\" width=\"1248\" height=\"832\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/d1b\/574\/8dc\/d1b5748dc919f8eb0873a2bd7d549bf6.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/d1b\/574\/8dc\/d1b5748dc919f8eb0873a2bd7d549bf6.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e tRPC, NLP \u0438 Vertex AI<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 TypeScript, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 PDF-\u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u043c\u0438. \u041c\u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c API, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u044b\u0431\u0440\u0430\u043b\u00a0<strong>tRPC<\/strong>\u00a0\u0434\u043b\u044f \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<br \/>tRPC \u2014 \u044d\u0442\u043e RPC-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u043d\u0430 TypeScript, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0435\u0449\u0430\u0435\u0442 \u00abend-to-end typesafe APIs\u00bb (\u0441\u043a\u0432\u043e\u0437\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e API), \u0442\u043e \u0435\u0441\u0442\u044c \u044f \u043c\u043e\u0433\u0443 \u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0445\u0435\u043c OpenAPI \u0438\u043b\u0438 GraphQL SDL.<br \/>\u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u043b\u043e, \u0447\u0442\u043e \u044f \u043c\u043e\u0433 \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u043a\u0438, \u0430 \u043d\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 REST \u0438\u043b\u0438 GraphQL, tRPC \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u2014 \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b (\u043f\u043e \u0441\u0443\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438) \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044f \u0442\u0438\u043f\u044b \u0432\u0445\u043e\u0434\u0430 \u0438 \u0432\u044b\u0445\u043e\u0434\u0430.<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e? \u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445, \u044f \u0434\u0435\u043b\u0430\u043b \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 (MVP) \u0438 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b TypeScript \u0441 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d. \u041c\u043e\u0434\u0435\u043b\u044c tRPC \u0431\u0435\u0437 \u0448\u0430\u0433\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u0441 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e. \u0412 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 tRPC \u0434\u0430\u0436\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e: \u0435\u0441\u043b\u0438 \u044f \u0438\u0437\u043c\u0435\u043d\u044e \u0432\u0445\u043e\u0434 \u0438\u043b\u0438 \u0432\u044b\u0445\u043e\u0434 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, TypeScript \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0434\u0438\u0442 \u043c\u0435\u043d\u044f \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0435\u0449\u0451 \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0437\u0430\u043f\u0440\u043e\u0441. \u042d\u0442\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043b\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0433\u0438 \u043d\u0430 \u0440\u0430\u043d\u043d\u0438\u0445 \u0441\u0442\u0430\u0434\u0438\u044f\u0445. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e, \u0441 REST \u0438\u043b\u0438 GraphQL \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043b, \u0447\u0442\u043e tRPC \u0436\u0451\u0441\u0442\u043a\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 API \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 (\u043e\u043d \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044f\u0437\u044b\u043a\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c API), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u00abTypeScript-first\u00bb, \u043a\u0430\u043a \u044d\u0442\u043e\u0442, \u0430 \u043d\u0435 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 API.<\/p>\n<h3>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 tRPC \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>\u0421 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c tRPC \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438: \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0432\u0443\u0445 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 PDF-\u0444\u0430\u0439\u043b\u043e\u0432 (CV \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438). \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f tRPC \u0441 Zod-form-data, \u044f \u043c\u043e\u0433 \u043b\u0435\u0433\u043a\u043e \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0444\u0430\u0439\u043b\u043e\u0432. \u0412\u043e\u0442 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430:<\/p>\n<pre><code class=\"javascript\">export const matchRouter = router({   analyzePdfs: baseProcedure     .input(zfd.formData({       vacancyPdf: zfd.file().refine(file =&gt; file.type === \"application\/pdf\", {         message: \"Only PDF files are allowed\",       }),       cvPdf: zfd.file().refine(file =&gt; file.type === \"application\/pdf\", {         message: \"Only PDF files are allowed\",       }),     }))     .mutation(async ({ input }) =&gt; {       const [cvText, vacancyText] = await Promise.all([         PDFService.extractText(input.cvPdf),         PDFService.extractText(input.vacancyPdf),       ]);       const result = await MatcherService.match(cvText, vacancyText);       return { matchRequestId, ...result };     }), });<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u0443\u0442\u0430\u0446\u0438\u044f\u00a0<code>analyzePdfs<\/code>\u00a0\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 multipart-\u0444\u043e\u0440\u043c\u0443 \u0441 \u0434\u0432\u0443\u043c\u044f PDF-\u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0412\u044b\u0437\u043e\u0432\u044b\u00a0<code>zfd.file().refine(...)<\/code>\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044e\u0442, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u2014 \u044d\u0442\u043e PDF. \u041f\u043e\u0441\u043b\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e\u00a0<code>FileService<\/code>) \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u00a0<code>PDFService.extractText(...)<\/code>, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0441\u044b\u0440\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e PDF. \u0417\u0430\u0442\u0435\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u00a0<code>MatcherService.match(cvText, vacancyText)<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0441\u0430\u043c \u0430\u043d\u0430\u043b\u0438\u0437.\u0422\u0430\u043a \u043a\u0430\u043a tRPC \u0437\u043d\u0430\u0435\u0442 \u0442\u0438\u043f\u044b \u0432\u0445\u043e\u0434\u0430\/\u0432\u044b\u0445\u043e\u0434\u0430, \u043c\u043e\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 DTO. \u0422\u0430\u043a\u043e\u0439 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0435\u0442\u0430\u043f \u0438 \u0441\u0442\u0440\u043e\u0433\u0430\u044f \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043b\u0438 \u043c\u043d\u0435 \u043c\u0430\u0441\u0441\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 MVP.<\/p>\n<h3>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e NLP<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b \u0447\u0438\u0441\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 CV \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0438\u043b\u0438 \u043d\u0430\u0432\u044b\u043a\u0438. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e\u00a0<em>natural<\/em>\u00a0(\u0434\u043b\u044f \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0446\u0438\u0438),\u00a0<em>compromise<\/em>\u00a0(\u0434\u043b\u044f \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0435\u0447\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445) \u0438 \u0444\u0438\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u043f-\u0441\u043b\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u00a0<code>MatcherService<\/code>\u00a0\u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0445\u0435\u043b\u043f\u0435\u0440:<\/p>\n<pre><code class=\"javascript\">private static extractSkills(text: string): Set&lt;string&gt; {   const doc = nlp(text);   const nouns = doc.nouns().out(\"array\"); \/\/ nouns are often skills or keywords   const capitalizedWords = text.match(\/\\b[A-Z][a-zA-Z0-9.-]+\\b\/g) || [];    \/\/ also pick up capitalized words (like frameworks or proper nouns)   return new Set([...nouns, ...capitalizedWords].map(w =&gt; w.toLowerCase())); }<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u0442\u0435\u043a\u0441\u0442 \u043a \u043d\u0438\u0436\u043d\u0435\u043c\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 NLP-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443\u00a0<em>compromise<\/em>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b (\u0447\u0430\u0441\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439). \u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u0430\u0451\u0442 \u043c\u043d\u0435 \u043d\u0430\u0431\u043e\u0440 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432-\u00ab\u043d\u0430\u0432\u044b\u043a\u043e\u0432\u00bb \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430. \u042d\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u2014 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 ML, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0430, \u043d\u043e \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432. (\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u044b \u0440\u0435\u0437\u044e\u043c\u0435.) \u0412\u043d\u0435\u0448\u043d\u044f\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 regex-\u043b\u043e\u0433\u0438\u043a\u0438 \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435.<\/p>\n<h3>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Vertex AI (Gemini 1.5 Flash) \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a Google Vertex AI \u0441 \u043d\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e\u00a0<strong>Gemini 1.5 Flash<\/strong>. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0446\u0435\u043d\u043a\u0430 \u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438), \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044f \u0441\u043b\u043e\u0436\u043d\u0443\u044e NLP-\u043b\u043e\u0433\u0438\u043a\u0443 \u0441\u0430\u043c\u043e\u043c\u0443. \u0412\u00a0<code>MatcherService<\/code>, \u043f\u043e\u0441\u043b\u0435 \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u044f \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e \u043f\u0440\u043e\u043c\u043f\u0442 \u0438 \u0434\u0435\u043b\u0430\u044e fetch \u043a Vertex. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"javascript\">const aiPrompt = ` Analyze the job description and candidate's CV to provide a structured evaluation.  Job Description: ${cleanedJD}  Candidate CV: ${cleanedCV}  Provide a structured analysis in JSON format with fields \"score\", \"strengths\", and \"suggestions\". `;  const response = await fetch(process.env.AI_API_ENDPOINT!, {   method: \"POST\",   headers: {     Authorization: process.env.AI_API_TOKEN,     \"Content-Type\": \"application\/json\",   },   body: JSON.stringify({     contents: [       { role: \"user\", parts: [{ text: aiPrompt }] }     ]   }) });  const data = await response.json(); if (!data?.candidates?.[0]?.content?.parts?.[0]?.text) {   throw new AIServiceError('Invalid AI response format'); } const rawResponse = data.candidates[0].content.parts[0].text; \/\/ Then parse rawResponse as JSON for score, strengths, suggestions...<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u00a0<code>fetch<\/code>, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c POST \u043d\u0430 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442 Vertex AI (\u0443\u043a\u0430\u0437\u0430\u043d \u0432\u00a0<code>AI_API_ENDPOINT<\/code>), \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u0432 \u0442\u0435\u043b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u0440\u043e\u043c\u043f\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u0440\u043e\u043c\u043f\u0442 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0438 CV \u0438 \u0432\u044b\u0434\u0430\u0442\u044c JSON \u0441 \u043e\u0446\u0435\u043d\u043a\u043e\u0439 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f, \u0441\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438. \u0417\u0430\u0442\u0435\u043c \u044f \u043f\u0430\u0440\u0441\u044e JSON-\u0442\u0435\u043a\u0441\u0442 \u0438\u0437\u00a0<code>data.candidates[0].<\/code><a href=\"http:\/\/content.parts\" rel=\"noopener noreferrer nofollow\"><code>content.parts<\/code><\/a><code>[0].text<\/code>.\u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u2014 Gemini \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u042d\u0442\u043e \u043e\u0449\u0443\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0440\u043e\u043b\u0438 \u00ab\u0447\u0451\u0440\u043d\u043e\u0433\u043e \u044f\u0449\u0438\u043a\u0430-\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u0435\u043b\u044f\u00bb. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u044f \u0434\u043e\u0432\u0435\u0440\u044f\u044e \u0418\u0418, \u0438 \u0438\u043d\u043e\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0438\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. \u041d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Gemini \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 UI \u0438 \u043f\u043e\u0442\u043e\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u043d\u0435 \u043d\u0430 \u0442\u043e\u043d\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 LLM. (\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c, \u043f\u0440\u0430\u0432\u0434\u0430, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u043b\u0438\u043c\u0438\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.)<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 tRPC \u043f\u043e\u0434\u043e\u0448\u0451\u043b (\u0438 \u0435\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f)<\/h3>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 tRPC \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u043b\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443. \u0411\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b API \u044f \u043c\u043e\u0433 \u043f\u043e\u0434\u043d\u044f\u0442\u044c endpoint \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u043c\u0438\u043d\u0443\u0442\u044b. Full-stack TypeScript \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043a\u043e\u0434 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435, \u2014 \u044d\u0442\u043e \u043e\u0431\u0449\u0438\u0439 \u043a\u043e\u0434 \u0438 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430 (\u0447\u0435\u0440\u0435\u0437 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 tRPC), \u0442\u0430\u043a \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u043a\u043e\u0433\u0434\u0430 \u044f \u043c\u0435\u043d\u044f\u043b \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e Zod \u0438\u043b\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u043c\u043e\u0439 React UI \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u0430\u043b \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u043e\u043a\u0430 \u044f \u043d\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u0442\u0438\u043f\u044b. \u042d\u0442\u043e \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u00ab\u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u00bb \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e, \u043e \u0447\u0451\u043c \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0441\u0430\u0439\u0442 tRPC. \u0418 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 tRPC \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 (\u043d\u0435\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438), \u043a\u043e\u0434 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u043c.<\/p>\n<p>\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044f \u0437\u043d\u0430\u044e \u043f\u0440\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f tRPC. \u041e\u043d \u0436\u0451\u0441\u0442\u043a\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u0441 \u044d\u0442\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0431\u044b \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 REST \u0438\u043b\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0438\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u041c\u043d\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0430\u043c\u043e\u043c\u0443 \u0434\u0443\u043c\u0430\u0442\u044c \u043f\u0440\u043e \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043b\u0438\u043c\u0438\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (tRPC \u043d\u0435 \u0434\u0430\u0451\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a GraphQL). \u0412 \u0431\u043b\u043e\u0433\u0435 Directus \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u0442\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e: tRPC \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 TypeScript, \u043d\u043e \u00ab\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u00bb, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0448\u0438\u0440\u043e\u043a\u0430\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2014 \u043f\u043e \u0441\u0443\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0434\u0435\u043c\u043e \u2014 \u044d\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b. \u042f \u0434\u0430\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 middleware-\u043b\u0438\u043c\u0438\u0442\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0438 \u0432\u044b\u0437\u043e\u0432\u044b Vertex AI \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u043b\u0438 \u043a\u0432\u043e\u0442\u0443.<\/p>\n<h3>\u0423\u0440\u043e\u043a\u0438<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 API \u043d\u0430 TypeScript \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c. \u042f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043a\u0432\u043e\u0437\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e (\u043a\u043b\u0438\u0435\u043d\u0442 \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<code>{ score: number }<\/code>) \u0438 \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443. \u041a\u043e\u0434 \u043e\u0449\u0443\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u00abSDK-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u00bb: \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u00a0<code>matchRouter<\/code>\u00a0\u0442\u0430\u043a, \u0441\u043b\u043e\u0432\u043d\u043e \u044d\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434.<\/p>\n<p>\u041d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 NLP \u044f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0438 (\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 + \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b) \u043c\u043e\u0433\u0443\u0442 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445. \u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Vertex AI \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u0430, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u043e\u0435 \u0438\u0437 \u00ab\u043c\u0430\u0433\u0438\u0438 AI\u00bb \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0434\u0430\u0442\u044c \u043d\u0430\u0440\u0443\u0436\u043d\u044b\u043c \u043c\u043e\u0434\u0435\u043b\u044f\u043c \u043f\u0440\u0438 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0439 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u043e\u043c\u043f\u0442\u0430.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u043d\u0435\u0442 \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u043e\u0439 \u043f\u0443\u043b\u0438. \u0415\u0441\u043b\u0438 \u0431\u044b \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u044f \u0431\u044b \u0443\u043b\u0443\u0447\u0448\u0438\u043b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u043e\u043a\u0440\u0443\u0433 AI-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 (\u0442\u0430\u043a \u043a\u0430\u043a PDF-to-text \u0438 \u0432\u044b\u0437\u043e\u0432\u044b AI \u0434\u043e\u0440\u043e\u0433\u0438\u0435). \u0418 \u0435\u0441\u043b\u0438 \u0431\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u044f \u043c\u043e\u0433 \u0431\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c tRPC \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 REST\/GraphQL API \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041d\u043e \u043f\u043e\u043a\u0430 \u0447\u0442\u043e tRPC \u0434\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0443\u0436\u043d\u043e: \u0431\u044b\u0441\u0442\u0440\u044b\u0439 MVP \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u043e\u043c \u0446\u0435\u0440\u0435\u043c\u043e\u043d\u0438\u0439.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0437\u0434\u0435\u0441\u044c:\u00a0<a href=\"https:\/\/github.com\/Kapustin2000\/wolf-cv-matcher-technical-task-trpc\" rel=\"noopener noreferrer nofollow\">GitHub Repository<\/a>.<\/p>\n<p><strong>Sources:<\/strong>\u00a0\u042f \u043e\u043f\u0438\u0440\u0430\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u043f\u043e\u043a\u0430 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 tRPC \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u00abmove fast, break nothing\u00bb \u0438 \u0441\u043a\u0432\u043e\u0437\u043d\u043e\u0439 TypeScript-\u043f\u043e\u0434\u0445\u043e\u0434, \u0430 \u0432 \u0431\u043b\u043e\u0433\u0430\u0445 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a tRPC \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u0444\u043e\u043d\u0435 REST\/GraphQL, \u043e\u0442\u043c\u0435\u0447\u0430\u044f \u0435\u0433\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043d\u0430 TypeScript \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f.<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/trpc.io\" rel=\"noopener noreferrer nofollow\">tRPC Official Site<\/a> \u2013\u00a0<em>Move Fast and Break Nothing. End-to-end typesafe APIs made easy.<\/em>\u00a0(\u0424\u043e\u043a\u0443\u0441 tRPC \u043d\u0430 full-stack TypeScript \u0438 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e).<\/p>\n<\/li>\n<li>\n<p>Viljami Kuosmanen,\u00a0<a href=\"https:\/\/dev.to\/anttiviljami\/comparing-rest-graphql-trpc-12n8\" rel=\"noopener noreferrer nofollow\"><em>Comparing REST, GraphQL &amp; tRPC<\/em><\/a>\u00a0(dev.to, Oct 2023) \u2013 \u041e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a tRPC \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 RPC-\u0441\u0442\u0438\u043b\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b.<\/p>\n<\/li>\n<li>\n<p>Bryant Gillespie,\u00a0<a href=\"https:\/\/directus.io\/blog\/rest-graphql-tprc\" rel=\"noopener noreferrer nofollow\"><em>REST vs. GraphQL vs. tRPC<\/em><\/a>\u00a0(Directus blog, Feb 2025) \u2013 \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b tRPC (\u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044f) \u0438 \u0435\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f (\u0442\u043e\u043b\u044c\u043a\u043e TypeScript, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0445\u0432\u0430\u0442).<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/943306\/\"> https:\/\/habr.com\/ru\/articles\/943306\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\">\n<div><figcaption>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e tRPC, NLP \u0438 Vertex AI<\/figcaption><\/div>\n<\/figure>\n<p>\u041d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 TypeScript, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 PDF-\u0440\u0435\u0437\u044e\u043c\u0435 \u0441 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u044f\u043c\u0438. \u041c\u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c API, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0432\u044b\u0431\u0440\u0430\u043b\u00a0<strong>tRPC<\/strong>\u00a0\u0434\u043b\u044f \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<br \/>tRPC \u2014 \u044d\u0442\u043e RPC-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0441 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u043d\u0430 TypeScript, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0435\u0449\u0430\u0435\u0442 \u00abend-to-end typesafe APIs\u00bb (\u0441\u043a\u0432\u043e\u0437\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e API), \u0442\u043e \u0435\u0441\u0442\u044c \u044f \u043c\u043e\u0433\u0443 \u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0445\u0435\u043c OpenAPI \u0438\u043b\u0438 GraphQL SDL.<br \/>\u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u043b\u043e, \u0447\u0442\u043e \u044f \u043c\u043e\u0433 \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u043b\u043e\u0433\u0438\u043a\u0438, \u0430 \u043d\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 REST \u0438\u043b\u0438 GraphQL, tRPC \u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u2014 \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b (\u043f\u043e \u0441\u0443\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438) \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043b\u0438\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044f \u0442\u0438\u043f\u044b \u0432\u0445\u043e\u0434\u0430 \u0438 \u0432\u044b\u0445\u043e\u0434\u0430.<\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e? \u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445, \u044f \u0434\u0435\u043b\u0430\u043b \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 (MVP) \u0438 \u0443\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b TypeScript \u0441 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d. \u041c\u043e\u0434\u0435\u043b\u044c tRPC \u0431\u0435\u0437 \u0448\u0430\u0433\u043e\u0432 \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 \u0441 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u043e\u0434\u043e\u0448\u043b\u0430 \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e. \u0412 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 tRPC \u0434\u0430\u0436\u0435 \u043e\u0442\u043c\u0435\u0447\u0435\u043d\u043e: \u0435\u0441\u043b\u0438 \u044f \u0438\u0437\u043c\u0435\u043d\u044e \u0432\u0445\u043e\u0434 \u0438\u043b\u0438 \u0432\u044b\u0445\u043e\u0434 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, TypeScript \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0434\u0438\u0442 \u043c\u0435\u043d\u044f \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0435 \u0435\u0449\u0451 \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044e \u0437\u0430\u043f\u0440\u043e\u0441. \u042d\u0442\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043b\u043e\u0432\u0438\u0442\u044c \u0431\u0430\u0433\u0438 \u043d\u0430 \u0440\u0430\u043d\u043d\u0438\u0445 \u0441\u0442\u0430\u0434\u0438\u044f\u0445. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e, \u0441 REST \u0438\u043b\u0438 GraphQL \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b. \u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043b, \u0447\u0442\u043e tRPC \u0436\u0451\u0441\u0442\u043a\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 API \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 (\u043e\u043d \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044f\u0437\u044b\u043a\u043e\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c API), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u043b\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u00abTypeScript-first\u00bb, \u043a\u0430\u043a \u044d\u0442\u043e\u0442, \u0430 \u043d\u0435 \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 API.<\/p>\n<h3>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0440\u043e\u0443\u0442\u0435\u0440\u0430 tRPC \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445<\/h3>\n<p>\u0421 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c tRPC \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u043e\u0443\u0442\u0435\u0440 \u0434\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438: \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0434\u0432\u0443\u0445 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 PDF-\u0444\u0430\u0439\u043b\u043e\u0432 (CV \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438). \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f tRPC \u0441 Zod-form-data, \u044f \u043c\u043e\u0433 \u043b\u0435\u0433\u043a\u043e \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0444\u0430\u0439\u043b\u043e\u0432. \u0412\u043e\u0442 \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u0434\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0430:<\/p>\n<pre><code class=\"javascript\">export const matchRouter = router({   analyzePdfs: baseProcedure     .input(zfd.formData({       vacancyPdf: zfd.file().refine(file =&gt; file.type === \"application\/pdf\", {         message: \"Only PDF files are allowed\",       }),       cvPdf: zfd.file().refine(file =&gt; file.type === \"application\/pdf\", {         message: \"Only PDF files are allowed\",       }),     }))     .mutation(async ({ input }) =&gt; {       const [cvText, vacancyText] = await Promise.all([         PDFService.extractText(input.cvPdf),         PDFService.extractText(input.vacancyPdf),       ]);       const result = await MatcherService.match(cvText, vacancyText);       return { matchRequestId, ...result };     }), });<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u043c\u0443\u0442\u0430\u0446\u0438\u044f\u00a0<code>analyzePdfs<\/code>\u00a0\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 multipart-\u0444\u043e\u0440\u043c\u0443 \u0441 \u0434\u0432\u0443\u043c\u044f PDF-\u0444\u0430\u0439\u043b\u0430\u043c\u0438. \u0412\u044b\u0437\u043e\u0432\u044b\u00a0<code>zfd.file().refine(...)<\/code>\u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u0443\u044e\u0442, \u0447\u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0444\u0430\u0439\u043b \u2014 \u044d\u0442\u043e PDF. \u041f\u043e\u0441\u043b\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 (\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e\u00a0<code>FileService<\/code>) \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u00a0<code>PDFService.extractText(...)<\/code>, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0441\u044b\u0440\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e PDF. \u0417\u0430\u0442\u0435\u043c \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u00a0<code>MatcherService.match(cvText, vacancyText)<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0441\u0430\u043c \u0430\u043d\u0430\u043b\u0438\u0437.\u0422\u0430\u043a \u043a\u0430\u043a tRPC \u0437\u043d\u0430\u0435\u0442 \u0442\u0438\u043f\u044b \u0432\u0445\u043e\u0434\u0430\/\u0432\u044b\u0445\u043e\u0434\u0430, \u043c\u043e\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 DTO. \u0422\u0430\u043a\u043e\u0439 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0435\u0442\u0430\u043f \u0438 \u0441\u0442\u0440\u043e\u0433\u0430\u044f \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u0438\u043b\u0438 \u043c\u043d\u0435 \u043c\u0430\u0441\u0441\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 MVP.<\/p>\n<h3>\u0418\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e NLP<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b \u0447\u0438\u0441\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 CV \u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0438\u0437 \u043d\u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u0441\u043b\u043e\u0432\u0430 \u0438\u043b\u0438 \u043d\u0430\u0432\u044b\u043a\u0438. \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e: \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e\u00a0<em>natural<\/em>\u00a0(\u0434\u043b\u044f \u0442\u043e\u043a\u0435\u043d\u0438\u0437\u0430\u0446\u0438\u0438),\u00a0<em>compromise<\/em>\u00a0(\u0434\u043b\u044f \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0447\u0430\u0441\u0442\u0435\u0439 \u0440\u0435\u0447\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445) \u0438 \u0444\u0438\u043b\u044c\u0442\u0440 \u0441\u0442\u043e\u043f-\u0441\u043b\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u00a0<code>MatcherService<\/code>\u00a0\u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0445\u0435\u043b\u043f\u0435\u0440:<\/p>\n<pre><code class=\"javascript\">private static extractSkills(text: string): Set&lt;string&gt; {   const doc = nlp(text);   const nouns = doc.nouns().out(\"array\"); \/\/ nouns are often skills or keywords   const capitalizedWords = text.match(\/\\b[A-Z][a-zA-Z0-9.-]+\\b\/g) || [];    \/\/ also pick up capitalized words (like frameworks or proper nouns)   return new Set([...nouns, ...capitalizedWords].map(w =&gt; w.toLowerCase())); }<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f, \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u0442\u0435\u043a\u0441\u0442 \u043a \u043d\u0438\u0436\u043d\u0435\u043c\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0443, \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 NLP-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443\u00a0<em>compromise<\/em>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b (\u0447\u0430\u0441\u0442\u043e \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0439). \u041e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u044d\u0442\u0438\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442\u043e\u0432 \u0434\u0430\u0451\u0442 \u043c\u043d\u0435 \u043d\u0430\u0431\u043e\u0440 \u043a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432-\u00ab\u043d\u0430\u0432\u044b\u043a\u043e\u0432\u00bb \u0438\u0437 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430. \u042d\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u2014 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 ML, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0430, \u043d\u043e \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432. (\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u0441\u0442\u0430\u0440\u044b\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u044b \u0440\u0435\u0437\u044e\u043c\u0435.) \u0412\u043d\u0435\u0448\u043d\u044f\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 regex-\u043b\u043e\u0433\u0438\u043a\u0438 \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435.<\/p>\n<h3>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Vertex AI (Gemini 1.5 Flash) \u0434\u043b\u044f \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u0438 \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044f \u0440\u0435\u0448\u0438\u043b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a Google Vertex AI \u0441 \u043d\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e\u00a0<strong>Gemini 1.5 Flash<\/strong>. \u042d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0443\u0436\u043d\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0446\u0435\u043d\u043a\u0430 \u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438), \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044f \u0441\u043b\u043e\u0436\u043d\u0443\u044e NLP-\u043b\u043e\u0433\u0438\u043a\u0443 \u0441\u0430\u043c\u043e\u043c\u0443. \u0412\u00a0<code>MatcherService<\/code>, \u043f\u043e\u0441\u043b\u0435 \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430\u0432\u044b\u043a\u043e\u0432, \u044f \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e \u043f\u0440\u043e\u043c\u043f\u0442 \u0438 \u0434\u0435\u043b\u0430\u044e fetch \u043a Vertex. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<pre><code class=\"javascript\">const aiPrompt = ` Analyze the job description and candidate's CV to provide a structured evaluation.  Job Description: ${cleanedJD}  Candidate CV: ${cleanedCV}  Provide a structured analysis in JSON format with fields \"score\", \"strengths\", and \"suggestions\". `;  const response = await fetch(process.env.AI_API_ENDPOINT!, {   method: \"POST\",   headers: {     Authorization: process.env.AI_API_TOKEN,     \"Content-Type\": \"application\/json\",   },   body: JSON.stringify({     contents: [       { role: \"user\", parts: [{ text: aiPrompt }] }     ]   }) });  const data = await response.json(); if (!data?.candidates?.[0]?.content?.parts?.[0]?.text) {   throw new AIServiceError('Invalid AI response format'); } const rawResponse = data.candidates[0].content.parts[0].text; \/\/ Then parse rawResponse as JSON for score, strengths, suggestions...<\/code><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u00a0<code>fetch<\/code>, \u0447\u0442\u043e\u0431\u044b \u0441\u0434\u0435\u043b\u0430\u0442\u044c POST \u043d\u0430 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442 Vertex AI (\u0443\u043a\u0430\u0437\u0430\u043d \u0432\u00a0<code>AI_API_ENDPOINT<\/code>), \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u044f \u0432 \u0442\u0435\u043b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u043f\u0440\u043e\u043c\u043f\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041f\u0440\u043e\u043c\u043f\u0442 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043c\u043e\u0434\u0435\u043b\u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u043a\u0430\u043d\u0441\u0438\u0438 \u0438 CV \u0438 \u0432\u044b\u0434\u0430\u0442\u044c JSON \u0441 \u043e\u0446\u0435\u043d\u043a\u043e\u0439 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f, \u0441\u0438\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0442\u043e\u0440\u043e\u043d\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438. \u0417\u0430\u0442\u0435\u043c \u044f \u043f\u0430\u0440\u0441\u044e JSON-\u0442\u0435\u043a\u0441\u0442 \u0438\u0437\u00a0<code>data.candidates[0].<\/code><a href=\"http:\/\/content.parts\" rel=\"noopener noreferrer nofollow\"><code>content.parts<\/code><\/a><code>[0].text<\/code>.\u042d\u0442\u043e\u0442 \u043f\u043e\u0434\u0445\u043e\u0434 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u2014 Gemini \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0435\u0437 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u0440\u0430\u043d\u0436\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u042d\u0442\u043e \u043e\u0449\u0443\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0440\u043e\u043b\u0438 \u00ab\u0447\u0451\u0440\u043d\u043e\u0433\u043e \u044f\u0449\u0438\u043a\u0430-\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u0435\u043b\u044f\u00bb. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442, \u0447\u0442\u043e \u044f \u0434\u043e\u0432\u0435\u0440\u044f\u044e \u0418\u0418, \u0438 \u0438\u043d\u043e\u0433\u0434\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u0438\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. \u041d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Gemini \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0430 UI \u0438 \u043f\u043e\u0442\u043e\u043a\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445, \u0430 \u043d\u0435 \u043d\u0430 \u0442\u043e\u043d\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 LLM. (\u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c, \u043f\u0440\u0430\u0432\u0434\u0430, \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u043b\u0438\u043c\u0438\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432.)<\/p>\n<h3>\u041f\u043e\u0447\u0435\u043c\u0443 tRPC \u043f\u043e\u0434\u043e\u0448\u0451\u043b (\u0438 \u0435\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f)<\/h3>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 tRPC \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u043b\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443. \u0411\u0435\u0437 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b API \u044f \u043c\u043e\u0433 \u043f\u043e\u0434\u043d\u044f\u0442\u044c endpoint \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0435 \u043c\u0438\u043d\u0443\u0442\u044b. Full-stack TypeScript \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043a\u043e\u0434 \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0432\u044b\u0448\u0435, \u2014 \u044d\u0442\u043e \u043e\u0431\u0449\u0438\u0439 \u043a\u043e\u0434 \u0438 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u0430 (\u0447\u0435\u0440\u0435\u0437 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 tRPC), \u0442\u0430\u043a \u0447\u0442\u043e \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438. \u041d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435, \u043a\u043e\u0433\u0434\u0430 \u044f \u043c\u0435\u043d\u044f\u043b \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e Zod \u0438\u043b\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u043c\u043e\u0439 React UI \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u0432\u0430\u043b \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u043e\u043a\u0430 \u044f \u043d\u0435 \u043f\u043e\u043f\u0440\u0430\u0432\u043b\u044e \u0442\u0438\u043f\u044b. \u042d\u0442\u043e \u043e\u0449\u0443\u0449\u0435\u043d\u0438\u0435 \u00ab\u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u00bb \u2014 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e, \u043e \u0447\u0451\u043c \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u0441\u0430\u0439\u0442 tRPC. \u0418 \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 tRPC \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 (\u043d\u0435\u0442 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432, \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438), \u043a\u043e\u0434 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u043c.<\/p>\n<p>\u0421 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u044f \u0437\u043d\u0430\u044e \u043f\u0440\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f tRPC. \u041e\u043d \u0436\u0451\u0441\u0442\u043a\u043e \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u043e\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 \u0441 \u044d\u0442\u043e\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0441\u043b\u0438 \u0431\u044b \u043c\u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0439 REST \u0438\u043b\u0438 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442, \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0431\u044b \u043f\u0435\u0440\u0435\u043e\u0441\u043c\u044b\u0441\u043b\u0438\u0432\u0430\u0442\u044c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u041c\u043d\u0435 \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0430\u043c\u043e\u043c\u0443 \u0434\u0443\u043c\u0430\u0442\u044c \u043f\u0440\u043e \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u043b\u0438\u043c\u0438\u0442\u044b \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 (tRPC \u043d\u0435 \u0434\u0430\u0451\u0442 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u0430\u043a GraphQL). \u0412 \u0431\u043b\u043e\u0433\u0435 Directus \u043e\u0447\u0435\u043d\u044c \u043c\u0435\u0442\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043e: tRPC \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 TypeScript, \u043d\u043e \u00ab\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u00bb, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0448\u0438\u0440\u043e\u043a\u0430\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2014 \u043f\u043e \u0441\u0443\u0442\u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0434\u0435\u043c\u043e \u2014 \u044d\u0442\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0431\u044b\u043b\u0438 \u043f\u0440\u0438\u0435\u043c\u043b\u0435\u043c\u044b. \u042f \u0434\u0430\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 middleware-\u043b\u0438\u043c\u0438\u0442\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0438 \u0432\u044b\u0437\u043e\u0432\u044b Vertex AI \u043d\u0435 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u043b\u0438 \u043a\u0432\u043e\u0442\u0443.<\/p>\n<h3>\u0423\u0440\u043e\u043a\u0438<\/h3>\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0441 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 API \u043d\u0430 TypeScript \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c. \u042f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0441\u043a\u0432\u043e\u0437\u043d\u0443\u044e \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e (\u043a\u043b\u0438\u0435\u043d\u0442 \u0442\u043e\u0447\u043d\u043e \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0435\u0440\u043d\u0451\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<code>{ score: number }<\/code>) \u0438 \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443. \u041a\u043e\u0434 \u043e\u0449\u0443\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u00abSDK-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u00bb: \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u00a0<code>matchRouter<\/code>\u00a0\u0442\u0430\u043a, \u0441\u043b\u043e\u0432\u043d\u043e \u044d\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434.<\/p>\n<p>\u041d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 NLP \u044f \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0438 (\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 + \u0441\u043b\u043e\u0432\u0430 \u0441 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u043e\u0439 \u0431\u0443\u043a\u0432\u044b) \u043c\u043e\u0433\u0443\u0442 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435\u043c \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u0432 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445. \u0418 \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f Vertex AI \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u043b\u0430, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u043e\u0435 \u0438\u0437 \u00ab\u043c\u0430\u0433\u0438\u0438 AI\u00bb \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0434\u0430\u0442\u044c \u043d\u0430\u0440\u0443\u0436\u043d\u044b\u043c \u043c\u043e\u0434\u0435\u043b\u044f\u043c \u043f\u0440\u0438 \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u043e\u0439 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043f\u0440\u043e\u043c\u043f\u0442\u0430.<\/p>\n<p>\u041d\u043e, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u043d\u0435\u0442 \u0441\u0435\u0440\u0435\u0431\u0440\u044f\u043d\u043e\u0439 \u043f\u0443\u043b\u0438. \u0415\u0441\u043b\u0438 \u0431\u044b \u0443 \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u044f \u0431\u044b \u0443\u043b\u0443\u0447\u0448\u0438\u043b \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043e\u0448\u0438\u0431\u043e\u043a \u0432\u043e\u043a\u0440\u0443\u0433 AI-\u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043a\u0435\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 (\u0442\u0430\u043a \u043a\u0430\u043a PDF-to-text \u0438 \u0432\u044b\u0437\u043e\u0432\u044b AI \u0434\u043e\u0440\u043e\u0433\u0438\u0435). \u0418 \u0435\u0441\u043b\u0438 \u0431\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u044f \u043c\u043e\u0433 \u0431\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c tRPC \u043d\u0430 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 REST\/GraphQL API \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041d\u043e \u043f\u043e\u043a\u0430 \u0447\u0442\u043e tRPC \u0434\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0443\u0436\u043d\u043e: \u0431\u044b\u0441\u0442\u0440\u044b\u0439 MVP \u0441\u043e \u0441\u0442\u0440\u043e\u0433\u043e\u0439 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u043e\u043c \u0446\u0435\u0440\u0435\u043c\u043e\u043d\u0438\u0439.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0437\u0434\u0435\u0441\u044c:\u00a0<a href=\"https:\/\/github.com\/Kapustin2000\/wolf-cv-matcher-technical-task-trpc\" rel=\"noopener noreferrer nofollow\">GitHub Repository<\/a>.<\/p>\n<p><strong>Sources:<\/strong>\u00a0\u042f \u043e\u043f\u0438\u0440\u0430\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u043f\u043e\u043a\u0430 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043b\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 tRPC \u043f\u043e\u0434\u0447\u0451\u0440\u043a\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f \u00abmove fast, break nothing\u00bb \u0438 \u0441\u043a\u0432\u043e\u0437\u043d\u043e\u0439 TypeScript-\u043f\u043e\u0434\u0445\u043e\u0434, \u0430 \u0432 \u0431\u043b\u043e\u0433\u0430\u0445 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a tRPC \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0430 \u0444\u043e\u043d\u0435 REST\/GraphQL, \u043e\u0442\u043c\u0435\u0447\u0430\u044f \u0435\u0433\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043d\u0430 TypeScript \u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f.<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/trpc.io\" rel=\"noopener noreferrer nofollow\">tRPC Official Site<\/a> \u2013\u00a0<em>Move Fast and Break Nothing. End-to-end typesafe APIs made easy.<\/em>\u00a0(\u0424\u043e\u043a\u0443\u0441 tRPC \u043d\u0430 full-stack TypeScript \u0438 \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044e).<\/p>\n<\/li>\n<li>\n<p>Viljami Kuosmanen,\u00a0<a href=\"https:\/\/dev.to\/anttiviljami\/comparing-rest-graphql-trpc-12n8\" rel=\"noopener noreferrer nofollow\"><em>Comparing REST, GraphQL &amp; tRPC<\/em><\/a>\u00a0(dev.to, Oct 2023) \u2013 \u041e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a tRPC \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 RPC-\u0441\u0442\u0438\u043b\u044c \u0438 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0442\u0438\u043f\u0430\u043c\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0445\u0435\u043c\u044b.<\/p>\n<\/li>\n<li>\n<p>Bryant Gillespie,\u00a0<a href=\"https:\/\/directus.io\/blog\/rest-graphql-tprc\" rel=\"noopener noreferrer nofollow\"><em>REST vs. GraphQL vs. tRPC<\/em><\/a>\u00a0(Directus blog, Feb 2025) \u2013 \u041e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b tRPC (\u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0442\u0438\u043f\u0438\u0437\u0430\u0446\u0438\u044f) \u0438 \u0435\u0433\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f (\u0442\u043e\u043b\u044c\u043a\u043e TypeScript, \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043e\u0445\u0432\u0430\u0442).<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/943306\/\"> https:\/\/habr.com\/ru\/articles\/943306\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-473760","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/473760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=473760"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/473760\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=473760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=473760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=473760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}