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 to generate answers by processing uploaded documents and user queries. This is a beta feature and is available only for the English language.
Important Note: After redacting personally identifiable information, the documents and end-user queries are shared with OpenAI to curate the answers. You must agree to enable the feature. |
Benefits
- Automatically identify and answer FAQs using PDF documents as a source of knowledge;
- Knowledge extraction and VA training are not required.
Important Considerations
- Answer generation works based on NLU 3.0 and an active integration with OpenAI;
- Answer from Documents acts as a fallback when none of the three NLP engines identifies any intent (using Dialog Tasks or Knowledge AI FAQs);
- Answers are delivered using a Standard Response with the answer as a dynamic variable.
Limitations
- You can upload 10 PDF documents, each with a maximum size of 5 MB;
- The feature works with a maximum of 2000 words per page;
- The filenames associated with your documents must be no longer than 10 characters;
- Some requests may get rejected, or responses may delay based on OpenAI service availability;
- 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’ experience. Our current recommendation is for VA designers to review generated answers and add them to the Knowledge Graph;
- This feature is only available for queries and answers in the English language.
Prerequisites
Before using the Answer from Documents feature, you must first perform the following:
- Upgrade to NLU 3.0 if you have not already done so. You can upgrade by going to Natural Language > Advanced Settings and clicking Upgrade Now under the NLP Version section.
- Configure the OpenAI integration Action. You can find it under Integrations > Actions > OpenAI. Learn more here.
Enable Answer from Documents
To enable the Answer from Documents feature, follow these steps:
- Go to Build > Conversation Skills > Knowledge AI.
- Under Answer from Documents, click Get Started.
- 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 I agree to share the uploaded documents and user utterances with OpenAI. Click Enable Now to proceed.
- Once the feature has been enabled, you can begin uploading PDF documents.
Upload PDF Documents
To upload PDF documents, follow these steps:
- Click the Upload button that displays after enabling the Answer from Documents feature.
- Drag and drop your document or click Browse to find it on your computer.
Note: Filenames must not be longer than 10 characters. - Once selecting the document, you can update its name if required. Click Proceed when ready.
- 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.
- When the upload completes successfully, close the upload window.
Uploaded documents are listed under the Answer from Documents section.
Note: 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. |
View Uploaded PDF Documents
To view the contents of an uploaded document, hover over it and click the corresponding View icon under Actions. 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.
Test Answer Generation
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 Talk to Bot feature to test the answers generated from your uploaded documents.
Note Remember that Answer from Documents only triggers when no other engine identifies the intent. |
Disable Uploaded PDF Documents
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. To disable a document, toggle the Status to Inactive.
Delete Uploaded PDF Documents
To delete an uploaded document, hover over it and click the corresponding Delete (bin) icon under Actions. You must confirm your choice. Click OK to do so, or Cancel otherwise.
Note that you cannot restore deleted documents. You must upload them again if you change your mind later. |
Disable Answer from Documents
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. To disable the feature, turn off the toggle at the far right of the section. You must confirm your choice. Click Confirm to do so or Cancel otherwise.
Your documents stay stored while the feature is disabled. You can re-enable it any time later by turning on the same toggle.