AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Prompt file update for more specific command identification

Open robinicus opened this issue 2 years ago • 10 comments

Taking inspiration from the method that Langchain uses to instruct the bot on which tool to use, I've fleshed out each of the tools with a brief description to help the bot make a better decision. In testing it appears to work well and the bot seems to find its way to the goal faster.

robinicus avatar Apr 04 '23 13:04 robinicus

Fyi, here's what I was referring to regarding Langchain: https://python.langchain.com/en/latest/modules/agents/agents/examples/mrkl_chat.html - note their descriptions next to each tool.

robinicus avatar Apr 04 '23 13:04 robinicus

Recommended change in PR https://github.com/Torantulino/Auto-GPT/pull/170 to switch the command and thoughts.

ryanmac avatar Apr 05 '23 00:04 ryanmac

@robinicus This seems a very good idea. Did you see improvement in usage of this prompt ?

amauryfischer avatar Apr 05 '23 13:04 amauryfischer

The prompt did actually use to be like this, but I reduced it to reduce the token count. I suppose it's probably a good trade-off though.

Will Benchmark!

Torantulino avatar Apr 06 '23 09:04 Torantulino

Rebase against the current master, please.

nponeccop avatar Apr 09 '23 11:04 nponeccop

This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.

github-actions[bot] avatar Apr 17 '23 15:04 github-actions[bot]

This is a mass message from the AutoGPT core team. Our apologies for the ongoing delay in processing PRs. This is because we are re-architecting the AutoGPT core!

For more details (and for infor on joining our Discord), please refer to: https://github.com/Significant-Gravitas/Auto-GPT/wiki/Architecting

p-i- avatar May 05 '23 00:05 p-i-

@robinicus we're currently building challenges in order to measure the effect of these types of changes, and I would like to discuss with you.

Please join use on Discord through this link https://discord.gg/autogpt (if not already)

DM me on the Auto-GPT discord channel (my discord is merwanehamadi).

waynehamadi avatar May 05 '23 16:05 waynehamadi

I've fleshed out each of the tools with a brief description to help the bot make a better decision. In testing it appears to work well and the bot seems to find its way to the goal faster.

You might also want to take a look at the following recent comments (look at the summary that @valayDave come up with):

  • https://github.com/Significant-Gravitas/Auto-GPT/issues/2987#issuecomment-1528954237
  • https://github.com/Significant-Gravitas/Auto-GPT/issues/2987#issuecomment-1537055761
  • https://github.com/Significant-Gravitas/Auto-GPT/issues/2987#issuecomment-1536929354

Boostrix avatar May 06 '23 08:05 Boostrix

See:

#3954

Boostrix avatar May 08 '23 19:05 Boostrix

Closing in favor of #4683 and marking with fridge for future inspiration in case we need better command descriptions

Pwuts avatar Jun 14 '23 23:06 Pwuts