Integrate Flask API with Azure QnA Maker.

Aakash Yadav 0 Reputation points
2024-06-13T13:57:51.8066667+00:00

Hello Team,

The problem statement is that I need to answer user questions based on data stored in the SQL Databse(Project management-related data). I can't use the Open AI service from Azure and I have also already tried the Azure search service but the accuracy is not good.

So I have used lang chain to create a solution and then integrated it as an API and deployed it in the Azure web app service.

Now I want to create a chatbot that can consume this Flask API and respond to user questions.

I also tried Azure QnA maker but didn't find a way to integrate that with Flask API.

Can you please let me how I can achieve this?

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
383 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,269 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YutongTie-MSFT 48,001 Reputation points
    2024-06-14T08:44:51.8966667+00:00

    Hello Askash,

    Thanks for reaching out to us, I think you can try Azure AI Language Service to achieve your goal, please check on below document - https://video2.skills-academy.com/en-us/azure/ai-services/language-service/conversational-language-understanding/quickstart?pivots=language-studio

    https://video2.skills-academy.com/en-us/azure/ai-services/language-service/conversational-language-understanding/overview#human-assistant-bots

    After training your model, you can deploy it then you should be able to use it.

    I hope this helps.

    Regards,

    Yutong

    -Please kindly accept the answer if you feel helpful to support the community, thanks a lot.

    0 comments No comments