@Siegfried Heintze Thanks for reaching here!
While OpenAI and Azure OpenAI Service rely on a common Python client library, there are small changes you need to make to your code in order to swap back and forth between endpoints.
Here is a link to a Microsoft Learn article that explains how to switch between OpenAI and Azure OpenAI endpoints with Python. It provides detailed instructions on how to authenticate, use the appropriate API key, and make the necessary changes to your code to work across OpenAI and Azure OpenAI.
I hope this helps!
Additionally, I will reach out to content team for the doc bug.
Let us know if you have further questions.