-
Notifications
You must be signed in to change notification settings - Fork 351
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
Adapts to SK Kernel Memory #226
Conversation
Add the LLamaSharp.KernelMemory project to the solution. This project includes classes for text embedding generation and text generation using the LLamaSharp library.
Added a project reference to LLama.KernelMemory in the LLama.Examples.csproj file. 🔧 Add KernelMemory class and update TestRunner Added a new class KernelMemory to the LLama.Examples.NewVersion namespace, which includes a Run method that demonstrates the usage of Semantic Kernel Memory. The class imports a sample PDF document and asks a question to the memory, displaying the answer and relevant sources. Updated the TestRunner class in the same namespace to include an option (choice 15) to run the KernelMemory example. 🔧 Fix typo in LLamaSharpTextEmbeddingGeneration class Fixed a typo in the LLamaSharpTextEmbeddingGeneration class where the LlamaSharpConfig variable was incorrectly named as LlamaSharpConfig. Added XML documentation for the LLamaSharpTextEmbeddingGeneration constructor, Dispose method, and GenerateEmbeddingsAsync method. Summary: - Added project reference to LLama.KernelMemory and LLama.SemanticKernel in LLama.Examples.csproj - Added KernelMemory class to demonstrate Semantic Kernel Memory usage - Updated TestRunner class to include option for running KernelMemory example - Fixed typo in LLamaSharpTextEmbeddingGeneration class - Added XML documentation for constructor, Dispose method, and GenerateEmbeddingsAsync method in LLamaSharpTextEmbeddingGeneration class
Thank you for the contribution! The example enables the document search for |
There are still some adjustments needed for the current adaptation work. After it is completed, I will try to add an example. |
LGTM, thank you for the contribution! |
Adapts to SK Kernel Memory (Semantic Memory)
closes #200