Microsoft has recently introduced a set of learning modules on the Azure OpenAI Service. These modules provide detailed info on Responsible AI, Models, Prompt Engineering, & other related topics.
Azure OpenAI Service provides REST API access to OpenAI’s powerful language models including the GPT-4, GPT-35-Turbo, and Embeddings model series. In addition, the new GPT-4 and GPT-35-turbo model series have now reached general availability. These models can be easily adapted to your specific task including but not limited to content generation, summarization, semantic search, and natural language to code translation. Users can access the service through REST APIs, Python SDK, or our web-based interface in the Azure OpenAI Studio.
At Microsoft, we’re committed to the advancement of AI driven by principles that put people first. Generative models such as the ones available in Azure OpenAI have significant potential benefits, but without careful design and thoughtful mitigations, such models have the potential to generate incorrect or even harmful content. Microsoft has made significant investments to help guard against abuse and unintended harm, which includes requiring applicants to show well-defined use cases, incorporating Microsoft’s principles for responsible AI use, building content filters to support customers, and providing responsible AI implementation guidance to onboarded customers.
Access is currently limited as we navigate high demand, upcoming product improvements, and Microsoft’s commitment to responsible AI.
For now, Microsoft’s working with customers with an existing partnership with Microsoft, lower-risk use cases, and those committed to incorporating mitigations.
More specific information is included in the application form. MS appreciate your patience as they work to responsibly enable broader access to Azure OpenAI.
Click here to apply for access.
The completions endpoint is the core component of the API service. This API provides access to the model’s text-in, text-out interface. Users simply need to provide an input prompt containing the English text command, and the model will generate a text completion.
Here’s an example of a simple prompt and completion:
Prompt: """ count to 5 in a for loop """
Completion: for i in range(1, 6): print(i)
Azure OpenAI processes text by breaking it down into tokens.
Azure OpenAI is a new product offering on Azure. You can get started with Azure OpenAI the same way as any other Azure product where you create a resource, or instance of the service, in your Azure Subscription. You can read more about Azure’s resource management design.
Once you create an Azure OpenAI Resource, you must deploy a model before you can start making API calls and generating text. This action can be done using the Deployment APIs. These APIs allow you to specify the model you wish to use.