Create and Configure Custom Q 'n' A Chatbot using Language Service within Azure Cognitive Services
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- Custom question answering provides cloud-based Natural Language Processing that can be used to build conversational client application in order to find appropriate answers from customer input. This helps in the reduction of efforts that is spent in responding to repetitive questions from the end users. It can also be used to extract information from the data source that can be a document, a web page or other input.
Sample FAQ file - azuretrainings...
=========================================================
Twitter - @mstechtrainings
Facebook - Microsoft Azure Enthusiasts
LinkedIn - / neeraj-kumar-csm-mcts-...
Blog - www.azure-trai...
=========================================================
#AzureCognitiveServices #CustomQuestionAnswer #LanguageService #Chatbot #AzureAdministrator #CognitiveServices
Nice example
This! This is what I was looking for. I watched multiple videos on this topic and yours was completely mind-blowing! Thank you!
Glad it was helpful!
fantastic explanation! Thanks for your effort my friend, I learned alot from this video as I am deploying a chat bot for my company using NLP integrated to power virtual agent
Glad it helped!
Perfect tutorial...! greetings from Quito-Ecuador
Awesome, thank you!
Great practical demo and explanation, I was looking for something like this. Please keep up the good work.
Very useful session....thank you very much
Thanks so much. This is perfect tutorial. I searched for two days before ending up here.
I want to add URL and was expecting that it will pick up all the sub urls as source. But its just taking the main url page. In Power Virtual agent it picks up all the sub urls.
Very Useful! Thanks for that
Glad it was helpful!
Thanks for making this video!!
Subscribed❤
Thank you for explanation step by step guide,if I want to add VNet while creating Language can you please explain?
Thank you very much. Great training.
Glad you liked it!
Perfect
Hi, great video thanks, I understand from documentation that for teams channel, an app is required to be developed that is then deployed to teams, Is that correct?
thanks, alot i was trying this for an hour
Glad it helped!
Can you please provide the structure for the Q&A excel file, or the entire excel file for reference?
Hi, I have uploaded the sample excel file in the description of the video. Please refer. Although this is an excel file with Q 'n' A, it can also be entire document and the question and answer ill be extracted automatically out of it.
I found the CAQ bot to be very bad. When providing a URL I had to create all types of Question and Answer pairs as it is was unable to create any questions or answers itself...
It is a lot of manual work to create / anticipate all manner of questions.
Can I add new questions to the bot after deploying it?
How I can see the logs of questions which are not answered so that I can retrain my model again?
Hi Sandeep, I am extremely sorry for the delayed response. Yes, this can be achieved using the Kusto Query Language if the application insights is enabled for the custom Q'n'A maker. Please refer to the following link - learn.microsoft.com/en-us/azure/ai-services/qnamaker/how-to/get-analytics-knowledge-base?tabs=v2#unanswered-questions
Hope this helps
How auto suggestions for questions can be enabled? For example user type a word "project" , all questions will be listed which have the word "project" inside i.e. auto suggest for questions.
Hi Sandeep, Unfortunately, I have not yet implemented such scenario by myself, but I came across this resource that you can refer as the language service uses Cognitive Search at it's core - learn.microsoft.com/en-us/azure/search/search-add-autocomplete-suggestions#apis-for-search-as-you-type
Hope this helps
Question: If i need to add more information to my excel KB i need to update the file en "redeploy" right?
yes, that is correct. You may do it from the interface as well.
I followed your tutorial as it is but encountered an error, in the Test web chat section i got "To continue to run this bot, please fix the bot source code" any idea what could be wrong or how to fix this please
Hi, not sure what the problem could be, but probably check the Congnitive search and it's index. It may also be related to the pricing tier selected. There is no code to be mended. It's all configuration.
@@AzureTrainingSeries I am also confused as why did that happen,could it be because i have tried to use a different file with different format? somewhere i found language service is deprecated now..please reply sir
No, the language service is not deprecated yet. Can you please provide the link? Also, which file format did you use? Usually, it will not throw the error you have mentioned
im getting same error please let me know if you find fix
Can you please check the LanguageEndpointKey being used in the configuration of the Web app that got deployed. That may be the reason for the error. Also, please check the pricing tier for the language service. It must be Standard tier as per Microsoft documetation. Hope this helps..
If the bot is published I want it to be only available for people within my company, how do I make the bot private and only available to specific members?
Why not....this can be achieved by using private endpoints for the apps. Try it and let me know how it worked.
can you please make a video on direct line speech channel
Good Suggestion. Will surely do.
Thanks for the video sir. I have a student azure account with 80 dollars remaining, can I make a chatbot with this amount?
Hi Neeraj, wonderful session. much appreciated. I've a small query. it would be great if you could help me. How to auto populate the questions in a Bot? for ex: in the context of question, if i type, iPhone, Bot should automatically populate questions related to iphone like, What is iPhone; What is the price of iPhone? What is the latest model of iPhone? how many models are available in iPhone.
Hi Shafi, I have not yet implemented such scenario by myself, but I came across this resource that you can refer as the language service uses Cognitive Search at it's core - learn.microsoft.com/en-us/azure/search/search-add-autocomplete-suggestions#apis-for-search-as-you-type
Hope this helps
Hi. I am creating a function chat bot for my risk department. I want the chat bot to answer faqs that I have created but I also want the chat bot to be able to link to policy document and other pdf's eg show me the conflicts policy. Is this possible
Sorry for the delayed response. No, this is not possible via the language services chatbot, but if you do it via ChatGPT and Azure Open AI, this is possible.
@@AzureTrainingSeries how about virtual agents
You should provide that excel file with sample data
Hi, I have uploaded the sample excel file in the description of the video. Please refer. Although this is an excel file with Q 'n' A, it can also be entire document and the question and answer ill be extracted automatically out of it.
Hi, for custom question answering, is it required to create a knowledgebase with the selected questions and answers only, or we can create a chatbot to get answers of selected questions from the csv file.
I am looking to build a chatbot based on my sql db table, yet there is no any functionality to connect azure db with chatbot, i want to use a csv file to get answers for the specific questions from the whole csv file.
Please accept my apologies for the extreme delays.
What you are looking for is the functionality that you can achieve using the Generative UI. You can still use the cognitive search and language services to upload your custom data, and use the same in the Azure OpenAI studio as your custom data.
Hope this helps.
sir i have been facing an issue in uploading the exel sheet... what to do... please suggest
Hi, what error are you getting and please let me know the format of the questions and answer you are using.
Can I use unstructured data as a source as Excel.if yes how?
Yes, you can use the unstructured data as well and let the language service decide if it is unstructured. When you upload a file or give a url, it validates the same and tries to extract the information out of it. Hope this helps.
How can i associate this q'n' A chatbot with a previous dataset ?
Hello, Can you please elaborate what exactly do you mean by previous dataset? That will help me in understanding your query and respond appropriately
Chatbot is not accepting long spaces and new lines. Please solve this issue, bro.
Let me check for the issue and revert back, but please provide me some sample text that you are facing issues with.
Hello sir please Help me : what should I name this service as QNA maker or AI language?
Please help sir
Apologies for the delayed response. This is the Cognitive Services Q'n'A maker. You can name accordingly.
@@AzureTrainingSeries that's okay sir , I have provided its name in future ready talent project as azure ai bot is it the same thing .
Can the same chatbot be used for dynamic response?
What exactly do you mean by dynamic response? Are you talking about responses from ChatGPT with OpenAI?
Can we connect our Azure SQL as knowledge base? If yes, how?
As of now, with language service, I do not see a direct way to connect with Azure SQL, but with Azure OpenAI and ChatGPT, you can extract the information, append to an existing file, and use it as a source.
@@AzureTrainingSeries appending a database to a file don't seem to be a right solution because it might work for small tables. but what if your database is large and complex? Are there any alternatives where we can use Azure SQL database as data source for our chatbot?
I have not come across any such real world scenario as of now where Azure SQL is being used for the language service being discussed in this course. Even Microsoft does not provide any such ability. But, in a complex scenario as yours, during runtime we can definitely extract information and append to the existing files, which can be used either by cognitive search or be displayed directly if there is no response, however, this can be done when you are using Azure OpenAI with ChatGPT, and programmatically sending and receiving the response in a Q'n'A model.
Even in the cases where we need custom forms to be opened as a response, we need to create those forms and give a link in the document from where ChatGPT brings in the response and handle it programmatically in the code.
In case you come across any simpler solution, please share so that others can benefit from it.
@@AzureTrainingSeries It's been about a month since I am looking for a way to build QnA bot for large complex DB. No luck yet. If I find anything with Azure, I'll mention it in comment
GG sir thank you for this project 🫡🫡
Any time