Skip to content

Commit

Permalink
improve readme (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaghbin-msft authored Feb 10, 2025
1 parent f25ba34 commit e6b34e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
var callbackUri = new Uri(new Uri(appBaseUrl), $"/api/callbacks/{Guid.NewGuid()}?callerId={callerId}");
logger.LogInformation($"Callback Url: {callbackUri}");
var websocketUri = appBaseUrl.Replace("https", "wss") + "/ws";
logger.LogInformation($"WebSocket Url: {callbackUri}");
logger.LogInformation($"WebSocket Url: {websocketUri}");

var mediaStreamingOptions = new MediaStreamingOptions(
new Uri(websocketUri),
Expand Down
12 changes: 6 additions & 6 deletions CallAutomation_AzOpenAI_Voice/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ This is a sample application demonstrated during Microsoft Ignite 2024. It highl
- Create an Azure account with an active subscription. For details, see [Create an account for free](https://azure.microsoft.com/free/)
- Create an Azure Communication Services resource. For details, see [Create an Azure Communication Resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource). You'll need to record your resource **connection string** for this sample.
- An Calling-enabled telephone number. [Get a phone number](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/get-phone-number?tabs=windows&pivots=platform-azp).
- Azure Dev Tunnels CLI. For details, see [Enable dev tunnel](https://docs.tunnels.api.visualstudio.com/cli)
- An Azure OpenAI Resource and Deployed Model. See [instructions](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal).

- Azure Dev Tunnels CLI. For details, see [Enable dev tunnel](https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows)
- Azure OpenAI Resource: Set up an Azure OpenAI resource by following the instructions in [Create and deploy an Azure OpenAI Service resource.](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal).
- Azure OpenAI Service Model: To use this sample, you must have the GPT-4o-Realtime-Preview model deployed. Follow the instructions at [GPT-4o Realtime API for speech and audio (Preview)](https://learn.microsoft.com/en-us/azure/ai-services/openai/realtime-audio-quickstart?tabs=keyless%2Cwindows&pivots=ai-foundry-portal) to set it up.

## Setup Instructions

Expand All @@ -39,9 +39,9 @@ Open the appsettings.json file to configure the following settings:

- `DevTunnelUri`: your dev tunnel endpoint
- `AcsConnectionString`: Azure Communication Service resource's connection string.
- `AzureOpenAIServiceKey`: Open AI's Service Key
- `AzureOpenAIServiceEndpoint`: Open AI's Service Endpoint
- `AzureOpenAIDeploymentModelName`: Open AI's Model name
- `AzureOpenAIServiceKey`: Open AI's Service Key. Refer to prerequisites section.
- `AzureOpenAIServiceEndpoint`: Open AI's Service Endpoint. Refer to prerequisites section.
- `AzureOpenAIDeploymentModelName`: Open AI's Model name. Refer to prerequisites section.

## Running the application

Expand Down

0 comments on commit e6b34e7

Please sign in to comment.