Issues running the dotnet OpenAIRealtime sample #9858
-
Hi, I am getting this error when running the OpenAIRealtime sample, I've deployed AzOpenAI
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@vicperdana Thanks for reporting this issue! I just checked and the example is working as expected for me with Azure deployment. A couple of notes:
var client = new AzureOpenAIClient(
endpoint: new Uri(azureOpenAIOptions.Endpoint),
credential: new ApiKeyCredential(azureOpenAIOptions.ApiKey));
return client.GetRealtimeConversationClient(azureOpenAIOptions.DeploymentName);
Please let me know if that helps, thanks! |
Beta Was this translation helpful? Give feedback.
@vicperdana Thanks for reporting this issue! I just checked and the example is working as expected for me with Azure deployment. A couple of notes:
RealtimeConversationClient
:You need to use different credentials for realtime model, which you can find in Azure AI Foundry under deployment information:
Ensure that valid credentials are used in runtime - sometimes it can be fetched from environment variables i…