{"id":41253,"date":"2022-04-21T08:19:06","date_gmt":"2022-04-21T07:19:06","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=41253"},"modified":"2022-04-21T08:19:30","modified_gmt":"2022-04-21T07:19:30","slug":"ml-utterances-import-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/api-guide\/ml-utterances-import-api\/?lang=ko","title":{"rendered":"ML \ubc1c\ud654 \ub0b4\ubcf4\ub0b4\uae30 API"},"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>ML \ubc1c\ud654\ub97c \ubd07\uc73c\ub85c \uac00\uc838\uc635\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 <em>\ubc1c\ud654 \uac00\uc838\uc624\uae30<\/em>\uc758 \ubd07 \ube4c\ub354 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \ub610\ub294 <em>\ud14c\uc2a4\ud2b8 \ubc0f \ud6c8\ub828<\/em>\uc544\ub798\uc758 <em>\ubc1c\ud654 \uac00\uc838\uc624\uae30<\/em>\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><b>POST<\/b> <code>https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/mlimport<\/code><\/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\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<thead>\n<tr>\n<td>host<\/td>\n<td>\ud544\uc218<\/td>\n<td>\ubd07 \ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai)<\/td>\n<\/tr>\n<tr>\n<td>BotID<\/td>\n<td>\ud544\uc218<\/td>\n<td>\uac00\uc838\uc62c \ubd07\uc758 \ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID\uc785\ub2c8\ub2e4. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/td>\n<\/tr>\n<\/thead>\n<\/table>\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-2\">\ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<tr>\n<td>fileName<\/td>\n<td>\ud544\uc218<\/td>\n<td>\uac00\uc838\uc62c ML \ubc1c\ud654 \ud30c\uc77c\uc758 \uc804\uccb4 \uc774\ub984\uc785\ub2c8\ub2e4<\/td>\n<\/tr>\n<tr>\n<td>fileID<\/td>\n<td>\ud544\uc218<\/td>\n<td>\uac00\uc838\uc624\uae30 \ud30c\uc77c\uc758 ID(\ud30c\uc77c\uc774 \uc5c5\ub85c\ub4dc\ub418\ub294 \ud074\ub77c\uc6b0\ub4dc \uc11c\ube44\uc2a4\uc5d0\uc11c \uc81c\uacf5).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\">\uad8c\ud55c \ubd80\uc5ec<\/span><\/h3>\n<p>\ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4. <code>auth: {{JWT}}<\/code><\/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\">\ucf58\ud150\uce20 \uc720\ud615 \uc751\ub2f5<\/span><\/h3>\n<p><code>application\/json<\/code><\/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\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre>curl -X POST \\\r\n  https:\/\/{{host}}\/api\/public\/bot\/{{bot ID}}\/mlimport \\\r\n  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \\\r\n  -H 'content-type: application\/json' \\\r\n  -d '{\r\n\"fileName\":\"MLUtterances.json\",\r\n\"fileId\": \"5beed4fd0b9a4b740c09dca2\"\r\n}<\/pre>\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-6\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>{\r\n    \"status\": \"pending\",\r\n    \"streamId\": \"st-6ecb5ba2-5e31-5a40-b918-8cbee40f3fdb\",\r\n    \"createdBy\": \"u-5dad2ccd-b271-5c00-a338-2e6e25e1ec91\",\r\n    \"requestType\": \"MLimport\",\r\n    \"_id\": \"bir-7ec861ee-5e6b-5165-b505-8820a275afdf\",\r\n    \"statusLogs\": [],\r\n    \"createdOn\": \"2019-06-27T12:03:30.748Z\",\r\n    \"__v\": 0\r\n}\r\n<\/pre>\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":"ML \ubc1c\ud654\ub97c \ubd07\uc73c\ub85c \uac00\uc838\uc635\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \ubc1c\ud654 \uac00\uc838\uc624\uae30\uc758 \ubd07 \ube4c\ub354 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \ub610\ub294 \ud14c\uc2a4\ud2b8 \ubc0f \ud6c8\ub828\uc544\ub798\uc758 \ubc1c\ud654 \uac00\uc838\uc624\uae30\uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. POST https:\/\/{{host}}\/api\/public\/bot\/{{BotID}}\/mlimport \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218 \ub9e4\uac1c \ubcc0\uc218 \ud544\uc218\/\uc120\ud0dd \uc0ac\ud56d \uc124\uba85 host \ud544\uc218 \ubd07 \ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai) BotID \ud544\uc218 \uac00\uc838\uc62c \ubd07\uc758 \ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID\uc785\ub2c8\ub2e4. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c...","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-41253","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41253","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=41253"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41253\/revisions"}],"predecessor-version":[{"id":41254,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/41253\/revisions\/41254"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=41253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=41253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=41253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}