FAQ Medi Chatbot is a chatbot that is used for frequently asked questions.
You should use this type of chatbot when:
- your data is static
- when different users submit the same question, the same answer is returned.
If you want to check automatically generated readme file, check this file https://github.com/Dacili/FAQ-Chatbot/blob/master/README1.md
Demo in Bot Framework Emulator (locally):
2023-09-27_14h00_28.mp4
This project was not created using QnA Maker because it's deprecated and going to be retired, and it's not recommended for use anymore.
I was following this official documentation: https://learn.microsoft.com/en-us/azure/ai-services/language-service/question-answering/quickstart/sdk?tabs=windows&pivots=studio
- Create Language service in Azure
- Navigate to Language resource and open Features. In features check the checkbox, and create a new service for Azure Cognitive Search service:
- Login with Azure creds in https://language.cognitive.azure.com/home
- If you're using Language for the first time, follow the navigation like on image:
if it's not your first time, you could easily click on Create new and then choose Custom question answering:
5. Create a simple excel file, with a few questions and answers, like on the image:
6. Click Add source -> Files, and then upload the excel file that you created.
7. After you're done, you should be able to see generated Knowledge base (KB), and click on it:
8. You will see on the left side different options such as editing and deploying KB. In the center you will see question-answer objects.
You can add a new one, or edit an existing one. While editing you can add prompts (which are actually suggestions, shown like button to the user).
You can test KB if you click on this icon:
- Once you're done with setting up a KB. Click on Deploy knowledge base, and deploy it.
- If you have not created a bot and app service already, click on Create a bot. It will actually navigate you to create both of these together, while also setting up the configuration for you, so you don't have to handle it manually. This is awesome if you don't want to see any code.
But if you need to get the code, you will need to use FileZilla in order to get the code from the App service. The fields that you need for FileZilla you can found here:
Once you're connected you will be able to download the code. Bear in mind that to make this work locally, you will need to update appsettings.json file with the configuration info needed. Some of these you will be able to find in App service -> Configuration. - If you go to a newly created bot and go to Test in Web chat, you should be able to test it properly: Demo in Azure (deployed):