azure-docs
azure-docs copied to clipboard
Quickstart doesn't work with API
Hello, this line gives an error: from azure.ai.anomalydetector.models import DetectRequest
There is a discrepancy between the version of anomalydetector and the API used - what is the correct API?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 884b5e88-48eb-c3ad-1995-7cd87339783b
- Version Independent ID: e06cfd58-46d0-200a-5967-c6a1a7276997
- Content: Quickstart: Anomaly detection using the Anomaly Detector client library - Azure Cognitive Services
- Content Source: articles/cognitive-services/Anomaly-Detector/quickstarts/client-libraries.md
- Service: cognitive-services
- Sub-service: anomaly-detector
- GitHub Login: @mrbullwinkle
- Microsoft Alias: mbullwin
@SumeetSandhu the engineering team just pushed a new version of the SDK last week and it looks like there are a few breaking changes in the docs. I will test to confirm later this week and update the docs as needed. Apologies for the inconvenience.
In the meantime the engineering team has updated samples for the latest release which can be found here: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/anomalydetector/azure-ai-anomalydetector/samples
Alternatively, the docs on this page were created/tested against the previous version of the SDK (3.0.0b5):
@SumeetSandhu Thanks for your feedback! We will investigate and update as appropriate.
Thanks @mrbullwinkle - the documentation works with 3.0.0b5 :)
looking forward to the updates for 3.0.0.b6 @RamanathanChinnappan-MSFT !
@SumeetSandhu
Thank you for bringing this to our attention. The author is working on it; once completed, the document will be updated soon.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.