{"id":55911,"date":"2023-03-15T09:05:15","date_gmt":"2023-03-15T09:05:15","guid":{"rendered":"https:\/\/developer.kore.ai\/v10\/?p=55911"},"modified":"2023-04-19T08:32:56","modified_gmt":"2023-04-19T07:32:56","slug":"llm-and-generative-ai","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/llm-and-generative-ai\/","title":{"rendered":"LLM and Generative AI"},"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=\"ult-spacer spacer-6ae9c74087249\" data-id=\"6ae9c74087249\" data-height=\"10\" data-height-mobile=\"10\" data-height-tab=\"10\" data-height-tab-portrait=\"\" data-height-mobile-landscape=\"\" style=\"clear:both;display:block;\"><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><span style=\"font-weight: 400\">The Kore.ai XO Platform helps <\/span><span style=\"font-weight: 400\">enhance your bot development process and enrich end-user conversational experiences by integrating pre-trained OpenAI or Azure OpenAI language models in the backend. <\/span><span style=\"font-weight: 400\">With the advancement of LLM and Generative AI technologies, this integration with OpenAI adds<\/span><span style=\"font-weight: 400\"> new capabilities to your Virtual Assistant through auto-generated suggestions. This capability can<\/span><span style=\"font-weight: 400\"> automate dialog flows creation, user utterance testing and validation, and conversation design based on context-specific and human-like interactions.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can find LLM and Generative AI features by going to <\/span><strong>Build &gt; Natural Language &gt; Advanced NLU Settings.<\/strong><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417190358\/goto-llm-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417190358\/goto-llm-1.png\" alt=\"\" width=\"1974\" height=\"1135\" class=\"alignnone size-full wp-image-56643\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417190358\/goto-llm-1.png 1974w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417190358\/goto-llm-1-300x172.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417190358\/goto-llm-1-1024x589.png 1024w\" sizes=\"auto, (max-width: 1974px) 100vw, 1974px\" \/><\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Key_Features\"><span style=\"font-weight: 400\">Key Features<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">The Integration of LLM and Generative AI enables the following features:\u00a0<\/span><\/p>\n<ul>\n<li><strong>Automatic Dialog Generation: <\/strong><span style=\"font-weight: 400\">This feature<\/span> <span style=\"font-weight: 400\">helps build production-ready dialog tasks automatically by briefly describing the task. A preview of the generated dialog is available and lets you modify the intent description and create multiple iterations of the dialog.<\/span><\/li>\n<li><strong>Training Data Suggestions: <\/strong><span style=\"font-weight: 400\">The platform suggests high-quality training utterances, including NER annotations for each intent. You can review and add suggestions to create an efficient training set.<\/span><\/li>\n<li><strong>NLP Batch Test Cases Suggestion: <\/strong><span style=\"font-weight: 400\">The Platform generates NLP test cases for every intent, including entity checks. You only need to create test suites in the Builder using the generated testing utterances.<\/span><\/li>\n<li><strong>Conversation Test Cases Suggestion: <\/strong><span style=\"font-weight: 400\">The Platform suggests simulated user inputs covering various scenarios from an end-user perspective at every test step. You can use these suggestions to create test suites.\u00a0<\/span><\/li>\n<li><strong>Dynamic Prompt and Message Rephrasing<\/strong>: Enhance end-user experience with empathetic and contextual bot responses. This feature uses Generative AI to rephrase bot responses based on user emotions and conversation context.<\/li>\n<\/ul>\n<h1><span class=\"ez-toc-section\" id=\"Benefits\"><span style=\"font-weight: 400\">Benefits<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">All these features benefit VA developers, NLP developers, and testers as follows:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Mundane tasks like generating dialog tasks or training utterances are automated to help developers be more productive and focus on other important tasks like enhancing conversation design, creating complex test cases, and more.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Testers can ensure that their intent descriptions are meaningful in the right context to generate the right content.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Developers can create dialog tasks on-the-fly through the prebuilt Dialog Tasks Flow.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform provides suggestions and nudges developers in the right direction for the better design and development of Virtual Assistants. For example, it offers curated use case suggestions while <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/chatbot-overview\/getting-started-bots\/#Create_a_Standard_Virtual_Assistant\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400\">creating the VA<\/span><\/a><span style=\"font-weight: 400\">, including probable user inputs (simulating end-user behavior) in <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/test-your-bot\/conversation-testing-landing-page\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400\">Conversation Testing<\/span><\/a><span style=\"font-weight: 400\">. This way, the VA can simulate the end user\u2019s behavior at every conversation step and respond more realistically by considering error scenarios, digressions, and contextual changes.<\/span><\/li>\n<\/ul>\n<h1><span class=\"ez-toc-section\" id=\"Important_Considerations\"><span style=\"font-weight: 400\">Important Considerations<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">This feature is only available if the VA\u2019s NLU language is English and requires sharing data with third parties: OpenAI (when using the OpenAI integration) or OpenAI and Microsoft (when using the Azure integration).<\/span><\/p>\n<h1><span class=\"ez-toc-section\" id=\"Configure_LLM_and_Generative_AI\"><span style=\"font-weight: 400\">Configure LLM and Generative AI<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400\">The following steps are necessary to configure LLM and Generative AI:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/llm-and-generative-ai\/#Prerequisites\">Prerequisites<\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/llm-and-generative-ai\/#Integration_Setup\">Integration Setup<\/a><\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/llm-and-generative-ai\/#Enable_LLM_Features\">Enable LLM Features<\/a><\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><span style=\"font-weight: 400\">Prerequisites<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">To enable the <\/span><span style=\"font-weight: 400\">LLM &amp; Generative AI features, you must meet the following prerequisites:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Upgrade to<\/span><strong> NLP Version &#8211; v3<\/strong><span style=\"font-weight: 400\"> (click <\/span><strong>Upgrade<\/strong><span style=\"font-weight: 400\"> when prompted within the <\/span><strong>Advanced NLU Settings<\/strong><span style=\"font-weight: 400\"> section).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><strong><em>English<\/em><\/strong><span style=\"font-weight: 400\"> as the NLP Language under <\/span><strong>Configurations<\/strong><span style=\"font-weight: 400\"> &gt; <\/span><strong>Languages<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Integration_Setup\"><span style=\"font-weight: 400\">Integration Setup<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">LLM and Generative AI features are available by integrating with OpenAI directly or via <\/span><span style=\"font-weight: 400\">Microsoft Azure.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To set up an integration, follow these steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Click <\/span><strong>OpenAI <\/strong><span style=\"font-weight: 400\">or <\/span><strong>Azure <\/strong><span style=\"font-weight: 400\">under <\/span><strong>Advanced NLU Settings<\/strong><span style=\"font-weight: 400\"> &gt; <\/span><strong>LLM &amp; Generative AI<\/strong><span style=\"font-weight: 400\"> &gt; <\/span><strong>Integration Setup<\/strong><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\">Configure the<a href=\"https:\/\/developer.kore.ai\/v10\/integrations\/configuring-the-openai-action\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400\"> OpenAI connector<\/span><\/a><span style=\"font-weight: 400\"> or the <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/integrations\/configuring-the-azure-openai-action\/\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400\">Azure OpenAI connector<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Once configured the status of your chosen integration changes from <\/span><em><span style=\"font-weight: 400\">Configure Now<\/span><\/em><span style=\"font-weight: 400\"> to <\/span><em><span style=\"font-weight: 400\">Configured<\/span><\/em><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112244\/integration-setup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55955\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112244\/integration-setup.png\" alt=\"\" width=\"875\" height=\"135\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112244\/integration-setup.png 875w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112244\/integration-setup-300x46.png 300w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400\">We recommend the Azure integration because the Azure OpenAI Service is more reliable and provides REST API access to OpenAI&#8217;s language models.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Enable_LLM_Features\"><span style=\"font-weight: 400\">Enable LLM Features<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">The list of available LLM features is disabled by default within the Advanced NLU section. Once you configure an integration, you can enable this list. Set the toggle under Feature List to the Enabled state to do so.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417191003\/enable-llm.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417191003\/enable-llm.png\" alt=\"\" width=\"1203\" height=\"547\" class=\"alignnone size-full wp-image-56647\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417191003\/enable-llm.png 1203w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417191003\/enable-llm-300x136.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230417191003\/enable-llm-1024x466.png 1024w\" sizes=\"auto, (max-width: 1203px) 100vw, 1203px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400\">Next, please read and agree to the Terms and Conditions. Select the checkbox &#8211; <\/span><strong>I agree to the above terms and conditions<\/strong><span style=\"font-weight: 400\">, then click <\/span><strong>Enable.<\/strong><\/p>\n<p><strong><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112158\/consent.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55940\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112158\/consent.png\" alt=\"\" width=\"331\" height=\"555\" \/><\/a><\/strong><\/p>\n<p><span style=\"font-weight: 400\">Once the features list is enabled, you can select or deselect desired features.<\/span><\/p>\n<h1><span class=\"ez-toc-section\" id=\"LLM_and_Generative_AI_Features_Specifications\"><span style=\"font-weight: 400\">LLM and Generative AI Features Specifications<\/span><\/span><\/h1>\n<h2><span class=\"ez-toc-section\" id=\"Automatic_Dialog_Task_Generation\"><span style=\"font-weight: 400\">Automatic Dialog Task Generation<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">This feature auto-generates conversations and dialog flows using the VA\u2019s purpose and intent description provided during the creation process. The Platform uses LLM and generative AI to create suitable Dialog Tasks for Conversation Design, Logic Building &amp; Training by including the required nodes in the flow.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">You must provide an intent description, and the Platform handles the Conversation Generation for the Dialog Flow.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can preview the conversation flow, view the Bot Action taken, improvise the intent description, and regenerate the conversation to make it more human-like.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The nodes and the flow for the Business Logic are automatically built for your conversation, and you only need to configure the flow transition.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The Platform auto-defines the Entities, Prompts, Error Prompts, Bot Action nodes, Service Tasks, Request Definition, Connection Rules, and other parameters.<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112438\/autogenerate-dialog-task.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55961\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112438\/autogenerate-dialog-task.gif\" alt=\"\" width=\"1906\" height=\"848\" \/><\/a><\/p>\n<p><strong>Usage<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Once you enable this feature:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform triggers the flow when you launch a task for the first time.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform presents the intent description and an option to generate conversation.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can preview the generated conversation, edit the description, and regenerate it.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform sends the updated description to Generative AI in the background to get the new conversation.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Once you\u2019re satisfied with the conversation, generate a dialog task.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">If this feature is disabled, you will not have the option to auto-generate a dialog flow when first launching a Dialog Task.<\/span><\/p>\n<table style=\"width: 100%;border-collapse: collapse;background-color: #fffbea;height: 55px\">\n<tbody>\n<tr style=\"height: 55px\">\n<td style=\"width: 100%;height: 55px\"><strong>Note<\/strong><span style=\"font-weight: 400\">: The Platform uses the configured API Key to authorize and generate the suggestions from OpenAI.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/chatbot-overview\/using-the-dialog-builder-tool\/#Auto-Generate_Dialog_Tasks\"><span style=\"font-weight: 400\">Learn more.<\/span><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Training_Data_Suggestions\"><span style=\"font-weight: 400\">Training Data Suggestions<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">This feature generates a list of suggested training utterances and NER annotations for each intent description and Dialog Flow, eliminating the need for manual creation.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112330\/training-suggestions.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55958\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112330\/training-suggestions.gif\" alt=\"\" width=\"1906\" height=\"808\" \/><\/a><\/span><\/p>\n<p><strong>Usage<\/strong><\/p>\n<p><span style=\"font-weight: 400\">The Platform can generate utterances that can be used to train your VA.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Once you request to generate utterances for a given intent, the Platform provides utterance suggestions based on the following information:\u00a0<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Intent,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Entities and Entity Types,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Probable entity values,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Different scenarios for training utterances based on entities, a combination of entities, structurally different utterances, etc.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">You can add\/delete the suggested training utterances from the list or generate more suggestions.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If this feature is disabled, you won\u2019t see the Suggestions tab on the training page.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/chatbot-overview\/using-the-dialog-builder-tool\/#Automatically_Generate_Utterance_Suggestions\"><span style=\"font-weight: 400\">Learn more.<\/span><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"NLP_Batch_Test_Cases_Suggestion\"><span style=\"font-weight: 400\">NLP Batch Test Cases Suggestion<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">This feature lets you generate test cases and add them to the test suite with minimum or no errors.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112153\/batch-testing.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55937\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112153\/batch-testing.gif\" alt=\"\" width=\"1906\" height=\"808\" \/><\/a><\/span><\/p>\n<p><strong>Usage<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">When creating a New Test Suite, select <\/span><strong>Add Manually<\/strong><span style=\"font-weight: 400\"> or <\/span><strong>Upload Test Cases File<\/strong><span style=\"font-weight: 400\"> to add test cases.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><strong>Add Manually <\/strong><span style=\"font-weight: 400\">creates an empty test suite where you can generate test cases and do the following:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select a Dialog Task.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Based on the intent context, the Generative AI generates test cases you can review and add to or remove from the Test Suite.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">When you click <\/span><strong>Generate Test Cases<\/strong><span style=\"font-weight: 400\">, the Platform sends Generative AI the following information to generate test cases:<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Intent,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Entities,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Probable entity value,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Different scenarios to simulate end-user utterances,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Random training utterances and test cases that are generated to avoid duplicate test cases from Generative AI.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">If this feature is disabled, you will not have the option to generate test cases during batch testing.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/test-your-bot\/batch-testing\/batch-testing\/#Generating_Test_Cases_Automatically\"><span style=\"font-weight: 400\">Learn more.<\/span><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conversation_Test_Cases_Suggestion\"><span style=\"font-weight: 400\">Conversation Test Cases Suggestion<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400\">This feature provides a regression tool or a Playbook that creates a conversation test suite for each intent (new and old) to evaluate the impact of the change on the conversation execution.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112226\/conv-test.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55943\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10\/wp-content\/uploads\/sites\/30\/20230317112226\/conv-test.gif\" alt=\"\" width=\"1906\" height=\"808\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400\">You can view input\/utterance suggestions at every conversation step simulating the various input types and scenarios. This feature helps check if the task\/intent is robust enough to handle random user utterances.<\/span><\/p>\n<p><span style=\"font-weight: 400\">This feature also helps you predict and simulate the end user\u2019s behavior and check if the VA can execute all the defined flows by generating user responses and presenting any digressions from the specified intent.<\/span><\/p>\n<p><strong>Usage<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can create a test suite by recording a live conversation with a VA by initiating the interaction or letting the VA initiate it.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">An icon displays to indicate the user input suggestions from Generative AI.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform triggers OpenAI to generate suggestions whenever user input is expected.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">The Platform shares the following information with OpenAI to generate suggestions<\/span>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Randomly picked intents from the VA (Dialog, FAQ),<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Conversation flow,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Current Intent, if any,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Current node type:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">For an entity node, the system sends the following:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Entity name,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Entity type,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Sample entity values.\u00a0<\/span><\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Types of user input scenarios:<\/span>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Entities,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Without entities,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Different entity combinations in the user input,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Digression to another intent,<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Trigger error scenarios.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can regenerate suggestions if required.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">You can accept the suggestions shown or type custom input at every step.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Create a Test Suite after stopping the recording and validating the model.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400\">If the feature is disabled, the Platform doesn&#8217;t display the Generative AI suggestions icon and the suggestions themselves.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/test-your-bot\/create-a-test-suite\/#Generated_User_Response_Suggestions\"><span style=\"font-weight: 400\">Learn more.<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\"><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><\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Dynamic_Prompt_and_Message_Rephrasing\">Dynamic Prompt and Message Rephrasing<\/span><\/h2>\n<p><span style=\"font-weight: 400\">This feature sends all User Prompts, Error Prompts, and Bot Responses to the Generative AI along with the conversation context, which depends on the configured number of user inputs. Responses are rephrased based on this context and user emotion, providing a more empathetic, natural, and contextual conversation experience to the end-user.\u00a0<\/span><\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/docs.kore.ai\/smartassist\/wp-content\/uploads\/sites\/30\/sites\/3\/2023\/04\/rephrase-response.gif\"><img decoding=\"async\" class=\"alignnone wp-image-10532\" src=\"https:\/\/docs.kore.ai\/smartassist\/wp-content\/uploads\/sites\/30\/sites\/3\/2023\/04\/rephrase-response.gif\" \/><\/a><\/p>\n<p><b>Usage<\/b><\/p>\n<p><span style=\"font-weight: 400\">When configuring a <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-message-nodes\/#Component_Properties\"><span style=\"font-weight: 400\">Message<\/span><\/a><span style=\"font-weight: 400\">, <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-entity-node\/#Component_Properties\"><span style=\"font-weight: 400\">Entity<\/span><\/a><span style=\"font-weight: 400\">, or <\/span><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/bot-builder-tool\/dialog-task\/working-with-the-confirmation-nodes\/#Component_Properties\"><span style=\"font-weight: 400\">Confirmation <\/span><\/a><span style=\"font-weight: 400\">node, you can enable the <\/span><b>Rephrase Response <\/b><span style=\"font-weight: 400\">feature (disabled by default). This lets you set the number of user inputs sent to OpenAI as context for rephrasing the response sent through the node. You can choose between 0 and 5, where 0 means that no previous input is considered, while 5 means that the previous. 5 responses are sent as context.<\/span><\/p>\n<p><span style=\"font-weight: 400\">When this feature is disabled, the Rephrase Response section is not visible within your node\u2019s Component Properties.<\/span><\/p>\n<p><span style=\"font-weight: 400\"><a ref=\"magnificPopup\" href=\"https:\/\/docs.kore.ai\/smartassist\/wp-content\/uploads\/sites\/30\/sites\/3\/2023\/04\/rephrase-response.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10535\" src=\"https:\/\/docs.kore.ai\/smartassist\/wp-content\/uploads\/sites\/30\/sites\/3\/2023\/04\/rephrase-response.png\" alt=\"\" width=\"388\" height=\"269\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400\"><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><\/span><\/p>\n<h4><span style=\"font-weight: 400\">Note on Auto Training for Machine Learning and Negative Patterns Settings<\/span><\/h4>\n<p><span style=\"font-weight: 400\">The <\/span><em><span style=\"font-weight: 400\">Auto Training for Machine Learning<\/span><\/em><span style=\"font-weight: 400\"> and the <\/span><em><span style=\"font-weight: 400\">Negative Patterns<\/span><\/em><span style=\"font-weight: 400\"> settings on the <\/span><em><span style=\"font-weight: 400\">Advanced NLU Settings<\/span><\/em><span style=\"font-weight: 400\"> module help you manage the Machine Learning and Fundamental Meaning Engines, respectively. For more information, see:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/user-utterances\/#Auto-Training\"><span style=\"font-weight: 400\">Auto Training For Machine Learning<\/span><\/a><span style=\"font-weight: 400\">,<\/span><\/li>\n<li style=\"font-weight: 400\"><a href=\"https:\/\/developer.kore.ai\/v10\/docs\/bots\/nlp\/fundamental-meaning\/#Negative_Patterns\"><span style=\"font-weight: 400\">Negative Patterns<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\"><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><\/span><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Kore.ai XO Platform helps enhance your bot development process and enrich end-user conversational experiences by integrating pre-trained OpenAI or Azure OpenAI language models in the backend. With the advancement of LLM and Generative AI technologies, this integration with OpenAI adds new capabilities to your Virtual Assistant through auto-generated suggestions. This capability can automate dialog...","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-55911","post","type-post","status-publish","format-standard","hentry","category-nlp"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/55911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/comments?post=55911"}],"version-history":[{"count":24,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/55911\/revisions"}],"predecessor-version":[{"id":56709,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/55911\/revisions\/56709"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/media?parent=55911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/categories?post=55911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/tags?post=55911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}