{"id":247,"date":"2019-09-03T03:53:29","date_gmt":"2019-09-02T20:53:29","guid":{"rendered":"http:\/\/ainoodle.tech\/?p=247"},"modified":"2019-09-03T03:53:29","modified_gmt":"2019-09-02T20:53:29","slug":"rasa-series-1-ai-cung-co-the-lam-chatbot-sieu-ngon-khong-lo","status":"publish","type":"post","link":"https:\/\/miai.vn\/?p=247","title":{"rendered":"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m RASA chatbot &#8220;si\u00eau ngon kh\u1ed5ng l\u1ed3&#8221;"},"content":{"rendered":"\n<p>V\u00e8o c\u00e1i l\u00e0 h\u1ebft qu\u1ed1c kh\u00e1nh, sorry c\u00e1c mem v\u00ec h\u00f4m nay ad m\u1edbi tr\u1edf v\u1ec1 H\u00e0 N\u1ed9i sau m\u1ea5y ng\u00e0y phi\u00eau du kh\u1eafp n\u01a1i (tranh th\u1ee7 t\u00fd). H\u00f4m nay ch\u00fang ta c\u00f9ng chuy\u1ec3n sang m\u1ed9t m\u1ea3ng m\u1edbi l\u00e0 m\u1ea3ng <strong>Natural Language Processing<\/strong> &#8211; x\u1eed l\u00fd ngu\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 b\u00e0i \u0111\u1ea7u ti\u00ean m\u00ecnh xin guide c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c. <\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n th\u1ea5y FPT Chatbot hay Hana Chatbot kh\u00f4ng, to\u00e0n d\u00f9ng &#8220;c\u00f4ng ngh\u1ec7&#8221; intent\/utter n\u00e0y h\u1ebft \u0111\u00f3. N\u00ean l\u00e0m xong c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 t\u1ef1 x\u00e2y chatbot cho m\u00ecnh, kh\u1ecfi mua t\u1ed1n xi\u1ec1n \ud83d\ude1b <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\" alt=\"RASA chatbot\"\/><figcaption>Ngu\u1ed3n: ecommerce-nation.com<\/figcaption><\/figure>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Ch\u00fang ta s\u1ebd \u0111i qua c\u00e1c ph\u1ea7n sau nh\u00e9:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ph\u1ea7n 1. Chatbot l\u00e0 g\u00ec? C\u00f3 nh\u1eefng c\u00e1ch n\u00e0o \u0111\u1ec3 l\u00e0m chatbot?<\/li><li>Ph\u1ea7n 2. Chu\u1ea9n b\u1ecb nguy\u00ean v\u1eadt li\u1ec7u cho b\u00e0i to\u00e1n<\/li><li>Ph\u1ea7n 3. Nh\u1eadp li\u1ec7u cho module NLU<\/li><li>Ph\u1ea7n 4. Ki\u1ec3m tra module NLU<\/li><li>Ph\u1ea7n 5. Train module Rasa Core v\u00e0 chat v\u1edbi bot <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 1. Chatbot l\u00e0 g\u00ec? C\u00f3 nh\u1eefng c\u00e1ch n\u00e0o \u0111\u1ec3 l\u00e0m chatbot?<\/h2>\n\n\n\n<p>Hi\u1ec3u \u0111\u01a1n gi\u1ea3n th\u00ec chatbot l\u00e0 m\u1ed9t ph\u1ea7n m\u1ec1m c\u00f3 th\u1ec3 chat &#8220;\u0111\u1ed1i \u0111\u00e1p&#8221; v\u1edbi con ng\u01b0\u1eddi \u0111\u1ec3: t\u01b0 v\u1ea5n th\u00f4ng tin, t\u00e2m s\u1ef1, t\u00e1n t\u1ec9nh&#8230;<\/p>\n\n\n\n<p>V\u1eady c\u00f3 nh\u1eefng c\u00e1ch n\u00e0o \u0111\u1ec3 l\u00e0m chatbot? C\u00e1i n\u00e0y m\u00ecnh kh\u00f4ng ch\u1eafc l\u1eafm, nh\u01b0ng theo hi\u1ec3u bi\u1ebft nh\u1ecf b\u00e9 c\u1ee7a m\u00ecnh th\u00ec c\u00f3 c\u00e1c c\u00e1ch :<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ki\u1ec3u if then theo c\u00e2u. V\u00ed d\u1ee5: N\u1ebfu h\u1ecfi c\u00e2u &#8220;Em t\u00ean l\u00e0 g\u00ec?&#8221; th\u00ec tr\u1ea3 l\u1eddi l\u00e0 &#8220;Em t\u00ean l\u00e0 Hoa&#8221; ho\u1eb7c n\u1ebfu h\u1ecfi &#8220;C\u1eeda h\u00e0ng c\u00f3 m\u1edf c\u1eeda kh\u00f4ng?&#8221; th\u00ec tr\u1ea3 l\u1eddi l\u00e0 &#8220;C\u1eeda h\u00e0ng m\u1edf c\u1eeda t\u1eeb 7-10h nh\u00e9!&#8221;. \u01afu \u0111i\u1ec3m l\u00e0: d\u1ec5 l\u00e0m, \u0111\u01a1n gi\u1ea3n. Nh\u01b0\u1ee3c \u0111i\u1ec3m l\u00e0: Bot ch\u1ec9 tr\u1ea3 l\u1eddi n\u1ebfu nh\u01b0 ng\u01b0\u1eddi d\u00f9ng g\u00f5 \u0111\u00fang y h\u1ec7t c\u00e2u \u0111\u1ea7u v\u00e0o :(. V\u00ed d\u1ee5 \u1edf tr\u00ean n\u1ebfu ng\u01b0\u1eddi d\u00f9ng g\u00f5 &#8220;Em cho anh h\u1ecfi t\u00fd c\u1eeda h\u00e0ng m\u00ecnh c\u00f2n m\u1edf c\u1eeda n\u1eefa kh\u00f4ng?&#8221; l\u00e0 bot&#8230;.t\u1ecbt \ud83d\ude00<\/li><li>Ki\u1ec3u rule base chatbot nh\u01b0ng c\u00f3 x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 \u00e1p d\u1ee5ng m\u1ea1ng NN \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh KH mu\u1ed1n g\u00ec v\u00e0 t\u00ecm c\u00e2u tr\u1ea3 l\u1eddi ph\u00f9 h\u1ee3p. V\u00ed d\u1ee5, kh\u00e1ch h\u00e0ng c\u00f3 th\u1ec3 n\u00f3i &#8220;Em cho anh h\u1ecfi t\u00fd c\u1eeda h\u00e0ng m\u00ecnh c\u00f2n m\u1edf c\u1eeda n\u1eefa kh\u00f4ng?&#8221; th\u00ec bot v\u1eabn tr\u1ea3 l\u1eddi \u0111\u01b0\u1ee3c. V\u1edbi ki\u1ec3u n\u00e0y ch\u00fang ta ph\u1ea3i \u0111\u1ecbnh ngh\u0129a m\u1eabu c\u00e2u \u0111\u1ea7u v\u00e0o (nh\u1eafc l\u1ea1i l\u00e0 m\u1eabu th\u00f4i nh\u00e9, ch\u1ee9 ko ph\u1ea3i fix c\u1ee9ng nh\u01b0 lo\u1ea1i tr\u00ean) v\u00e0 c\u00e1c c\u00e2u tr\u1ea3 l\u1eddi.<\/li><li>Ki\u1ec3u generation based chat bot. Qu\u1ea3 n\u00e0y th\u00ec c\u00f3 ngh\u0129a l\u00e0 sau khi \u0111\u01b0\u1ee3c train li\u00ean t\u1ee5c c\u00e1c c\u00e2u h\u1ecfi v\u00e0 tr\u1ea3 l\u1eddi th\u00ec bot c\u00f3 kh\u1ea3 n\u0103ng t\u1ef1 sinh ra c\u00e2u tr\u1ea3 l\u1eddi \u1ee9ng v\u1edbi n\u1ed9i dung KH chat (ko c\u1ea7n \u0111\u1ecbnh ngh\u0129a s\u1eb5n). Tuy nhi\u00ean, l\u00fd thuy\u1ebft th\u00ec hay ch\u1ee9 th\u1ef1c t\u1ebf m\u00ecnh l\u00e0m th\u00ec sinh ra nh\u1eefng c\u00e2u ng\u00f4 ngh\u00ea v\u00e0 \u0111\u00f4i khi c\u00f3 n\u1ed9i dung nh\u1ea1y c\u1ea3m v\u00e3i l\u00faa . <\/li><\/ul>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Do \u0111\u00f3, hi\u1ec7n nay lo\u1ea1i s\u1ed1 2 v\u1eabn \u0111\u01b0\u1ee3c d\u00f9ng nhi\u1ec1u nh\u1ea5t v\u00ec c\u00e2n b\u1eb1ng gi\u1eefa \u0111\u1ed9 m\u1ec1m d\u1ebbo trong giao ti\u1ebfp, l\u1ea1i ki\u1ec3m so\u00e1t \u0111\u01b0\u1ee3c th\u00f4ng tin. Ch\u00fang ta s\u1ebd b\u1eaft tay v\u00e0o l\u00e0m th\u1eed 1 chatbot \u0111\u01a1n gi\u1ea3n lo\u1ea1i 2 nh\u00e9.<\/p>\n\n\n\n<p><strong>Ch\u00fa \u00fd<\/strong>: Hi\u1ec7n c\u00f3 post update chu\u1ea9n t\u1ea1i \u0111\u00e2y nh\u00e9 anh em. Anh em c\u00e0i theo c\u00e1ch m\u1edbi: <strong><a href=\"https:\/\/www.miai.vn\/2020\/03\/19\/rasa-series-4-cai-dat-rasa-theo-cach-moi-sieu-nhanh-sieu-gon-nhe\/\">https:\/\/www.miai.vn\/2020\/03\/19\/rasa-series-4-cai-dat-rasa-theo-cach-moi-sieu-nhanh-sieu-gon-nhe\/<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 2. Chu\u1ea9n b\u1ecb nguy\u00ean v\u1eadt li\u1ec7u<\/h2>\n\n\n\n<p>B\u00e2y gi\u1edd nh\u01b0 th\u01b0\u1eddng l\u1ec7, c\u00e1c b\u1ea1n h\u00e3y t\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c <strong>MiAI_Chatbot<\/strong> tr\u00ean m\u00e1y t\u00ednh c\u1ee7a c\u00e1c b\u1ea1n nh\u00e9. Sau \u0111\u00f3 c\u00e1c b\u1ea1n \u0111\u1ee9ng trong th\u01b0 m\u1ee5c \u0111\u00f3 v\u00e0 g\u00f5 l\u1ec7nh sau \u0111\u1ec3 l\u1ea5y t\u1eeb <a rel=\"noreferrer noopener\" aria-label=\"github (opens in a new tab)\" href=\"https:\/\/github.com\/thangnch\/AI_Voicebot\" target=\"_blank\">github<\/a> c\u1ee7a m\u00ecnh v\u1ec1:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/thangnch\/AI_Voicebot<\/code><\/pre>\n\n\n\n<p>R\u1ed3i, b\u00e2y gi\u1edd ch\u00fang ta \u0111\u00e3 c\u00f3 th\u00eam th\u01b0 m\u1ee5c AI_Voicebot trong th\u01b0 m\u1ee5c MiAI_Chatbot (sorry m\u00ecnh \u0111\u1ec3 nguy\u00ean t\u00ean AI_Voicebot, \u0111\u00e2y l\u00e0 project m\u00ecnh mang \u0111i thi AI Hackathon 2019 n\u00ean c\u00f3 t\u00ean th\u1ebf, up l\u00ean t\u1eeb l\u00e2u r\u1ed3i). Ch\u00fang ta h\u00e3y chuy\u1ec3n v\u00e0o trong th\u01b0 m\u1ee5c AI_VoiceBot \u0111\u1ec3 l\u00e0m vi\u1ec7c (b\u1eb1ng l\u1ec7nh cd AI_Voicebot nh\u00e9).<\/p>\n\n\n\n<p>H\u00f4m nay ch\u00fang ta s\u1ebd d\u00f9ng th\u01b0 vi\u1ec7n m\u00e3 ngu\u1ed3n m\u1edf RASA (kh\u00e1 n\u1ed5i ti\u1ebfng) \u0111\u1ec3 l\u00e0m chatbot. RASA c\u00f3 2 module ch\u00ednh l\u00e0: RASA NLU &#8211; Nature Language Understanding d\u00f9ng \u0111\u1ec3 hi\u1ec3u v\u00e0 x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean (t\u00f3m l\u1ea1i \u0111\u1ec3 hi\u1ec3u xem ng\u01b0\u1eddi d\u00f9ng mu\u1ed1n g\u00ec) v\u00e0 RASA Core \u0111\u1ec3 x\u1eed l\u00fd tr\u1ea3 l\u1eddi kh\u00e1ch h\u00e0ng. Ch\u00fang ta s\u1ebd t\u00ecm hi\u1ec3u c\u1ee5 th\u1ec3 t\u1eebng module sau. <\/p>\n\n\n\n<p>B\u00e2y gi\u1edd, \u0111\u1ec3 ch\u1ea1y \u0111\u01b0\u1ee3c c\u00e1c b\u1ea1n c\u00e0i th\u00eam c\u00e1c th\u01b0 vi\u1ec7n rasa_core, sklearn_crfsuite v\u00e0 spacy b\u1eb1ng l\u1ec7nh:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install rasa_core sklearn_crfsuite spacy rasa_nlu<\/code><\/pre>\n\n\n\n<p>Sau \u0111\u00f3 c\u00e1c b\u1ea1n g\u00f5 th\u00eam l\u1ec7nh sau \u0111\u1ec3 t\u1ea3i ng\u00f4n ng\u1eef cho spacy nh\u00e9:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python -m spacy download en<\/code><\/pre>\n\n\n\n<p>C\u00e1c b\u1ea1n \u0111\u1ec3 \u00fd kh\u00f4ng th\u1ea5y b\u00e1o l\u1ed7i g\u00ec l\u00e0 ho\u00e0n th\u00e0nh, c\u00f2n n\u1ebfu c\u00f3 b\u00e1o l\u1ed7i th\u00ec c\u00e1c b\u1ea1n post l\u00ean group M\u00ec AI \u0111\u1ec3 c\u00f9ng th\u1ea3o lu\u1eadn nha (Group trao \u0111\u1ed5i, chia s\u1ebb: <a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.facebook.com\/groups\/miaigroup (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a>&nbsp;).<\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 3. Nh\u1eadp li\u1ec7u cho module NLU<\/h2>\n\n\n\n<p>R\u1ed3i, b\u00e2y gi\u1edd m\u1ecdi th\u1ee9 \u0111\u00e3 c\u00e0i \u0111\u1eb7t xong, source \u0111\u00e3 t\u1ea3i v\u1ec1 m\u00e1y, ch\u00fang ta s\u1ebd ti\u1ebfn h\u00e0nh train modul NLU \u0111\u1ec3 cho m\u00e1y c\u00f3 th\u1ec3 hi\u1ec3u \u0111\u01b0\u1ee3c nh\u1eefng g\u00ec kh\u00e1ch h\u00e0ng chat nh\u00e9. Trong modul NLU c\u00f3 kh\u00e1i ni\u1ec7m intent &#8211; \u00fd \u0111\u1ed3 c\u1ee7a kh\u00e1ch h\u00e0ng. V\u00ed d\u1ee5 n\u1ebfu KH chat &#8220;Cho t\u00f4i h\u1ecfi v\u1ec1 l\u1ecbch bay?&#8221; hay &#8220;L\u1ecbch bay h\u00f4m nay nh\u01b0 n\u00e0o?&#8221; th\u00ec tuy 2 c\u00e2u kh\u00e1ch nhau nh\u01b0ng c\u00f9ng 1 \u00fd \u0111\u1ed3 &#8211; intent l\u00e0 &#8220;H\u1ecfi_l\u1ecbch_bay&#8221; ch\u1eb3ng h\u1ea1n.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/s3-ap-south-1.amazonaws.com\/av-blog-media\/wp-content\/uploads\/2018\/01\/Bot-Arch.png\" alt=\"RASA chatbot\"\/><\/figure>\n\n\n\n<p>C\u00e1c b\u1ea1n m\u1edf file nlu.md trong th\u01b0 m\u1ee5c AI_Voicebot\/data s\u1ebd th\u1ea5y c\u1ea5u tr\u00fac file c\u00f3 d\u1ea1ng nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>## intent:greet\n- xin ch\u00e0o\n- ch\u00e0o b\u1ea1n\n- hello\n## intent:bye\n- t\u1ea1m bi\u1ec7t\n- ch\u00e0o t\u1ea1m bi\u1ec7t\n- ch\u00e0o t\u1ea1m bi\u1ec7t em<\/code><\/pre>\n\n\n\n<p>Trong \u0111\u00f3 (m\u00ecnh ch\u1ec9 v\u00ed d\u1ee5 1 intent, c\u00e1c c\u00e1i kh\u00e1c t\u01b0\u01a1ng t\u1ef1 nh\u00e9):<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>## intent: greet l\u00e0 \u00fd \u0111\u1ed3 c\u1ee7a kh\u00e1ch h\u00e0ng l\u00e0 greet (ch\u00e0o h\u1ecfi)<\/li><li>C\u00e1c c\u00e2u b\u00ean d\u01b0\u1edbi l\u00e0 c\u00e1c m\u1eabu c\u00e2u chat ch\u00fang ta quy v\u00e0o intent \/\u00fd \u0111\u1ed3 ch\u00e0o h\u1ecfi. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 th\u00eam nhi\u1ec1u c\u00e2u nh\u01b0 :&#8221; Ch\u00e0o g\u00e1i&#8221;, &#8220;Ch\u00e0o trai&#8221;, &#8220;C\u00f3 ai \u0111\u00f3 kh\u00f4ng?&#8221;&#8221;<\/li><\/ul>\n\n\n\n<p>C\u00e1c b\u1ea1n h\u00e3y \u0111\u1ecbnh ngh\u0129a l\u1ea7n l\u01b0\u1ee3t cho c\u00e1c intent c\u00e1c b\u1ea1n c\u00f3, m\u1ed7i intent t\u1ea7m t\u1eeb 10 c\u00e2u tr\u1edf l\u00ean \u0111\u1ec3 \u0111\u1ea1t k\u1ebft qu\u1ea3 cao nh\u1ea5t nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/T2WKp_hHogvl6zr5f-jFBC_-yT1rtECq5V046Oy-4xzmKreSgrv3Bwa2TP9qFrv6sr3oDusyaBIzVWw4450c6VXUAY4aWUmWnfYNHALmzLfb1m500oZHa3PhsBwhVx4ltRDZi0O7Avz4r2kQOlgJDI9MIpgGeE1waaQSXNzSV_LSY6NXzFkyqn1-Ra_eMzU64mni1_dx6UwrWtXq3Vi4NJI8eCbD8jifoANu1KqSwzlhoQmlcHIlI6Se5KomKfj1Prvt5KorzLsijkillsZmp7WRTxz5uP9ios2xuXsj_J0yhWzZX8vnTMbGZXlvjtjNZZkHQzqrC_hlY6V4_RGOXygT81Rigq5bD2isXkBcRo630k9mbnEsqHL3NiwapZcSa6WXaxnarZEpE-WZjqJOHDXBcnnxCXQalSWeNDBF4RQgFJc2EZOtFM9W3Myyn1RrShNL4NDhQC1FAOrUUwUM0VuU39EQjhOOR9Xh8UilZF32Ty5DjK4SYzMyxKH9OOX5OO8hK9jYfMY2B8uBZWPFUvH6f3L_uaop3LEF8-WWoPOdogccDlbC6fUboyd2Of-RY97TDJYPS8wOt-oyEssJTrBIBCbLyRi1ABeFoLQBIDnoU-cNBCeodCIBvOq9a_LKH0onHiEFX5kzvxjBkh9sDsqE9tIrHl9RcrM5LLuFWY5xi_2_CxYJwZXJ=w1418-h814-no\" alt=\"RASA chatbot\"\/><\/figure>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 4. Train v\u00e0 ki\u1ec3m tra module NLU<\/h2>\n\n\n\n<p>Module NLU c\u1ea7n ph\u1ea3i \u0111\u01b0\u1ee3c ki\u1ec3m tra k\u1ef9 tr\u01b0\u1edbc khi l\u00e0m c\u00e1c b\u01b0\u1edbc ti\u1ebfp theo b\u1edfi v\u00ec n\u1ebfu ta hi\u1ec3u sai \u00fd \u0111\u1ed3\/intent c\u1ee7a kh\u00e1ch h\u00e0ng th\u00ec c\u00e1c b\u01b0\u1edbc sau \u0111\u1ec1u sai c\u1ea3.<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n m\u1edf sang file train_nlu.py, nh\u00ecn \u1edf d\u00f2ng cu\u1ed1i c\u00f3 c\u00e1c l\u1ec7nh g\u1ecdi h\u00e0m ask_question, m\u1ee5c \u0111\u00edch l\u00e0 \u0111\u1ec3 ch\u00fang ta truy\u1ec1n th\u1eed c\u00e1c c\u00e2u h\u1ecfi c\u1ee7a kh\u00e1ch h\u00e0ng v\u00e0o xem modul NLU c\u00f3 \u0111o\u00e1n \u0111\u00fang \u00fd \u0111\u1ed3 kh\u00f4ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ask_question(\"xin ch\u00e0o\")\nask_question(\"C\u1ea3m \u01a1n\")<\/code><\/pre>\n\n\n\n<p>Nh\u01b0 tr\u00ean l\u00e0 m\u00ecnh \u0111ang th\u1eed 2 c\u00e2u &#8220;Xin ch\u00e0o&#8221; v\u00e0 &#8220;C\u1ea3m \u01a1n&#8221; xem modul NLU nh\u1eadn d\u1ea1ng nh\u01b0 n\u00e0o. C\u00e1c b\u1ea1n ch\u1ea1y file train_nlu.py b\u1eb1ng IDE l\u1eadp tr\u00ecnh (Pycharm, VS&#8230;) ho\u1eb7c g\u00f5 l\u1ec7nh <code>python train_nlu.py<\/code> v\u00e0 nh\u00ecn tr\u00ean m\u00e0n h\u00ecnh k\u1ebft qu\u1ea3 c\u00f3 d\u1ea1ng nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{'intent': {'name': 'greet', 'confidence': 0.7056386276058646}, 'entities': &#91;], 'intent_ranking': &#91;{'name': 'greet', 'confidence': 0.7056386276058646}, {'name': 'thank', 'confidence': 0.16509810872298686}, {'name': 'ask_name', 'confidence': 0.05608779076688179}, {'name': 'ask_func_list', 'confidence': 0.044564258523291225}, {'name': 'bye', 'confidence': 0.028611214380975854}], 'text': 'xin ch\u00e0o'}\n {'intent': {'name': 'thank', 'confidence': 0.6630342019061172}, 'entities': &#91;], 'intent_ranking': &#91;{'name': 'thank', 'confidence': 0.6630342019061172}, {'name': 'greet', 'confidence': 0.3117787300867454}, {'name': 'bye', 'confidence': 0.011944368579982654}, {'name': 'ask_func_list', 'confidence': 0.010565177974582835}, {'name': 'ask_name', 'confidence': 0.0026775214525717817}], 'text': 'C\u1ea3m \u01a1n'}<\/code><\/pre>\n\n\n\n<p>C\u00e1c b\u1ea1n \u0111\u1ec3 \u00fd ph\u1ea7n m\u00ecnh b\u00f4i \u0111\u1eadm b\u00ean tr\u00ean l\u00e0 okie. Nh\u01b0 v\u1eady:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>V\u1edbi c\u00e2u &#8220;Xin ch\u00e0o&#8221;, m\u00e1y \u0111\u00e3 nh\u1eadn \u0111\u00fang l\u00e0 intent <strong>greet<\/strong> v\u00e0 v\u1edbi \u0111\u1ed9 tin t\u01b0\u1edfng l\u00e0 \u0111\u1ebfn 0.7 <\/li><li>V\u1edbi c\u00e2u &#8220;C\u1ea3m \u01a1n&#8221;, m\u00e1y c\u0169ng \u0111\u00e3 nh\u1eadn \u0111\u00fang l\u00e0 intent <strong>thank<\/strong> v\u1edbi \u0111\u1ed9 tin t\u01b0\u1edfng 0.66<\/li><\/ul>\n\n\n\n<p>Qu\u00e1 tuy\u1ec7t! Xong ph\u1ea7n NLU, b\u00e2y gi\u1edd sang ph\u1ea7n ti\u1ebfp theo n\u00e0o.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ph\u1ea7n 5. Train modul RASA Chatbot Core<\/h2>\n\n\n\n<p>\u0110\u1ebfn \u0111\u00e2y, modul NLU \u0111\u00e3 xong, m\u00e1y \u0111\u00e3 c\u00f3 th\u1ec3 hi\u1ec3u \u0111\u01b0\u1ee3c ch\u00fang ta n\u00f3i g\u00ec. B\u00e2y gi\u1edd \u0111\u1ebfn ph\u1ea7n th\u1ee9 2, train cho RASA Chatbot ph\u1ea3n \u1ee9ng l\u1ea1i nh\u1eefng gi\u1edd kh\u00e1ch h\u00e0ng n\u00f3i nh\u00e9.<\/p>\n\n\n\n<p>\u1ede ph\u1ea7n n\u00e0y c\u00e1c b\u1ea1n l\u00e0m quen v\u1edbi 02 file domain.yml v\u00e0 stories.md c\u1ee7a RASA Chatbot. <\/p>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 1. B\u00e2y gi\u1edd \u0111i \u0111\u1ebfn file domain.yml tr\u01b0\u1edbc<\/span><\/strong>. <\/p>\n\n\n\n<p>N\u1ebfu nh\u01b0 file nlu.md l\u00e0 \u0111\u1ec3 l\u01b0u c\u00e1c c\u00e2u n\u00f3i c\u1ee7a kh\u00e1ch h\u00e0ng \u1ee9ng v\u1edbi \u00fd \u0111\u1ed3 n\u00e0o th\u00ec c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 h\u00ecnh dung file domain.yml l\u00e0 \u0111\u1ecbnh ngh\u0129a c\u00e1c c\u00e2u ph\u1ea3n h\u1ed3i c\u1ee7a bot v\u1edbi c\u00e1c \u00fd \u0111\u1ed3 c\u1ee7a kh\u00e1ch h\u00e0ng (g\u1ecdi l\u00e0 c\u00e1c utter, \u1ee9ng v\u1edbi intent \u1edf tr\u00ean).<\/p>\n\n\n\n<p>File domain.yml s\u1ebd g\u1ed3m 3 ph\u1ea7n ch\u00ednh:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><em>Ph\u1ea7n 1: Li\u1ec7t k\u00ea l\u1ea1i c\u00e1c intent c\u1ee7a kh\u00e1ch h\u00e0ng<\/em><\/strong> (ki\u1ec3u nh\u01b0 t\u00f3m t\u1eaft l\u1ea1i file nlu.md \u1ea5y)<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><em>Ph\u1ea7n 2: Ph\u1ea7n templates. L\u00e0 ph\u1ea7n quan tr\u1ecdng<\/em><\/strong>. Ph\u1ea7n n\u00e0y li\u1ec7t k\u00ea c\u00e1c utter ph\u1ea3n h\u1ed3i l\u1ea1i c\u00e1c intent c\u1ee7a kh\u00e1ch h\u00e0ng. M\u1ed7i utter b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ecbnh ngh\u0129a nhi\u1ec1u c\u00e2u text v\u00e0 bot s\u1ebd ch\u1ecdn random c\u00e1c c\u00e2u text n\u00e0y \u0111\u1ec3 ph\u1ea3n h\u1ed3i (cho n\u00f3 c\u00f3 v\u1ebb t\u1ef1 nhi\u00ean t\u00fd \u1ea5y m\u00e0). Nh\u01b0 b\u00ean d\u01b0\u1edbi l\u00e0 utter_greet (\u0111\u1ec3 ch\u00e0o l\u1ea1i kh\u00e1ch h\u00e0ng khi kh\u00e1ch ch\u00e0o m\u00ecnh) ch\u1ec9 c\u00f3 1 text nh\u01b0ng utter_bye (\u0111\u1ec3 ch\u00e0o t\u1ea1m bi\u1ec7t kh\u00e1ch khi kh\u00e1ch t\u1ea1m bi\u1ec7t m\u00ecnh) th\u00ec c\u00f3 2 c\u00e2u text. Trong ph\u1ea7n n\u00e0y c\u00e1c b\u1ea1n ch\u00fa \u00fd c\u00f3 m\u1ed9t utter \u0111\u1eb7c bi\u1ec7t l\u00e0 <strong>utter_unclear<\/strong>, utter n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c g\u1ecdi khi m\u00e1y kh\u00f4ng hi\u1ec3u \u0111\u01b0\u1ee3c \u00fd c\u1ee7a ng\u01b0\u1eddi d\u00f9ng, khi \u0111\u00f3 m\u00e1y s\u1ebd n\u00f3i c\u00e1c c\u00e2u d\u1ea1ng nh\u01b0 <em>&#8220;Th\u01b0a qu\u00fd kh\u00e1ch, hi\u1ec7n t\u1ea1i t\u00f4i ch\u01b0a hi\u1ec3u \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u c\u1ee7a Qu\u00fd kh\u00e1ch&#8221;<\/em> thay v\u00ec im t\u1ecbt th\u00ec kh\u00f4ng hay.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>templates:\n# Bot tr\u1ea3 l\u1eddi\n utter_greet:\n  - text: \"K\u00ednh ch\u00e0o Qu\u00fd kh\u00e1ch, Qu\u00fd kh\u00e1ch vui l\u00f2ng cho Bank bi\u1ebft qu\u00fd danh \u0111\u1ec3 ti\u1ec7n x\u01b0ng h\u00f4 \u0111\u01b0\u1ee3c kh\u00f4ng \u1ea1?\"\n utter_bye:\n  - text: \"K\u00ednh ch\u00e0o t\u1ea1m bi\u1ec7t v\u00e0 mong s\u1edbm g\u1eb7p l\u1ea1i qu\u00fd kh\u00e1ch!\"\n  - text: \"K\u00ednh ch\u00e0o t\u1ea1m bi\u1ec7t v\u00e0 ch\u00fac qu\u00fd kh\u00e1ch m\u1ed9t ng\u00e0y t\u1ed1t l\u00e0nh!\"<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><em>Ph\u1ea7n 3. Li\u1ec7t k\u00ea l\u1ea1i c\u00e1c utter c\u00f3 trong ph\u1ea7n 2<\/em><\/strong> (t\u00f3m t\u1eaft l\u1ea1i t\u00fd)<\/li><\/ul>\n\n\n\n<p>\u1ea2nh ch\u1ee5p m\u00e0n h\u00ecnh file domain.yml c\u1ee7a m\u00ecnh:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/V6fHXuY1DxsbZvxPUfN0M-y-aQIs4ZhREZFmsJMDKRUJoJFZl3Km6E1UySrtDSawvdCCDW9xEvrPjUOynpK98T0jfskAmKRXRSn1LR0kdFZ6TAANEwDhldfDqwRra7rJnhAx89pEUxU3Y_YcQidvEipAhi2t9xmd7V_cFFP61ekWVBE4JhkW1VklWrszx5WHa32ftf7gVPyBcCFhkFbEv0ZDPkVzLAN0lPwfvOvgCUT96iDQfmTek5vDSM5306WcpdMT9qLiUkhDrsRUEbl8ykJAv4sxfLhT_lqouWh52G-_iGVKq7Z-Mj5H3L1x4QsRLXhdubM0nvDOKvXUC9tov8lzRu_Y14JWv5QLlWd4ySCh5I9AQUybJuyufOwXMTYCqxYuqjmbYv7sGucAeYDx3YqfQef1Y7ZVoUB8eAG_yn_VXIdaqp1TiYu9P2N108VPuJhBbqDUu8ymmQiJ_FHbp1FT7Oi5yW00MrB9DI9t0HbVPP-nXNoi5bZ5kC_3fCovyr4qfSqYVZRCf2oIeb0-UssDgHrNfwMsUYWvYgxZ1bhCvdzkI1GanzzVBjUPEzcb_yCsSyVLg9QSQeRIsI5RYP4oRQ00QbncUWKEs9XdDc9XRvdz0LagrDWjvbpIeD_hciGvd5U5KhTE8huM3VB8uGTadKKzyhjuZ7avnaScapTo0-hAd0SFOQKH=w1980-h1332-no\" alt=\"RASA chatbot\"\/><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">B\u01b0\u1edbc 2. Ti\u1ebfp t\u1ee5c \u0111\u1ebfn file stories.md<\/span><\/strong><\/p>\n\n\n\n<p>File n\u00e0y nh\u01b0 m\u1ed9t file k\u1ec3 chuy\u1ec7n, \u0111\u1ec3 k\u1ebft n\u1ed1i gi\u1eefa intent v\u00e0 utter. N\u1ebfu nh\u01b0 nlu.md \u0111\u1ecbnh ngh\u0129a intent, domain.yml \u0111\u1ecbnh ngh\u0129a utter. Nh\u01b0ng m\u00e1y \u0111\u00e2u c\u00f3 hi\u1ec3u l\u00e0 intent n\u00e0o th\u00ec d\u00f9ng utter n\u00e0o \u0111\u00e2u (m\u00e1y d\u1ed1t l\u1eafm, k\u1ec3 c\u1ea3 b\u1ea1n \u0111\u1eb7t t\u00ean utter c\u00f3 li\u00ean quan \u0111\u1ebfn intent th\u00ec n\u00f3 c\u0169ng kh\u00f4ng t\u1ef1 hi\u1ec3u nh\u01b0 con ng\u01b0\u1eddi \u0111\u00e2u). V\u00e0 \u0111\u00f3 l\u00e0 l\u00fd do ph\u1ea3i c\u00f3 th\u00eam file stories.md \u0111\u1ec3 gh\u00e9p n\u1ed1i.<\/p>\n\n\n\n<p>File n\u00e0y c\u00f3 d\u1ea1ng nh\u01b0 sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>## Ch\u00e0o - t\u00ean - h\u1ecfi ch\u1ee9c n\u0103ng - ch\u00e0o\n* greet\n  - utter_greet\n* ask_name\n  - utter_ask_name\n* ask_func_list\n  - utter_ask_func_list\n* bye\n  - utter_bye<\/code><\/pre>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Nh\u01b0 \u0111o\u1ea1n tr\u00ean l\u00e0 \u0111\u1ecbnh ngh\u0129a 1 \u0111o\u1ea1n chat gi\u1eefa ng\u01b0\u1eddi v\u00e0 m\u00e1y. Ng\u01b0\u1eddi v\u00e0o ch\u00e0o h\u1ecfi, m\u00e1y ch\u00e0o l\u1ea1i, r\u1ed3i ng\u01b0\u1eddi h\u1ecfi t\u00ean, m\u00e1y tr\u1ea3 l\u1eddi, r\u1ed3i h\u1ecfi ti\u1ebfp c\u00e1c m\u00f3n m\u00e1y c\u00f3 th\u1ec3 l\u00e0m, r\u1ed3i t\u1ea1m bi\u1ec7t&#8230;<\/p>\n\n\n\n<p>C\u00e1c b\u1ea1n c\u1ed1 g\u1eafng ngh\u0129 ra c\u00e0ng nhi\u1ec1u \u0111o\u1ea1n h\u1ed9i tho\u1ea1i c\u00e0ng t\u1ed1t, th\u00ec m\u00e1y s\u1ebd c\u00e0ng th\u00f4ng minh khi chat v\u00e0 n\u1ed9i dung chat m\u1ec1m d\u1ebbo h\u01a1n. C\u00e1c b\u1ea1n \u0111\u1ecdc chi ti\u1ebft trong file stories.md  c\u1ee7a github RASA Chatbot c\u1ee7a m\u00ecnh \u0111\u1ec3 bi\u1ebft chi ti\u1ebft nh\u00e9.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/S8Zbh-MYAjfokFLGI_VvzImeFQfgPR63zk1tsZ7Aq_b7VrfkyZu0wP8q0Z7vccS-oyUiPk4wfbwIuAwe8lr4GEKEoPD8chLL4QtxfvrdgtsC3D619nXPZw2LagRn_6QdHFztXtJ84qtS1cJImmBs_GvwqqMdJl2Z21T07vR_TtoA4dI5e3oKHi-ZmxrBQ2DWVnc8g0A2xJEPap0OBE-kiABSw0R7QHezNBv5CpwP04F5Ij2Mg42Xe5M4y3Z12AsDgLY51lYqTKlKNObHClHpqSk-m7qriUH6yu_tbc1GwoyTjCEJMW6oXqZsMc6O1wyRSgRi8GOFcl887hZwuZ9BRXtQULubo2cj2imHr7YSsCNkHIrTlulbguA10Lq1632cLE-Tja53GyzcgfDBIs2n3uHqfCHGzYJixm8kWdvTN3d2wj-qj3QqFfp1KeU2_8rwb4D2V896xDmStf-rpGw8gwu8W8abCuq3nSmjjTm8lY2soY_4_OzGhA7jvHkMUpTZQA8pK_w64aAlAHa5PPjnmNBv1KfcbAfz6da8r8R83va9Y8Qg3saw47tv9lTkOdKRrwy8j9xtZ9HskEiDLkpNwmcUNulQd8a1P_qNBisjPQq9kK8qLhhQr15GuGQHipk6NBgWz9LKRsn-1cJBCyjWgzVc1e0r1-4IdnZjNIM7k9icL3sq8omofllq=w1410-h1160-no\" alt=\"RASA chatbot\"\/><\/figure>\n\n\n\n<p>Ro\u00e0i, c\u00f4ng t\u00e1c chu\u1ea9n b\u1ecb \u0111\u00e3 xong. B\u00e2y gi\u1edd c\u00e1c b\u1ea1n ch\u1ea1y file train_dialog.py b\u1eb1ng IDE ho\u1eb7c c\u00e2u l\u1ec7nh <code>python train_dialog.py<\/code> \u0111\u1ec3 train modul RASA Core. M\u00e1y s\u1ebd ch\u1ea1y 200 epochs:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Epoch 1\/200\n 75\/75 &#91;==============================] - 1s 13ms\/sample - loss: 2.6061 - acc: 0.0667\n Epoch 2\/200\n 75\/75 &#91;==============================] - 0s 444us\/sample - loss: 2.5442 - acc: 0.2267\n Epoch 3\/200\n 75\/75 &#91;==============================] - 0s 768us\/sample - loss: 2.4800 - acc: 0.2933<\/code><\/pre>\n\n\n\n<p>Ng\u1ed3i \u0111\u1ee3i ch\u00fat cho n\u00f3 train xong th\u00ec c\u00e1c b\u1ea1n ch\u1ea1y ti\u1ebfp file test_dialog.py . nh\u00e9, n\u00f3 s\u1ebd hi\u1ec7n ra m\u1ed9t c\u1eeda s\u1ed5 chat v\u00e0 c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 chat v\u1edbi bot \u0111\u1ec3 test, n\u1ebfu bot c\u00f3 tr\u1ea3 l\u1eddi l\u00e0 th\u00e0nh c\u00f4ng r\u1ed3i.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/87rcTeYHrRDYxpiwhsTNw5UHi8aNN7RvaDUnf25maib6CJEUH8W8Bs7KEnW8gNnfjCVq66I1gRyLcnZyH9qJSRyD5dz8Cg8jqAlAjaZlKkLmSC2k6J1WnkEawPxcVoqJ8NddvNYeULBMPehjo4ZR7tbsU69mWOqoT4oGKgpO2j49sC0NlM3HLkT-LI46Deoxcfsuh7CwnxKZRJY1vO0oqmlbP8_x38bc2opn-dns4mNYoUJK8zaNcHbHe3BUdC0otFhC4YTOB4bhP3Cj67lNenGpaohOrLKtX8pPctFBhStyq093a8Rk_iooCfvQ5bvKXCX2HKzuJHPHRfsNtHaeRLBEnUZ-VfCzGv-j18skpRgBXdrESw-dQMjUoxevBt49l_ZFTsJoYL5DrNePQmWR6NiYRn1WN3QGYgdSJu9mWP_3q35o-c2WyNPddOOncB--gcVWSYa_oHE1x3SDLbh0i_Pb3tT5is7YMrNqlEm0AuIJIdIYv7YULst_Tmp6ZJuQl6GmBm1N5zxokUqo0uA3gZLGlglolIyvkAHlqFJJe5QlgcOd-334F8MbawHHUK51_wNxI0VqtiGTIRzQgkXohBYgk12etG09NIkov81HbgZfK43mj_ie-pK7dz-q4YHNmi4zdSX32PYKjKNDfRcJc2u3jBTk-3EMT9S9ojietqVyXLSzABI9AAxW=w1820-h520-no\" alt=\"RASA chatbot\"\/><\/figure>\n\n\n\n<p>Well, b\u00e0i n\u00e0y l\u00e0 b\u00e0i s\u1ed1 1 trong series v\u1ec1 RASA chatbot, trong c\u00e1c b\u00e0i ti\u1ebfp theo m\u00ecnh s\u1ebd guide c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m cho bot th\u00f4ng m\u00ecnh h\u01a1n, l\u00e0m d\u01b0\u1ee3c nhi\u1ec1u vi\u1ec7c h\u01a1n n\u1eefa nh\u00e9. M\u00ecnh c\u00f3 \u0111\u1ec3 clip h\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1ea1i \u0111\u00e2y:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot &quot;si\u00eau ngon kh\u1ed5ng l\u1ed3&quot;\" width=\"860\" height=\"484\" src=\"https:\/\/www.youtube.com\/embed\/pQpeBml9qcA?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<!-- InPost_Ad -->\n<ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-5095883280136027\" data-ad-slot=\"7735063137\" data-ad-format=\"auto\" data-full-width-responsive=\"true\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n\n\n\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng! N\u1ebfu trong qu\u00e1 tr\u00ecnh l\u00e0m c\u00f3 l\u1ed7i g\u00ec c\u00e1c b\u1ea1n c\u1ee9 post l\u00ean group \u0111\u1ec3 c\u00f9ng chia s\u1ebb nh\u00e9 (Group trao \u0111\u1ed5i, chia s\u1ebb: <a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.facebook.com\/groups\/miaigroup (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a>&nbsp;)<\/p>\n\n\n\n<p>Fanpage: <a rel=\"noreferrer noopener\" aria-label=\"http:\/\/facebook.com\/miaiblog (opens in a new tab)\" href=\"http:\/\/facebook.com\/miaiblog\" target=\"_blank\">http:\/\/facebook.com\/miaiblog<\/a><br>Group trao \u0111\u1ed5i, chia s\u1ebb: <a rel=\"noreferrer noopener\" aria-label=\"https:\/\/www.facebook.com\/groups\/miaigroup (opens in a new tab)\" href=\"https:\/\/www.facebook.com\/groups\/miaigroup\" target=\"_blank\">https:\/\/www.facebook.com\/groups\/miaigroup<\/a><br>Website: <a href=\"https:\/\/miai.vn\/\">https:\/\/miai.vn\/<\/a><br>Youtube: <a href=\"http:\/\/bit.ly\/miaiyoutube\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"http:\/\/bit.ly\/miaiyoutube (opens in a new tab)\">http:\/\/bit.ly\/miaiyoutube<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>V\u00e8o c\u00e1i l\u00e0 h\u1ebft qu\u1ed1c kh\u00e1nh, sorry c\u00e1c mem v\u00ec h\u00f4m nay ad m\u1edbi tr\u1edf v\u1ec1 H\u00e0 N\u1ed9i sau m\u1ea5y ng\u00e0y phi\u00eau du kh\u1eafp n\u01a1i (tranh th\u1ee7 t\u00fd). H\u00f4m nay ch\u00fang ta c\u00f9ng chuy\u1ec3n sang m\u1ed9t m\u1ea3ng m\u1edbi l\u00e0 m\u1ea3ng Natural Language Processing &#8211; x\u1eed l\u00fd ngu\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 b\u00e0i \u0111\u1ea7u ti\u00ean m\u00ecnh [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[19,38,65,66,59,60,61,63,23,24,25,68,69,70,64],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-natural-language-processing","tag-ai","tag-ainoodle","tag-chat","tag-chatbot","tag-glove","tag-image-caption","tag-image-label","tag-lstm","tag-machine-learning","tag-mi-ai","tag-ml","tag-nature-language-processing","tag-nlp","tag-rasa","tag-word-embeding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot &quot;si\u00eau to kh\u1ed5ng l\u1ed3&quot; - M\u00ec AI<\/title>\n<meta name=\"description\" content=\"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/miai.vn\/?p=247\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot &quot;si\u00eau to kh\u1ed5ng l\u1ed3&quot; - M\u00ec AI\" \/>\n<meta property=\"og:description\" content=\"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/miai.vn\/?p=247\" \/>\n<meta property=\"og:site_name\" content=\"M\u00ec AI\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-02T20:53:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\" \/>\n<meta name=\"author\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ch\u1ee7 ti\u1ec7m M\u00ec\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247\"},\"author\":{\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\"},\"headline\":\"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m RASA chatbot &#8220;si\u00eau ngon kh\u1ed5ng l\u1ed3&#8221;\",\"datePublished\":\"2019-09-02T20:53:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247\"},\"wordCount\":2659,\"commentCount\":17,\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i1.wp.com\\\/www.ecommerce-nation.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\",\"keywords\":[\"ai\",\"ainoodle\",\"chat\",\"chatbot\",\"glove\",\"image caption\",\"image label\",\"LSTM\",\"machine learning\",\"m\u00ec ai\",\"ml\",\"Nature Language Processing\",\"NLP\",\"RASA\",\"word embeding\"],\"articleSection\":[\"Natural Language Processing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=247#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247\",\"url\":\"https:\\\/\\\/miai.vn\\\/?p=247\",\"name\":\"RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot \\\"si\u00eau to kh\u1ed5ng l\u1ed3\\\" - M\u00ec AI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i1.wp.com\\\/www.ecommerce-nation.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\",\"datePublished\":\"2019-09-02T20:53:29+00:00\",\"description\":\"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/miai.vn\\\/?p=247\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#primaryimage\",\"url\":\"https:\\\/\\\/i1.wp.com\\\/www.ecommerce-nation.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\",\"contentUrl\":\"https:\\\/\\\/i1.wp.com\\\/www.ecommerce-nation.com\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/miai.vn\\\/?p=247#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/miai.vn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m RASA chatbot &#8220;si\u00eau ngon kh\u1ed5ng l\u1ed3&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#website\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"name\":\"M\u00ec AI\",\"description\":\"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!\",\"publisher\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/miai.vn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#organization\",\"name\":\"M\u00ec AI\",\"url\":\"https:\\\/\\\/miai.vn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"contentUrl\":\"https:\\\/\\\/miai.vn\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/cropped-Logo_w_slogan.png\",\"width\":240,\"height\":193,\"caption\":\"M\u00ec AI\"},\"image\":{\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/miai.vn\\\/#\\\/schema\\\/person\\\/cc8bc24bb90bd3f596add82f3a59948c\",\"name\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g\",\"caption\":\"Ch\u1ee7 ti\u1ec7m M\u00ec\"},\"sameAs\":[\"https:\\\/\\\/miai.vn\"],\"url\":\"https:\\\/\\\/miai.vn\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot \"si\u00eau to kh\u1ed5ng l\u1ed3\" - M\u00ec AI","description":"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/miai.vn\/?p=247","og_locale":"en_US","og_type":"article","og_title":"RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot \"si\u00eau to kh\u1ed5ng l\u1ed3\" - M\u00ec AI","og_description":"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.","og_url":"https:\/\/miai.vn\/?p=247","og_site_name":"M\u00ec AI","article_published_time":"2019-09-02T20:53:29+00:00","og_image":[{"url":"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1","type":"","width":"","height":""}],"author":"Ch\u1ee7 ti\u1ec7m M\u00ec","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ch\u1ee7 ti\u1ec7m M\u00ec","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/miai.vn\/?p=247#article","isPartOf":{"@id":"https:\/\/miai.vn\/?p=247"},"author":{"name":"Ch\u1ee7 ti\u1ec7m M\u00ec","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c"},"headline":"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m RASA chatbot &#8220;si\u00eau ngon kh\u1ed5ng l\u1ed3&#8221;","datePublished":"2019-09-02T20:53:29+00:00","mainEntityOfPage":{"@id":"https:\/\/miai.vn\/?p=247"},"wordCount":2659,"commentCount":17,"publisher":{"@id":"https:\/\/miai.vn\/#organization"},"image":{"@id":"https:\/\/miai.vn\/?p=247#primaryimage"},"thumbnailUrl":"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1","keywords":["ai","ainoodle","chat","chatbot","glove","image caption","image label","LSTM","machine learning","m\u00ec ai","ml","Nature Language Processing","NLP","RASA","word embeding"],"articleSection":["Natural Language Processing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/miai.vn\/?p=247#respond"]}]},{"@type":"WebPage","@id":"https:\/\/miai.vn\/?p=247","url":"https:\/\/miai.vn\/?p=247","name":"RASA Chatbot - Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m chatbot \"si\u00eau to kh\u1ed5ng l\u1ed3\" - M\u00ec AI","isPartOf":{"@id":"https:\/\/miai.vn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/miai.vn\/?p=247#primaryimage"},"image":{"@id":"https:\/\/miai.vn\/?p=247#primaryimage"},"thumbnailUrl":"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1","datePublished":"2019-09-02T20:53:29+00:00","description":"H\u00f4m nay m\u00ecnh s\u1ebd v\u00e0o m\u1ea3ng x\u1eed l\u00fd ng\u00f4n ng\u1eef t\u1ef1 nhi\u00ean v\u00e0 m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n c\u00e1ch l\u00e0m RASA chatbot \u0111\u01a1n gi\u1ea3n m\u00e0 ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m \u0111\u01b0\u1ee3c.","breadcrumb":{"@id":"https:\/\/miai.vn\/?p=247#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/miai.vn\/?p=247"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/?p=247#primaryimage","url":"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1","contentUrl":"https:\/\/i1.wp.com\/www.ecommerce-nation.com\/wp-content\/uploads\/2018\/12\/Chatbots-advantages-disadvantages.jpg?fit=800%2C600&amp;ssl=1"},{"@type":"BreadcrumbList","@id":"https:\/\/miai.vn\/?p=247#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/miai.vn\/"},{"@type":"ListItem","position":2,"name":"[RASA series #1] Ai c\u0169ng c\u00f3 th\u1ec3 l\u00e0m RASA chatbot &#8220;si\u00eau ngon kh\u1ed5ng l\u1ed3&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/miai.vn\/#website","url":"https:\/\/miai.vn\/","name":"M\u00ec AI","description":"H\u1ecdc AI theo c\u00e1ch M\u00ec \u0103n li\u1ec1n!","publisher":{"@id":"https:\/\/miai.vn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/miai.vn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/miai.vn\/#organization","name":"M\u00ec AI","url":"https:\/\/miai.vn\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/","url":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","contentUrl":"https:\/\/miai.vn\/wp-content\/uploads\/2026\/05\/cropped-Logo_w_slogan.png","width":240,"height":193,"caption":"M\u00ec AI"},"image":{"@id":"https:\/\/miai.vn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/miai.vn\/#\/schema\/person\/cc8bc24bb90bd3f596add82f3a59948c","name":"Ch\u1ee7 ti\u1ec7m M\u00ec","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b0b5124b0d2c0a8054d7127d2c236bdc3dc7a50e2d4e8728ab32eee5b122a8d1?s=96&d=mm&r=g","caption":"Ch\u1ee7 ti\u1ec7m M\u00ec"},"sameAs":["https:\/\/miai.vn"],"url":"https:\/\/miai.vn\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=247"}],"version-history":[{"count":0,"href":"https:\/\/miai.vn\/index.php?rest_route=\/wp\/v2\/posts\/247\/revisions"}],"wp:attachment":[{"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miai.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}