Closed
Description
Role conversion may fail due to capitalization reasons
var role = Enum.TryParse<global::LLama.Common.AuthorRole>(chat.Role.Label, out var _role) ? _role : global::LLama.Common.AuthorRole.Unknown;
Main problem: When I only send one message, it will result in multiple rounds of conversation, which I really don't understand here
project reference
<ItemGroup> <PackageReference Include="Microsoft.SemanticKernel" Version="1.0.0-beta5" /> <PackageReference Include="LLamaSharp" Version="0.7.0" /> <PackageReference Include="LLamaSharp.Backend.Cpu" Version="0.7.0" /> </ItemGroup>
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done