Function
Represents a function for use by ChatGPT in a chat completion. A function is just like an API endpoint. ChatGPT will call the endpoint with parameters, and expect you, the developer, to respond with information.
This can be used to get the weather, get stock prices, set values in a database, etc. For more information and examples, check out the openai cookbook.