Update plugin instructions and improve clarity
parent
000389c762
commit
9f6d6f32a6
27
README.md
27
README.md
|
@ -268,20 +268,39 @@ export CUSTOM_SEARCH_ENGINE_ID="YOUR_CUSTOM_SEARCH_ENGINE_ID"
|
||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
|
|
||||||
See https://github.com/Significant-Gravitas/Auto-GPT-Plugin-Template for the template of the plugins.
|
Use the [Auto-GPT Plugin Template](https://github.com/Significant-Gravitas/Auto-GPT-Plugin-Template) as a starting point for creating your own plugins.
|
||||||
|
|
||||||
⚠️💀 WARNING 💀⚠️: Review the code of any plugin you use, this allows for any Python to be executed and do malicious things. Like stealing your API keys.
|
⚠️💀 **WARNING** 💀⚠️: Review the code of any plugin you use thoroughly, as plugins can execute any Python code, potentially leading to malicious activities, such as stealing your API keys.
|
||||||
|
|
||||||
Drop the repo's zipfile in the plugins folder.
|
### Plugin Installation Steps
|
||||||
|
|
||||||
|
1. **Clone or download the plugin repository:**
|
||||||
|
Clone the plugin repository, or download the repository as a zip file.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If you add the plugins class name to the `ALLOWLISTED_PLUGINS` in the `.env` you will not be prompted otherwise you'll be warned before loading the plugin:
|
2. **Install the plugin's dependencies (if any):**
|
||||||
|
Navigate to the plugin's folder in your terminal, and run the following command to install any required dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Package the plugin as a Zip file:**
|
||||||
|
If you cloned the repository, compress the plugin folder as a Zip file.
|
||||||
|
|
||||||
|
4. **Copy the plugin's Zip file:**
|
||||||
|
Place the plugin's Zip file in the `plugins` folder of the Auto-GPT repository.
|
||||||
|
|
||||||
|
5. **Allowlist the plugin (optional):**
|
||||||
|
Add the plugin's class name to the `ALLOWLISTED_PLUGINS` in the `.env` file to avoid being prompted with a warning when loading the plugin:
|
||||||
|
|
||||||
```
|
```
|
||||||
ALLOWLISTED_PLUGINS=example-plugin1,example-plugin2,example-plugin3
|
ALLOWLISTED_PLUGINS=example-plugin1,example-plugin2,example-plugin3
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the plugin is not allowlisted, you will be warned before it's loaded.
|
||||||
|
|
||||||
## Setting Your Cache Type
|
## Setting Your Cache Type
|
||||||
|
|
||||||
By default, Auto-GPT is going to use LocalCache instead of redis or Pinecone.
|
By default, Auto-GPT is going to use LocalCache instead of redis or Pinecone.
|
||||||
|
|
Loading…
Reference in New Issue