Auto-GPT-Plugins icon indicating copy to clipboard operation
Auto-GPT-Plugins copied to clipboard

Add a Cache Wrapping Plugin to reduce requests from other plugins/commands

Open myramnath opened this issue 1 year ago • 3 comments

Can the queries to Google (or other search engines) be cached locally so that AutoGPT can use that locally. Is this already being done? If not, can this be done, so that the number of round trips to the search engine could be reduced?

myramnath avatar Apr 26 '23 14:04 myramnath

What is your goal with this?

ntindle avatar May 01 '23 01:05 ntindle

I second this issue. For me, AutoGPT / my PC sometimes randomly crashes. After booting up again, certain research tasks will have to be repeated although previously successfully performed. Having something like a 'savegame' locally, where AutoGPT could pick up again after being randomly interrupted and/or losing local or session specific memory data would be a nice failsafe to not run X commands again.

VMLVaske avatar May 01 '23 21:05 VMLVaske

Another use case is where AutoGPT sometimes gets stuck in a infinite loop with "do nothing"

In that case, it could help to use the local cache to get the queries already made earlier, that might save some resources?

myramnath avatar May 02 '23 04:05 myramnath