Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5502723
Added consolidated quickstart versions of BasicVoiceAssistant sample …
goergenj Oct 29, 2025
d20a1ce
Update sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistant/consolid…
goergenj Oct 29, 2025
a3adad1
Update sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistant/consolid…
goergenj Oct 29, 2025
5b45252
Update sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistant/consolid…
goergenj Oct 29, 2025
65c7b57
Update azure-sdk-for-net.csproj
goergenj Oct 29, 2025
1973045
Update Program.cs
goergenj Oct 29, 2025
698a4af
Delete Program.cs
goergenj Oct 29, 2025
c1ddc59
Updated based on review comments
goergenj Oct 29, 2025
0c899b0
Updated based on review comments
goergenj Oct 29, 2025
dcd2242
Fixing comments from review, cleaning up unrequired files and fixing …
goergenj Oct 29, 2025
997eff0
Renamed consolidated learn docs quickstart versions and moved them up…
goergenj Oct 31, 2025
3be18d6
Fixed review comment.
goergenj Oct 31, 2025
957bfa2
Fixed review comment.
goergenj Oct 31, 2025
dc41415
Removed NAudio unapproved dependency package.
goergenj Oct 31, 2025
9d6f76d
Update sdk/ai/Azure.AI.VoiceLive/samples/.gitignore
goergenj Oct 31, 2025
8eb4d04
Update sdk/ai/Azure.AI.VoiceLive/samples/AgentVoiceAssistantQuickstar…
goergenj Oct 31, 2025
a81208d
Update sdk/ai/Azure.AI.VoiceLive/samples/AgentVoiceAssistantQuickstar…
goergenj Oct 31, 2025
b4f98ef
Update sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistantQuickstar…
goergenj Oct 31, 2025
a32cfcd
Update sdk/ai/Azure.AI.VoiceLive/samples/BasicVoiceAssistantQuickstar…
goergenj Oct 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,6 @@ TempTypeSpecFiles/

# Common toolchain intermediate files
temp

# Appsettings files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert. You should not be making changes outside of your /sdk directory.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reverted.

appsettings.json
2 changes: 2 additions & 0 deletions Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reverted.

11 changes: 11 additions & 0 deletions azure-sdk-for-net.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reverted.


<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>azure_sdk_for_net</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,5 @@ FodyWeavers.xsd

# Sensitive configuration
appsettings.Development.json
appsettings.Production.json
appsettings.Production.json
appsettings.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"VoiceLive": {
"ApiKey": "your-api-key-here",
"Endpoint": "wss://api.voicelive.com/v1",
"Model": "gpt-4o-realtime-preview",
"Voice": "en-US-AvaNeural",
"Endpoint": "https://your-resource-name.services.ai.azure.com/",
"Model": "gpt-realtime",
"Voice": "en-US-Ava:DragonHDLatestNeural",
"Instructions": "You are a helpful AI assistant. Respond naturally and conversationally. Keep your responses concise but engaging."
},
"Logging": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
x64/
build/
bld/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Visual Studio cache/options directory
.vs/

# MSBuild Binary and Structured Log
*.binlog

# NuGet Packages Directory
packages/
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*

# User settings and secrets
appsettings.development.json
appsettings.local.json
appsettings.json
*.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>BasicVoiceAssistantConsolidated</AssemblyName>
<RootNamespace>Azure.AI.VoiceLive.Samples</RootNamespace>
<IsSamplesProject>true</IsSamplesProject>
<SupportsNetStandard20>false</SupportsNetStandard20>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Azure.Identity" Version="1.12.1"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be more robust such that the repository central versions get used when building in the repo and you have fallback versions outside the repository.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated based on the version in parent folder present before now without the Version.

<PackageReference Include="NAudio" Version="2.2.1"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an approved dependency and may not be used in the repository. For consideration as an approved test/sample reference, please submit an email request to myself, Krzysztof Cwalina, Christopher Scott, and Scott Addie.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated based on the version in parent folder present before.

<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0"/>
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.1"/>
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.1"/>
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageReference Include="System.Threading.Channels" Version="8.0.0"/>
</ItemGroup>

<!-- Use project reference (works in the repository context) -->
<ItemGroup>
<ProjectReference Include="..\..\..\..\src\Azure.AI.VoiceLive.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<Target Name="OverwriteWithDevelopmentSettings" AfterTargets="Build" Condition="'$(Configuration)' == 'Debug'">
<Copy SourceFiles="appsettings.development.json"
DestinationFiles="$(OutputPath)appsettings.json"
OverwriteReadOnlyFiles="true"
Condition="Exists('appsettings.development.json')" />
</Target>

</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project>
<!-- Completely stop inheriting from any parent Directory.Build files -->
<PropertyGroup>
<ImportDirectoryBuildProps>false</ImportDirectoryBuildProps>
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
<ImportRepoCommonSettings>false</ImportRepoCommonSettings>
</PropertyGroup>

<!-- Basic properties for standalone project -->
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<IsSamplesProject>false</IsSamplesProject>
<RestorePackagesWithLockFile>false</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<!-- Use only the public NuGet.org feed for standalone distribution -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be removed. Only the approved root source may be used in this repository.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>
Loading
Loading