Skip to content

Commit

Permalink
Add .NET LLM Voice Assistant demo (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
picoliu authored Feb 27, 2025
1 parent b0f81a0 commit 4a1391f
Show file tree
Hide file tree
Showing 9 changed files with 1,333 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/dotnet-codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: .NET Codestyle

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'recipes/llm-voice-assistant/dotnet/**/*.cs'
- '.github/workflows/dotnet-codestyle.yml'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- 'recipes/llm-voice-assistant/dotnet/**/*.cs'
- '.github/workflows/dotnet-codestyle.yml'

jobs:
check-dotnet-codestyle:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Run Binding Codestyle
run: dotnet format --verify-no-changes
working-directory: recipes/llm-voice-assistant/dotnet
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.idea
.idea
.DS_Store
373 changes: 373 additions & 0 deletions recipes/llm-voice-assistant/dotnet/.editorconfig

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions recipes/llm-voice-assistant/dotnet/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.vs
LLMVoiceAssistant/bin/**
LLMVoiceAssistant/obj/**
LLMVoiceAssistant/Properties/**
*.user
24 changes: 24 additions & 0 deletions recipes/llm-voice-assistant/dotnet/LLMVoiceAssistant.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.2.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LLMVoiceAssistant", "LLMVoiceAssistant\LLMVoiceAssistant.csproj", "{607FFBED-79C4-8BF7-233D-1F2730A604E4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{607FFBED-79C4-8BF7-233D-1F2730A604E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{607FFBED-79C4-8BF7-233D-1F2730A604E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{607FFBED-79C4-8BF7-233D-1F2730A604E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{607FFBED-79C4-8BF7-233D-1F2730A604E4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8CA81F63-8956-4A72-AACF-3A8733FC4C80}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="picollm" Version="1.2.1" />
<PackageReference Include="Picovoice.Cheetah" Version="2.1.2" />
<PackageReference Include="Picovoice.Orca" Version="1.1.0" />
<PackageReference Include="Porcupine" Version="3.0.6" />
<PackageReference Include="pvrecorder" Version="1.2.10" />
<PackageReference Include="pvspeaker" Version="1.0.2" />
</ItemGroup>

</Project>
Loading

0 comments on commit 4a1391f

Please sign in to comment.