Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic prompt hacks to help with listing goals in a more concrete way #3723

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions autogpt/prompts/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,23 @@ def __init__(self) -> None:
self.response_format = {
"thoughts": {
"text": "thought",
"reasoning": "reasoning",
"plan": "- short bulleted\n- list that conveys\n- long-term plan",
"reasoning": "reasoning, such as what you need to validate before doing a command",
"plan": {
1: {
"command: ": "command name",
"Logic": "What this command will accomplish and how it relates to the goals and thoughts above."
},
2: {
"command: ": "next command name",
"Logic":
"What this second command will accomplish which in theory will be done after command 1 is done"
},
3: {
"command: ": "next command name",
"Logic":
"What this third command would do, there can be up to 8 planned commands."
}
},
"criticism": "constructive self-criticism",
"speak": "thoughts summary to say to user",
},
Expand Down