Confirmations for new pattern after semantic-kernel==0.9.2b1 #5592
Closed
HuskyDanny
started this conversation in
General
Replies: 2 comments 3 replies
-
Hi @HuskyDanny,
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @eavanvalkenburg, I did try your first proposal where the default TextMemoryPlugin would json dumps the memory records to pure string which makes it harder to reformat. Can we add more abstractions to the default TextMemoryPlugin's recall function where recall() would call internal functions fetch() and parse() So I could just extend a class to overwrite the parse() function for my case? I could make the change to the TextMemoryPlugin, what do you think? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The change is quite different from 0.5.1. I have followed the blog and sample code to rewrite my own, even though it finally worked, I feel something is weird. So posting here to share my way of doing it and would like to know what is the recommended way to do it. More will be added...
Right now I would do this everytime for a function to be invoked, not sure if this is the design to explicitly set which service to use?
If so, how can we set it right in the config.json to save the extra code redundancy.
2. Separate system_message and user_message for prompt skill.
For more info : #5547
3. Now we need to handle memory itself?
So I get it from the blog that now memory is used as plugin
And you can call it directly in the prompt:
The problem is I might need to parse the result and reorganize it of the result of recall. There is no direct support for this, but here are some work around:
Beta Was this translation helpful? Give feedback.
All reactions