Skip to content

Commit

Permalink
Merge pull request #1 from neubig/neubig/dataset_finder_microagent
Browse files Browse the repository at this point in the history
Added a dataset finder agent
  • Loading branch information
neubig committed May 3, 2024
2 parents 2c3fd13 + b2fac84 commit 5ecc5d5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions agenthub/micro/dataset_finder/agent.yaml
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
25 changes: 25 additions & 0 deletions agenthub/micro/dataset_finder/prompt.md
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 }}

0 comments on commit 5ecc5d5

Please sign in to comment.