Before you can deploy the application, you need to have an OpenAI or Azure OpenAI instance. This instance will provide the AI capabilities required by the application. Below are the steps to create an OpenAI or Azure OpenAI instance.
See pricing details here
-
Sign Up for OpenAI:
- Go to the OpenAI website.
- Login or sign in (you can use your ChatGPT account)
- You will need a phone number to confirm your account.
-
Create the project
- Click on Create a new project.
- Give it an identifiable name and click create.
-
Add billing details
- On the top bar on the right, click on your profile.
- Click on
Billing
on the left panel. - Add your payment details.
-
Get API Key:
- On the top bar on the right, click on your profile.
- Click on
API keys
on the left panel. - Click on
+ Create new secret key
on the top right. - Give it an identifiable name and select the project you created.
- Click
Create secret key
. - Copy your key and store it safely. It won't show again and if lost you'll need to create a new one.
- Use these to configure your access when deploying intelligence-toolkit app or using the
Settings
page.
See pricing details here
-
Log in to the Azure portal:
- Go to the Azure portal.
- If you don't have an account, click on "Create one" and follow the steps to set up your account.
- Go to the Azure portal.
-
Create the resource:
- Click on "Create a resource" and search for "Azure OpenAI".
- Select "Azure OpenAI Service" and click "Create".
- Fill in the required details (subscription, resource group, region, etc.).
- Click next until the Review + submit step.
- If validation passes, click create.
-
Deploy the models:
- Go to the resource page.
- Click on
Go to Azure AI Foundry portal
- Click on
Deployments
on the left panel. - Create the AI model
- Click on
Deploy model
andDeploy base model
. - Choose
gpt-4o-mini
thenConfirm
andDeploy
- Click on
- Create the embedding model
- Click on
Deploy model
andDeploy base model
. - Choose
text-embedding-3-small
thenConfirm
andDeploy
- Click on
-
Get the Azure OpenAI key:
- In the resource page on Azure portal, go to "Keys and Endpoint" section.
- Copy one of the keys (KEY 1 or KEY 2) and Endpoint URL.
- Use these to configure your access when deploying intelligence-toolkit app or using the
Settings
page.