Toolkit and Collection for Plugins of Large Language Models
Project description
OpenPlugin
Toolkit for managing plugins of Large Language Model (LLM). You can install, uninstall, run and list plugins with op
.
Installation
pip install openplugin-py
(or clone this repo andpip install -e .
).
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 --version
- Check system information:
op --system_info
- Install a plugin:
op install <plugin_name>
. You can also install local plugins withop install ./
. - Uninstall a plugin:
op uninstall <plugin_name>
- Start a plugin:
op run <plugin_name>
. You can use-p
to specify the port of the plugin. By default, the port is 5003. - List installed plugins:
op list
- Reinstall plugin:
op reinstall <plugin_name>
An example for using QRcode_plugin
- Install QRcode_plugin:
op install QRcode_plugin
- Or You can install QRcode_plugin from local:
- Go to the directory of QRcode_plugin:
cd plugins/QRcode_plugin
- Install QRcode_plugin:
op install ./
- Go to the directory of QRcode_plugin:
- Start QRcode_plugin:
op run QRcode_plugin -p server_port
- Then you can get the
ai-plugin.json
file via visitinghttp://<server_ip>:server_port/ai-plugin.json
- You can get the
openaip.yaml
file 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},
}
Star History
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openplugin-py-0.0.3.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for openplugin_py-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0393496e21285fecccb4331dc529303a9435f4263c5e01d74766ec91a457990f |
|
MD5 | ce5408c98f30de0251a018ff102cc063 |
|
BLAKE2b-256 | 83bef2e8468b3f92e51525410d10a39876a09fbe1489acfaa65727eb55af2c13 |