Browse Source

Bump dependencies

tags/v0.6.0
Tim Miller 2 years ago
parent
commit
abeab9f0a1
2 changed files with 7 additions and 1 deletions
  1. +6
    -0
      LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs
  2. +1
    -1
      LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj

+ 6
- 0
LLama.SemanticKernel/ChatCompletion/LLamaSharpChatResult.cs 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)
{


+ 1
- 1
LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj 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'">


Loading…
Cancel
Save