Tool-learning framework for extending language models with external tools
Top 17.4% on sourcepulse
BMTools provides an open-source framework for extending large language models with tools, inspired by ChatGPT Plugins. It enables users to easily build custom plugins using Python functions and integrate existing ChatGPT-compatible plugins, aiming to be an academic, open-source alternative.
How It Works
BMTools facilitates tool integration by converting Python functions into OpenAI-compatible plugin interfaces. It supports both single and multiple tool usage, allowing the language model to recursively call sub-APIs to solve complex queries. The framework emphasizes optimizing tool descriptions and function names for better AI model understanding and execution.
Quick Start & Requirements
pip install -r requirements.txt
and python setup.py develop
.CPM-Bee
and copy its src/cpm_live
to bmtools/models/
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify a license, which may impact commercial use or integration into closed-source projects. The setup for CPM-Bee integration is described as a manual copy operation.
1 year ago
1 day