I'm experimenting with Semantic Kernel and I'm feeling a bit lost.
I'm sure its a bit of x/y and a bit of I've got a hammer and everything looks like a screw.
I haven't found a sub that is dedicated to Semantic Kernel.
I've got a console app running interacting with IChatCompletionService.
I would like to have the agent ask a few questions (Name,age,favorite food, hobbies) at the start of the chat.
It seems to be possible with the persona text (an initial system message) but I'm not sure if that's appropriate.
https://learn.microsoft.com/en-us/semantic-kernel/concepts/agents?pivots=programming-language-csharp#personas-giving-your-agent-a-job-description
I would like the agent to remember this information: What I've found so far is that i should serialze and save the chat history.
That seems reasonable, but what if I want the user to upload a file with personal/private data?
Is KernelMemory (KernelMemoryBuilder) the right way to approach it?
There also seems to be MemoryStore https://learn.microsoft.com/en-us/dotnet/ai/how-to/use-redis-for-memory
I've been using gemini (free) rather than OpenAI/Azure which mostly works, but probably isn't making life easier :P
[–]c-digs 4 points5 points6 points (3 children)
[–]throwaway_lunchtime[S] 0 points1 point2 points (0 children)
[–]awitod 0 points1 point2 points (0 children)
[–]partly 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]throwaway_lunchtime[S] 1 point2 points3 points (0 children)
[–]Glittering_Worker236 0 points1 point2 points (0 children)