{"id":60663,"date":"2023-12-18T06:23:38","date_gmt":"2023-12-18T06:23:38","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-3\/?p=60663"},"modified":"2024-06-04T07:39:39","modified_gmt":"2024-06-04T06:39:39","slug":"prompts-and-requests-library","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-3\/docs\/bots\/nlp\/prompts-and-requests-library\/","title":{"rendered":"Prompts and Requests Library"},"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-6ae8c6af3d3ea\" data-id=\"6ae8c6af3d3ea\" 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;\">Effective prompts play a crucial role in enhancing response accuracy when interacting with LLMs. The new Prompts Library module empowers bot designers by allowing them to create and test suitable prompts for their specific use cases. It also displays all the newly added<\/span><span style=\"font-weight: 400;\">\/custom<\/span><span style=\"font-weight: 400;\"> and default request\/prompt templates for the integrated models with their status as active or inactive. The default prompts are related to the pre-built models. However, you can import any default prompt, customize it, and use it for a <\/span><span style=\"font-weight: 400;\">pre-built and<\/span><span style=\"font-weight: 400;\"> custom LLM model.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The post-processor for prompts allows designers to align LLM responses perfectly with Platform expectations. Designers can modify the LLM response to guarantee the correct behavior and high-quality interactions during runtime.<\/span><\/p>\n<div class=\"alert alert-info\"><strong>Note<\/strong>: Currently, the custom LLM integration and prompt creation are available only in English.<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Pre-requisites\"><span style=\"font-weight: 400;\">Pre-requisites<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Before proceeding, ensure that you have successfully Integrated a Pre-built or Custom LLM. For more information, see <\/span><a href=\"https:\/\/developer.kore.ai\/v10-3\/docs\/bots\/nlp\/llm-integration\/\">LLM Integration<\/a><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_add_Prompts_and_Requests\"><span style=\"font-weight: 400;\">How to add Prompts and Requests<\/span><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To add a new prompt, follow the steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Build <\/b>&gt;<b> Natural Language <\/b>&gt;<b> Generative AI &amp; LLM<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071158\/image2.1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60807 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071158\/image2.1.png\" alt=\"\" width=\"1915\" height=\"843\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071158\/image2.1.png 1915w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071158\/image2.1-300x132.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071158\/image2.1-1024x451.png 1024w\" sizes=\"auto, (max-width: 1915px) 100vw, 1915px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">On the top right corner of the <\/span><b>Prompts and Requests Library<\/b><span style=\"font-weight: 400;\"> section, click <\/span><b>+Add New<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter the <\/span><b>prompt name<\/b><span style=\"font-weight: 400;\">. Select the <\/span><b>feature<\/b><span style=\"font-weight: 400;\"> and the respective <\/span><b>model<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055953\/image9-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60688 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055953\/image9-3.png\" alt=\"\" width=\"1920\" height=\"844\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055953\/image9-3.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055953\/image9-3-300x132.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055953\/image9-3-1024x450.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The Configuration section consists of End-point URLs, Authentication, and Header values required to connect to a large language model. These are auto-populated based on the input provided while model integration and are not editable.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231220062720\/Prompt_Config-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60866 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231220062720\/Prompt_Config-1.png\" alt=\"\" width=\"1855\" height=\"598\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231220062720\/Prompt_Config-1.png 1855w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231220062720\/Prompt_Config-1-300x97.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231220062720\/Prompt_Config-1-1024x330.png 1024w\" sizes=\"auto, (max-width: 1855px) 100vw, 1855px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">In the Request section, you can either create a request from scratch or import the existing prompt from the Library to modify as needed.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071457\/image3-1-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60816 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071457\/image3-1-4.png\" alt=\"\" width=\"1920\" height=\"849\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071457\/image3-1-4.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071457\/image3-1-4-300x133.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071457\/image3-1-4-1024x453.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">To import an existing prompt, do the following:<\/span>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">Click <\/span><b>Import from Prompts and Requests Library<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">. All the newly added\/custom prompts and prompts related to the pre-built LLM are displayed without integrating them.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240311100937\/prompts2hq.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-61457 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240311100937\/prompts2hq.gif\" alt=\"\" width=\"1920\" height=\"878\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">Select the <\/span><b>Feature<\/b><span style=\"font-weight: 400;\"> from the dropdown menu, select the <\/span><b>Model<\/b><span style=\"font-weight: 400;\">, and select the <\/span><b>Prompt <\/b><span style=\"font-weight: 400;\">from the dropdown menu. Hover over and click <\/span><b>Preview Prompt<\/b><span style=\"font-weight: 400;\"> to view the prompt before importing.<br \/>\n<b>Note<\/b>: You have the flexibility to interchange a prompt designated for one feature with that of another, and vice versa.<br \/>\n<\/span><\/li>\n<li aria-level=\"3\"><span style=\"font-weight: 400;\">Click <\/span><b>Confirm<\/b><span style=\"font-weight: 400;\"> to get it imported into the JSON body.<\/span><\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">To create a prompt from scratch, click <\/span><b>Start from scratch<\/b><span style=\"font-weight: 400;\"> and enter the <\/span><b>JSON<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> request the LLM.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060012\/image13-1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60700 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060012\/image13-1-1.png\" alt=\"\" width=\"1885\" height=\"591\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060012\/image13-1-1.png 1885w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060012\/image13-1-1-300x94.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060012\/image13-1-1-1024x321.png 1024w\" sizes=\"auto, (max-width: 1885px) 100vw, 1885px\" \/><\/a><\/span><\/h2>\n<\/li>\n<\/ol>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Once you type the JSON, the <\/span><b>Sample Context Values<\/b><span style=\"font-weight: 400;\"> fields are displayed. Fill in the values and click <\/span><b>Test<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If the request values are correct, the response from the LLM is displayed. If not, an error message is displayed.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071345\/image12-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60810 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071345\/image12-3.png\" alt=\"\" width=\"1918\" height=\"852\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071345\/image12-3.png 1918w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071345\/image12-3-300x133.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071345\/image12-3-1024x455.png 1024w\" sizes=\"auto, (max-width: 1918px) 100vw, 1918px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the Actual Response section, double-click the <\/span><b>Key<\/b><span style=\"font-weight: 400;\"> that should be used to generate the response path. For example, double-click the <\/span><b>text<\/b><span style=\"font-weight: 400;\"> key and click <\/span><b>Save<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071413\/image6-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60813 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071413\/image6-5.png\" alt=\"\" width=\"1894\" height=\"676\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071413\/image6-5.png 1894w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071413\/image6-5-300x107.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231219071413\/image6-5-1024x365.png 1024w\" sizes=\"auto, (max-width: 1894px) 100vw, 1894px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The <\/span><b>Response Path <\/b><span style=\"font-weight: 400;\">is displayed. Click <\/span><b>Lookup Path<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The <\/span><b>Actual Response<\/b><span style=\"font-weight: 400;\"> and <\/span><b>Expected Response<\/b><span style=\"font-weight: 400;\"> are displayed.\u00a0<\/span>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">If the response structure matches, the responses will be in green. Click <\/span><b>Save<\/b><span style=\"font-weight: 400;\">. Skip to Step 11.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>Note<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">: Both Actual Response and Expected Response are not editable.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055945\/image7-4-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60682 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055945\/image7-4-1.png\" alt=\"\" width=\"1920\" height=\"840\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055945\/image7-4-1.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055945\/image7-4-1-300x131.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055945\/image7-4-1-1024x448.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"2\"><span style=\"font-weight: 400;\">If the response structure does not match, the responses will be in red. Click <\/span><b>Configure<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> to modify the Actual Response. The Post Processor Script is displayed.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055957\/image10-2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60691 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055957\/image10-2-1.png\" alt=\"\" width=\"1135\" height=\"409\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055957\/image10-2-1.png 1135w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055957\/image10-2-1-300x108.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055957\/image10-2-1-1024x369.png 1024w\" sizes=\"auto, (max-width: 1135px) 100vw, 1135px\" \/><\/a><\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">Enter the <\/span><b>Post Processor Script<\/b><span style=\"font-weight: 400;\">. Click <\/span><b>Save &amp; Test<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055919\/image1-2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60664 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055919\/image1-2-1.png\" alt=\"\" width=\"1534\" height=\"840\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055919\/image1-2-1.png 1534w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055919\/image1-2-1-300x164.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055919\/image1-2-1-1024x561.png 1024w\" sizes=\"auto, (max-width: 1534px) 100vw, 1534px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The response is displayed.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055932\/image4-3-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60673 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055932\/image4-3-2.png\" alt=\"\" width=\"1540\" height=\"838\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055932\/image4-3-2.png 1540w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055932\/image4-3-2-300x163.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218055932\/image4-3-2-1024x557.png 1024w\" sizes=\"auto, (max-width: 1540px) 100vw, 1540px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"3\"><span style=\"font-weight: 400;\">Click <\/span><b>Save<\/b><span style=\"font-weight: 400;\">. The actual response and expected response turn green.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">(Only for GenAI Node) <\/span><span style=\"font-weight: 400;\">Enter the <\/span><b>Exit Scenario Key-Value<\/b><span style=\"font-weight: 400;\"> fields and <\/span><b>Virtual Assistance Response Key<\/b><span style=\"font-weight: 400;\">. The Exit Scenario Key-Value fields help identify when to end the interaction with the GenAI model and return to the dialog flow. A Virtual Assistance Response Key is available in the response payload to display the VA\u2019s response to the user.<br \/>\n<a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240212102036\/image1-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-61163\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240212102036\/image1-8.png\" alt=\"\" width=\"1904\" height=\"696\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240212102036\/image1-8.png 1904w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240212102036\/image1-8-300x110.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20240212102036\/image1-8-1024x374.png 1024w\" sizes=\"auto, (max-width: 1904px) 100vw, 1904px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click <\/span><b>Save<\/b><span style=\"font-weight: 400;\">. The request is added and displayed in the <\/span><b>Prompts and Requests Library <\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">section.<br \/>\n<\/span><\/span><\/p>\n<h2><span style=\"font-weight: 400;\"><a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060003\/image11-2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-60694 size-full\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060003\/image11-2-1.png\" alt=\"\" width=\"1920\" height=\"829\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060003\/image11-2-1.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060003\/image11-2-1-300x130.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-3\/wp-content\/uploads\/sites\/43\/20231218060003\/image11-2-1-1024x442.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/h2>\n<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now proceed to <\/span><span style=\"font-weight: 400;\">e<\/span><span style=\"font-weight: 400;\">nable <a href=\"https:\/\/developer.kore.ai\/v10-3\/docs\/bots\/nlp\/co-pilot-features\/\">Co-Pilot Features<\/a> and <a href=\"https:\/\/developer.kore.ai\/v10-3\/docs\/bots\/nlp\/dynamic-conversations-features\/\">Dynamic Conversations<\/a> features.<\/span><\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"ult-spacer spacer-6ae8c6af3dc2c\" data-id=\"6ae8c6af3dc2c\" 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><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Effective prompts play a crucial role in enhancing response accuracy when interacting with LLMs. The new Prompts Library module empowers bot designers by allowing them to create and test suitable prompts for their specific use cases. It also displays all the newly added\/custom and default request\/prompt templates for the integrated models with their status as...","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[203,6],"tags":[],"class_list":["post-60663","post","type-post","status-publish","format-standard","hentry","category-llm-and-generative-ai","category-nlp"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/posts\/60663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/comments?post=60663"}],"version-history":[{"count":31,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/posts\/60663\/revisions"}],"predecessor-version":[{"id":61819,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/posts\/60663\/revisions\/61819"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/media?parent=60663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/categories?post=60663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-3\/wp-json\/wp\/v2\/tags?post=60663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}