Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hello Jingyue IFun,
Thank you for reaching out on the Microsoft Q&A.
To use the OpenAI API from your console, make sure your Azure account has the Cognitive Services OpenAI Contributor role on the resource. This gives u permission to call AI services.
Next, authenticate your session with the Azure CLI using az login. This connects your console to your Azure account for authorized requests.
You can then call the Inference API (for generating text, embeddings, etc.) or the Ingestion API if u need to manage data.
Finally, always keep your API keys secure, storing them in Azure Key Vault is recommended instead of hardcoding them.
Following these steps lets u safely and smoothly configure the OpenAI API for network requests.
References:
If you feel that your quires have been resolved, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.
Thank you!