File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using System ;
2+ using System . Net . WebSockets ;
3+ using System . Threading ;
4+ using System . Threading . Tasks ;
5+
6+ namespace Liquid . Core . GenAi . Interfaces
7+ {
8+ /// <summary>
9+ /// This service is the hub of Liquid adapter audio stream handlers for Generative AI.
10+ /// </summary>
11+ public interface ILiquidGenAiHandler
12+ {
13+ /// <summary>
14+ /// The task that manages receipt of incoming simplified protocol messages from the frontend client.
15+ /// </summary>
16+ /// <param name="socket"> The WebSocket connection to the client.</param>
17+ /// <param name="cancellationToken"></param>
18+ /// <returns></returns>
19+ /// <exception cref="InvalidOperationException"></exception>
20+ Task HandleInputMessagesAsync ( WebSocket socket , CancellationToken cancellationToken = default ) ;
21+
22+ /// <summary>
23+ /// The task that manages the incoming updates from realtime API messages and model responses.
24+ /// </summary>
25+ /// <param name="socket"> The WebSocket connection to the client.</param>
26+ /// <param name="cancellationToken"></param>
27+ /// <returns></returns>
28+ /// <exception cref="InvalidOperationException"></exception>
29+ Task HandleUpdatesFromServiceAsync ( WebSocket socket , CancellationToken cancellationToken = default ) ;
30+ }
31+ }
Original file line number Diff line number Diff line change 1010 <Copyright >Avanade 2019</Copyright >
1111 <PackageProjectUrl >https://github.com/Avanade/Liquid-Application-Framework</PackageProjectUrl >
1212 <PackageIcon >logo.png</PackageIcon >
13- <Version >8.0.0-rc-01 </Version >
13+ <Version >8.0.0</Version >
1414 <GenerateDocumentationFile >true</GenerateDocumentationFile >
1515 <ProjectGuid >{C33A89FC-4F4D-4274-8D0F-29456BA8F76B}</ProjectGuid >
1616 <IsPackable >true</IsPackable >
2424 <PackageReference Include =" FluentValidation" Version =" 11.9.2" />
2525 <PackageReference Include =" FluentValidation.DependencyInjectionExtensions" Version =" 11.9.2" />
2626 <PackageReference Include =" MediatR" Version =" 12.3.0" />
27- <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 8.0.0 " />
28- <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 8.0.1 " />
29- <PackageReference Include =" System.Memory.Data" Version =" 8.0.0 " />
27+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 8.0.1 " />
28+ <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 8.0.3 " />
29+ <PackageReference Include =" System.Memory.Data" Version =" 8.0.1 " />
3030 <PackageReference Include =" System.Net.Http" Version =" 4.3.4" />
3131 <PackageReference Include =" System.Text.Json" Version =" 8.0.5" />
3232 <PackageReference Include =" Microsoft.Extensions.Caching.Abstractions" Version =" 8.0.0" />
33- <PackageReference Include =" Microsoft.Extensions.Hosting.Abstractions" Version =" 8.0.0 " />
33+ <PackageReference Include =" Microsoft.Extensions.Hosting.Abstractions" Version =" 8.0.1 " />
3434 <PackageReference Include =" System.Text.RegularExpressions" Version =" 4.3.1" />
3535 </ItemGroup >
3636
You can’t perform that action at this time.
0 commit comments