You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Option 2: Using Azure OpenAI/AI Services deployments
73
+
74
+
If you want to use deployments from your Azure OpenAI or AI Services accounts, you first need to connect these resources to your Foundry project through connections.
75
+
76
+
1.**Create a connection**: Follow the instructions in [Configure project connections](../configure-project-connection.md?pivots=ai-foundry-portal#add-a-connection) to connect your Azure OpenAI or AI Services resource to your Foundry project.
77
+
78
+
2.**Get the connection name**: After connecting the account, you'll see the connection created with a generated name in your Foundry project.
79
+
80
+
3.**Configure the target**: Use the format `"connectionName/deploymentName"` for your model deployment configuration:
- Replace `{{account}}`, `{{project}}` with Foundry Project account name and project name.
99
137
- Replace `{{ai_token}}` with Bearer token with audience "<https://ai.azure.com>"
100
-
- Replace `"{{connectionName}}"` with the Azure OpenAI model connection name connected to the Foundry project account.
101
-
- Replace `"{{deploymentName}}"` with the Azure OpenAI deployment name of the AOAI connection account.
138
+
-For Option 1 (Foundry project deployments): Replace `"{{connectionName}}/{{deploymentName}}"` with just `"{{deploymentName}}"` (your model deployment name).
139
+
-For Option 2 (Azure OpenAI/AI Services deployments): Replace `"{{connectionName}}"` with the Azure OpenAI model connection name connected to the Foundry project account, and replace `"{{deploymentName}}"` with the Azure OpenAI deployment name of the Azure OpenAI connection account.
0 commit comments