Azure OpenAI
Azure OpenAI LLM is a cloud-based service from Microsoft that provides access to OpenAI's powerful large language models (LLMs). These AI systems can generate text, translate languages, write different kinds of creative content, and answer your questions in an informative way, all within the secure environment of Microsoft Azure.
Getting started with Azure OpenAI LLMs
Quicksteps- How to use Azure OpenAI LLM
-
Submit the Azure OpenAI Registration form
-
Create an instance in Azure portal.
-
Use Azure OpenAI studio to deploy the model.
Detailed steps to create Azure OpenAI LLM
-
Azure openAI requires registration and is currently only available to approved enterprise customers and partners.Submit the Registration form for approval.
-
Once the submitted form is approved, Navigate to Azure Portal and login.
-
Search for
Azure OpenAI
resource and click on create. If the resource is not listed,search in more services. -
Fill all the mandatory fields in
Basic
section as shown below. -
Choose the preferred option in the
Network
section as shown below. -
Enter the tag name if required, it's an option section.
-
Review the terms and create the resource.
-
After the creation of OpenAI resource, click on
Go to Resource
-
Click on
Click here to view Endpoints
and get theEndpoint
and theAPI Key
. -
To enable to resource, at least one model should be created. Click on the
Alert message shown
🞂Manage Deployments
, which navigates to Azure OpenAI Studio. -
Create new Deployment
as shown below. -
Get the
Model Name
andDeployment Name
.
Setting up the Azure OpenAI connector in Unstract
Now that we have all the required details, we can use it to set up an LLM profile on the Unstract platform. For this:
-
Sign in to the Unstract Platform
-
From the side navigation menu, choose
Settings
🞂LLMs
-
Click on the
New LLM Profile
button. -
From the list of LLMs, choose
AzureOpenAI
. You should see a dialog box where you enter details. -
For
Name
, enter a name for this connector -
For
Models
, enter the LLM model name used in the deployment.Refer step 12. -
For
Deployment Name
, enter the name provided for LLM deployment.Refer step 12. -
In
API Key
, enter the key created in the above section.Refer step 9. -
Leave
Max retries
,Timeout
,API Version
to their default values. -
In
Azure Endpoint
, enter the LLM deployed endpoint. Refer step 9. -
Click on
Test Connection
and ensure it succeeds. You can finally click onSubmit
and that should create a new LLM Profile for use in your Unstract projects.