Skip to content

Issues running the dotnet OpenAIRealtime sample #9858

Answered by dmytrostruk
vicperdana asked this question in Q&A
Discussion options

You must be logged in to vote

@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:

  1. Ensure that this code is used to initialize RealtimeConversationClient:
var client = new AzureOpenAIClient(
    endpoint: new Uri(azureOpenAIOptions.Endpoint),
    credential: new ApiKeyCredential(azureOpenAIOptions.ApiKey));

return client.GetRealtimeConversationClient(azureOpenAIOptions.DeploymentName);
  1. You need to use different credentials for realtime model, which you can find in Azure AI Foundry under deployment information:

  2. Ensure that valid credentials are used in runtime - sometimes it can be fetched from environment variables i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vicperdana
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants