Azure (Azure OpenAI) Models
See Model Configuration for a full list of available model properties.
Overview
Use the procedure outlined below to configure and use Azure OpenAI services in Profound AI.
Steps
Go to https://portal.azure.com and sign in.
Search and select the Azure OpenAI service.
Click Create a Resource and follow the steps to create the resource.
Go to the resource you created and select Keys and Endpoint.
Copy those items into the config.js file as
endpointandapiKeyproperties of your model.Alternatively, instead of the
endpointproperty, you can also set theresourceproperty based on the resource name you chose.With this property set, the endpoint will be constructed automatically.
Set the
providerproperty toopenai.Set the
cloudproperty toazure.
Go to Manage Deployments.
Select Create Deployment.
Select desired model and model version and give it a name. Supply this name as the
modelproperty in the config.js file.Ensure the model and version you select supports function calling.
It may take a few minutes before the model is fully deployed and you are ready to try it.
Example
The example below shows a sample configuration for the azure-gpt-35-0613 model:
models: {
"Azure OpenAI GPT-3.5": {
provider: "openai",
cloud: "azure",
model: "azure-gpt-35-0613",
resource: "profound-openai",
apiKey: "......",
apiVersion: "2023-12-01-preview"
}
}