The OpenAI announcement of the function call feature briefly mentions that this is how they have powered plugins in ChatGPT. However, their documentation or cookbook did not have any examples of how this can be done.<p>I took the opportunity to try to do this myself -- the ability to build plugins and integrate into an existing LLM app would be open up many use-cases.<p>This GitHub repo contains a toy chat app built in Flask. It has a simple interface defined for creating plugins with implementations of a web search, Python code interpreter, and web page scraper plugin.