Azure GPT: Integrate Azure OpenAI with LoyJoy
For your own Azure OpenAI deployment, you need an existing Azure enterprise account that you have access to. If your company already has a normal Azure account, you can simply use it for this guide.
This guide will do following steps:
- In your Azure account create Azure OpenAI.
- In Azure OpenAI add models for
gpt-4o
,gpt-4o-mini
andtext-embedding-ada-002
.
Step 1: Create Azure OpenAI
- In Azure type
OpenAI
into Azure search and selectAzure OpenAI
- Click button
Azure OpenAI
- The screen
Create Azure OpenAI
should show up.
- In Azure OpenAI > Basics
- Select a subscription and if necessary at
Resource group
clickCreate new
with arbitrary name such asopenai
- Select a region.
Sweden Central
is recommended for Europe, as it has the newest models. European regions other thanSweden Central
lackgpt-4o-mini
, which is required when enabling reranking in GPT Knowledge. You can check the list of available regions for model availability. - In name enter e.g.
companyname-openai
. - As pricing select
Standard S0
. - Click
Next
- Select a subscription and if necessary at
- In Azure OpenAI > Network keep the preselected value
All networks, including the internet, can access this resource.
and clickNext
- In Azure OpenAI > Tags click
Next
- In Azure OpenAI > Review + submit click
Create
Deployment is in progress
will show up. ThenYour deployment is complete
will show up.- Click
Go to resource
to open the deployment.
- Under menu item
Keys and Endpoint
you find access keys and an endpoint URL. Copy this data to send it to LoyJoy support team later.
Step 2: Deploy Models
To use Azure OpenAI, now models have to be deployed.
- In
Azure OpenAI
clickModel deployments
to open Azure OpenAI Service Studio. - Azure OpenAI Service Studio should open, optionally with a sign in screen. You might need to select your Azure subscription to proceed.
- In Azure OpenAI Service Studio open menu item
Deployments
.
Create following models:
- text-embedding-ada-002:
- Click
Create new deployment
. Selecttext-embedding-ada-002
in version2
and enter a name such ascompanyname-text-embedding-ada-002
.
- Click
- gpt-4o-mini:
- Click
Create new deployment
. Selectgpt-4o-mini
in versionStandard
and enter a name such ascompanyname-gpt-4o-mini
.
- Click
- gpt-4o:
- Click
Create new deployment
. Selectgpt-4o
in versionStandard
and enter a name such ascompanyname-gpt-4o
.
- Click
Step 3: Configuration in LoyJoy
To use the deployment in LoyJoy please select an Azure model and enter the following details:
- From step 3 one of the keys and the endpoint URL
- The model deployment names, in this example
companyname-text-embedding-ada-002
andcompanyname-gpt-4o
andcompanyname-gpt-4o-mini
.
Step 4: Fill out form "Modified Content Filters and Abuse Monitoring"
Optionally, you can request that Microsoft internally should turn off human abuse monitoring based on Microsoft internal staff.
To request this fill out this form.