Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.56k stars 2.78k forks source link

LUIS and QnA Maker deprecated/retired, replaced by CLU and Custom QA #35561

Closed d-kleine closed 1 month ago

d-kleine commented 4 months ago

Is your feature request related to a problem? Please describe. As of 1st April, you cannot create new LUIS services anymore, it has been replaced by Conversational Language Understanding (CLU), see https://www.luis.ai/ grafik

Also QnA Maker is deprecated and has been replaced by Custom Question Answering, see https://www.qnamaker.ai/ grafik

Therefore, the Python code samples provided here don't work anymore.

Describe the solution you'd like We need updated Python code samples reflecting the transition from LUIS to CLU and from QnA Maker to Custom QA. This includes any necessary changes to the import statements, class instantiation, and method calls to ensure compatibility with the new services.

Describe alternatives you've considered One alternative is to manually modify the existing code samples to align with the changes in services. However, this approach is time-consuming and error-prone, especially for developers unfamiliar with the intricacies of the transition. Therefore, having officially updated Python code samples provided by Azure would greatly expedite the process for developers migrating to CLU and Custom QA.

github-actions[bot] commented 4 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bingisbestest @nerajput1607.

swathipil commented 4 months ago

Hi @d-kleine - Thanks for opening an issue! We'll take a look asap!

kristapratico commented 4 months ago

@d-kleine thanks for your issue. We're currently working on cleaning up deprecated libraries and documentation so that it's more clear which client libraries to use. Our libraries that target LUIS and QnAMaker will soon be deprecated:

LUIS: azure-cognitiveservices-language-luis QnAMaker: azure-cognitiveservices-knowledge-qnamaker

The libraries you should use for CLU and QA include the following:

CLU: azure-ai-language-conversations QA: azure-ai-language-questionanswering

Therefore, the Python code samples provided here don't work anymore.

For CLU, there is a sample that shows how to use the old LUIS service (sample_analyze_orchestration_app_luis_response.py) and we will remove it. The other samples should work with the current CLU service. Is there something you found that didn't work?

github-actions[bot] commented 4 months ago

Hi @d-kleine. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

d-kleine commented 4 months ago

Thanks! I was just asking to update these Azure SDK for Python samples to be working with CLU and Custom QA, along with an updated documentation and code comments.

I haven't tested it yet because the Python samples looked deprecated. I wanted to try to set up an QA Bot with Azure Bot with Python (as there are no Python samples in the BotBuilder Samples provided for that).

github-actions[bot] commented 3 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @bingisbestest @nerajput1607.

quentinRobinson commented 1 month ago

@d-kleine from my understanding you want an example of using CLU and Custom QA on an orchestration project. The samples you need are

The only sample that will be deprecated is the

But click here for more information on Orchestration workflow

github-actions[bot] commented 1 month ago

Hi @d-kleine. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

swathipil commented 1 month ago

Hi @d-kleine - Thanks for your patience! We're in the process of removing the deprecated sample_analyze_orchestration_app_luis_response.py sample to remove any confusion there.

We've also officially deprecated these packages:

github-actions[bot] commented 1 month ago

Hi @d-kleine. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.