-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLamaSharp.SemanticKernel Abnormal conversation #273
Comments
If necessary system instructions are missing in the dialogue, the output format may indeed exceed the expected results. It seems that some preliminary prompt engineering needs to be done. I will take a closer look. |
|
I noticed that the current LlamaSharpChatCompletion interface is using LlamaSharp's InteractiveExecutor model, which is not very suitable for stateless IChatCompletion. I will change it to stateless mode in the near future. |
This issue may have been solved by #341, could you please try it again with the master branch? |
Since it's been a while and this was probably fixed by #341 I'll close this issue now. If it's still a problem please don't hesitate to re-open it! |
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>
The text was updated successfully, but these errors were encountered: