Not finding a reliable prompt to call MemoryPlugin #5833
-
Are there any settings in the Kernel that can affect how a MemoryPlugin would answer? If I call the a MemoryPlugin.AskAsync(prompt), I get back a reasonable answer. I followed some examples and setup a MemoryPlugin. In this example, both memoryResponse and response work: For this prompt & message, both AskAsync and InvokePromptAsync work
prompt: Question to Kernel Memory: What did the fox jump over? But when I change the message, it's hit-or-miss with the kernel.invokePromptAsync method.
prompt: Question to Kernel Memory: Describe the dissimilarity index for Horry County, SC Any ideas what I could tweak to get a better hit from memory when using kernel.InvokePromptAsync()? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
FWIW, I moved to using a Handlebars Planner and am finding results reliably now. |
Beta Was this translation helpful? Give feedback.
-
@henrystaples could you share a snippet of your code? i'm looking for something similar to your issue and not sure what you mean by handlebar planner? |
Beta Was this translation helpful? Give feedback.
FWIW, I moved to using a Handlebars Planner and am finding results reliably now.