We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190aa0d commit 3512ed9Copy full SHA for 3512ed9
learn-pr/wwl-data-ai/ai-foundry-sdk/includes/04-chat-client.md
@@ -193,7 +193,8 @@ namespace my_foundry_client
193
194
// Get an Azure OpenAI chat client
195
ConnectionResponse connection = projectClient.GetConnectionsClient().GetDefaultConnection(ConnectionType.AzureOpenAI, withCredential: true);
196
- var connectionProperties = connection.Properties as ConnectionPropertiesApiKeyAuth; AzureOpenAIClient azureOpenAIClient = new(
+ var connectionProperties = connection.Properties as ConnectionPropertiesApiKeyAuth;
197
+ AzureOpenAIClient azureOpenAIClient = new(
198
new Uri(connectionProperties.Target),
199
new AzureKeyCredential(connectionProperties.Credentials.Key));
200
0 commit comments