Welcome to OpenPlugin!
[Github]
OpenPlugin is a toolkit for managing plugins of Large Language Model (LLM).
You can install, uninstall, run and list plugins with op .
Installation
pip install openplugin-py
Plugin Store
We provide plugins in Plugin Store . Users can download these plugins and use them with op .
Usage
Check OpenPlugin’s version with:
op --versionCheck system information:
op --system_infoInstall a plugin:
op install <plugin_name>. You can also install local plugins withop install ./.Uninstall a plugin:
op install <plugin_name>Start a plugin:
op run <plugin_name>. You can use-pto specify the port of the plugin. By default, the port is 5003. You can also run a local plugin withop run ./.List installed plugins:
op listReinstall plugin:
op reinstall <plugin_name>
An example for using QRcode_plugin
Install QRcode_plugin:
op install QRcode_pluginOr You can install QRcode_plugin from local:
Go to the directory of QRcode_plugin:
cd plugins/QRcode_pluginInstall QRcode_plugin:
op install ./
Start QRcode_plugin:
op run QRcode_plugin -p server_portOr you can start QRcode_plugin from local:
Go to the directory of QRcode_plugin:
cd plugins/QRcode_pluginStart QRcode_plugin:
op run ./ -p server_port
Then you can get the ai-plugin.json` file via visiting
http://<server_ip>:server_port/ai-plugin.jsonYou can get the
openaip.yamlfile via visitinghttp://<server_ip>:server_port/openaip.yaml
Plugins
We provide some source codes of plugins. You can find them in plugins . We call for contributions of plugins. You can fork our repo, add your plugin into plugins and submit a Pull Request.
Citing OpenPlugin
If our work has been helpful to you, please feel free to cite us:
@misc{openplugin2023,
title={OpenPlugin},
author={OpenRL Contributors},
publisher = {GitHub},
howpublished = {\url{https://github.com/OpenRL-Lab/OpenPlugin}},
year={2023},
}