Skip to content

Commit

Permalink
Merge branch 'master' into budgetreport
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-luke authored May 8, 2023
2 parents 61b09e8 + dc95959 commit ebbeb48
Show file tree
Hide file tree
Showing 5 changed files with 698 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github/workflows/ @Significant-Gravitas/Auto-GPT-Source
45 changes: 45 additions & 0 deletions docs/challenges/memory/challenge_c.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Memory Challenge C

**Status**: Current level to beat: level 2

**Command to try**:
```
pytest test/test_memory/test_memory_challenge_c.py::test_memory_challenge_c --level=2
``
## Description
The agent, Follow-Instructions-GPT, has the following goals:
- Use the command `read_file` to read the `instructions_1.txt` file.
- Follow the instructions in the `instructions_1.txt` file.
The challenge involves a series of text files containing instructions and silly phrases. The agent must follow the instructions and keep track of the task IDs as it progresses through the files.
## Files
- `instructions_1.txt`
The current phrase is "The purple elephant danced on a rainbow while eating a taco.".\n[NOISE intended to confuse the agent]
Read the file instructions_2.txt using the read_file command.
- `instructions_2.txt`
The current phrase is "The sneaky toaster stole my socks and ran away to Hawaii.".\n[NOISE intended to confuse the agent]
Read the file instructions_3.txt using the read_file command.
...and so on.
- `instructions_n.txt`
The current phrase is "My pet rock sings better than Beyoncé on Tuesdays."
Write all the phrases into the file output.txt. The file has not been created yet. After that, use the task_complete command.
## Objective
The objective of this challenge is to test the agent's ability to follow instructions and maintain memory of the task IDs throughout the process. The agent successfully completed this challenge if it wrote the phrases in a file.
This is presumably harder than task ids as the phrases are longer and more likely to be compressed as the agent does more work.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ nav:
- Introduction: challenges/memory/introduction.md
- Memory Challenge A: challenges/memory/challenge_a.md
- Memory Challenge B: challenges/memory/challenge_b.md
- Memory Challenge C: challenges/memory/challenge_c.md
- Information retrieval:
- Introduction: challenges/information_retrieval/introduction.md
- Information Retrieval Challenge A: challenges/information_retrieval/challenge_a.md
Expand Down
Loading

0 comments on commit ebbeb48

Please sign in to comment.