Skip to content

Commit 55f94b5

Browse files
.Net: Demo/process-framework-signalr (#12374)
### Motivation and Context This demo shows how to implement human-in-the-loop in Process Framework with SignalR. It is based on the ProcessWithCloudEvents one, readapting it to use SignalR. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 --------- Co-authored-by: Chris <[email protected]> Co-authored-by: Chris Rickman <[email protected]>
1 parent 9e37128 commit 55f94b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6418
-2
lines changed

dotnet/Directory.Packages.props

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<PackageVersion Include="Aspire.Azure.Search.Documents" Version="9.3.1" />
1010
<PackageVersion Include="Aspire.Hosting.AppHost" Version="9.3.1" />
1111
<PackageVersion Include="Aspire.Hosting.Azure.CognitiveServices" Version="9.3.1" />
12+
<PackageVersion Include="Aspire.Hosting.NodeJs" Version="9.3.1" />
13+
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Dapr" Version="9.3.0" />
14+
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.NodeJS.Extensions" Version="9.3.0" />
1215
<PackageVersion Include="Aspire.Hosting.Azure.Search" Version="9.3.1" />
1316
<PackageVersion Include="AWSSDK.BedrockAgent" Version="4.0.4.1" />
1417
<PackageVersion Include="AWSSDK.BedrockAgentRuntime" Version="4.0.4.10" />
@@ -48,6 +51,15 @@
4851
<PackageVersion Include="Markdig" Version="0.40.0" />
4952
<PackageVersion Include="Microsoft.Agents.CopilotStudio.Client" Version="1.1.107-beta" />
5053
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.13" />
54+
<PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="8.0.14" />
55+
<PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="2.0.0" />
56+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.3.0" />
57+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore"
58+
Version="2.0.0" />
59+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Storage.Queues"
60+
Version="5.5.0" />
61+
<PackageVersion Include="Microsoft.Azure.Functions.Worker.SDK" Version="2.0.0" />
62+
<PackageVersion Include="Microsoft.Azure.Kusto.Data" Version="12.2.8" />
5163
<PackageVersion Include="Microsoft.Azure.WebJobs.Extensions.OpenApi" Version="1.5.1" />
5264
<PackageVersion Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.3.2" />
5365
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.5" />
@@ -66,6 +78,7 @@
6678
<PackageVersion Include="Microsoft.SemanticKernel.Core" Version="1.58.0" />
6779
<PackageVersion Include="Microsoft.SemanticKernel.Planners.OpenAI" Version="1.47.0-preview" />
6880
<PackageVersion Include="Microsoft.VisualStudio.Threading" Version="17.12.19" />
81+
<PackageVersion Include="Microsoft.AspNetCore.SignalR.Client" Version="9.0.3" />
6982
<PackageVersion Include="ModelContextProtocol" Version="0.3.0-preview.2" />
7083
<PackageVersion Include="MSTest.TestFramework" Version="3.8.0" />
7184
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
@@ -106,7 +119,8 @@
106119
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
107120
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
108121
<PackageVersion Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.2" />
109-
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
122+
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables"
123+
Version="8.0.0" />
110124
<PackageVersion Include="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0" />
111125
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
112126
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.1" />
@@ -130,7 +144,7 @@
130144
<PackageVersion Include="Moq" Version="[4.18.4]" />
131145
<PackageVersion Include="FluentAssertions" Version="8.2.0" />
132146
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
133-
<PackageVersion Include="System.Threading.Channels" Version="8.0.0" />
147+
<PackageVersion Include="System.Threading.Channels" Version="9.0.3" />
134148
<PackageVersion Include="System.Threading.Tasks.Dataflow" Version="8.0.0" />
135149
<PackageVersion Include="xunit" Version="2.9.3" />
136150
<PackageVersion Include="xunit.abstractions" Version="2.0.3" />

dotnet/SK-dotnet.slnx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
<Project Path="samples/Demos/ProcessFrameworkWithAspire/ProcessFramework.Aspire/ProcessFramework.Aspire.SummaryAgent/ProcessFramework.Aspire.SummaryAgent.csproj" />
8080
<Project Path="samples/Demos/ProcessFrameworkWithAspire/ProcessFramework.Aspire/ProcessFramework.Aspire.TranslatorAgent/ProcessFramework.Aspire.TranslatorAgent.csproj" />
8181
</Folder>
82+
<Folder Name="/samples/Demos/ProcessFrameworkWithSignalR/" />
83+
<Folder Name="/samples/Demos/ProcessFrameworkWithSignalR/src/">
84+
<Project Path="samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.AppHost/ProcessFramework.Aspire.SignalR.AppHost.csproj" />
85+
<Project Path="samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ProcessOrchestrator/ProcessFramework.Aspire.SignalR.ProcessOrchestrator.csproj" />
86+
<Project Path="samples/Demos/ProcessFrameworkWithSignalR/src/ProcessFramework.Aspire.SignalR.ServiceDefaults/ProcessFramework.Aspire.SignalR.ServiceDefaults.csproj" />
87+
</Folder>
8288
<Folder Name="/samples/Demos/ProcessWithCloudEvents/">
8389
<File Path="samples/Demos/ProcessWithCloudEvents/README.md" />
8490
<Project Path="samples/Demos/ProcessWithCloudEvents/ProcessWithCloudEvents.Grpc/ProcessWithCloudEvents.Grpc.csproj" />

0 commit comments

Comments
 (0)