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 .
).
Usage
- Check OpenPlugin's version with:
op --version
- Check system information:
op --system_info
- Install a plugin:
op install <plugin_name>
- Uninstall a plugin:
op install <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 ikun_plugin
- Install ikun_plugin:
op install ikun_plugin
- Start ikun_plugin:
op run ikun_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.2.tar.gz
(18.6 kB
view hashes)
Built Distribution
Close
Hashes for openplugin_py-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6cebb447b16ebc6881d760993d50f8d701e8c83d18e25d5bac2f235cf49bc86 |
|
MD5 | 31f3d4d2c95aa3baf1ac32c6ff7c3688 |
|
BLAKE2b-256 | 2cd5ade4f0202b6f70a2c893898df68419a3c62db1b21b0ca67f6f7814cb3794 |