Bump dependencies

This commit is contained in:
Tim Miller 2023-09-12 12:19:57 +09:00
parent dced651f8b
commit abeab9f0a1
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,5 @@
using Microsoft.SemanticKernel.AI.ChatCompletion;
using Microsoft.SemanticKernel.Orchestration;
using System.Runtime.CompilerServices;
using System.Text;
@ -6,6 +7,7 @@ namespace LLamaSharp.SemanticKernel.ChatCompletion;
internal sealed class LLamaSharpChatResult : IChatStreamingResult
{
private readonly ModelResult _modelResult;
private readonly IAsyncEnumerable<string> _stream;
/// <summary>
@ -15,7 +17,11 @@ internal sealed class LLamaSharpChatResult : IChatStreamingResult
public LLamaSharpChatResult(IAsyncEnumerable<string> stream)
{
_stream = stream;
this._modelResult = new ModelResult(stream);
}
public ModelResult ModelResult => this._modelResult;
/// <inheritdoc/>
public async Task<ChatMessageBase> GetChatMessageAsync(CancellationToken cancellationToken = default)
{

View File

@ -33,7 +33,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="0.21.230828.2-preview" />
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="0.24.230911.2-preview" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">