{"id":50376,"date":"2023-01-01T10:15:25","date_gmt":"2023-01-01T10:15:25","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=50376"},"modified":"2023-01-24T10:54:27","modified_gmt":"2023-01-24T10:54:27","slug":"migration-of-the-google-dialogflow-bot","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-admin\/bots-management\/migration-of-the-google-dialogflow-bot\/","title":{"rendered":"Migrate Google Dialogflow Bot to the XO Platform"},"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\"><div class=\"w-separator size_medium\"><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>The Kore.ai XO Platform supports the migration of an existing <b>Google Dialogflow<\/b> bot into your XO Platform account using the External NLU Adapter.<\/p>\n<p>This easy migration reduces the manual efforts in creating the dialog flow on the XO Platform while allowing you to implement the inbuilt features of Kore.ai on the imported bot. You can integrate lifelike conversational AI with state-of-the-art virtual assistants on the Platform. You can leverage the key features of Google Dialogflow, like Visual flow builder, Omnichannel implementation, Advanced AI, State-based data models, and end-to-end management for your XO Platform projects.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><b>Benefits of the Google Dialogflow Bot-Kore Platform Migration<\/b><\/p>\n<ul>\n<li>Natural and accurate interactions for multi-turn conversations with feedback support.<\/li>\n<li>Integrates seamlessly with your visual builder and pre-built virtual agents.<\/li>\n<li>Easy to manage and scale.<\/li>\n<\/ul>\n<p>The following are the results of completing the Bot Migration from Google Dialogflow to Kore.ai:<\/p>\n<ol>\n<li>All the intents nodes are created in the Kore.ai Virtual Assistant.<\/li>\n<li>All the entities within an intent are created as entity nodes.<\/li>\n<li>Any entity type not in Kore Platform is mapped to a string entity.<\/li>\n<li>Intent Training is imported as ML training utterances.<\/li>\n<li>NER tags (if any) are imported for utterances.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h2><span class=\"ez-toc-section\" id=\"Migration_Flow\">Migration Flow<\/span><\/h2>\n<p>The migration is a simple 3-steps process:<\/p>\n<p>1. <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-admin\/bots-management\/migration-of-the-google-dialogflow-bot\/#Step_1_Export_the_Google_Dialogflow_Bot_Project\">Export the Google Dialogflow Bot Project<\/a>.<br \/>2. <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-admin\/bots-management\/migration-of-the-google-dialogflow-bot\/#Step_2_Import_the_Dialogflow_Project\">Import the Dialogflow Project to the Kore.AI XO Platform<\/a>.<br \/>3. <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-admin\/bots-management\/migration-of-the-google-dialogflow-bot\/#Step_3_Import_the_Bot\">Import the Virtual Assistant<\/a>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Export_the_Google_Dialogflow_Bot_Project\">Step 1: Export the Google Dialogflow Bot Project<\/span><\/h3>\n<p>The first step in the migration process is to copy and export your <b>Google Dialogflow bot project<\/b> from the <b>Bot-export-import<\/b> folder.<\/p>\n<p><b>Prerequisites<\/b><\/p>\n<p>Install the <a href=\"https:\/\/www.dialogflow.com\/\" rel=\"noopener noreferrer\" target=\"_blank\">Dialogflow API<\/a> development suite- <b><i>google-cloud-dialogflow<\/i><\/b> <a href=\"https:\/\/pypi.org\/project\/google-cloud-dialogflow\/\" rel=\"noopener noreferrer\" target=\"_blank\">here<\/a>.<\/p>\n<p>To export your Google Dialogflow project, follow the steps below:<\/p>\n<ol>\n<li>Navigate to the <b>DialogFlow Essentials<\/b> page <a href=\"https:\/\/dialogflow.cloud.google.com\" rel=\"noopener noreferrer\" target=\"_blank\">here<\/a>.<\/li>\n<li>Select the <b>Dialogflow bot<\/b> project you want to export.<\/li>\n<li>Click the <b>Export and Import<\/b> tab on the bot configuration page.<\/li>\n<li>Click the <b>Export as ZIP<\/b> button.<\/li>\n<li>Once you download and extract the <b>Dialogflow bot project<\/b> folder, the intents, entities, agent, and package are saved to <b>Downloads<\/b> > <b>Bot-export-import<\/b> > <b>Bot-export-import<\/b> > <b>src<\/b> > <b>dialogflow<\/b> > <b>exportData<\/b>.<\/li>\n<\/ol>\n<p><b>Output Files<\/b><\/p>\n<ol>\n<li>The downloaded Dialogflow folder export copy is stored in the path <code>Bot-export-import\/tree\/master\/src\/dialogflow\/exportData<\/code>.<\/li>\n<li> The converted Kore Dialogflow project import copy will be stored in the path <code>Bot-export-import\/tree\/master\/src\/ImportData<\/code>.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Import_the_Dialogflow_Project\">Step 2: Import the Dialogflow Project<\/span><\/h3>\n<p>After the <b>Bot-export-import<\/b> folder is exported, you should import the project to the <b>ImportData<\/b> folder with the steps below:<\/p>\n<ol>\n<li>On the command prompt screen in your system, navigate to <b>Bot-export-import<\/b> > <b>Bot-export-import<\/b> > <b>src<\/b> and run the <code>python -m main<\/code> command.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101095452\/df-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101095452\/df-1.png\" alt=\"\" width=\"600\" height=\"200\" class=\"alignnone size-full wp-image-50377\" \/><\/a><\/p>\n<li> Enter <b>1<\/b> for <b>Dialogflow<\/b> when prompted.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100030\/df-2-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100030\/df-2-1.png\" alt=\"\" width=\"500\" height=\"80\" class=\"alignnone size-full wp-image-50383\" \/><\/a><\/p>\n<li>The bot project folder is created at <b>Bot-export-import<\/b> > <b>Bot-export-import<\/b> > <b>src<\/b> > <b>ImportData<\/b>.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100224\/df-3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100224\/df-3.png\" alt=\"\" width=\"550\" height=\"400\" class=\"alignnone size-full wp-image-50386\" \/><\/a><\/p>\n<li>In the downloaded folder, navigate to <b>Bot-export-import<\/b> > <b>Bot-export-import<\/b> > <b>src<\/b> > <b>ImportData<\/b> to view the <b>botDefinition<\/b> and <b>config<\/b> JSON source files.<\/li>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100428\/df-4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100428\/df-4.png\" alt=\"\" width=\"500\" height=\"200\" class=\"alignnone size-full wp-image-50389\" \/><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Import_the_Bot\">Step 3: Import the Bot<\/span><\/h3>\n<p>On the Kore.ai XO Platform, you can import the migrated bot with the steps mentioned <a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-settings\/bot-management\/bot-management-2\/#Steps_in_Importing_to_an_Existing_Assistant\" rel=\"noopener noreferrer\" target=\"_blank\">here<\/a>.<\/p>\n<p><b>Note<\/b>: In the <b>Import Bot<\/b> window, select the relevant <b>Bot definition<\/b> and <b>config<\/b> files from the <b>ImportData<\/b> folder.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100649\/df-5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230101100649\/df-5.png\" alt=\"\" width=\"300\" height=\"400\" class=\"alignnone size-full wp-image-50392\" \/><\/a><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Kore.ai XO Platform supports the migration of an existing Google Dialogflow bot into your XO Platform account using the External NLU Adapter. This easy migration reduces the manual efforts in creating the dialog flow on the XO Platform while allowing you to implement the inbuilt features of Kore.ai on the imported bot. You can...","protected":false},"author":21,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-50376","post","type-post","status-publish","format-standard","hentry","category-bots-management"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/50376","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=50376"}],"version-history":[{"count":9,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/50376\/revisions"}],"predecessor-version":[{"id":52741,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/50376\/revisions\/52741"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=50376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=50376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=50376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}