{"id":45832,"date":"2025-10-23T09:58:19","date_gmt":"2025-10-23T06:58:19","guid":{"rendered":"https:\/\/goit.global\/?post_type=articles&#038;p=45832"},"modified":"2026-04-30T14:44:16","modified_gmt":"2026-04-30T11:44:16","slug":"kak-sozdat-telegram-bota-s-chatgpt","status":"publish","type":"articles","link":"https:\/\/goit.global\/ua-ru\/articles\/kak-sozdat-telegram-bota-s-chatgpt\/","title":{"rendered":"\u041a\u0430\u043a \u0441\u043e\u0437\u0434\u0430\u0442\u044c Telegram-\u0431\u043e\u0442\u0430 \u043d\u0430 Python \u0441 OpenAI ChatGPT"},"content":{"rendered":"<h2>&#1063;&#1090;&#1086; &#1087;&#1086;&#1085;&#1072;&#1076;&#1086;&#1073;&#1080;&#1090;&#1089;&#1103; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; AI-&#1073;&#1086;&#1090;&#1072;?<\/h2>\n<p>\n&#1055;&#1088;&#1077;&#1078;&#1076;&#1077; &#1095;&#1077;&#1084; &#1085;&#1072;&#1095;&#1072;&#1090;&#1100; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;-&#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;, &#1091;&#1073;&#1077;&#1076;&#1080;&#1089;&#1100;, &#1095;&#1090;&#1086; &#1091; &#1090;&#1077;&#1073;&#1103; &#1077;&#1089;&#1090;&#1100; &#1074;&#1089;&#1077; &#1085;&#1077;&#1086;&#1073;&#1093;&#1086;&#1076;&#1080;&#1084;&#1086;&#1077;:\n<\/p>\n<ul>\n<li>&#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1083;&#1077;&#1085;&#1085;&#1099;&#1081; &#1055;&#1080;&#1090;&#1086;&#1085; (&#1074;&#1077;&#1088;&#1089;&#1080;&#1080; 3.8 &#1080; &#1074;&#1099;&#1096;&#1077;) &ndash; &#1086;&#1089;&#1085;&#1086;&#1074;&#1072; &#1076;&#1083;&#1103; &#1090;&#1086;&#1075;&#1086;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1087;&#1080;&#1089;&#1072;&#1090;&#1100; &#1082;&#1086;&#1076; &#1085;&#1072; &#1101;&#1090;&#1086;&#1084; &#1103;&#1079;&#1099;&#1082;&#1077;;<\/li>\n<li>&#1072;&#1082;&#1082;&#1072;&#1091;&#1085;&#1090; &#1074; Telegram &#1076;&#1083;&#1103; &#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072;;<\/li>\n<li>&#1072;&#1082;&#1082;&#1072;&#1091;&#1085;&#1090; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/openai-playground-chto-eto-takoe\/\" target=\"_blank\" rel=\"noopener\">OpenAI<\/a> &#1076;&#1083;&#1103; &#1087;&#1086;&#1083;&#1091;&#1095;&#1077;&#1085;&#1080;&#1103; API-&#1082;&#1083;&#1102;&#1095;&#1072; (&#1101;&#1090;&#1086; &#1082;&#1083;&#1102;&#1095; &#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1102; &#1073;&#1086;&#1090;&#1072; OpenAI);<\/li>\n<li>&#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088; &#1082;&#1086;&#1076;&#1072; (&#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, VS Code, PyCharm &#1080;&#1083;&#1080; &#1083;&#1102;&#1073;&#1086;&#1081; &#1076;&#1088;&#1091;&#1075;&#1086;&#1081; &#1091;&#1076;&#1086;&#1073;&#1085;&#1099;&#1081; &#1076;&#1083;&#1103; &#1090;&#1077;&#1073;&#1103;);<\/li>\n<li>&#1076;&#1074;&#1077; &#1082;&#1083;&#1102;&#1095;&#1077;&#1074;&#1099;&#1077; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;&#1080; Python: <em>python-telegram-bot<\/em> &#1080; <em>openai<\/em>.<\/li>\n<\/ul>\n<p>\n&#1069;&#1090;&#1080; &#1080;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1099; &ndash; &#1073;&#1072;&#1079;&#1086;&#1074;&#1099;&#1081; &#1085;&#1072;&#1073;&#1086;&#1088; &#1076;&#1083;&#1103; &#1090;&#1086;&#1075;&#1086;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084;.\n<\/p>\n<h2>&#1055;&#1086;&#1096;&#1072;&#1075;&#1086;&#1074;&#1072;&#1103; &#1080;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1094;&#1080;&#1103;: &#1089;&#1086;&#1079;&#1076;&#1072;&#1077;&#1084; &#1073;&#1086;&#1090;&#1072; &#1089; ChatGPT<\/h2>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1087;&#1077;&#1088;&#1077;&#1081;&#1076;&#1077;&#1084; &#1082; &#1087;&#1088;&#1072;&#1082;&#1090;&#1080;&#1082;&#1077; &ndash; &#1088;&#1072;&#1079;&#1073;&#1077;&#1088;&#1077;&#1084; &#1082;&#1072;&#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085; &#1089; &#1080;&#1085;&#1090;&#1077;&#1075;&#1088;&#1072;&#1094;&#1080;&#1077;&#1081; &#1063;&#1072;&#1090;&#1043;&#1055;&#1058;. &#1069;&#1090;&#1072; &#1080;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1094;&#1080;&#1103; &#1087;&#1086;&#1076;&#1086;&#1081;&#1076;&#1077;&#1090; &#1076;&#1072;&#1078;&#1077; &#1090;&#1077;&#1084;, &#1082;&#1090;&#1086; &#1085;&#1080;&#1095;&#1077;&#1075;&#1086; &#1086;&#1073; &#1101;&#1090;&#1086;&#1084; &#1085;&#1077; &#1079;&#1085;&#1072;&#1077;&#1090; &#1080; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1085;&#1072;&#1095;&#1072;&#1083; &#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1101;&#1090;&#1086; &#1089;&#1072;&#1084;&#1086;&#1089;&#1090;&#1086;&#1103;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086;.\n<\/p>\n<h3>&#1064;&#1072;&#1075; 1. &#1056;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1103; &#1073;&#1086;&#1090;&#1072; &#1074; Telegram &#1080; &#1087;&#1086;&#1083;&#1091;&#1095;&#1077;&#1085;&#1080;&#1077; Token<\/h3>\n<p>\n&#1055;&#1077;&#1088;&#1074;&#1086;&#1077;, &#1095;&#1090;&#1086; &#1085;&#1091;&#1078;&#1085;&#1086; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;-&#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python &ndash; &#1101;&#1090;&#1086; &#1079;&#1072;&#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1095;&#1077;&#1088;&#1077;&#1079; &#1089;&#1087;&#1077;&#1094;&#1080;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1089;&#1077;&#1088;&#1074;&#1080;&#1089; Telegram &#1087;&#1086;&#1076; &#1085;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;&#1084; BotFather. BotFather &#1076;&#1086;&#1089;&#1090;&#1091;&#1087;&#1077;&#1085; &#1085;&#1072; &#1091;&#1082;&#1088;&#1072;&#1080;&#1085;&#1089;&#1082;&#1086;&#1084; &#1103;&#1079;&#1099;&#1082;&#1077;, &#1095;&#1090;&#1086; &#1076;&#1077;&#1083;&#1072;&#1077;&#1090; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1088;&#1072;&#1073;&#1086;&#1090;&#1099; &#1077;&#1097;&#1077; &#1087;&#1088;&#1086;&#1097;&#1077;.<\/p>\n<p><strong>&#1050;&#1072;&#1082; &#1101;&#1090;&#1086; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100;<\/strong>: &#1086;&#1090;&#1082;&#1088;&#1086;&#1081; Telegram &#1080; &#1085;&#1072;&#1081;&#1076;&#1080; &#1073;&#1086;&#1090;&#1072; @BotFather (&#1101;&#1090;&#1086; &#1086;&#1092;&#1080;&#1094;&#1080;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1087;&#1088;&#1086;&#1076;&#1091;&#1082;&#1090; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; &#1073;&#1086;&#1090;&#1086;&#1074;) &rarr; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1100; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; <em>\/newbot<\/em> &rarr; BotFather &#1087;&#1086;&#1087;&#1088;&#1086;&#1089;&#1080;&#1090; &#1090;&#1077;&#1073;&#1103; &#1087;&#1088;&#1080;&#1076;&#1091;&#1084;&#1072;&#1090;&#1100; &#1080;&#1084;&#1103; &#1076;&#1083;&#1103; &#1073;&#1086;&#1090;&#1072; (&#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, &laquo;MyAIBot&raquo;) &rarr; &#1089;&#1092;&#1086;&#1088;&#1084;&#1080;&#1088;&#1091;&#1081; &#1091;&#1085;&#1080;&#1082;&#1072;&#1083;&#1100;&#1085;&#1086;&#1077; &#1080;&#1084;&#1103; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103; &#1076;&#1083;&#1103; &#1073;&#1086;&#1090;&#1072; &ndash; &#1086;&#1085;&#1086; &#1076;&#1086;&#1083;&#1078;&#1085;&#1086; &#1079;&#1072;&#1082;&#1072;&#1085;&#1095;&#1080;&#1074;&#1072;&#1090;&#1100;&#1089;&#1103; &#1085;&#1072; bot (&#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, <em>my_ai_test_bot<\/em>) &rarr; &#1087;&#1086;&#1089;&#1083;&#1077; &#1091;&#1089;&#1087;&#1077;&#1096;&#1085;&#1086;&#1081; &#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1080; BotFather &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1080;&#1090; &#1090;&#1077;&#1073;&#1077; &#1090;&#1086;&#1082;&#1077;&#1085; &ndash; &#1076;&#1083;&#1080;&#1085;&#1085;&#1091;&#1102; &#1089;&#1090;&#1088;&#1086;&#1082;&#1091; &#1087;&#1086;&#1093;&#1086;&#1078;&#1091;&#1102; &#1085;&#1072; &#1101;&#1090;&#1091;: <em>123456789:ABCdefGHIjklMNOpqrsTUVwxyz<\/em>.<\/p>\n<p><strong>&#1042;&#1072;&#1078;&#1085;&#1086;<\/strong>: &#1101;&#1090;&#1086;&#1090; &#1090;&#1086;&#1082;&#1077;&#1085; &ndash; &#1082;&#1083;&#1102;&#1095; &#1076;&#1086;&#1089;&#1090;&#1091;&#1087;&#1072; &#1082; &#1090;&#1074;&#1086;&#1077;&#1084;&#1091; &#1073;&#1086;&#1090;&#1091;. &#1053;&#1080;&#1082;&#1086;&#1084;&#1091; &#1077;&#1075;&#1086; &#1085;&#1077; &#1087;&#1086;&#1082;&#1072;&#1079;&#1099;&#1074;&#1072;&#1081; &#1080; &#1085;&#1077; &#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1091;&#1081; &#1074; &#1086;&#1090;&#1082;&#1088;&#1099;&#1090;&#1086;&#1084; &#1076;&#1086;&#1089;&#1090;&#1091;&#1087;&#1077;. &#1045;&#1089;&#1083;&#1080; &#1090;&#1086;&#1082;&#1077;&#1085; &#1087;&#1086;&#1087;&#1072;&#1076;&#1077;&#1090; &#1074; &#1095;&#1091;&#1078;&#1080;&#1077; &#1088;&#1091;&#1082;&#1080;, &#1082;&#1090;&#1086; &#1091;&#1075;&#1086;&#1076;&#1085;&#1086; &#1089;&#1084;&#1086;&#1078;&#1077;&#1090; &#1091;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1090;&#1100; &#1090;&#1074;&#1086;&#1080;&#1084; &#1073;&#1086;&#1090;&#1086;&#1084;.<\/p>\n<p>&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1091; &#1090;&#1077;&#1073;&#1103; &#1077;&#1089;&#1090;&#1100; &#1079;&#1072;&#1075;&#1086;&#1090;&#1086;&#1074;&#1082;&#1072; &#1076;&#1083;&#1103; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1080; &#1090;&#1099; &#1075;&#1086;&#1090;&#1086;&#1074; &#1087;&#1077;&#1088;&#1077;&#1081;&#1090;&#1080; &#1082; &#1089;&#1083;&#1077;&#1076;&#1091;&#1102;&#1097;&#1077;&#1084;&#1091; &#1096;&#1072;&#1075;&#1091;.\n<\/p>\n<h3>&#1064;&#1072;&#1075; 2. &#1055;&#1086;&#1083;&#1091;&#1095;&#1077;&#1085;&#1080;&#1077; API-&#1082;&#1083;&#1102;&#1095;&#1072; OpenAI<\/h3>\n<p>\n&#1063;&#1090;&#1086;&#1073;&#1099; &#1090;&#1074;&#1086;&#1081; &#1073;&#1086;&#1090; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1084;&#1086;&#1075; &#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1091;&#1084;&#1085;&#1099;&#1077; &#1086;&#1090;&#1074;&#1077;&#1090;&#1099;, &#1077;&#1084;&#1091; &#1085;&#1091;&#1078;&#1077;&#1085; &#1076;&#1086;&#1089;&#1090;&#1091;&#1087; &#1082; &#1084;&#1086;&#1076;&#1077;&#1083;&#1080; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/chatgpt-kak-rabotaet-kak-yspolzovat\/\" target=\"_blank\" rel=\"noopener\">ChatGPT<\/a> &#1095;&#1077;&#1088;&#1077;&#1079; API OpenAI. &#1048;&#1084;&#1077;&#1085;&#1085;&#1086; &#1101;&#1090;&#1086; &#1087;&#1088;&#1077;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1075;&#1086; &#1073;&#1086;&#1090;&#1072; &#1074; Telegram bot &#1089; &#1048;&#1048;.<\/p>\n<p><strong>&#1050;&#1072;&#1082; &#1087;&#1086;&#1083;&#1091;&#1095;&#1080;&#1090;&#1100; API-&#1082;&#1083;&#1102;&#1095;<\/strong>: &#1087;&#1077;&#1088;&#1077;&#1081;&#1076;&#1080; &#1085;&#1072; platform.openai.com &rarr; &#1079;&#1072;&#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1080;&#1088;&#1091;&#1081;&#1089;&#1103; &#1080;&#1083;&#1080; &#1074;&#1086;&#1081;&#1076;&#1080; &#1074; &#1089;&#1074;&#1086;&#1081; &#1072;&#1082;&#1082;&#1072;&#1091;&#1085;&#1090; &rarr; &#1087;&#1077;&#1088;&#1077;&#1081;&#1076;&#1080; &#1074; &#1088;&#1072;&#1079;&#1076;&#1077;&#1083; &laquo;API keys&raquo; (&#1086;&#1073;&#1099;&#1095;&#1085;&#1086; &#1085;&#1072;&#1093;&#1086;&#1076;&#1080;&#1090;&#1089;&#1103; &#1074; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1072;&#1093; &#1087;&#1088;&#1086;&#1092;&#1080;&#1083;&#1103;) &rarr; &#1085;&#1072;&#1078;&#1084;&#1080; &laquo;Create new secret key&raquo; &#1080; &#1089;&#1082;&#1086;&#1087;&#1080;&#1088;&#1091;&#1081; &#1082;&#1083;&#1102;&#1095;.<\/p>\n<p><strong>&#1054;&#1073;&#1088;&#1072;&#1090;&#1080; &#1074;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;<\/strong>: &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077; API OpenAI &ndash; &#1087;&#1083;&#1072;&#1090;&#1085;&#1086;&#1077;. &#1053;&#1086;&#1074;&#1099;&#1084; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103;&#1084; &#1086;&#1073;&#1099;&#1095;&#1085;&#1086; &#1087;&#1088;&#1077;&#1076;&#1086;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1102;&#1090;&#1089;&#1103; &#1082;&#1088;&#1077;&#1076;&#1080;&#1090;&#1099; &#1085;&#1072; &#1089;&#1091;&#1084;&#1084;&#1091; $5-18 &#1076;&#1083;&#1103; &#1090;&#1077;&#1089;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103;. &#1057;&#1083;&#1077;&#1076;&#1080; &#1079;&#1072; &#1073;&#1072;&#1083;&#1072;&#1085;&#1089;&#1086;&#1084; &#1085;&#1072; &#1089;&#1074;&#1086;&#1077;&#1084; &#1072;&#1082;&#1082;&#1072;&#1091;&#1085;&#1090;&#1077;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1080;&#1079;&#1073;&#1077;&#1078;&#1072;&#1090;&#1100; &#1085;&#1077;&#1086;&#1078;&#1080;&#1076;&#1072;&#1085;&#1085;&#1099;&#1093; &#1088;&#1072;&#1089;&#1093;&#1086;&#1076;&#1086;&#1074; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; OpenAI chatbot Telegram.<\/p>\n<p>&#1057;&#1086;&#1093;&#1088;&#1072;&#1085;&#1080; &#1101;&#1090;&#1086;&#1090; &#1082;&#1083;&#1102;&#1095; &#1074; &#1085;&#1072;&#1076;&#1077;&#1078;&#1085;&#1086;&#1084; &#1084;&#1077;&#1089;&#1090;&#1077; &ndash; &#1086;&#1085; &#1087;&#1086;&#1085;&#1072;&#1076;&#1086;&#1073;&#1080;&#1090;&#1089;&#1103; &#1090;&#1077;&#1073;&#1077; &#1087;&#1088;&#1080; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Python.\n<\/p>\n<h3>&#1064;&#1072;&#1075; 3. &#1053;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1072; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090;&#1072; &#1080; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1082;&#1072; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;<\/h3>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1087;&#1086;&#1076;&#1075;&#1086;&#1090;&#1086;&#1074;&#1080;&#1084; &#1088;&#1072;&#1073;&#1086;&#1095;&#1091;&#1102; &#1089;&#1088;&#1077;&#1076;&#1091; &#1076;&#1083;&#1103; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1103; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;. &#1045;&#1089;&#1083;&#1080; &#1090;&#1099; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1096;&#1100; &#1087;&#1088;&#1086;&#1076;&#1074;&#1080;&#1085;&#1091;&#1090;&#1099;&#1077; IDE, &#1090;&#1072;&#1082;&#1080;&#1077; &#1082;&#1072;&#1082; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/pycharm-kak-ustanovyt-y-yspolzovat-dlia-python\/\" target=\"_blank\" rel=\"noopener\">PyCharm<\/a>, &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089; &#1073;&#1091;&#1076;&#1077;&#1090; &#1077;&#1097;&#1077; &#1087;&#1088;&#1086;&#1097;&#1077;, &#1085;&#1086; &#1084;&#1099; &#1088;&#1072;&#1089;&#1089;&#1084;&#1086;&#1090;&#1088;&#1080;&#1084; &#1091;&#1085;&#1080;&#1074;&#1077;&#1088;&#1089;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1087;&#1086;&#1076;&#1093;&#1086;&#1076;.\n<\/p>\n<h4><strong>&#1057;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077; &#1074;&#1080;&#1088;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1086;&#1075;&#1086; &#1086;&#1082;&#1088;&#1091;&#1078;&#1077;&#1085;&#1080;&#1103;<\/strong><\/h4>\n<p>\n&#1042;&#1080;&#1088;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1086;&#1077; &#1086;&#1082;&#1088;&#1091;&#1078;&#1077;&#1085;&#1080;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1072;&#1077;&#1090; &#1080;&#1079;&#1086;&#1083;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1079;&#1072;&#1074;&#1080;&#1089;&#1080;&#1084;&#1086;&#1089;&#1090;&#1080; &#1090;&#1074;&#1086;&#1077;&#1075;&#1086; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090;&#1072; &#1086;&#1090; &#1076;&#1088;&#1091;&#1075;&#1080;&#1093; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;-&#1087;&#1088;&#1086;&#1077;&#1082;&#1090;&#1086;&#1074; &#1085;&#1072; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088;&#1077;. &#1069;&#1090;&#1086; &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; &#1087;&#1086;&#1076;&#1093;&#1086;&#1076; &#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1102; &#1073;&#1086;&#1090;&#1072; Python: <em>python -m venv venv<\/em>\n<\/p>\n<h4><strong>&#1040;&#1082;&#1090;&#1080;&#1074;&#1072;&#1094;&#1080;&#1103; &#1074;&#1080;&#1088;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1086;&#1075;&#1086; &#1086;&#1082;&#1088;&#1091;&#1078;&#1077;&#1085;&#1080;&#1103;<\/strong><\/h4>\n<p><strong>&#1044;&#1083;&#1103; Windows<\/strong><\/p>\n<p>: <em>venvScriptsactivate<\/em><\/p>\n<p><strong>&#1044;&#1083;&#1103; macOS\/Linux<\/strong>: <em>source venv\/bin\/activate<\/em>\n<\/p>\n<h4><strong>&#1059;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1082;&#1072; &#1085;&#1077;&#1086;&#1073;&#1093;&#1086;&#1076;&#1080;&#1084;&#1099;&#1093; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;<\/strong><\/h4>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1091;&#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1084; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;&#1080; Python &#1076;&#1083;&#1103; Telegram &#1080; &#1088;&#1072;&#1073;&#1086;&#1090;&#1099; &#1089; OpenAI: <em>pip install python-telegram-bot openai<\/em><\/p>\n<p>&#1069;&#1090;&#1080; &#1076;&#1074;&#1077; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;&#1080; &ndash; &#1086;&#1089;&#1085;&#1086;&#1074;&#1072; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1089; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/kak-yspolzovat-yskusstvenn-y-yntellekt-v-povsednevnoy-zhyzny-y-v-byznese\/\" target=\"_blank\" rel=\"noopener\">&#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084;<\/a>.<\/p>\n<h3>&#1064;&#1072;&#1075; 4. &#1053;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1077; &#1082;&#1086;&#1076;&#1072; &#1085;&#1072; Python: &laquo;&#1086;&#1078;&#1080;&#1074;&#1083;&#1103;&#1077;&#1084;&raquo; &#1073;&#1086;&#1090;&#1072;<\/h3>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1089;&#1072;&#1084;&#1086;&#1077; &#1080;&#1085;&#1090;&#1077;&#1088;&#1077;&#1089;&#1085;&#1086;&#1077; &ndash; &#1087;&#1088;&#1080;&#1089;&#1090;&#1091;&#1087;&#1072;&#1077;&#1084; &#1082; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1102; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python. &#1056;&#1072;&#1089;&#1089;&#1084;&#1086;&#1090;&#1088;&#1080;&#1084; &#1087;&#1086;&#1083;&#1085;&#1099;&#1081; &#1088;&#1072;&#1073;&#1086;&#1095;&#1080;&#1081; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088; &#1082;&#1086;&#1076;&#1072;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1084;&#1086;&#1078;&#1085;&#1086; &#1089;&#1082;&#1086;&#1087;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1080; &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1090;&#1100;. &#1056;&#1072;&#1079;&#1073;&#1077;&#1088;&#1077;&#1084; &#1077;&#1075;&#1086; &#1087;&#1086; &#1095;&#1072;&#1089;&#1090;&#1103;&#1084;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1087;&#1086;&#1085;&#1103;&#1090;&#1100;, &#1082;&#1072;&#1082; &#1074;&#1089;&#1077; &#1091;&#1089;&#1090;&#1088;&#1086;&#1077;&#1085;&#1086;. &#1042; &#1086;&#1073;&#1097;&#1077;&#1084; &#1087;&#1080;&#1096;&#1077;&#1084; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python &laquo;&#1089; &#1085;&#1091;&#1083;&#1103;&raquo;!\n<\/p>\n<h4><strong>&#1048;&#1084;&#1087;&#1086;&#1088;&#1090; &#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082; &#1080; &#1079;&#1072;&#1075;&#1088;&#1091;&#1079;&#1082;&#1072; &#1082;&#1083;&#1102;&#1095;&#1077;&#1081;<\/strong><\/h4>\n<p>\n&#1057;&#1086;&#1079;&#1076;&#1072;&#1081; &#1092;&#1072;&#1081;&#1083; <em>bot.py<\/em> &#1080; &#1085;&#1072;&#1095;&#1085;&#1080; &#1089; &#1080;&#1084;&#1087;&#1086;&#1088;&#1090;&#1072; &#1085;&#1077;&#1086;&#1073;&#1093;&#1086;&#1076;&#1080;&#1084;&#1099;&#1093; &#1084;&#1086;&#1076;&#1091;&#1083;&#1077;&#1081;:<\/p>\n<p><em>import logging<\/em><\/p>\n<p><em>from telegram import Update<\/em><\/p>\n<p><em>from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes<\/em><\/p>\n<p><em>from openai import OpenAI<\/em><\/p>\n<p><em># &#1053;&#1072;&#1089;&#1090;&#1088;&#1086;&#1081;&#1082;&#1072; &#1083;&#1086;&#1075;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1103;<\/em><\/p>\n<p><em>logging.basicConfig(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;format=&#8217;%(asctime)s &#8211; %(name)s &#8211; %(levelname)s &#8211; %(message)s&#8217;,<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;level=logging.INFO<\/em><\/p>\n<p><em>)<\/em><\/p>\n<p><em># &#1042;&#1089;&#1090;&#1072;&#1074;&#1100; &#1089;&#1102;&#1076;&#1072; &#1089;&#1074;&#1086;&#1080; &#1082;&#1083;&#1102;&#1095;&#1080;<\/em><\/p>\n<p><em>TELEGRAM_TOKEN = &#8216;&#1090;&#1074;&#1086;&#1081;_&#1090;&#1086;&#1082;&#1077;&#1085;_&#1086;&#1090;_BotFather&#8217;<\/em><\/p>\n<p><em>OPENAI_API_KEY = &#8216;&#1090;&#1074;&#1086;&#1081;_API_&#1082;&#1083;&#1102;&#1095;_&#1086;&#1090;_OpenAI&#8217;<\/em><\/p>\n<p><em># &#1057;&#1086;&#1079;&#1076;&#1072;&#1077;&#1084; &#1082;&#1083;&#1080;&#1077;&#1085;&#1090; OpenAI<\/em><\/p>\n<p><em>client = OpenAI(api_key=OPENAI_API_KEY)<\/em><\/p>\n<p><strong>&#1063;&#1090;&#1086; &#1079;&#1076;&#1077;&#1089;&#1100; &#1087;&#1088;&#1086;&#1080;&#1089;&#1093;&#1086;&#1076;&#1080;&#1090;<\/strong>: &#1084;&#1099; &#1080;&#1084;&#1087;&#1086;&#1088;&#1090;&#1080;&#1088;&#1091;&#1077;&#1084; &#1084;&#1086;&#1076;&#1091;&#1083;&#1080; &#1076;&#1083;&#1103; &#1088;&#1072;&#1073;&#1086;&#1090;&#1099; &#1089; Telegram Bot API &#1080; OpenAI &rarr; &#1085;&#1072;&#1089;&#1090;&#1088;&#1072;&#1080;&#1074;&#1072;&#1077;&#1084; &#1083;&#1086;&#1075;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1074;&#1080;&#1076;&#1077;&#1090;&#1100;, &#1095;&#1090;&#1086; &#1087;&#1088;&#1086;&#1080;&#1089;&#1093;&#1086;&#1076;&#1080;&#1090; &#1074; &#1087;&#1088;&#1086;&#1094;&#1077;&#1089;&#1089;&#1077; &#1088;&#1072;&#1073;&#1086;&#1090;&#1099; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084;&#1077; &#1085;&#1072; Python &rarr; &#1074;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1077;&#1084; &#1090;&#1086;&#1082;&#1077;&#1085; &#1073;&#1086;&#1090;&#1072; &#1080; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/application-programming-interface-api-chto-eto-kak-y-hde-rabotaet\/\" target=\"_blank\" rel=\"noopener\">API<\/a>-&#1082;&#1083;&#1102;&#1095; (&#1079;&#1072;&#1084;&#1077;&#1085;&#1080; &#1080;&#1093; &#1085;&#1072; &#1089;&#1074;&#1086;&#1080;!) &rarr; &#1089;&#1086;&#1079;&#1076;&#1072;&#1077;&#1084; &#1082;&#1083;&#1080;&#1077;&#1085;&#1090; OpenAI &#1089; &#1072;&#1082;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1099;&#1084; &#1089;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;&#1086;&#1084; (&#1073;&#1080;&#1073;&#1083;&#1080;&#1086;&#1090;&#1077;&#1082;&#1072; &#1074;&#1077;&#1088;&#1089;&#1080;&#1080; 1.0.0+).\n<\/p>\n<h4><strong>&#1060;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103; &#1076;&#1083;&#1103; &#1089;&#1074;&#1103;&#1079;&#1080; &#1089; ChatGPT<\/strong><\/h4>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1089;&#1086;&#1079;&#1076;&#1072;&#1076;&#1080;&#1084; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1073;&#1091;&#1076;&#1077;&#1090; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1090;&#1100; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1099; &#1082; OpenAI &#1080; &#1087;&#1086;&#1083;&#1091;&#1095;&#1072;&#1090;&#1100; &#1086;&#1090;&#1074;&#1077;&#1090;&#1099; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; Telegram &#1073;&#1086;&#1090;&#1072; Python.<\/p>\n<p><em>async def get_chatgpt_response(user_message: str) -&gt; str:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103; &#1074; ChatGPT &#1080; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1072;&#1077;&#1090; &#1086;&#1090;&#1074;&#1077;&#1090;.<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#1069;&#1090;&#1086; &#1103;&#1076;&#1088;&#1086; &#1085;&#1072;&#1096;&#1077;&#1075;&#1086; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1085;&#1072; Python.<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;try:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response = client.chat.completions.create(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;model=&#8221;gpt-4o-mini&#8221;,&nbsp; # &#1052;&#1086;&#1078;&#1077;&#1096;&#1100; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#8220;gpt-4o&#8221; &#1076;&#1083;&#1103; &#1073;&#1086;&#1083;&#1077;&#1077; &#1084;&#1086;&#1097;&#1085;&#1086;&#1081; &#1084;&#1086;&#1076;&#1077;&#1083;&#1080;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messages=[<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#8220;role&#8221;: &#8220;system&#8221;, &#8220;content&#8221;: &#8220;&#1058;&#1099; &#1087;&#1086;&#1083;&#1077;&#1079;&#1085;&#1099;&#1081; &#1072;&#1089;&#1089;&#1080;&#1089;&#1090;&#1077;&#1085;&#1090;.&#8221;},<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#8220;role&#8221;: &#8220;user&#8221;, &#8220;content&#8221;: user_message}<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max_tokens=500,<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;temperature=0.7<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return response.choices[0].message.content.strip()<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;except Exception as e:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logging.error(f&#8221;&#1054;&#1096;&#1080;&#1073;&#1082;&#1072; &#1087;&#1088;&#1080; &#1086;&#1073;&#1088;&#1072;&#1097;&#1077;&#1085;&#1080;&#1080; &#1082; OpenAI: {e}&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return &#8220;&#1048;&#1079;&#1074;&#1080;&#1085;&#1080;, &#1087;&#1088;&#1086;&#1080;&#1079;&#1086;&#1096;&#1083;&#1072; &#1086;&#1096;&#1080;&#1073;&#1082;&#1072; &#1087;&#1088;&#1080; &#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1077; &#1090;&#1074;&#1086;&#1077;&#1075;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072;.&#8221;<\/em><\/p>\n<p><strong>&#1063;&#1090;&#1086; &#1076;&#1077;&#1083;&#1072;&#1077;&#1090; &#1101;&#1090;&#1072; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103;<\/strong>: &#1087;&#1088;&#1080;&#1085;&#1080;&#1084;&#1072;&#1077;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1074;&#1086;&#1077; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077; &#1086;&#1090; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103; &rarr; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090; &#1077;&#1075;&#1086; &#1074; &#1084;&#1086;&#1076;&#1077;&#1083;&#1100; <em>gpt-4o-mini<\/em> &#1095;&#1077;&#1088;&#1077;&#1079; &#1072;&#1082;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1099;&#1081; API OpenAI (&#1101;&#1090;&#1086; &#1080; &#1077;&#1089;&#1090;&#1100; OpenAI &#1073;&#1086;&#1090; &#1074; &#1076;&#1077;&#1081;&#1089;&#1090;&#1074;&#1080;&#1080;) &rarr; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1072;&#1077;&#1090; &#1089;&#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1085;&#1099;&#1081; &#1086;&#1090;&#1074;&#1077;&#1090; &rarr; &#1086;&#1073;&#1088;&#1072;&#1073;&#1072;&#1090;&#1099;&#1074;&#1072;&#1077;&#1090; &#1086;&#1096;&#1080;&#1073;&#1082;&#1080; (&#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;, &#1077;&#1089;&#1083;&#1080; &#1079;&#1072;&#1082;&#1086;&#1085;&#1095;&#1080;&#1083;&#1089;&#1103; &#1073;&#1072;&#1083;&#1072;&#1085;&#1089; &#1085;&#1072; OpenAI &#1080;&#1083;&#1080; &#1085;&#1077;&#1090; &#1080;&#1085;&#1090;&#1077;&#1088;&#1085;&#1077;&#1090;&#1072;).<\/p>\n<p>&#1069;&#1090;&#1086; &#1082;&#1083;&#1102;&#1095;&#1077;&#1074;&#1072;&#1103; &#1095;&#1072;&#1089;&#1090;&#1100; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1048;&#1048; &#1085;&#1072; Python &ndash; &#1080;&#1084;&#1077;&#1085;&#1085;&#1086; &#1079;&#1076;&#1077;&#1089;&#1100; &#1087;&#1088;&#1086;&#1080;&#1089;&#1093;&#1086;&#1076;&#1080;&#1090; &#1084;&#1072;&#1075;&#1080;&#1103; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1086;&#1075;&#1086; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1072;!\n<\/p>\n<h4><strong>&#1054;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1080; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076; Telegram<\/strong><\/h4>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1089;&#1086;&#1079;&#1076;&#1072;&#1076;&#1080;&#1084; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1080;-&#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1080; &#1076;&#1083;&#1103; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076; &#1073;&#1086;&#1090;&#1072; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; Telegram c &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;.<\/p>\n<p><em>async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE):<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#1054;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1099; \/start &#1076;&#1083;&#1103; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;await update.message.reply_text(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;&#1055;&#1088;&#1080;&#1074;&#1077;&#1090;! &#1071; &#1073;&#1086;&#1090; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1085;&#1072; &#1073;&#1072;&#1079;&#1077; ChatGPT. &#8216;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;&#1053;&#1072;&#1087;&#1080;&#1096;&#1080; &#1084;&#1085;&#1077; &#1095;&#1090;&#1086;-&#1085;&#1080;&#1073;&#1091;&#1076;&#1100;, &#1080; &#1103; &#1087;&#1086;&#1089;&#1090;&#1072;&#1088;&#1072;&#1102;&#1089;&#1100; &#1090;&#1077;&#1073;&#1077; &#1086;&#1090;&#1074;&#1077;&#1090;&#1080;&#1090;&#1100;!&#8217;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;)<\/em><\/p>\n<p><em>async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#1054;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1074;&#1099;&#1093; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1081; &#1076;&#1083;&#1103; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Python<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;user_message = update.message.text<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;logging.info(f&#8221;&#1055;&#1086;&#1083;&#1091;&#1095;&#1077;&#1085;&#1086; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077;: {user_message}&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;# &#1055;&#1086;&#1083;&#1091;&#1095;&#1072;&#1077;&#1084; &#1086;&#1090;&#1074;&#1077;&#1090; &#1086;&#1090; &#1063;&#1072;&#1090;&#1043;&#1055;&#1058;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;bot_response = await get_chatgpt_response(user_message)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;# &#1054;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1084; &#1086;&#1090;&#1074;&#1077;&#1090; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1102;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;await update.message.reply_text(bot_response)<\/em><\/p>\n<p><strong>&#1063;&#1090;&#1086; &#1079;&#1076;&#1077;&#1089;&#1100; &#1087;&#1088;&#1086;&#1080;&#1089;&#1093;&#1086;&#1076;&#1080;&#1090;<\/strong>: <em>start_command<\/em> &ndash; &#1086;&#1090;&#1074;&#1077;&#1095;&#1072;&#1077;&#1090; &#1085;&#1072; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; <em>\/start<\/em>, &#1087;&#1088;&#1080;&#1074;&#1077;&#1090;&#1089;&#1090;&#1074;&#1091;&#1077;&#1090; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &rarr; <em>handle_message<\/em> &ndash; &#1086;&#1073;&#1088;&#1072;&#1073;&#1072;&#1090;&#1099;&#1074;&#1072;&#1077;&#1090; &#1074;&#1089;&#1077; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1074;&#1099;&#1077; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1103;: &#1073;&#1077;&#1088;&#1077;&#1090; &#1090;&#1077;&#1082;&#1089;&#1090; &#1086;&#1090; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103;, &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090; &#1077;&#1075;&#1086; &#1074; &#1063;&#1072;&#1090;&#1043;&#1055;&#1058; &#1080; &#1074;&#1086;&#1079;&#1074;&#1088;&#1072;&#1097;&#1072;&#1077;&#1090; &#1086;&#1090;&#1074;&#1077;&#1090; &#1076;&#1083;&#1103; &#1048;&#1048; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python.\n<\/p>\n<h4><strong>&#1060;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103; main() &ndash; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082; &#1073;&#1086;&#1090;&#1072;<\/strong><\/h4>\n<p>\n&#1053;&#1072;&#1082;&#1086;&#1085;&#1077;&#1094;, &#1089;&#1086;&#1079;&#1076;&#1072;&#1076;&#1080;&#1084; &#1075;&#1083;&#1072;&#1074;&#1085;&#1091;&#1102; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1102;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1072;&#1103; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1090; &#1073;&#1086;&#1090; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077;.<\/p>\n<p><em>def main():<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#1043;&#1083;&#1072;&#1074;&#1085;&#1072;&#1103; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; Telegram &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;# &#1057;&#1086;&#1079;&#1076;&#1072;&#1077;&#1084; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077; &#1073;&#1086;&#1090;&#1072;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application = Application.builder().token(TELEGRAM_TOKEN).build()<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;# &#1056;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1080;&#1088;&#1091;&#1077;&#1084; &#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1080;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.add_handler(CommandHandler(&#8220;start&#8221;, start_command))<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.add_handler(MessageHandler(filters.TEXT &amp; ~filters.COMMAND, handle_message))<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;# &#1047;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1084; &#1073;&#1086;&#1090;&#1072;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;logging.info(&#8220;&#1041;&#1086;&#1090; &#1079;&#1072;&#1087;&#1091;&#1097;&#1077;&#1085;&#8230;&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.run_polling()<\/em><\/p>\n<p><em>if __name__ == &#8216;__main__&#8217;:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;main()<\/em><\/p>\n<p><strong>&#1063;&#1090;&#1086; &#1076;&#1077;&#1083;&#1072;&#1077;&#1090; &#1101;&#1090;&#1072; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103;<\/strong>: c&#1086;&#1079;&#1076;&#1072;&#1077;&#1090; &#1101;&#1082;&#1079;&#1077;&#1084;&#1087;&#1083;&#1103;&#1088; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103; Telegram-&#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085; &#1089; &#1090;&#1074;&#1086;&#1080;&#1084; &#1090;&#1086;&#1082;&#1077;&#1085;&#1086;&#1084; &rarr; &#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1080;&#1088;&#1091;&#1077;&#1090; &#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1080; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076; &#1080; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1081; &rarr; &#1079;&#1072;&#1087;&#1091;&#1089;&#1082;&#1072;&#1077;&#1090; &#1073;&#1086;&#1090;&#1072; &#1074; &#1088;&#1077;&#1078;&#1080;&#1084;&#1077; polling (&#1087;&#1086;&#1089;&#1090;&#1086;&#1103;&#1085;&#1085;&#1086; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1103;&#1077;&#1090; &#1085;&#1086;&#1074;&#1099;&#1077; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1103;).\n<\/p>\n<h4><strong>&#1055;&#1086;&#1083;&#1085;&#1099;&#1081; &#1082;&#1086;&#1076; &#1094;&#1077;&#1083;&#1080;&#1082;&#1086;&#1084;<\/strong><\/h4>\n<p>\n&#1042; &#1080;&#1090;&#1086;&#1075;&#1077; &#1074;&#1086;&#1090; &#1082;&#1072;&#1082; &#1076;&#1086;&#1083;&#1078;&#1077;&#1085; &#1074;&#1099;&#1075;&#1083;&#1103;&#1076;&#1077;&#1090;&#1100; &#1074;&#1077;&#1089;&#1100; &#1090;&#1074;&#1086;&#1081; &#1092;&#1072;&#1081;&#1083; <em>bot.py<\/em> &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; &#1073;&#1086;&#1090;&#1086;&#1074; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; Python.<\/p>\n<p><em>import logging<\/em><\/p>\n<p><em>from telegram import Update<\/em><\/p>\n<p><em>from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes<\/em><\/p>\n<p><em>from openai import OpenAI<\/em><\/p>\n<p><em>logging.basicConfig(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;format=&#8217;%(asctime)s &#8211; %(name)s &#8211; %(levelname)s &#8211; %(message)s&#8217;,<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;level=logging.INFO<\/em><\/p>\n<p><em>)<\/em><\/p>\n<p><em>TELEGRAM_TOKEN = &#8216;&#1090;&#1074;&#1086;&#1081;_&#1090;&#1086;&#1082;&#1077;&#1085;_&#1086;&#1090;_BotFather&#8217;<\/em><\/p>\n<p><em>OPENAI_API_KEY = &#8216;&#1090;&#1074;&#1086;&#1081;_API_&#1082;&#1083;&#1102;&#1095;_&#1086;&#1090;_OpenAI&#8217;<\/em><\/p>\n<p><em>client = OpenAI(api_key=OPENAI_API_KEY)<\/em><\/p>\n<p><em>async def get_chatgpt_response(user_message: str) -&gt; str:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;&#1060;&#1091;&#1085;&#1082;&#1094;&#1080;&#1103; &#1076;&#1083;&#1103; &#1048;&#1048; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084;&#8221;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;try:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;response = client.chat.completions.create(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;model=&#8221;gpt-4o-mini&#8221;,<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;messages=[<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#8220;role&#8221;: &#8220;system&#8221;, &#8220;content&#8221;: &#8220;&#1058;&#1099; &#1087;&#1086;&#1083;&#1077;&#1079;&#1085;&#1099;&#1081; &#1072;&#1089;&#1089;&#1080;&#1089;&#1090;&#1077;&#1085;&#1090;.&#8221;},<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#8220;role&#8221;: &#8220;user&#8221;, &#8220;content&#8221;: user_message}<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;],<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;max_tokens=500,<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;temperature=0.7<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return response.choices[0].message.content.strip()<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;except Exception as e:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logging.error(f&#8221;&#1054;&#1096;&#1080;&#1073;&#1082;&#1072; &#1087;&#1088;&#1080; &#1086;&#1073;&#1088;&#1072;&#1097;&#1077;&#1085;&#1080;&#1080; &#1082; OpenAI: {e}&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return &#8220;&#1048;&#1079;&#1074;&#1080;&#1085;&#1080;, &#1087;&#1088;&#1086;&#1080;&#1079;&#1086;&#1096;&#1083;&#1072; &#1086;&#1096;&#1080;&#1073;&#1082;&#1072; &#1087;&#1088;&#1080; &#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1077; &#1090;&#1074;&#1086;&#1077;&#1075;&#1086; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1072;.&#8221;<\/em><\/p>\n<p><em>async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE):<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;&#1050;&#1086;&#1084;&#1072;&#1085;&#1076;&#1072; \/start &#1076;&#1083;&#1103; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;&#8221;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;await update.message.reply_text(<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;&#1055;&#1088;&#1080;&#1074;&#1077;&#1090;! &#1071; &#1073;&#1086;&#1090; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1085;&#1072; &#1073;&#1072;&#1079;&#1077; ChatGPT. &#8216;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8216;&#1053;&#1072;&#1087;&#1080;&#1096;&#1080; &#1084;&#1085;&#1077; &#1095;&#1090;&#1086;-&#1085;&#1080;&#1073;&#1091;&#1076;&#1100;, &#1080; &#1103; &#1087;&#1086;&#1089;&#1090;&#1072;&#1088;&#1072;&#1102;&#1089;&#1100; &#1090;&#1077;&#1073;&#1077; &#1086;&#1090;&#1074;&#1077;&#1090;&#1080;&#1090;&#1100;!&#8217;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;)<\/em><\/p>\n<p><em>async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE):<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;&#1054;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1072; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1081; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;&#8221;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;user_message = update.message.text<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;logging.info(f&#8221;&#1055;&#1086;&#1083;&#1091;&#1095;&#1077;&#1085;&#1086; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077;: {user_message}&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;bot_response = await get_chatgpt_response(user_message)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;await update.message.reply_text(bot_response)<\/em><\/p>\n<p><em>def main():<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;&#8220;&#8221;&#8221;&#1047;&#1072;&#1087;&#1091;&#1089;&#1082; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;&#8221;&#8221;&#8221;<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application = Application.builder().token(TELEGRAM_TOKEN).build()<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.add_handler(CommandHandler(&#8220;start&#8221;, start_command))<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.add_handler(MessageHandler(filters.TEXT &amp; ~filters.COMMAND, handle_message))<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;logging.info(&#8220;&#1041;&#1086;&#1090; &#1079;&#1072;&#1087;&#1091;&#1097;&#1077;&#1085;&#8230;&#8221;)<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;application.run_polling()<\/em><\/p>\n<p><em>if __name__ == &#8216;__main__&#8217;:<\/em><\/p>\n<p><em>&nbsp;&nbsp;&nbsp;&nbsp;main()<\/em><\/p>\n<p>&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1091; &#1090;&#1077;&#1073;&#1103; &#1077;&#1089;&#1090;&#1100; &#1087;&#1086;&#1083;&#1085;&#1086;&#1089;&#1090;&#1100;&#1102; &#1088;&#1072;&#1073;&#1086;&#1095;&#1080;&#1081; &#1082;&#1086;&#1076; &#1076;&#1083;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077;. &#1069;&#1090;&#1086;&#1090; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088; &#1090;&#1099; &#1084;&#1086;&#1078;&#1077;&#1096;&#1100; &#1089;&#1084;&#1077;&#1083;&#1086; &#1072;&#1076;&#1072;&#1087;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1087;&#1086;&#1076; &#1089;&#1074;&#1086;&#1080; &#1085;&#1091;&#1078;&#1076;&#1099;.\n<\/p>\n<h3>&#1064;&#1072;&#1075; 5. &#1047;&#1072;&#1087;&#1091;&#1089;&#1082; &#1080; &#1090;&#1077;&#1089;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1080;&#1077;<\/h3>\n<p>\n&#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1076;&#1072;&#1074;&#1072;&#1081; &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1084; &#1090;&#1074;&#1086;&#1077;&#1075;&#1086; &#1073;&#1086;&#1090;&#1072; &#1080; &#1087;&#1088;&#1086;&#1074;&#1077;&#1088;&#1080;&#1084;, &#1082;&#1072;&#1082; &#1086;&#1085; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090;.<\/p>\n<p><strong>&#1050;&#1072;&#1082; &#1079;&#1072;&#1087;&#1091;&#1089;&#1090;&#1080;&#1090;&#1100;<\/strong>: &#1086;&#1090;&#1082;&#1088;&#1086;&#1081; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/komandnaia-stroka-zachem-nuzhen-termynal-y-kak-s-nym-rabotat\/\" target=\"_blank\" rel=\"noopener\">&#1090;&#1077;&#1088;&#1084;&#1080;&#1085;&#1072;&#1083;<\/a> &#1074; &#1087;&#1072;&#1087;&#1082;&#1077; &#1089; &#1092;&#1072;&#1081;&#1083;&#1086;&#1084; <em>bot.py<\/em> &rarr; &#1091;&#1073;&#1077;&#1076;&#1080;&#1089;&#1100;, &#1095;&#1090;&#1086; &#1074;&#1080;&#1088;&#1090;&#1091;&#1072;&#1083;&#1100;&#1085;&#1086;&#1077; &#1086;&#1082;&#1088;&#1091;&#1078;&#1077;&#1085;&#1080;&#1077; &#1072;&#1082;&#1090;&#1080;&#1074;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1086; &rarr; &#1074;&#1099;&#1087;&#1086;&#1083;&#1085;&#1080; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; <em>python bot.py<\/em>.<\/p>\n<p>&#1045;&#1089;&#1083;&#1080; &#1074;&#1089;&#1077; &#1085;&#1072;&#1089;&#1090;&#1088;&#1086;&#1077;&#1085;&#1086; &#1087;&#1088;&#1072;&#1074;&#1080;&#1083;&#1100;&#1085;&#1086;, &#1090;&#1099; &#1091;&#1074;&#1080;&#1076;&#1080;&#1096;&#1100; &#1074; &#1082;&#1086;&#1085;&#1089;&#1086;&#1083;&#1080; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077; &laquo;&#1041;&#1086;&#1090; &#1079;&#1072;&#1087;&#1091;&#1097;&#1077;&#1085;&#8230;&raquo;. &#1069;&#1090;&#1086; &#1079;&#1085;&#1072;&#1095;&#1080;&#1090;, &#1095;&#1090;&#1086; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python &#1087;&#1088;&#1086;&#1096;&#1083;&#1086; &#1091;&#1089;&#1087;&#1077;&#1096;&#1085;&#1086;!<\/p>\n<p><strong>&#1050;&#1072;&#1082; &#1087;&#1088;&#1086;&#1090;&#1077;&#1089;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100;<\/strong>: &#1086;&#1090;&#1082;&#1088;&#1086;&#1081; Telegram &#1080; &#1085;&#1072;&#1081;&#1076;&#1080; &#1089;&#1074;&#1086;&#1077;&#1075;&#1086; &#1073;&#1086;&#1090;&#1072; &#1087;&#1086; &#1080;&#1084;&#1077;&#1085;&#1080; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1077; &#1090;&#1099; &#1091;&#1082;&#1072;&#1079;&#1072;&#1083; &#1087;&#1088;&#1080; &#1088;&#1077;&#1075;&#1080;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1080; &rarr; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1100; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; <em>\/start<\/em> &ndash; &#1073;&#1086;&#1090; &#1076;&#1086;&#1083;&#1078;&#1077;&#1085; &#1087;&#1086;&#1087;&#1088;&#1080;&#1074;&#1077;&#1090;&#1089;&#1090;&#1074;&#1086;&#1074;&#1072;&#1090;&#1100; &#1090;&#1077;&#1073;&#1103; &rarr; &#1085;&#1072;&#1087;&#1080;&#1096;&#1080; &#1083;&#1102;&#1073;&#1086;&#1077; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1077;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;: &laquo;&#1056;&#1072;&#1089;&#1089;&#1082;&#1072;&#1078;&#1080; &#1084;&#1085;&#1077; &#1087;&#1088;&#1086; Python&raquo; &rarr; &#1073;&#1086;&#1090; &#1076;&#1086;&#1083;&#1078;&#1077;&#1085; &#1086;&#1090;&#1074;&#1077;&#1090;&#1080;&#1090;&#1100; &#1086;&#1089;&#1084;&#1099;&#1089;&#1083;&#1077;&#1085;&#1085;&#1099;&#1084; &#1090;&#1077;&#1082;&#1089;&#1090;&#1086;&#1084;, &#1089;&#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1085;&#1099;&#1084; &#1063;&#1072;&#1090;&#1043;&#1055;&#1058;.<\/p>\n<p>&#1055;&#1086;&#1079;&#1076;&#1088;&#1072;&#1074;&#1083;&#1103;&#1077;&#1084;! &#1058;&#1099; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1095;&#1090;&#1086; &#1089;&#1086;&#1079;&#1076;&#1072;&#1083; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084;. &#1069;&#1090;&#1086; &#1086;&#1090;&#1083;&#1080;&#1095;&#1085;&#1099;&#1081; &#1089;&#1090;&#1072;&#1088;&#1090; &#1076;&#1083;&#1103; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1103; &#1090;&#1086;&#1075;&#1086;, &#1082;&#1072;&#1082; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085; &#1080; &#1082;&#1072;&#1082; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1102;&#1090; &#1073;&#1086;&#1090;&#1099; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &#1089; &#1048;&#1048;.<\/p>\n<figure id=\"attachment_45823\" aria-describedby=\"caption-attachment-45823\" style=\"width: 750px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-45823\" src=\"https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/10\/22192937\/Telegram-bot-s-ChatGPT.png\" alt=\"\" width=\"750\" height=\"447\" srcset=\"https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/10\/22192937\/Telegram-bot-s-ChatGPT.png 1424w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/10\/22192937\/Telegram-bot-s-ChatGPT-300x179.png 300w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/10\/22192937\/Telegram-bot-s-ChatGPT-1024x610.png 1024w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/10\/22192937\/Telegram-bot-s-ChatGPT-768x457.png 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><figcaption id=\"caption-attachment-45823\" class=\"wp-caption-text\"><em>&#1042;&#1099;&#1073;&#1080;&#1088;&#1072;&#1081; <a href=\"https:\/\/goit.global\/ua\/mini-courses\/?amp%3Butm_medium=articles&#038;amp%3Butm_campaign=45832\" target=\"_blank\" rel=\"noopener\">&#1084;&#1080;&#1085;&#1080;-&#1082;&#1091;&#1088;&#1089;&#1099; &#1043;&#1086;&#1048;&#1058;<\/a>, &#1095;&#1090;&#1086;&#1073;&#1099; &#1087;&#1088;&#1086;&#1082;&#1072;&#1095;&#1072;&#1090;&#1100; &#1089;&#1074;&#1086;&#1080; &#1090;&#1077;&#1093;&#1085;&#1080;&#1095;&#1077;&#1089;&#1082;&#1080;&#1077; &#1085;&#1072;&#1074;&#1099;&#1082;&#1080;!<\/em><\/figcaption><\/figure>\n<h2>&#1050;&#1072;&#1082; &#1090;&#1074;&#1086;&#1081; &#1073;&#1086;&#1090; &#1089;&#1090;&#1072;&#1085;&#1086;&#1074;&#1080;&#1090;&#1089;&#1103; &#1091;&#1084;&#1085;&#1077;&#1077;?<\/h2>\n<p>\n&#1058;&#1099; &#1089;&#1086;&#1079;&#1076;&#1072;&#1083; &#1088;&#1072;&#1073;&#1086;&#1095;&#1080;&#1081; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088; &#1048;&#1048; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &ndash; &#1101;&#1090;&#1086; &#1082;&#1088;&#1091;&#1090;&#1086;! &#1053;&#1086; &#1076;&#1072;&#1074;&#1072;&#1081; &#1087;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088;&#1080;&#1084; &#1087;&#1088;&#1072;&#1074;&#1076;&#1077; &#1074; &#1075;&#1083;&#1072;&#1079;&#1072;: &#1101;&#1090;&#1086; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1085;&#1072;&#1095;&#1072;&#1083;&#1086;. &#1057;&#1077;&#1081;&#1095;&#1072;&#1089; &#1090;&#1074;&#1086;&#1081; &#1073;&#1086;&#1090; &#1090;&#1075; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090;, &#1087;&#1086;&#1082;&#1072; &#1091; &#1090;&#1077;&#1073;&#1103; &#1079;&#1072;&#1087;&#1091;&#1097;&#1077;&#1085; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090; &#1085;&#1072; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088;&#1077;. &#1040; &#1095;&#1090;&#1086;, &#1077;&#1089;&#1083;&#1080; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088; &#1074;&#1099;&#1082;&#1083;&#1102;&#1095;&#1080;&#1090;&#1089;&#1103;? &#1041;&#1086;&#1090; &#1087;&#1077;&#1088;&#1077;&#1089;&#1090;&#1072;&#1085;&#1077;&#1090; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100;. &#1063;&#1090;&#1086;, &#1077;&#1089;&#1083;&#1080; &#1079;&#1072;&#1093;&#1086;&#1095;&#1077;&#1090;&#1089;&#1103; &#1076;&#1086;&#1073;&#1072;&#1074;&#1080;&#1090;&#1100; &#1073;&#1072;&#1079;&#1091; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; Telegram &#1073;&#1086;&#1090; &#1085;&#1072; Python &#1089; &#1087;&#1072;&#1084;&#1103;&#1090;&#1100;&#1102; &#1086; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103;&#1093;? &#1048;&#1083;&#1080; &#1088;&#1072;&#1079;&#1074;&#1077;&#1088;&#1085;&#1091;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1077;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1086;&#1085; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1083; 24\/7?<\/p>\n<p>&#1042;&#1086;&#1090; &#1090;&#1091;&#1090; &#1080; &#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#1102;&#1090;&#1089;&#1103; &#1085;&#1072;&#1089;&#1090;&#1086;&#1103;&#1097;&#1080;&#1077; &#1074;&#1099;&#1079;&#1086;&#1074;&#1099; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1080; Telegram &#1073;&#1086;&#1090;&#1086;&#1074; &#1085;&#1072; Python. &#1048; &#1080;&#1084;&#1077;&#1085;&#1085;&#1086; &#1076;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1085;&#1091;&#1078;&#1085;&#1099; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1085;&#1099;&#1077; &#1079;&#1085;&#1072;&#1085;&#1080;&#1103; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1072;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1074;&#1099;&#1093;&#1086;&#1076;&#1103;&#1090; &#1079;&#1072; &#1088;&#1072;&#1084;&#1082;&#1080; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1075;&#1086; &#1090;&#1091;&#1090;&#1086;&#1088;&#1080;&#1072;&#1083;&#1072; &#1086; &#1090;&#1086;&#1084;, &#1082;&#1072;&#1082; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;.\n<\/p>\n<h3>&#1054;&#1090; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086;&#1075;&#1086; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1072; &#1082; &#1089;&#1083;&#1086;&#1078;&#1085;&#1086;&#1084;&#1091; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1102;<\/h3>\n<p>\n&#1058;&#1074;&#1086;&#1081; &#1073;&#1086;&#1090; &#1085;&#1072; Python &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090;, &#1085;&#1086; &#1101;&#1090;&#1086; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1082;&#1088;&#1091;&#1090;&#1080;&#1090;&#1089;&#1103; &#1085;&#1072; &#1090;&#1074;&#1086;&#1077;&#1084; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088;&#1077;. &#1050;&#1072;&#1082; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084;&#1077; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1090;&#1072;&#1082;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1086;&#1085; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1083; &#1087;&#1086;&#1089;&#1090;&#1086;&#1103;&#1085;&#1085;&#1086;, &#1076;&#1072;&#1078;&#1077; &#1082;&#1086;&#1075;&#1076;&#1072; &#1082;&#1086;&#1084;&#1087;&#1100;&#1102;&#1090;&#1077;&#1088; &#1074;&#1099;&#1082;&#1083;&#1102;&#1095;&#1077;&#1085;? &#1050;&#1072;&#1082; &#1076;&#1086;&#1073;&#1072;&#1074;&#1080;&#1090;&#1100; &#1073;&#1072;&#1079;&#1091; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093; &#1076;&#1083;&#1103; &#1093;&#1088;&#1072;&#1085;&#1077;&#1085;&#1080;&#1103; &#1080;&#1085;&#1092;&#1086;&#1088;&#1084;&#1072;&#1094;&#1080;&#1080; &#1086; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1103;&#1093; &#1087;&#1088;&#1080; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1080; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python? &#1050;&#1072;&#1082; &#1086;&#1088;&#1075;&#1072;&#1085;&#1080;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1082;&#1086;&#1076; &#1090;&#1072;&#1082;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1077;&#1075;&#1086; &#1084;&#1086;&#1078;&#1085;&#1086; &#1073;&#1099;&#1083;&#1086; &#1083;&#1077;&#1075;&#1082;&#1086; &#1088;&#1072;&#1089;&#1096;&#1080;&#1088;&#1103;&#1090;&#1100; &#1080; &#1087;&#1086;&#1076;&#1076;&#1077;&#1088;&#1078;&#1080;&#1074;&#1072;&#1090;&#1100; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077;?<\/p>\n<p>&#1048;&#1084;&#1077;&#1085;&#1085;&#1086; &#1076;&#1083;&#1103; &#1101;&#1090;&#1086;&#1075;&#1086; &#1080; &#1085;&#1091;&#1078;&#1085;&#1099; &#1085;&#1072;&#1074;&#1099;&#1082;&#1080; Software Engineering. &#1053;&#1072; &#1082;&#1091;&#1088;&#1089;&#1077; <a href=\"https:\/\/goit.global\/ua-ru\/courses\/python\/?amp%3Butm_medium=articles&#038;amp%3Butm_campaign=45832\" target=\"_blank\" rel=\"noopener\">Python Software Engineering &#1074; GoIT<\/a> &#1090;&#1099; &#1085;&#1072;&#1091;&#1095;&#1080;&#1096;&#1100;&#1089;&#1103;:\n<\/p>\n<ul>\n<li>&#1056;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; &#1073;&#1072;&#1079;&#1072;&#1084;&#1080; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093; (SQL &#1080; NoSQL), &#1095;&#1090;&#1086;&#1073;&#1099; &#1090;&#1074;&#1086;&#1081; &#1073;&#1086;&#1090; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084;&#1077; &#1085;&#1072; Python &#1084;&#1086;&#1075; &#1089;&#1086;&#1093;&#1088;&#1072;&#1085;&#1103;&#1090;&#1100; &#1080;&#1089;&#1090;&#1086;&#1088;&#1080;&#1102; &#1076;&#1080;&#1072;&#1083;&#1086;&#1075;&#1086;&#1074; &#1080; &laquo;&#1087;&#1086;&#1084;&#1085;&#1080;&#1090;&#1100;&raquo; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1077;&#1081;.<\/li>\n<li>&#1056;&#1072;&#1079;&#1074;&#1086;&#1088;&#1072;&#1095;&#1080;&#1074;&#1072;&#1090;&#1100; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103; &#1085;&#1072; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072;&#1093; (deployment), &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1103; &#1090;&#1072;&#1082;&#1080;&#1077; &#1087;&#1083;&#1072;&#1090;&#1092;&#1086;&#1088;&#1084;&#1099;, &#1082;&#1072;&#1082; Railway, Render, AWS &#1080;&#1083;&#1080; Google Cloud, &#1095;&#1090;&#1086;&#1073;&#1099; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &#1073;&#1086;&#1090; &#1089; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1083; &#1082;&#1088;&#1091;&#1075;&#1083;&#1086;&#1089;&#1091;&#1090;&#1086;&#1095;&#1085;&#1086; &ndash; &#1090;&#1099; &#1091;&#1079;&#1085;&#1072;&#1077;&#1096;&#1100;, &#1082;&#1072;&#1082; &#1079;&#1072;&#1083;&#1080;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Heroku &#1080;&#1083;&#1080; &#1077;&#1075;&#1086; &#1089;&#1086;&#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1085;&#1099;&#1077; &#1072;&#1083;&#1100;&#1090;&#1077;&#1088;&#1085;&#1072;&#1090;&#1080;&#1074;&#1099;.<\/li>\n<li>&#1048;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1072;&#1089;&#1080;&#1085;&#1093;&#1088;&#1086;&#1085;&#1085;&#1086;&#1089;&#1090;&#1100; &#1085;&#1072; &#1087;&#1088;&#1086;&#1076;&#1074;&#1080;&#1085;&#1091;&#1090;&#1086;&#1084; &#1091;&#1088;&#1086;&#1074;&#1085;&#1077;, &#1095;&#1090;&#1086;&#1073;&#1099; Python &#1073;&#1086;&#1090; &#1084;&#1086;&#1075; &#1086;&#1076;&#1085;&#1086;&#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1085;&#1086; &#1086;&#1073;&#1088;&#1072;&#1073;&#1072;&#1090;&#1099;&#1074;&#1072;&#1090;&#1100; &#1089;&#1086;&#1090;&#1085;&#1080; &#1080;&#1083;&#1080; &#1090;&#1099;&#1089;&#1103;&#1095;&#1080; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1086;&#1074; &#1073;&#1077;&#1079; &#1079;&#1072;&#1074;&#1080;&#1089;&#1072;&#1085;&#1080;&#1081; &#1087;&#1088;&#1080; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077;.<\/li>\n<li>&#1055;&#1088;&#1086;&#1077;&#1082;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1072;&#1088;&#1093;&#1080;&#1090;&#1077;&#1082;&#1090;&#1091;&#1088;&#1091; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1081;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1082;&#1086;&#1076; &#1073;&#1099;&#1083; &#1095;&#1080;&#1089;&#1090;&#1099;&#1084;, &#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1091;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1085;&#1099;&#1084; &#1080; &#1083;&#1077;&#1075;&#1082;&#1086; &#1084;&#1072;&#1089;&#1096;&#1090;&#1072;&#1073;&#1080;&#1088;&#1091;&#1077;&#1084;&#1099;&#1084; &#1087;&#1088;&#1080; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1077; Telegram &#1073;&#1086;&#1090;&#1086;&#1074; &#1085;&#1072; Python.<\/li>\n<li>&#1058;&#1077;&#1089;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1082;&#1086;&#1076; &#1089; &#1087;&#1086;&#1084;&#1086;&#1097;&#1100;&#1102; &#1080;&#1085;&#1090;&#1077;&#1075;&#1088;&#1072;&#1094;&#1080;&#1086;&#1085;&#1085;&#1099;&#1093; &#1080; &#1102;&#1085;&#1080;&#1090;-&#1090;&#1077;&#1089;&#1090;&#1086;&#1074;, &#1095;&#1090;&#1086;&#1073;&#1099; &#1073;&#1099;&#1090;&#1100; &#1091;&#1074;&#1077;&#1088;&#1077;&#1085;&#1085;&#1099;&#1084; &#1074; &#1085;&#1072;&#1076;&#1077;&#1078;&#1085;&#1086;&#1089;&#1090;&#1080; &#1089;&#1074;&#1086;&#1080;&#1093; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1081; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;.<\/li>\n<li>&#1056;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; API &#1088;&#1072;&#1079;&#1083;&#1080;&#1095;&#1085;&#1099;&#1093; &#1089;&#1077;&#1088;&#1074;&#1080;&#1089;&#1086;&#1074; &#1076;&#1083;&#1103; &#1088;&#1072;&#1089;&#1096;&#1080;&#1088;&#1077;&#1085;&#1080;&#1103; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1089;&#1090;&#1080; Python &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084;.<\/li>\n<\/ul>\n<p>\n&#1045;&#1089;&#1083;&#1080; &#1090;&#1099; &#1093;&#1086;&#1095;&#1077;&#1096;&#1100; &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1080;&#1075;&#1088;&#1099; &#1085;&#1072; Python &#1080;&#1083;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &#1076;&#1083;&#1103; &#1083;&#1080;&#1095;&#1085;&#1099;&#1093; &#1085;&#1091;&#1078;&#1076;, &#1072; &#1089;&#1090;&#1072;&#1090;&#1100; &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1099;&#1084; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1086;&#1084;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1089;&#1086;&#1079;&#1076;&#1072;&#1077;&#1090; &#1089;&#1077;&#1088;&#1100;&#1077;&#1079;&#1085;&#1099;&#1077;, &#1085;&#1072;&#1076;&#1077;&#1078;&#1085;&#1099;&#1077; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1099; &ndash; &#1101;&#1090;&#1086;&#1090; &#1082;&#1091;&#1088;&#1089; &#1076;&#1083;&#1103; &#1090;&#1077;&#1073;&#1103;. &#1058;&#1099; &#1085;&#1072;&#1091;&#1095;&#1080;&#1096;&#1100;&#1089;&#1103; &#1087;&#1080;&#1089;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077; &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;, &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; &#1084;&#1077;&#1085;&#1102; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python &#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1090;&#1100; &#1089;&#1083;&#1086;&#1078;&#1085;&#1099;&#1077; &#1080;&#1085;&#1090;&#1077;&#1088;&#1072;&#1082;&#1090;&#1080;&#1074;&#1085;&#1099;&#1077; &#1080;&#1085;&#1090;&#1077;&#1088;&#1092;&#1077;&#1081;&#1089;&#1099;.\n<\/p>\n<h3>&#1050;&#1072;&#1082; &laquo;&#1087;&#1088;&#1086;&#1082;&#1072;&#1095;&#1072;&#1090;&#1100;&raquo; AI, &#1072; &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1074;&#1099;&#1079;&#1099;&#1074;&#1072;&#1090;&#1100; API<\/h3>\n<p>\n&#1058;&#1074;&#1086;&#1081; Telegram &#1073;&#1086;&#1090; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084; &#1086;&#1090;&#1074;&#1077;&#1095;&#1072;&#1077;&#1090; &#1085;&#1072; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1103;, &#1085;&#1086; &#1082;&#1072;&#1082; &#1087;&#1086;&#1085;&#1103;&#1090;&#1100;, &#1086; &#1095;&#1077;&#1084; &#1095;&#1072;&#1097;&#1077; &#1074;&#1089;&#1077;&#1075;&#1086; &#1089;&#1087;&#1088;&#1072;&#1096;&#1080;&#1074;&#1072;&#1102;&#1090; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1077;&#1083;&#1080;? &#1050;&#1072;&#1082; &#1072;&#1085;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1076;&#1072;&#1085;&#1085;&#1099;&#1077;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1091;&#1077;&#1090; &#1073;&#1086;&#1090;? &#1050;&#1072;&#1082; &#1085;&#1072;&#1091;&#1095;&#1080;&#1090;&#1100; &#1084;&#1086;&#1076;&#1077;&#1083;&#1100; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1090;&#1100; &#1082;&#1086;&#1085;&#1090;&#1077;&#1082;&#1089;&#1090; &#1083;&#1091;&#1095;&#1096;&#1077; &#1080;&#1083;&#1080; &#1076;&#1072;&#1078;&#1077; &#1076;&#1086;&#1086;&#1073;&#1091;&#1095;&#1080;&#1090;&#1100; &#1077;&#1077; &#1085;&#1072; &#1089;&#1074;&#1086;&#1080;&#1093; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093;? &#1050;&#1072;&#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1089; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1084; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090;&#1086;&#1084;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1073;&#1091;&#1076;&#1077;&#1090; &#1076;&#1077;&#1081;&#1089;&#1090;&#1074;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; &#1091;&#1084;&#1085;&#1099;&#1084;?<\/p>\n<p>&#1056;&#1072;&#1073;&#1086;&#1090;&#1072; &#1089; &#1076;&#1072;&#1085;&#1085;&#1099;&#1084;&#1080; &#1080; &#1084;&#1072;&#1096;&#1080;&#1085;&#1085;&#1099;&#1084; &#1086;&#1073;&#1091;&#1095;&#1077;&#1085;&#1080;&#1077;&#1084; &ndash; &#1101;&#1090;&#1086; &#1091;&#1078;&#1077; &#1086;&#1073;&#1083;&#1072;&#1089;&#1090;&#1100; Data Science. &#1053;&#1072; &#1082;&#1091;&#1088;&#1089;&#1077; <a href=\"https:\/\/goit.global\/ua-ru\/courses\/python-ds\/?amp%3Butm_medium=articles&#038;amp%3Butm_campaign=45832\" target=\"_blank\" rel=\"noopener\">Python Data Science &#1074; GoIT<\/a> &#1090;&#1099; &#1085;&#1072;&#1091;&#1095;&#1080;&#1096;&#1100;&#1089;&#1103;:\n<\/p>\n<ul>\n<li>&#1056;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; API &#1085;&#1072; &#1087;&#1088;&#1086;&#1076;&#1074;&#1080;&#1085;&#1091;&#1090;&#1086;&#1084; &#1091;&#1088;&#1086;&#1074;&#1085;&#1077;, &#1085;&#1077; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1074;&#1099;&#1079;&#1099;&#1074;&#1072;&#1103; &#1075;&#1086;&#1090;&#1086;&#1074;&#1099;&#1077; &#1092;&#1091;&#1085;&#1082;&#1094;&#1080;&#1080; &#1087;&#1088;&#1080; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1080; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python, &#1085;&#1086; &#1080; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1103;, &#1082;&#1072;&#1082; &#1086;&#1085;&#1080; &#1091;&#1089;&#1090;&#1088;&#1086;&#1077;&#1085;&#1099; &#1080;&#1079;&#1085;&#1091;&#1090;&#1088;&#1080;.<\/li>\n<li>&#1055;&#1086;&#1085;&#1080;&#1084;&#1072;&#1090;&#1100;, &#1082;&#1072;&#1082; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1102;&#1090; AI-&#1084;&#1086;&#1076;&#1077;&#1083;&#1080; (&#1074;&#1082;&#1083;&#1102;&#1095;&#1072;&#1103; &#1086;&#1089;&#1085;&#1086;&#1074;&#1099; NLP &ndash; &#1086;&#1073;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1080; &#1077;&#1089;&#1090;&#1077;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1086;&#1075;&#1086; &#1103;&#1079;&#1099;&#1082;&#1072;), &#1095;&#1090;&#1086;&#1073;&#1099; &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; ChatGPT &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Python, &#1072; &#1088;&#1072;&#1079;&#1073;&#1080;&#1088;&#1072;&#1090;&#1100;&#1089;&#1103;, &#1082;&#1072;&#1082; &#1086;&#1085; &#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1091;&#1077;&#1090; &#1086;&#1090;&#1074;&#1077;&#1090;&#1099;.<\/li>\n<li>&#1040;&#1085;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1076;&#1072;&#1085;&#1085;&#1099;&#1077;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1091;&#1077;&#1090; &#1090;&#1074;&#1086;&#1081; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090; &#1076;&#1083;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Python: &#1082;&#1072;&#1082;&#1080;&#1077; &#1079;&#1072;&#1087;&#1088;&#1086;&#1089;&#1099; &#1089;&#1072;&#1084;&#1099;&#1077; &#1087;&#1086;&#1087;&#1091;&#1083;&#1103;&#1088;&#1085;&#1099;&#1077;, &#1074; &#1082;&#1072;&#1082;&#1086;&#1077; &#1074;&#1088;&#1077;&#1084;&#1103; &#1089;&#1091;&#1090;&#1086;&#1082; &#1073;&#1086;&#1090; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1091;&#1077;&#1090;&#1089;&#1103; &#1095;&#1072;&#1097;&#1077; &#1074;&#1089;&#1077;&#1075;&#1086;, &#1082;&#1072;&#1082;&#1080;&#1077; &#1086;&#1090;&#1074;&#1077;&#1090;&#1099; &#1087;&#1086;&#1083;&#1091;&#1095;&#1072;&#1102;&#1090; &#1083;&#1091;&#1095;&#1096;&#1091;&#1102; &#1086;&#1073;&#1088;&#1072;&#1090;&#1085;&#1091;&#1102; &#1089;&#1074;&#1103;&#1079;&#1100;.<\/li>\n<li>&#1054;&#1089;&#1085;&#1086;&#1074;&#1072;&#1084; <a href=\"https:\/\/goit.global\/ua-ru\/articles\/mashynnoe-obuchenye-chto-to-takoe-dlia-cheho-nuzhno-y-kak-rabotaet\/\" target=\"_blank\" rel=\"noopener\">Machine Learning<\/a>, &#1095;&#1090;&#1086;&#1073;&#1099; &#1074; &#1073;&#1091;&#1076;&#1091;&#1097;&#1077;&#1084; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1090;&#1100; &#1089;&#1086;&#1073;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1077; &#1084;&#1086;&#1076;&#1077;&#1083;&#1080; &#1087;&#1088;&#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1080; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; Python, &#1072; &#1085;&#1077; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100;&#1089;&#1103; &#1075;&#1086;&#1090;&#1086;&#1074;&#1099;&#1084;&#1080; &#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1103;&#1084;&#1080; &#1074;&#1088;&#1086;&#1076;&#1077; OpenAI &#1073;&#1086;&#1090; &#1080;&#1083;&#1080; OpenAI chatbot Telegram.<\/li>\n<li>&#1042;&#1080;&#1079;&#1091;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1076;&#1072;&#1085;&#1085;&#1099;&#1077; &#1080; &#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &#1076;&#1072;&#1096;&#1073;&#1086;&#1088;&#1076;&#1099; &#1076;&#1083;&#1103; &#1084;&#1086;&#1085;&#1080;&#1090;&#1086;&#1088;&#1080;&#1085;&#1075;&#1072; &#1088;&#1072;&#1073;&#1086;&#1090;&#1099; &#1073;&#1086;&#1090;&#1072; &#1076;&#1083;&#1103; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084;&#1084; &#1085;&#1072; Python.<\/li>\n<li>&#1050;&#1072;&#1082; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1090;&#1100; AI &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077; &ndash; &#1087;&#1086;&#1085;&#1080;&#1084;&#1072;&#1090;&#1100; &#1072;&#1088;&#1093;&#1080;&#1090;&#1077;&#1082;&#1090;&#1091;&#1088;&#1091; &#1085;&#1077;&#1081;&#1088;&#1086;&#1085;&#1085;&#1099;&#1093; &#1089;&#1077;&#1090;&#1077;&#1081; &#1080; &#1087;&#1088;&#1080;&#1085;&#1094;&#1080;&#1087;&#1099; &#1080;&#1093; &#1086;&#1073;&#1091;&#1095;&#1077;&#1085;&#1080;&#1103;.<\/li>\n<li>&#1050;&#1072;&#1082; &#1089;&#1076;&#1077;&#1083;&#1072;&#1090;&#1100; &#1048;&#1048; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;&#1077; &ndash; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1090;&#1100; &#1089;&#1086;&#1073;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1077; &#1084;&#1086;&#1076;&#1077;&#1083;&#1080; &#1076;&#1083;&#1103; &#1089;&#1087;&#1077;&#1094;&#1080;&#1092;&#1080;&#1095;&#1077;&#1089;&#1082;&#1080;&#1093; &#1079;&#1072;&#1076;&#1072;&#1095;.<\/li>\n<\/ul>\n<p>\n&#1045;&#1089;&#1083;&#1080; &#1090;&#1099; &#1093;&#1086;&#1095;&#1077;&#1096;&#1100; &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1086; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;, &#1072; &#1087;&#1086;&#1085;&#1103;&#1090;&#1100;, &#1082;&#1072;&#1082; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1081; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090; &#1087;&#1086;&#1076; &#1082;&#1072;&#1087;&#1086;&#1090;&#1086;&#1084;, &#1080; &#1085;&#1072;&#1091;&#1095;&#1080;&#1090;&#1100;&#1089;&#1103; &#1089;&#1090;&#1088;&#1086;&#1080;&#1090;&#1100; &#1089;&#1086;&#1073;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1077; AI-&#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1103; &ndash; &#1101;&#1090;&#1086;&#1090; &#1082;&#1091;&#1088;&#1089; &#1086;&#1090;&#1082;&#1088;&#1086;&#1077;&#1090; &#1090;&#1077;&#1073;&#1077; &#1076;&#1074;&#1077;&#1088;&#1080; &#1074; &#1091;&#1074;&#1083;&#1077;&#1082;&#1072;&#1090;&#1077;&#1083;&#1100;&#1085;&#1099;&#1081; &#1084;&#1080;&#1088; Data Science. &#1058;&#1099; &#1085;&#1072;&#1091;&#1095;&#1080;&#1096;&#1100;&#1089;&#1103; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1090;&#1100; &#1048;&#1048; &#1085;&#1072; Python &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086; &#1080; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; &#1087;&#1077;&#1088;&#1077;&#1076;&#1086;&#1074;&#1099;&#1084;&#1080; &#1090;&#1077;&#1093;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1103;&#1084;&#1080; &#1084;&#1072;&#1096;&#1080;&#1085;&#1085;&#1086;&#1075;&#1086; &#1086;&#1073;&#1091;&#1095;&#1077;&#1085;&#1080;&#1103;.<\/p>\n<h2>&#1040;&#1083;&#1100;&#1090;&#1077;&#1088;&#1085;&#1072;&#1090;&#1080;&#1074;&#1085;&#1099;&#1077; &#1087;&#1086;&#1076;&#1093;&#1086;&#1076;&#1099; &#1080; &#1080;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1099;<\/h2>\n<p>\n&#1055;&#1086;&#1084;&#1080;&#1084;&#1086; &#1085;&#1072;&#1087;&#1080;&#1089;&#1072;&#1085;&#1080;&#1103; &#1073;&#1086;&#1090;&#1072; &laquo;&#1089; &#1085;&#1091;&#1083;&#1103;&raquo;, &#1089;&#1091;&#1097;&#1077;&#1089;&#1090;&#1074;&#1091;&#1102;&#1090; &#1080; &#1076;&#1088;&#1091;&#1075;&#1080;&#1077; &#1087;&#1086;&#1076;&#1093;&#1086;&#1076;&#1099; &#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1102; Telegram &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python.\n<\/p>\n<h3>&#1050;&#1086;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1086;&#1088;&#1099; &#1073;&#1086;&#1090;&#1086;&#1074;<\/h3>\n<p>\n&#1045;&#1089;&#1083;&#1080; &#1090;&#1099; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#1077;&#1096;&#1100; &#1080; &#1093;&#1086;&#1095;&#1077;&#1096;&#1100; &#1073;&#1099;&#1089;&#1090;&#1088;&#1086; &#1087;&#1088;&#1086;&#1090;&#1077;&#1089;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1080;&#1076;&#1077;&#1102;, &#1089;&#1091;&#1097;&#1077;&#1089;&#1090;&#1074;&#1091;&#1077;&#1090; &#1082;&#1086;&#1085;&#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1086;&#1088; &#1073;&#1086;&#1090;&#1086;&#1074; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085; &ndash; &#1080;&#1085;&#1089;&#1090;&#1088;&#1091;&#1084;&#1077;&#1085;&#1090;&#1099; &#1074;&#1088;&#1086;&#1076;&#1077; <em>python-telegram-bot<\/em> &#1089; &#1075;&#1086;&#1090;&#1086;&#1074;&#1099;&#1084;&#1080; &#1096;&#1072;&#1073;&#1083;&#1086;&#1085;&#1072;&#1084;&#1080;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1077; &#1079;&#1085;&#1072;&#1095;&#1080;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086; &#1091;&#1087;&#1088;&#1086;&#1097;&#1072;&#1102;&#1090; &#1089;&#1086;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;. &#1054;&#1076;&#1085;&#1072;&#1082;&#1086; &#1076;&#1083;&#1103; &#1087;&#1086;&#1083;&#1085;&#1086;&#1075;&#1086; &#1082;&#1086;&#1085;&#1090;&#1088;&#1086;&#1083;&#1103; &#1080; &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1086;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1082;&#1080; &#1083;&#1091;&#1095;&#1096;&#1077; &#1087;&#1080;&#1089;&#1072;&#1090;&#1100; &#1082;&#1086;&#1076; &#1089;&#1072;&#1084;&#1086;&#1089;&#1090;&#1086;&#1103;&#1090;&#1077;&#1083;&#1100;&#1085;&#1086;, &#1082;&#1072;&#1082; &#1084;&#1099; &#1091;&#1078;&#1077; &#1088;&#1072;&#1089;&#1089;&#1084;&#1086;&#1090;&#1088;&#1077;&#1083;&#1080; &#1074;&#1099;&#1096;&#1077;.\n<\/p>\n<h3>&#1041;&#1086;&#1090; &#1076;&#1083;&#1103; &#1089;&#1072;&#1081;&#1090;&#1072; &#1085;&#1072; Python<\/h3>\n<p>\n&#1045;&#1089;&#1083;&#1080; &#1090;&#1074;&#1086;&#1103; &#1094;&#1077;&#1083;&#1100; &ndash; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090; &#1076;&#1083;&#1103; &#1089;&#1072;&#1081;&#1090;&#1072; &#1085;&#1072; &#1055;&#1072;&#1081;&#1090;&#1086;&#1085;, &#1087;&#1088;&#1080;&#1085;&#1094;&#1080;&#1087;&#1099; &#1073;&#1091;&#1076;&#1091;&#1090; &#1087;&#1086;&#1093;&#1086;&#1078;&#1080;&#1084;&#1080;, &#1085;&#1086; &#1074;&#1084;&#1077;&#1089;&#1090;&#1086; Telegram API &#1090;&#1099; &#1073;&#1091;&#1076;&#1077;&#1096;&#1100; &#1080;&#1089;&#1087;&#1086;&#1083;&#1100;&#1079;&#1086;&#1074;&#1072;&#1090;&#1100; &#1074;&#1077;&#1073;-&#1092;&#1088;&#1077;&#1081;&#1084;&#1074;&#1086;&#1088;&#1082;&#1080; (Flask, Django) &#1080; WebSocket.\n<\/p>\n<h2>&#1055;&#1086;&#1076;&#1099;&#1090;&#1086;&#1078;&#1080;&#1084;<\/h2>\n<p>\n&#1058;&#1099; &#1089;&#1086;&#1079;&#1076;&#1072;&#1083; &#1089;&#1074;&#1086;&#1077;&#1075;&#1086; &#1087;&#1077;&#1088;&#1074;&#1086;&#1075;&#1086; &#1048;&#1048; &#1095;&#1072;&#1090; &#1073;&#1086;&#1090;&#1072; &#1085;&#1072; Python &ndash; &#1101;&#1090;&#1086; &#1086;&#1090;&#1083;&#1080;&#1095;&#1085;&#1099;&#1081; &#1089;&#1090;&#1072;&#1088;&#1090;&#1086;&#1074;&#1099;&#1081; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090;, &#1082;&#1086;&#1090;&#1086;&#1088;&#1099;&#1081; &#1087;&#1086;&#1082;&#1072;&#1079;&#1099;&#1074;&#1072;&#1077;&#1090;, &#1082;&#1072;&#1082; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1102;&#1090; &#1089;&#1086;&#1074;&#1088;&#1077;&#1084;&#1077;&#1085;&#1085;&#1099;&#1077; &#1090;&#1077;&#1093;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1080;. &#1058;&#1077;&#1087;&#1077;&#1088;&#1100; &#1090;&#1099; &#1079;&#1085;&#1072;&#1077;&#1096;&#1100;, &#1082;&#1072;&#1082; &#1089;&#1086;&#1079;&#1076;&#1072;&#1090;&#1100; &#1073;&#1086;&#1090;&#1072; &#1074; &#1058;&#1077;&#1083;&#1077;&#1075;&#1088;&#1072;&#1084; &#1085;&#1072; &#1055;&#1080;&#1090;&#1086;&#1085;&#1077;, &#1082;&#1072;&#1082; &#1087;&#1086;&#1076;&#1082;&#1083;&#1102;&#1095;&#1080;&#1090;&#1100; &#1082; &#1085;&#1077;&#1084;&#1091; API OpenAI &#1080; &#1082;&#1072;&#1082; &#1079;&#1072;&#1089;&#1090;&#1072;&#1074;&#1080;&#1090;&#1100; &#1077;&#1075;&#1086; &#1075;&#1077;&#1085;&#1077;&#1088;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1091;&#1084;&#1085;&#1099;&#1077; &#1086;&#1090;&#1074;&#1077;&#1090;&#1099;.<\/p>\n<p>&#1053;&#1086; &#1101;&#1090;&#1086; &#1090;&#1086;&#1083;&#1100;&#1082;&#1086; &#1085;&#1072;&#1095;&#1072;&#1083;&#1086; &#1087;&#1091;&#1090;&#1080;. &#1045;&#1089;&#1083;&#1080; &#1090;&#1099; &#1093;&#1086;&#1095;&#1077;&#1096;&#1100; &#1087;&#1088;&#1077;&#1074;&#1088;&#1072;&#1090;&#1080;&#1090;&#1100; &#1101;&#1090;&#1086; &#1091;&#1074;&#1083;&#1077;&#1095;&#1077;&#1085;&#1080;&#1077; &#1074; &#1087;&#1088;&#1086;&#1092;&#1077;&#1089;&#1089;&#1080;&#1102; &#1080; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1072;&#1090;&#1099;&#1074;&#1072;&#1090;&#1100; &#1089;&#1083;&#1086;&#1078;&#1085;&#1099;&#1077; AI-&#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1099;, &#1074;&#1077;&#1073;-&#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103; &#1080;&#1083;&#1080; &#1072;&#1085;&#1072;&#1083;&#1080;&#1090;&#1080;&#1095;&#1077;&#1089;&#1082;&#1080;&#1077; &#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1103; &ndash; &#1090;&#1077;&#1073;&#1077; &#1085;&#1091;&#1078;&#1085;&#1099; &#1089;&#1080;&#1089;&#1090;&#1077;&#1084;&#1085;&#1099;&#1077; &#1079;&#1085;&#1072;&#1085;&#1080;&#1103;.<\/p>\n<p>&#1042; &#1101;&#1090;&#1086;&#1084; &#1090;&#1077;&#1073;&#1077; &#1087;&#1086;&#1084;&#1086;&#1075;&#1091;&#1090; &#1089;&#1087;&#1077;&#1094;&#1080;&#1072;&#1083;&#1080;&#1079;&#1080;&#1088;&#1086;&#1074;&#1072;&#1085;&#1085;&#1099;&#1077; &#1048;&#1058;-&#1082;&#1091;&#1088;&#1089;&#1099; GoIT:\n<\/p>\n<ul>\n<li><a href=\"https:\/\/goit.global\/ua-ru\/courses\/python\/?amp%3Butm_medium=articles&#038;amp%3Butm_campaign=45832\" target=\"_blank\" rel=\"noopener\">Python Software Engineer<\/a> &ndash; &#1085;&#1072;&#1091;&#1095;&#1080;&#1090; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1090;&#1100; &#1085;&#1072;&#1076;&#1077;&#1078;&#1085;&#1099;&#1077;, &#1084;&#1072;&#1089;&#1096;&#1090;&#1072;&#1073;&#1080;&#1088;&#1091;&#1077;&#1084;&#1099;&#1077; &#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1103;, &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1090;&#1100; &#1089; &#1073;&#1072;&#1079;&#1072;&#1084;&#1080; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093; &#1080; &#1088;&#1072;&#1079;&#1074;&#1086;&#1088;&#1072;&#1095;&#1080;&#1074;&#1072;&#1090;&#1100; &#1087;&#1088;&#1086;&#1077;&#1082;&#1090;&#1099; &#1085;&#1072; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1072;&#1093;;<\/li>\n<li><a href=\"https:\/\/goit.global\/ua-ru\/courses\/python-ds\/?amp%3Butm_medium=articles&#038;amp%3Butm_campaign=45832\" target=\"_blank\" rel=\"noopener\">Python Data Scientist<\/a> &ndash; &#1086;&#1090;&#1082;&#1088;&#1086;&#1077;&#1090; &#1084;&#1080;&#1088; &#1072;&#1085;&#1072;&#1083;&#1080;&#1079;&#1072; &#1076;&#1072;&#1085;&#1085;&#1099;&#1093;, &#1084;&#1072;&#1096;&#1080;&#1085;&#1085;&#1086;&#1075;&#1086; &#1086;&#1073;&#1091;&#1095;&#1077;&#1085;&#1080;&#1103; &#1080; &#1087;&#1086;&#1079;&#1074;&#1086;&#1083;&#1080;&#1090; &#1087;&#1086;&#1085;&#1103;&#1090;&#1100;, &#1082;&#1072;&#1082; &#1088;&#1072;&#1073;&#1086;&#1090;&#1072;&#1077;&#1090; &#1080;&#1089;&#1082;&#1091;&#1089;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1099;&#1081; &#1080;&#1085;&#1090;&#1077;&#1083;&#1083;&#1077;&#1082;&#1090; &#1080;&#1079;&#1085;&#1091;&#1090;&#1088;&#1080;.<\/li>\n<\/ul>\n<p>\n&#1053;&#1077; &#1086;&#1089;&#1090;&#1072;&#1085;&#1072;&#1074;&#1083;&#1080;&#1074;&#1072;&#1081;&#1089;&#1103; &#1085;&#1072; &#1087;&#1088;&#1086;&#1089;&#1090;&#1099;&#1093; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1072;&#1093; &ndash; &#1088;&#1072;&#1079;&#1074;&#1080;&#1074;&#1072;&#1081;&#1089;&#1103; &#1080; &#1089;&#1086;&#1079;&#1076;&#1072;&#1074;&#1072;&#1081; &#1090;&#1077;&#1093;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1080; &#1073;&#1091;&#1076;&#1091;&#1097;&#1077;&#1075;&#1086; &#1074;&#1084;&#1077;&#1089;&#1090;&#1077; &#1089; GoIT!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0431\u043e\u0442\u0430 \u0432 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043d\u0430 \u041f\u0438\u0442\u043e\u043d\u0435 \u0441 OpenAI \u0427\u0430\u0442\u0413\u041f\u0422: \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f, \u043a\u043e\u0434, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f API. \u041d\u0430\u0443\u0447\u0438\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0447\u0430\u0442-\u0431\u043e\u0442\u0430 \u0441 AI \u043d\u0430 Python \u0441 \u043a\u0443\u0440\u0441\u0430\u043c\u0438 GoIT!<\/p>\n","protected":false},"featured_media":45831,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false},"categories":[11321],"tags":[],"class_list":["post-45832","articles","type-articles","status-publish","has-post-thumbnail","hentry","category-ai"],"acf":[],"_links":{"self":[{"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/articles\/45832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/types\/articles"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/media\/45831"}],"wp:attachment":[{"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/media?parent=45832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/categories?post=45832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goit.global\/ua-ru\/wp-json\/wp\/v2\/tags?post=45832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}