Simplifies the integration of AI plugins and external tools into open-source large language models (LLMs).
PlugnPlai is an open-source Python library designed to streamline the process of connecting external AI plugins with large language models. It offers comprehensive utilities for discovering, loading, and managing plugins from a central directory, including fetching their manifests and OpenAPI specifications. The library facilitates dynamic interaction by enabling parsing of LLM responses for API calls, executing those calls, and even providing a decorator for seamless plugin application within LLM functions. It also supports plugin retrieval via a vector database, making it easier for LLMs to find and utilize relevant tools.