Compare functions to plugins


What are the difference in the use case for creating and using functions and plugins? They both can be used to call external systems.

The difference is:

Plugins are solely for the ChatGPT User Interface.
Functions are for local or remote systems outside of ChatGPT.

But you can use functions also in utilizing plugin development whereas you can not directly access plugins from the API.


Plugins work for chat, where OpenAI owns the UI.
Functions for in the API, where you are responsible for the UI/api to an external app


And what is in it so interesting when we have been able to do similar things with LangChain tools? Isn’t it the same but encapsulated in the OpenAI API call?