Azure Cognitive Services (Azure OpenAI) Models
To work with models through the Azure OpenAI service, follow these 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 your config.js file as endpoint and apiKey properties of your model.
Alternatively, instead of the endpoint property, you can also set the resource property based on the resource name you chose. With this property set, the endpoint will be constructed automatically.
Set the provider property to “openai”.
Set the cloud property to “azure”
Go to Manage Deployments.
Select Create Deployment.
Select desired model and model version; then give it a name. Supply this name as the model property in your 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.
For example:
models: {
"Azure OpenAI GPT-3.5": {
provider: "openai",
cloud: "azure",
model: "azure-gpt-35-0613",
resource: "profound-openai",
apiKey: "......",
apiVersion: "2023-12-01-preview"
}
}
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!