{"id":52343,"date":"2023-01-23T07:44:16","date_gmt":"2023-01-23T07:44:16","guid":{"rendered":"https:\/\/developer.kore.ai\/v10-1\/?p=52343"},"modified":"2023-08-21T07:44:01","modified_gmt":"2023-08-21T06:44:01","slug":"answer-from-documents","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/bot-builder-tool\/knowledge-task\/answer-from-documents\/","title":{"rendered":"Answer from Documents (Beta)"},"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><span style=\"font-weight: 400;\">The Answer from Documents feature helps answer end-user queries from unstructured PDF documents without the need to extract individual FAQs and train them. This feature leverages a Large Language Model (LLM) and Generative AI models from OpenAI or Azure OpenAI integration to generate answers by processing uploaded documents and user queries. This is a beta feature and is available in English and Non-English languages supported on the XO Platform.<\/span><\/p>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #fffbea; height: 18px;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong>Important Note:<\/strong><span style=\"font-weight: 400;\"> After redacting personally identifiable information, the documents and end-user queries are shared with OpenAI or Azure OpenAI integration to curate the answers. You must agree to enable the feature.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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>\n<h1><span class=\"ez-toc-section\" id=\"Benefits\"><span style=\"font-weight: 400;\">Benefits<\/span><\/span><\/h1>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Automatically identify and answer FAQs using PDF documents as a source of knowledge;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Knowledge extraction and VA training are not required.<\/span><\/li>\n<\/ol>\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>\n<h1><span class=\"ez-toc-section\" id=\"Important_Considerations\"><span style=\"font-weight: 400;\">Important Considerations<\/span><\/span><\/h1>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Answer generation works based on NLU 3.0 and an active integration with OpenAI or Azure OpenAI integration;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Answer from Documents acts as a fallback when none of the three NLP engines identifies any intent (using Dialog Tasks or Knowledge AI FAQs);<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Answers are delivered using a Standard Response with the answer as a dynamic variable.<\/span><\/li>\n<\/ol>\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>\n<h1><span class=\"ez-toc-section\" id=\"Limitations\"><span style=\"font-weight: 400;\">Limitations<\/span><\/span><\/h1>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">You can upload 10 PDF documents, each with a maximum size of 5 MB;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Some requests may get rejected, or responses may delay based on OpenAI or Azure OpenAI service availability;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">This is a beta feature, and requests may take longer to process. We do not recommend it for production use cases as it may directly impact your customers\u2019 experience. Our current recommendation is for VA designers to review generated answers and add them to the Knowledge Graph.<\/span><\/li>\n<\/ol>\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>\n<h1><span class=\"ez-toc-section\" id=\"Prerequisites\"><span style=\"font-weight: 400;\">Prerequisites<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Before using the Answer from Documents feature, you must first perform the following:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><strong>Upgrade to NLU 3.0<\/strong><span style=\"font-weight: 400;\"> if you have not already done so. You can upgrade by going to <\/span><strong>Natural Language &gt; Advanced Settings<\/strong><span style=\"font-weight: 400;\"> and clicking <\/span><strong>Upgrade Now <\/strong><span style=\"font-weight: 400;\">under the <\/span><strong>NLP Version <\/strong><span style=\"font-weight: 400;\">section. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307132959\/nlu3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55681\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307132959\/nlu3.png\" alt=\"\" width=\"1920\" height=\"813\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307132959\/nlu3.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307132959\/nlu3-300x127.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307132959\/nlu3-1024x434.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>Configure the OpenAI or Azure OpenAI integration Action<\/strong><span style=\"font-weight: 400;\">. You can find it under <\/span><strong>Integrations &gt; Actions &gt; OpenAI<\/strong><span style=\"font-weight: 400;\">. <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-openai-action\/\"><span style=\"font-weight: 400;\">Configuring OpenAI Action<\/span><\/a><span style=\"font-weight: 400;\"> or <a href=\"https:\/\/developer.kore.ai\/v10-1\/integrations\/configuring-the-azure-openai-action\/\">Configuring Azure OpenAI Action<\/a>.<\/span><\/li>\n<\/ol>\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>\n<h1><span class=\"ez-toc-section\" id=\"Enable_Answer_from_Documents\"><span style=\"font-weight: 400;\">Enable Answer from Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">To enable the Answer from Documents feature, follow these steps:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Go to <\/span><strong>Build &gt; Conversation Skills &gt; Knowledge AI<\/strong><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Under <\/span><strong>Answer from Documents<\/strong><span style=\"font-weight: 400;\">, click <\/span><strong>Get Started<\/strong><span style=\"font-weight: 400;\">. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133110\/goto-afd-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55732\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133110\/goto-afd-1.png\" alt=\"\" width=\"1920\" height=\"813\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133110\/goto-afd-1.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133110\/goto-afd-1-300x127.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133110\/goto-afd-1-1024x434.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\">To enable the Answer from Documents feature, you must agree to share uploaded documents and user utterances with OpenAI. Please read the contents of the notification window, then check the checkbox next to<strong> I agree to share the uploaded documents and user utterances with OpenAI or Azure OpenAI. <\/strong>Click <strong>Enable Now<\/strong> to proceed. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133104\/enable-afd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55729\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133104\/enable-afd.png\" alt=\"\" width=\"1187\" height=\"571\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133104\/enable-afd.png 1187w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133104\/enable-afd-300x144.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133104\/enable-afd-1024x493.png 1024w\" sizes=\"auto, (max-width: 1187px) 100vw, 1187px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once the feature has been enabled, you can begin uploading PDF documents.<\/span><\/li>\n<\/ol>\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>\n<h1><span class=\"ez-toc-section\" id=\"Upload_PDF_Documents\"><span style=\"font-weight: 400;\">Upload PDF Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">To upload PDF documents, follow these steps:<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click the <\/span><strong>Upload <\/strong><span style=\"font-weight: 400;\">button that displays after enabling the Answer from Documents feature. <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133012\/upload-docs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55690\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133012\/upload-docs.png\" alt=\"\" width=\"1920\" height=\"813\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133012\/upload-docs.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133012\/upload-docs-300x127.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133012\/upload-docs-1024x434.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><strong>Drag and drop<\/strong><span style=\"font-weight: 400;\"> your document or click <\/span><strong>Browse <\/strong><span style=\"font-weight: 400;\">to find it on your computer.<\/span><br \/>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #fffbea; height: 18px;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong>Note<span style=\"font-weight: 400;\">: Filenames must not be longer than 10 characters.<\/span><\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\/20230307133059\/upload-drag-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55726\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133059\/upload-drag-doc.png\" alt=\"\" width=\"705\" height=\"344\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133059\/upload-drag-doc.png 705w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133059\/upload-drag-doc-300x146.png 300w\" sizes=\"auto, (max-width: 705px) 100vw, 705px\" \/><\/a><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Once selecting the document, you can update its name if required. Click <\/span><strong>Proceed <\/strong><span style=\"font-weight: 400;\">when ready.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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\/20230307133007\/update-docname.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55687\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133007\/update-docname.png\" alt=\"\" width=\"710\" height=\"523\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133007\/update-docname.png 710w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133007\/update-docname-300x221.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/a><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Please wait a few moments until your document uploads. This action may take longer than expected, depending on the file size, your connection speed, and other factors.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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\/20230307133020\/uploading-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55696\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133020\/uploading-doc.png\" alt=\"\" width=\"710\" height=\"549\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133020\/uploading-doc.png 710w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133020\/uploading-doc-300x232.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/a><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">When the upload completes successfully, <\/span><strong>close <\/strong><span style=\"font-weight: 400;\">the upload window.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\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\/20230307133016\/upload-done.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55693\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133016\/upload-done.png\" alt=\"\" width=\"709\" height=\"522\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133016\/upload-done.png 709w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133016\/upload-done-300x221.png 300w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Uploaded documents are listed under the <\/span><strong>Answer from Documents<\/strong><span style=\"font-weight: 400;\"> section.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133056\/doc-listed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55723\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133056\/doc-listed.png\" alt=\"\" width=\"1528\" height=\"242\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133056\/doc-listed.png 1528w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133056\/doc-listed-300x48.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133056\/doc-listed-1024x162.png 1024w\" sizes=\"auto, (max-width: 1528px) 100vw, 1528px\" \/><\/a><\/p>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #fffbea; height: 18px;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong>Note<\/strong>: After uploading your first document, the Upload Document option moves to the right side of the section, as shown below. You can use it to add up to 10 PDF documents.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\/20230307133024\/upload-when-docs-exist.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55699\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133024\/upload-when-docs-exist.png\" alt=\"\" width=\"1519\" height=\"271\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133024\/upload-when-docs-exist.png 1519w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133024\/upload-when-docs-exist-300x54.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133024\/upload-when-docs-exist-1024x183.png 1024w\" sizes=\"auto, (max-width: 1519px) 100vw, 1519px\" \/><\/a><\/p>\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>\n<h1><span class=\"ez-toc-section\" id=\"View_Uploaded_PDF_Documents\"><span style=\"font-weight: 400;\">View Uploaded PDF Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">To view the contents of an uploaded document, hover over it and click the corresponding <\/span><strong>View <\/strong><span style=\"font-weight: 400;\">icon under <\/span><strong>Actions<\/strong><span style=\"font-weight: 400;\">.\u00a0<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133028\/view-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55702\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133028\/view-doc.png\" alt=\"\" width=\"1538\" height=\"348\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133028\/view-doc.png 1538w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133028\/view-doc-300x68.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133028\/view-doc-1024x232.png 1024w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/a><span style=\"font-weight: 400;\">The document will open within a separate window, where you can browse each page, download, print, etc. The viewer is browser-specific. To exit the document view and return to the Knowledge AI section, click the X on the right side corner.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133034\/browse-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55705\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133034\/browse-doc.png\" alt=\"\" width=\"1920\" height=\"858\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133034\/browse-doc.png 1920w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133034\/browse-doc-300x134.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133034\/browse-doc-1024x458.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/a>\u00a0<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>\n<h1><span class=\"ez-toc-section\" id=\"Test_Answer_Generation\"><span style=\"font-weight: 400;\">Test Answer Generation<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">A good testing practice for this feature is to ask the VA a question directly related to the contents of your uploaded documents. You can use the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/talk-to-bot\/\"><span style=\"font-weight: 400;\">Talk to Bot <\/span><\/a><span style=\"font-weight: 400;\">feature to test the answers generated from your uploaded documents. The Debug Log within the <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/talk-to-bot\/#Debug_Log\"><span style=\"font-weight: 400;\">Talk to Bot feature<\/span><\/a><span style=\"font-weight: 400;\"> and <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/analyzing-your-bot\/bot-analysis\/#Debug_Log\"><span style=\"font-weight: 400;\">NLP Insights<\/span><\/a><span style=\"font-weight: 400;\"> lets you see if a response failure is due to OpenAI or Azure OpenAI timing out.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also run <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/testing-your-bot-with-nlp\/#Answer_from_Documents\"><span style=\"font-weight: 400;\">Utterance Testing<\/span><\/a> <span style=\"font-weight: 400;\">to see results related to use cases where no intent is identified and the query is answered using the <\/span><em><span style=\"font-weight: 400;\">Answer from Documents<\/span><\/em><span style=\"font-weight: 400;\"> feature.<\/span><\/p>\n<p><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/batch-testing\/batch-testing\/\"><em><span style=\"font-weight: 400;\">Batch Testing<\/span><\/em><\/a> <span style=\"font-weight: 400;\">and <\/span><a href=\"https:\/\/developer.kore.ai\/v10-1\/docs\/bots\/test-your-bot\/conversation-testing-landing-page\/\"><em><span style=\"font-weight: 400;\">Conversation Testing<\/span><\/em><\/a><span style=\"font-weight: 400;\"> do not use the <\/span><em><span style=\"font-weight: 400;\">Answer from Documents<\/span><\/em><span style=\"font-weight: 400;\"> feature as a fallback; therefore, no related test results are available.\u00a0<\/span><\/p>\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>\n<h1><span class=\"ez-toc-section\" id=\"Disable_Uploaded_PDF_Documents\"><span style=\"font-weight: 400;\">Disable Uploaded PDF Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">Disabled documents are not considered by the VA when providing answers, even if the Answer From Documents feature is active overall. As such, answers are only provided from uploaded documents that are active.\u00a0<\/span> <span style=\"font-weight: 400;\">To disable a document, toggle the <\/span><strong>Status <\/strong><span style=\"font-weight: 400;\">to <\/span><em><span style=\"font-weight: 400;\">Inactive<\/span><\/em><span style=\"font-weight: 400;\">.\u00a0<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133052\/disable-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55720\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133052\/disable-doc.png\" alt=\"\" width=\"1507\" height=\"247\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133052\/disable-doc.png 1507w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133052\/disable-doc-300x49.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133052\/disable-doc-1024x168.png 1024w\" sizes=\"auto, (max-width: 1507px) 100vw, 1507px\" \/><\/a>\u00a0<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>\n<h1><span class=\"ez-toc-section\" id=\"Delete_Uploaded_PDF_Documents\"><span style=\"font-weight: 400;\">Delete Uploaded PDF Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">To delete an uploaded document, hover over it and click the corresponding <\/span><strong>Delete (bin) <\/strong><span style=\"font-weight: 400;\">icon under <\/span><strong>Actions<\/strong><span style=\"font-weight: 400;\">.\u00a0<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133042\/delete-doc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55711\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133042\/delete-doc.png\" alt=\"\" width=\"1538\" height=\"346\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133042\/delete-doc.png 1538w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133042\/delete-doc-300x67.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133042\/delete-doc-1024x230.png 1024w\" sizes=\"auto, (max-width: 1538px) 100vw, 1538px\" \/><\/a><span style=\"font-weight: 400;\">You must confirm your choice. Click <\/span><strong>OK <\/strong><span style=\"font-weight: 400;\">to do so, or <\/span><strong>Cancel <\/strong><span style=\"font-weight: 400;\">otherwise.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133038\/delete-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55708\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133038\/delete-confirm.png\" alt=\"\" width=\"632\" height=\"337\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133038\/delete-confirm.png 632w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133038\/delete-confirm-300x160.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/a><\/p>\n<table style=\"width: 100%; border-collapse: collapse; background-color: #fffbea; height: 18px;\">\n<tbody>\n<tr style=\"height: 18px;\">\n<td style=\"width: 100%; height: 18px;\"><strong>Note<\/strong> <span style=\"font-weight: 400;\">that you cannot restore deleted documents. You must upload them again if you change your mind later.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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>\n<h1><span class=\"ez-toc-section\" id=\"Disable_Answer_from_Documents\"><span style=\"font-weight: 400;\">Disable Answer from Documents<\/span><\/span><\/h1>\n<p><span style=\"font-weight: 400;\">If you disable Answer from Documents, queries will no longer be sent to LLMs as a fallback, but documents are stored in the database, and you can enable the feature again later.<\/span> <span style=\"font-weight: 400;\">To disable the feature<\/span><strong>, turn off the toggle <\/strong><span style=\"font-weight: 400;\">at the far right of the section.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133046\/disable.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55714\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133046\/disable.png\" alt=\"\" width=\"1519\" height=\"269\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133046\/disable.png 1519w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133046\/disable-300x53.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133046\/disable-1024x181.png 1024w\" sizes=\"auto, (max-width: 1519px) 100vw, 1519px\" \/><\/a><span style=\"font-weight: 400;\">You must confirm your choice. Click <\/span><strong>Confirm <\/strong><span style=\"font-weight: 400;\">to do so or <\/span><strong>Cancel <\/strong><span style=\"font-weight: 400;\">otherwise.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133049\/disable-confirm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55717\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133049\/disable-confirm.png\" alt=\"\" width=\"627\" height=\"265\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133049\/disable-confirm.png 627w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133049\/disable-confirm-300x127.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Your documents stay stored while the feature is disabled. You can re-enable it any time later by turning on the same toggle.<\/span> <a ref=\"magnificPopup\" href=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133004\/re-enable.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55684\" src=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133004\/re-enable.png\" alt=\"\" width=\"1556\" height=\"278\" srcset=\"https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133004\/re-enable.png 1556w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133004\/re-enable-300x54.png 300w, https:\/\/kore-wordpress.s3.us-east-2.amazonaws.com\/developer.kore.ai\/v10-1\/wp-content\/uploads\/sites\/35\/20230307133004\/re-enable-1024x183.png 1024w\" sizes=\"auto, (max-width: 1556px) 100vw, 1556px\" \/><\/a><\/p>\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>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"The Answer from Documents feature helps answer end-user queries from unstructured PDF documents without the need to extract individual FAQs and train them. This feature leverages a Large Language Model (LLM) and Generative AI models from OpenAI or Azure OpenAI integration to generate answers by processing uploaded documents and user queries. This is a beta...","protected":false},"author":26,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-52343","post","type-post","status-publish","format-standard","hentry","category-knowledge-task"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/52343","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\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/comments?post=52343"}],"version-history":[{"count":19,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/52343\/revisions"}],"predecessor-version":[{"id":58870,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/posts\/52343\/revisions\/58870"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/media?parent=52343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/categories?post=52343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10-1\/wp-json\/wp\/v2\/tags?post=52343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}