{"id":41342,"date":"2022-04-22T07:17:49","date_gmt":"2022-04-22T06:17:49","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41342"},"modified":"2022-04-22T07:17:51","modified_gmt":"2022-04-22T06:17:51","slug":"widget-sdk-message-formatting-and-templates","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/sdks\/widget-sdk-message-formatting-and-templates\/?lang=ko","title":{"rendered":"\uc704\uc82f SDK &ndash; \uba54\uc2dc\uc9c0 \ud615\uc2dd \ubc0f \ud15c\ud50c\ub9bf"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Kore.ai \uc704\uc82f SDK\ub97c \uc0ac\uc6a9\ud558\uba74 \uc704\uc82f SDK \ucc44\ub110\uc5d0\uc11c \ub9c8\ud06c\ub2e4\uc6b4\uc744 \uc774\uc6a9\ud558\uc5ec \uae30\ubcf8 \uba54\uc2dc\uc9c0 \ud615\uc2dd\uc744 \uc7ac\uc815\uc758\ud558\uace0 \ud15c\ud50c\ub9bf\uc744 \uc801\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc815\uc758 \ud615\uc2dd \ubd07 \uba54\uc2dc\uc9c0\ub97c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud45c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6f9\/\ubaa8\ubc14\uc77c SDK\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740, <a href=\"https:\/\/multisite.korebots.com\/uncategorised-ko-2\/message-templates\/?lang=ko\" target=\"_blank\" rel=\"noopener noreferrer\">\uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i\">\ubc84\ud2bc \ud15c\ud50c\ub9bf<\/span><\/h3>\n<p>\uba38\ub9ac\uae00 \uc635\uc158\uc5d0 \ud074\ub9ad \uac00\ub2a5\ud55c \ubc84\ud2bc\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. \ubc84\ud2bc\uc740 \uba54\uc2dc\uc9c0 \ubc0f \uba54\uc2dc\uc9c0 \ud15c\ud50c\ub9bf\uc758 \uc5b4\ub290 \uacf3\uc5d0\ub098 \ubc30\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 \uac00\uc9c0 \uc720\ud615\uc758 \ubc84\ud2bc\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li>\uc678\ubd80 \uc0ac\uc774\ud2b8\ub97c \uc5ec\ub294 URL \uc720\ud615\uc785\ub2c8\ub2e4. <em>url<\/em> \ud544\ub4dc\ub294 \uc678\ubd80 \uc0ac\uc774\ud2b8 \uc8fc\uc18c\ub97c \ud3ec\ud568\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ucc57\ubd07\uc5d0\uc11c \ubc1c\ud654\ub97c \uc2e4\ud589\ud558\uae30 \uc704\ud55c \ud3ec\uc2a4\ud2b8 \ubc31 \uc720\ud615\uc785\ub2c8\ub2e4. <em>payload<\/em>\ub294 \ucc57\ubd07\uc5d0 \uc804\ub2ec\ud560 \ubc1c\ud654\ub97c \uc815\uc758\ud558\uace0, <em>nlmeta<\/em>\ub294 \ud50c\ub7ab\ud3fc\uc774 \uac01 \uc791\uc5c5\uc744 \uc2e4\ud589\ud558\ub294 \ub370 \ud544\uc694\ud55c \ucd94\uac00 \uc815\ubcf4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p><strong>\uc608<\/strong><\/p>\n<pre>var message = {\r\n\t\"templateType\": \"List\",\r\n\t\"widgetName\": \"Account Summary\",\r\n\t\"description\": \"Showing all accounts\",\r\n\t\"headerOptions\": {\r\n\t\t\"layout\": {\r\n\t\t\t\"align\": \"top\",\r\n\t\t\t\"colSize\": \"25%\"\r\n\t\t},\r\n\t\t\"type\": \"button\",\r\n\t\t\"button\":\r\n\t\t    {\r\n                        \/\/ type can be anyone of [\"url\", \"postback\"]\r\n\t\t\t\"type\": \"postback\",\r\n\t\t\t\"title\": \"New Account\",\r\n\t\t\t\"payload\": \"Apply Account\",\r\n\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"Apply Account\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"Name\": \"John\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n          }\r\n\t},\r\n\t\"elements\": [\r\n\t  {\r\n\t\t\t\"title\": \"Salary Account\",\r\n\t\t\t\"subtitle\": \"Active\",\r\n\t\t\t\"details\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2539563-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 25 - Feb 8, 2020 08:45 AM - Fuel Purchase\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\nprint(JSON.stringify(message));<\/pre>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/widget_template_button.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23258\" src=\"\/wp-content\/uploads\/sites\/35\/widget_template_button.png\" alt=\"\" width=\"567\" height=\"323\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_button.png 567w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_button-300x171.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-2\">\uba54\ub274 \ud15c\ud50c\ub9bf<\/span><\/h3>\n<p>\uba38\ub9ac\uae00 \uc635\uc158\uc5d0 \ub4dc\ub86d\ub2e4\uc6b4 \uba54\ub274\ub97c \ud45c\uc2dc\ud569\ub2c8\ub2e4. \ubaa8\ub4e0 \uba54\uc2dc\uc9c0 \ud15c\ud50c\ub9bf\uc5d0 \uba54\ub274\ub97c \ubc30\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 \uac00\uc9c0 \uc720\ud615\uc758 \uba54\ub274 \ud56d\ubaa9\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li>\uc678\ubd80 \uc0ac\uc774\ud2b8\ub97c \uc5ec\ub294 URL \uc720\ud615\uc785\ub2c8\ub2e4. <em>url<\/em> \ud544\ub4dc\ub294 \uc678\ubd80 \uc0ac\uc774\ud2b8 \uc8fc\uc18c\ub97c \ud3ec\ud568\ud574\uc57c \ud569\ub2c8\ub2e4.<\/li>\n<li>\ucc57\ubd07\uc5d0\uc11c \ubc1c\ud654\ub97c \uc2e4\ud589\ud558\uae30 \uc704\ud55c \ud3ec\uc2a4\ud2b8 \ubc31 \uc720\ud615\uc785\ub2c8\ub2e4. <em>payload<\/em>\ub294 \ucc57\ubd07\uc5d0 \uc804\ub2ec\ud560 \ubc1c\ud654\ub97c \uc815\uc758\ud558\uace0, <em>nlmeta<\/em>\ub294 \ud50c\ub7ab\ud3fc\uc774 \uac01 \uc791\uc5c5\uc744 \uc2e4\ud589\ud558\ub294 \ub370 \ud544\uc694\ud55c \ucd94\uac00 \uc815\ubcf4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<p><strong>\uc608<\/strong><\/p>\n<pre>var message = {\r\n\t\"templateType\": \"List\",\r\n\t\"widgetName\": \"Account Summary\",\r\n\t\"description\": \"Showing all accounts\",\r\n\t\"headerOptions\": {\r\n\t\t\"layout\": {\r\n\t\t\t\"align\": \"top\",\r\n\t\t\t\"colSize\": \"25%\"\r\n\t\t},\r\n\t\t\"type\": \"menu\",\r\n\t\t\"menu\":\r\n            [\r\n             {\r\n                \/\/ type can be anyone of [\"url\", \"postback\"]\r\n                \"type\": \"url\",\r\n                \"title\": \"Website\",\r\n                \"url\": \"kore.ai\",\r\n                \"customdata\": {\r\n                    \"key\": \"value\"\r\n                }\r\n            },\r\n            {\r\n                \/\/ type can be anyone of [\"url\", \"postback\"]\r\n                \"type\": \"postback\",\r\n                \"title\": \"New Account\",\r\n                \"payload\": \"Create Account\",\r\n                \"nlmeta\": {\r\n                    \"intent\": \"Create Account\",\r\n                    \"entities\": {},\r\n                    \"interruptionOptions\": \"discardAll\"\r\n                },\r\n                \"customdata\": {\r\n                    \"key\": \"value\"\r\n                }\r\n            }\r\n        ]\r\n\t},\r\n    \"elements\": [\r\n\t  {\r\n\t\t\t\"title\": \"Salary Account\",\r\n\t\t\t\"subtitle\": \"Active\",\r\n\t\t\t\"details\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2539563-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 25 - Feb 8, 2020 08:45 AM - Fuel Purchase\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\nprint(JSON.stringify(message));<\/pre>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/widget_template_menu.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23257\" src=\"\/wp-content\/uploads\/sites\/35\/widget_template_menu.png\" alt=\"\" width=\"567\" height=\"321\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_menu.png 567w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_menu-300x170.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-3\">\ubaa9\ub85d \ud15c\ud50c\ub9bf<\/span><\/h3>\n<p>\ucd94\uac00 \uc815\ubcf4 \ub610\ub294 \ud2b8\ub9ac\uac70 \uc791\uc5c5\uc5d0 \ub300\ud55c \uc120\ud0dd \ud56d\ubaa9\uc73c\ub85c \ud074\ub9ad \uac00\ub2a5\ud55c \ud14d\uc2a4\ud2b8 \ubc0f \uc774\ubbf8\uc9c0\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud615\uc2dd\ud654\ub41c \ub0a0\uc9dc \ubaa9\ub85d\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. <\/p>\n<p><strong>\uc608<\/strong><\/p>\n<pre>var message = {\r\n\t\"templateType\": \"List\",\r\n\t\"widgetName\": \"Account Summary\",\r\n\t\"description\": \"Showing all accounts\",\r\n\t\"headerOptions\": {\r\n\t\t\"layout\": {\r\n\t\t\t\"align\": \"top\",\r\n\t\t\t\"colSize\": \"25%\"\r\n\t\t},\r\n               \"type\": \"url\",\r\n               \"url\": {\r\n               \"title\": \"Open Site\",\r\n               \"link\": \"kore.ai\"\r\n               },\r\n\t },\r\n\t\"elements\": [\r\n\t  {\r\n\t\t\t\"image\": {\r\n\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/1863652-200.png\"\r\n\t\t\t},\r\n\t\t\t\"title\": \"Salary Account\",\r\n\t\t\t\"subtitle\": \"Active\",\r\n\t\t\t\"buttonsLayout\": {\r\n\t\t\t\t\"displayLimit\": {\r\n\t\t\t\t\t\"count\": 2        \/\/adds an open icon if more than 2 elements are present\r\n\t\t\t\t},\r\n\t\t\t\t\"style\": \"fitToWidth\"\r\n\t\t\t},\r\n\t\t\t\"value\": {\r\n\t\t\t\t\"layout\": {\r\n\t\t\t\t\t\"align\": \"top\",\r\n\t\t\t\t\t\"colSize\": \"25%\"\r\n\t\t\t\t},\r\n\t\t\t\t\"type\": \"text\",\r\n\t\t\t\t\"text\": \"$ 45\",\r\n\t\t\t},\r\n\t\t\t\"details\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2539563-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 25 - Feb 8, 2020 08:45 AM - Fuel Purchase\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/953447-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 77 - Feb 9, 2020 02:23 PM - Library Enrollment\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2539563-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 18 - Feb 9, 2020 04:03 PM - Sainsbury's\"\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"default_action\": {\r\n\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\"payload\": \"Show recent transactions\"\r\n\t\t\t},\r\n\t\t\t\"buttons\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Statement\",\r\n\t\t\t\t\t\"payload\": \"Account Statement\",\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2033288-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"Account Statement\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t   {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Upgrade\",\r\n\t\t\t\t\t\"payload\": \"Upgrade Account\",\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/1586653-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"Upgrade Account\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t {\r\n\t\t\t\"image\": {\r\n\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2119994-200.png\"\r\n\t\t\t},\r\n\t\t\t\"title\": \"Infinia Credit card\",\r\n\t\t\t\"subtitle\": \"Active - Payment Due on Feb 14, 2020\",\r\n\t\t\t\"buttonsLayout\": {\r\n\t\t\t\t\"displayLimit\": {\r\n\t\t\t\t\t\"count\": 3\r\n\t\t\t\t},\r\n\t\t\t\t\"style\": \"fitToWidth\"\r\n\t\t\t},\r\n\t\t\t\"value\": {\r\n\t\t\t\t\"layout\": {\r\n\t\t\t\t\t\"align\": \"top\",\r\n\t\t\t\t\t\"colSize\": \"25%\"\r\n\t\t\t\t},\r\n\t\t\t\t\"type\": \"text\",\r\n\t\t\t\t\"text\": \"$ 8,520\",\r\n\t\t\t},\r\n\t\t\t\"details\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/953447-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 78 - Feb 3, 2020 07:03 PM - Pizzabar\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/953447-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 12 - Feb 5, 2020 11:23 AM - McDonald's\"\r\n\t\t\t\t},\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/953447-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"description\": \"$ 62 - Feb 6, 2020 02:11 PM - CarzRent\"\r\n\t\t\t\t}\r\n\t\t\t],\r\n\t\t\t\"default_action\": {\r\n\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\"payload\": \"Postback text payload\"\r\n\t\t\t},\r\n\t\t\t\"buttons\": [\r\n\t\t\t  {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Statement\",\r\n\t\t\t\t\t\"payload\": \"Statement\",\r\n\t\t\t\t\t\"image\": {\r\n\t\t\t\t\t\t\"image_type\": \"image\",\r\n\t\t\t\t\t\t\"image_src\": \"https:\/\/static.thenounproject.com\/png\/2033288-200.png\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"name of the intent\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t   {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Pay Dues\",\r\n\t\t\t\t\t\"payload\": \"Pau Dues\",\r\n\t\t\t\t\t\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"name of the intent\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t   {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Redeem\",\r\n\t\t\t\t\t\"payload\": \"Redeem\",\r\n\t\t\t\t\t\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"name of the intent\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t   {\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Upgrade\",\r\n\t\t\t\t\t\"payload\": \"Upgrade\",\r\n\t\t\t\t\t\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"name of the intent\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"type\": \"postback\",\r\n\t\t\t\t\t\"title\": \"Block\",\r\n\t\t\t\t\t\"payload\": \"Block\",\r\n\t\t\t\t\t\r\n\t\t\t\t\t\"nlmeta\": {\r\n\t\t\t\t\"intent\": \"name of the intent\",\r\n\t\t\t\t\"isRefreshplace\": \"true\",\r\n\t\t\t\t\"entities\": {\r\n\t\t\t\t\t\"entity_name\": \"entity_value\"\r\n\t\t\t\t},\r\n\t\t\t\t\"interruptionOptions\": \"discardAll\"\r\n\t\t\t},\r\n\t\t\t\"customdata\": {\r\n\t\t\t\t\"key\": \"value\"\r\n\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}\r\nprint(JSON.stringify(message));<\/pre>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/widget_template_list.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23260\" src=\"\/wp-content\/uploads\/sites\/35\/widget_template_list.png\" alt=\"\" width=\"559\" height=\"551\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094257\/widget_template_list.png 559w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094257\/widget_template_list-300x296.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-4\">\ud30c\uc774 \ucc28\ud2b8 \ud15c\ud50c\ub9bf<\/span><\/h3>\n<p>\ub370\uc774\ud130\ub97c \ud30c\uc774 \ucc28\ud2b8\ub85c \ud45c\uc2dc\ud569\ub2c8\ub2e4 <\/p>\n<p><strong>\uc0d8\ud50c<\/strong><\/p>\n<pre class=\"\">var data = {\r\n  \"templateType\": \"piechart\",\r\n  \"pie_type\": \"regular\",\r\n  \"title\": \"Spend Analysis\",\r\n   \"headerOptions\": {\r\n    \"type\": \"url\",\r\n    \"url\": {\r\n      \"title\": \"Manage Spends\",\r\n      \"link\": \"https:\/\/kore.ai\"\r\n    }\r\n  },\r\n  \"elements\": [\r\n    {\r\n      \"title\": \"Food and Drinks\",\r\n      \"value\": \"200\",\r\n      \"displayValue\": \"$ 200\"\r\n    },\r\n    {\r\n      \"title\": \"Travel\",\r\n      \"value\": \"120\",\r\n      \"displayValue\": \"$ 120\"\r\n    },\r\n    {\r\n      \"title\": \"Inivestments\",\r\n      \"value\": \"320\",\r\n      \"displayValue\": \"$ 320\"\r\n    },\r\n    {\r\n      \"title\": \"Entertainment\",\r\n      \"value\": \"180\",\r\n      \"displayValue\": \"$ 180\"\r\n    }\r\n  ],\r\n  \"buttons\": [\r\n    {\r\n      \"type\": \"postback\",\r\n      \"title\": \"Download\",\r\n      \"utterance\": \"Show Expense Report\",\r\n      \"payload\": \"Show Expense Report\"\r\n    }\r\n  ]\r\n};\r\nprint(JSON.stringify(data));<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23242\" src=\"\/wp-content\/uploads\/sites\/35\/widget_template_pie.png\" alt=\"\" width=\"571\" height=\"423\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094259\/widget_template_pie.png 571w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094259\/widget_template_pie-300x222.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-5\">\uaebd\uc740 \uc120\ud615 \ucc28\ud2b8 \ud15c\ud50c\ub9bf<\/span><\/h3>\n<p>\ub370\uc774\ud130\ub97c \uaebd\uc740 \uc120\ud615 \ucc28\ud2b8\ub85c \ud45c\uc2dc\ud569\ub2c8\ub2e4. <\/p>\n<p><strong>\uc0d8\ud50c<\/strong><\/p>\n<pre class=\"\">var data = {\r\n  \"templateType\": \"linechart\",\r\n   \"headerOptions\": {\r\n    \"type\": \"url\",\r\n    \"url\": {\r\n      \"title\": \"Manage Spends\",\r\n      \"link\": \"https:\/\/kore.ai\"\r\n    },\r\n  \"image\": {\r\n        \"image_type\": \"image\",\r\n        \"image_src\": \"https:\/\/static.thenounproject.com\/png\/1863652-200.png\"\r\n     },\r\n  },\r\n  \"X_axis\": [\r\n    \"F&amp;B\",\r\n    \"Travel\",\r\n    \"Investments\",\r\n    \"Entertainment\"\r\n  ],\r\n  \"Auto_adjust_X_axis\": \"yes\",\r\n  \"elements\": [\r\n    {\r\n      \"title\": \"Jan\",\r\n        \"values\": [\r\n            20,\r\n            12,\r\n            32,\r\n            18\r\n        ],\r\n        \"displayValues\": [\r\n            \"$20k\",\r\n            \"$12k\",\r\n            \"$32k\",\r\n            \"$18k\"\r\n        ]\r\n    },\r\n    {\r\n      \"title\": \"Feb\",\r\n      \"values\": [\r\n        30,\r\n        15,\r\n        12,\r\n        60\r\n      ],\r\n      \"displayValues\": [\r\n        \"$30k\",\r\n        \"$15k\",\r\n        \"$12k\",\r\n        \"$60k\"\r\n      ]\r\n    }\r\n  ],\r\n  \"buttons\": [\r\n    {\r\n      \"type\": \"postback\",\r\n      \"title\": \"Download\",\r\n      \"utterance\": \"Download Report\",\r\n      \"payload\": \"Download Report\"\r\n    }\r\n  ],\r\n  \"speech_hint\": \"Here is your report\"\r\n};\r\nprint(JSON.stringify(data));<\/pre>\n<p><a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/35\/widget_template_line.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-23253\" src=\"\/wp-content\/uploads\/sites\/35\/widget_template_line.png\" alt=\"\" width=\"559\" height=\"585\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_line.png 559w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20221201094258\/widget_template_line-287x300.png 287w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai \uc704\uc82f SDK\ub97c \uc0ac\uc6a9\ud558\uba74 \uc704\uc82f SDK \ucc44\ub110\uc5d0\uc11c \ub9c8\ud06c\ub2e4\uc6b4\uc744 \uc774\uc6a9\ud558\uc5ec \uae30\ubcf8 \uba54\uc2dc\uc9c0 \ud615\uc2dd\uc744 \uc7ac\uc815\uc758\ud558\uace0 \ud15c\ud50c\ub9bf\uc744 \uc801\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc815\uc758 \ud615\uc2dd \ubd07 \uba54\uc2dc\uc9c0\ub97c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud45c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc6f9\/\ubaa8\ubc14\uc77c SDK\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740, \uc5ec\uae30\ub97c \ucc38\uc870\ud558\uc138\uc694. \ubc84\ud2bc \ud15c\ud50c\ub9bf \uba38\ub9ac\uae00 \uc635\uc158\uc5d0 \ud074\ub9ad \uac00\ub2a5\ud55c \ubc84\ud2bc\uc744 \ud45c\uc2dc\ud569\ub2c8\ub2e4. \ubc84\ud2bc\uc740 \uba54\uc2dc\uc9c0 \ubc0f \uba54\uc2dc\uc9c0 \ud15c\ud50c\ub9bf\uc758 \uc5b4\ub290 \uacf3\uc5d0\ub098 \ubc30\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 \uac00\uc9c0 \uc720\ud615\uc758 \ubc84\ud2bc\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc678\ubd80...","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-41342","post","type-post","status-publish","format-standard","hentry","category-sdks"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=41342"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41342\/revisions"}],"predecessor-version":[{"id":41348,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41342\/revisions\/41348"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}