LLamaSharp/LLama.Unittest/SemanticKernel
xbotter a019b5cc24
📝 Update LLamaSharpChatCompletion and LLama.Unittest
- Updated LLamaSharpChatCompletion class in LLama.SemanticKernel/ChatCompletion/LLamaSharpChatCompletion.cs
  - Changed the type of the "_model" field from "StatelessExecutor" to "ILLamaExecutor"
  - Updated the constructor to accept an "ILLamaExecutor" parameter instead of a "StatelessExecutor" parameter
- Updated LLamaSharpChatCompletion class in LLama.SemanticKernel/LLamaSharp.SemanticKernel.csproj

- Updated LLama.Unittest project in LLama.Unittest/LLama.Unittest.csproj
  - Added a "PackageReference" for "Moq" version 4.20.70
- Added ExtensionMethodsTests class in LLama.Unittest/SemanticKernel/ExtensionMethodsTests.cs
  - Added tests for the "ToLLamaSharpChatHistory" and "ToLLamaSharpInferenceParams" extension methods
- Added LLamaSharpChatCompletionTests class in LLama.Unittest/SemanticKernel/LLamaSharpChatCompletionTests.cs
  - Added tests for the LLamaSharpChatCompletion class

ℹ️ The LLamaSharpChatCompletion class in the LLama.SemanticKernel project has been updated to use the ILLamaExecutor interface instead of the StatelessExecutor class. This change allows for better abstraction and flexibility in the implementation of the LLamaSharpChatCompletion class. The LLamaSharpChatCompletion class is responsible for providing chat completion functionality in the LLamaSharp project. The LLama.Unittest project has also been updated to include tests for the LLamaSharpChatCompletion class and the extension methods used by the class.
2024-03-18 21:49:52 +08:00
..
ChatRequestSettingsConverterTests.cs Unit tests added 2023-11-20 09:55:20 -06:00
ChatRequestSettingsTests.cs bump sk-1.0.0-rc4 2023-12-14 09:47:32 +08:00
ExtensionMethodsTests.cs 📝 Update LLamaSharpChatCompletion and LLama.Unittest 2024-03-18 21:49:52 +08:00
LLamaSharpChatCompletionTests.cs 📝 Update LLamaSharpChatCompletion and LLama.Unittest 2024-03-18 21:49:52 +08:00
LLamaSharpTextCompletionTests.cs 📝 Update LLamaSharpChatCompletion and LLama.Unittest 2024-03-18 21:49:52 +08:00