Step -1 : Create, train, and publish your QnA Maker knowledge base :-
- Sign in to the QnAMaker.ai portal with your Azure credentials.
2. In the QnA Maker portal, select Create a knowledge base.
3. On the Create page, skip Step 1 if you already have your QnA Maker resource. If you haven’t created the resource yet, select Create a QnA service. You are directed to the Azure portal to set up a QnA Maker service in your subscription.
Remember your Azure Active Directory ID, Subscription, QnA resource name you selected when you created the resource.
When you are done creating the resource in the Azure portal, return to the QnA Maker portal, refresh the browser page, and continue to Step 2.
4. In Step 3, select your Active directory, subscription, service (resource), and the language for all knowledge bases created in the service.
5. Name your knowledge base same as name of your QnA Service.
scroll to steps 4 and 5 to give your QnA Service an FAQ site you want to crawl for question and answer pairs. It’s also possible to use a file as a data source or you can simply paste URL.(Here in demo i have pasted the URL of my college website FAQs)
6. Click on create your KB
The extraction process takes a few moments to read the document and identify questions and answers.
After QnA Maker successfully creates the knowledge base, the Knowledge base page opens. You can edit the contents of the knowledge base on this page.
In the QnA Maker portal, on the Edit page, select + Add QnA pair from the context toolbar.
In the upper right, select Save and train to save your edits and train QnA Maker . Edits aren’t kept unless they’re saved.
7. In the QnA Maker portal, select Publish. Then to confirm, select Publish on the page. Then you will see success window.
The QnA Maker service is now successfully published.