The Auto-GPT Spoonacular Plugin
Follow these steps to configure the Auto-GPT Spoonacular Plugin:
Follow the instructions as per the Auto-GPT-Plugins/README.md
Find the file named .env.template
in the main /Auto-GPT
folder.
Duplicate the .env.template
file and rename the copy to .env
inside the /Auto-GPT
folder.
Open the .env
file in a text editor. Note: Files starting with a dot might be hidden by your operating system.
Append the following configuration settings to the end of the file:
################################################################################
### SPOONACULAR
################################################################################
SPOONACULAR_API_KEY=YOUR_API_KEY_HERE
In your .env
search for ALLOWLISTED_PLUGINS
and add this Plugin:
################################################################################
### ALLOWLISTED PLUGINS
################################################################################
#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
ALLOWLISTED_PLUGINS=AutoGPTSpoonacularPlugin
Experience the plugin's capabilities by testing it for recommending dishes and getting recipes.
- Configure Auto-GPT:
Set up Auto-GPT with the following parameters:
- Name:
ChefGPT
- Role:
Recommend
- Goals:
- Goal 1:
Ask user for query value
- Goal 2:
Search recipes by user query using spoonacular plugin
- Goal 3:
Ask user to select recipe id
- Goal 4:
Terminate
- Goal 1:
- Name:
A sample ai_settins.yaml
ai_goals:
- Ask user for query value
- Search recipes by user query using spoonacular plugin
- Ask user to select recipe id
- Get recipe instructions by user-provide recipe id
- Terminate
ai_name: ChefGPT
ai_role: Recommend
- Run Auto-GPT: Launch Auto-GPT, which should use spooncacular plugin to give dish recommendations and recipes.