-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 💬 Update start task prompt * 💬 Add up to 5 steps
- Loading branch information
1 parent
efc478e
commit 8a9d968
Showing
2 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 💬 Prompts | ||
|
||
Prompts are what we use to dynamically align language model behaviour with the current agent goal / task. We primarily | ||
use `gpt-3.5-turbo` for our agents, and it has shown that its results are **heavily** influenced by the smallest details | ||
of its prompts. | ||
|
||
## Getting started with prompting | ||
|
||
- [Learn prompting](https://learnprompting.org/) | ||
- [Prompt engineering for developers](https://www.deeplearning.ai/short-courses/chatgpt-prompt-engineering-for-developers/) | ||
|
||
## Key terms | ||
|
||
- **One shot / two shot / N shot:** You provide 1, 2, N examples alongside your prompt to further increase model | ||
accuracy | ||
- **Zero shot:** You provide a prompt to a model directly (with no examples) | ||
|
||
## Techniques in AgentGPT | ||
|
||
### Plan and Solve | ||
|
||
[Plan and solve (PS)](https://arxiv.org/abs/2305.04091) builds upon chain of thought prompting, a prompting approach | ||
where simply asking a model for step-by-step instructions allows the model to more accurately reason about a problem. PS | ||
is a zero shot approach to increase accuracy in reasoning about abstract goals. In essence, it involves asking the model | ||
to: | ||
|
||
1. First understand the problem | ||
2. Extract relevant variables and corresponding values | ||
3. Devise a complete plan, **step by step** | ||
|
||
You can learn more through the paper's [GitHub repo](https://github.com/AGI-Edgerunners/Plan-and-Solve-Prompting). We | ||
leverage plan and solve prompting to generate our initial task list when the agent is first run. This technique is | ||
something similar to how BabyAGI operates. | ||
|
||
### ReAct | ||
|
||
ReAct stands for reasoning + action and is a flow for getting an agent to iteratively solve a problem. More docs coming | ||
soon! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8a9d968
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./docs
docs.reworkd.ai
docs-git-main-reworkd.vercel.app
docs-reworkd.vercel.app