Files
Auto-GPT/docs/challenges/information_retrieval/challenge_a.md
Reinier van der Leer dafbd11686 Rearrange tests & fix CI (#4596)
* Rearrange tests into unit/integration/challenge categories

* Fix linting + `tests.challenges` imports

* Fix obscured duplicate test in test_url_validation.py

* Move VCR conftest to tests.vcr

* Specify tests to run & their order (unit -> integration -> challenges) in CI

* Fail Docker CI when tests fail

* Fix import & linting errors in tests

* Fix `get_text_summary`

* Fix linting errors

* Clean up pytest args in CI

* Remove bogus tests from GoCodeo
2023-06-06 10:48:49 -07:00

778 B

Information Retrieval Challenge A

Status: Current level to beat: level 2

Command to try:

pytest -s tests/challenges/information_retrieval/test_information_retrieval_challenge_a.py --level=2

Description

The agent's goal is to find the revenue of Tesla:

  • level 1 asks the revenue of Tesla in 2022 and explicitly asks to search for 'tesla revenue 2022'
  • level 2 is identical but doesn't ask to search for 'tesla revenue 2022'
  • level 3 asks for tesla's revenue by year since its creation.

It should write the result in a file called output.txt.

The agent should be able to beat this test consistently (this is the hardest part).

Objective

The objective of this challenge is to test the agent's ability to retrieve information in a consistent way.