Skip to content

Add 'SaveAsync' Function to TextMemorySkill - #6

Merged
Devis Lucato (dluc) merged 6 commits into
microsoft:mainfrom
awharrison-28:add_save_function_to_textmemoryskill
Mar 1, 2023
Merged

Add 'SaveAsync' Function to TextMemorySkill#6
Devis Lucato (dluc) merged 6 commits into
microsoft:mainfrom
awharrison-28:add_save_function_to_textmemoryskill

Conversation

@awharrison-28

@awharrison-28 Abby Harrison (awharrison-28) commented Mar 1, 2023

Copy link
Copy Markdown
Contributor

Motivation and Context

Currently, semantic memory can only be added to directly through the kernel. Users should be able to save information to semantic memory using TextMemorySkill.

Description

Added the semantic function SaveAsync to TextMemorySkill.

Additionally updated Example15_MemorySkill to demonstrate how to use the new functionality. I manually verified that the example output remains unchanged.

Contribution Checklist

Comment thread dotnet/src/SemanticKernel/CoreSkills/TextMemorySkill.cs Outdated
Comment thread dotnet/src/SemanticKernel/CoreSkills/TextMemorySkill.cs Outdated
Comment thread dotnet/src/SemanticKernel/CoreSkills/TextMemorySkill.cs Outdated
Comment thread samples/dotnet/kernel-syntax-examples/Example15_MemorySkill.cs Outdated
Comment thread samples/dotnet/kernel-syntax-examples/Example15_MemorySkill.cs Outdated
Comment thread dotnet/src/SemanticKernel/CoreSkills/TextMemorySkill.cs Outdated
…ext parameter -> context variable; added 'save' to skill capabilities description
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: ready for review All feedback addressed, ready for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants