Azure OpenAI Services: Getting started.
Tags: azure
Published: 2023-04-08 11:38:27

---
title: Azure OpenAI Services: Getting started.
published: true
date: 2023-04-08 11:30:38 UTC
tags: azure
series: 101 - Azure OpenAI Services
canonical_url: https://the.cognitiveservices.ninja/azure-openai-services-getting-started
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fayomyhzh7bkomcjibpu.jpg
---
Photo by <a href="https://unsplash.com/@mikofilm?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Mike Kononov</a> on <a href="https://unsplash.com/photos/lFv0V3_2H6s?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
  

This is a first article of a series on Azure OpenAI Services. This article describes how to start and brings you directly to [Azure OpenAI Service Studio](https://oai.azure.com/).

![Figure: OpenAI on Azure Studio](https://cdn.hashnode.com/res/hashnode/image/upload/v1677934478984/ddcbe3b1-aa6c-44ac-a073-7c7ddb03ce6a.png)

Figure: Azure OpenAI Service Studio

## Background

OpenAI is an artificial intelligence research laboratory that develops general artificial intelligence (AI).

Azure OpenAI provides customers with a comprehensive, managed Artificial Intelligence (AI) service that enables developers and data scientists to access OpenAIs powerful language models, such as GPT-3 and Codex. GPT-3 models are utilized to analyze and generate natural language, while Codex models are used to analyze and generate code with accompanying plain text code commentary.

To generate content, the models are based on an autoregressive architecture, which means they analyze past observations to anticipate the most probable next word; the process is repeated by adding the newly generated content to the original text to achieve the ultimate generated outcome. The models can be applied to various tasks as the input text influences the response, making it straightforward to switch functions by altering the input text. The GPT-3 models are pre-trained with an array of publicly available free text data, which is procured from a combination of web crawling (a filtered version of Common Crawl, which includes a broad range of text from the web, making up sixty percent of the weighted pre-training dataset) and higher-quality datasets, for example, an enhanced version of the WebText dataset, two internet-based books corpora, and English-language Wikipedia. The Codex models are trained with both natural language and billions of lines of public code from GitHub. As the models are exposed to a wide range of data and knowledge and their capacity to generate dynamic content, special attention should be given to guarantee responsible use in applications. Please refer to their research papers for further information regarding OpenAIs GPT-3 and Codex training and modeling techniques.

Privacy is a second crucial factor to consider when using OpenAI. Azure OpenAI Services provides a secure environment for organizations to store and process data and offers additional security features such as encryption, authentication, and authorization. Azure OpenAI includes access control and data protection to ensure only authorized users can access the data. Furthermore, Azure OpenAI also provides data masking and anonymization to protect sensitive data from unauthorized access.

## Onboarding

### Request Access

Azure OpenAI Services are available via an application process when writing this article. You must ask for access to Azure OpenAI Services, and there are some prerequisites for you and your tenant to get authorized.

The quickest way to onboard is via [Azure OpenAI Services Studio](https://oai.azure.com).

- Log in to your tenant.

- Check access rights

![Figure: onboarding message](https://cdn.hashnode.com/res/hashnode/image/upload/v1677934961651/224e7ea3-ff32-4d49-84cd-56851ac83c54.png)
<figcaption>onboarding message</figcaption>

- [Request Access](https://aka.ms/oai/access)

![Figure: application form](https://cdn.hashnode.com/res/hashnode/image/upload/v1677935356096/25d5234a-b626-4bc7-a160-95114b380836.png)
<figcaption>application form</figcaption>

after your application, it could take some time to get your authorization.

### Creating a Ressource

After you receive your authorization, you can create a Ressource via Azure Market Place.

![Figure: Create Ressource](https://cdn.hashnode.com/res/hashnode/image/upload/v1677935581122/37107b5c-2aee-4b3b-8028-07a70cacebd6.png)
<figcaption>Create Ressource</figcaption>

## First steps

After getting access and creating your Ressource, you can explore Azure OpenAI Services Studio.

- Create a new deployment.

![Figure: Create a new deployment](https://cdn.hashnode.com/res/hashnode/image/upload/v1677935834009/8ae78ba3-e480-4bc8-a0d0-bcd1fc379f74.png)
<figcaption>Create a new deployment</figcaption>

- select DaVinci-003 as a start and create your deployment.

- after the creation, you can start with GPT-3 Playground

![Figure: door to playground](https://cdn.hashnode.com/res/hashnode/image/upload/v1677935939326/06865a37-2ca7-498c-8d96-d96995b7e1d7.png)
<figcaption>door to the playground</figcaption>

Start with, e.g., parsing unstructured data

![Figure: First experiment](https://cdn.hashnode.com/res/hashnode/image/upload/v1677936142659/1443911c-86a4-4517-a9a1-0a13e7bb594c.png)
<figcaption>First experiment</figcaption>

## Next steps

Within the following weeks, you will find in this blog a loose path of easy-to-follow experiments in this series.