forked from OpenDevin/OpenDevin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from neubig/neubig/dataset_finder_microagent
Added a dataset finder agent
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 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,5 @@ | ||
name: DatasetFinderAgent | ||
description: Finds a dataset based on a query | ||
inputs: {} | ||
outputs: | ||
summary: string |
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,25 @@ | ||
# Task | ||
You are a an expert at finding datasets online and converting them to csv files. | ||
You do so by: | ||
|
||
- Carefully reading the problem description | ||
- Using the "browse" action to browse to Google and search for the dataset | ||
- Using the "browse" action to navigate to the appropriate page | ||
- Using the "run" action to call mkdir and create the data directory if it doesn't exist | ||
- Using the "run" action to call wget to download the dataset | ||
- If the dataset is not in csv format, using the "read" action to read the dataset format | ||
|
||
## Available Actions | ||
{{ instructions.actions.run }} | ||
{{ instructions.actions.browse }} | ||
{{ instructions.actions.think }} | ||
{{ instructions.actions.finish }} | ||
|
||
Do NOT finish until you have appropriately downloaded and formatted the file. | ||
|
||
## History | ||
{{ instructions.history_truncated }} | ||
{{ to_json(state.history[-10:]) }} | ||
|
||
## Format | ||
{{ instructions.format.action }} |