To add FAQs, follow the below steps:
- Log in to the SearchAssist application with valid credentials.
- On the Indices page, click FAQs on the left pane.
- On the FAQs page, you can add FAQs through the below-listed methods:
- Extract FAQs
- Import FAQs
- Add FAQs Manually
Extract FAQs
In SearchAssist, the Extract FAQs option allows business users to extract all the FAQs that are available in a PDF file or web URL. You can only extract PDF files.
To add FAQs through the Extract FAQs option, follow the below steps:
- On the Indices page, click FAQs on the left pane.
- On the FAQs page, click the Add drop-down list and select Extract FAQs.
- On the Extract FAQs dialog box, enter a name in the Source Title field and a description in the Description field.
- You can extract FAQs from a file or URL:
- From the Extract from File section, drag and drop a file or click Browse to locate the PDF file.
- From the Extract from URL section, enter a domain URL in the Enter URL field.
- For the Extract from File option, you can annotate and extract the uploaded file. Select the Annotate & Extract checkbox to enable it.
- Click Proceed.
- On the How to Annotate dialog box, click Get Started.
- On the Annotate Document page, you can find the document info, annotation summary, and annotation classification of the uploaded file on the right pane.
- Select Ignore Page checkbox and click Extract on the top-right.
- On the Extract FAQs dialog box, you can find the extraction status. If required, you can cancel the extraction or click OK after the extraction is complete.
Import FAQs
The Import FAQS option in SearchAssist allows business users to import FAQs from a CSV or JSON file. CSV or JSON must follow the format that SearchAssist supports. For example, let us consider an e-commerce website. The business user can import the product catalog details in the form of a CSV or JSON file.
To add FAQs through the Import FAQs option, follow the below steps:
- On the Indices page, click FAQs on the left pane.
- On the FAQs page, click the Add drop-down list and select Import FAQs.
- On the Import FAQs dialog box, enter a name in the Source Title field and a description in the Description field.
- You can extract FAQs from a file or URL:
- From the Extract from File section, drag and drop a file or click Browse to locate the file.
- From the Extract from URL section, enter a domain URL in the Enter URL field.
Click Proceed.
Add FAQs Manually
If you need to supplement the FAQs or don’t have a source for FAQs, you can add them manually. With this option, you can enter the Question-Response pair for each FAQ.
To add FAQs manually, follow the below steps:
- On the Indices page, click FAQs on the left pane.
- On the FAQs page, click the Add drop-down list and select Add FAQs Manually.
- On the Add FAQs dialog box, enter a question in the Question field.
- Under the Answers section, click + Add Bot Response.
- On the Editor layout, type the bot response. You can also click the Code tab to add the response as JavaScript.
- You can also add conditions to the bot response. To add, turn on the Conditions toggle.
-
- Under the Conditions section, select a context from the Select Context drop-down list.
- Search Context – It is used to optimize search results based on the context provided by the user.
- Page Context – It is the data that is specifically assigned to a page.
- User Context – It is the data that is specifically assigned to a search user.
- Select the criteria from the Set Criteria drop-down lists.
- Under the Conditions section, select a context from the Select Context drop-down list.
- Click Save.