Function Calling and Other API Updates - OpenAI's 2023 API updates introducing function calling and other enhancements.
## Core Feature of OpenAI's July 2023 API Updates
The core feature introduced in OpenAI's July 2023 API updates is function calling, which allows models to generate JSON objects to interact with external tools based on developer-defined functions.
## Improvements to GPT-4 and GPT-3.5-Turbo Models
The GPT-4 and GPT-3.5-Turbo models were updated to improve instruction following, factual accuracy, and refusal behavior, making them more controllable and reliable.
## Significance of the 16k Context Version of GPT-3.5-Turbo
The 16k context version of GPT-3.5-Turbo allows for processing longer inputs, making it suitable for more complex tasks that require extended context.
## Cost Reductions in OpenAI's July 2023 API Updates
The July 2023 API updates reduced costs by lowering the price of embedding models by 75% and reducing the input token cost for GPT-3.5-Turbo by 25%.
## Function Calling Capability in OpenAI's API Updates
The function calling capability allows developers to send function descriptions to the model, which then generates a JSON object containing the necessary parameters to call the function, enabling integration with external tools.
## Security and Privacy Measures in OpenAI's July 2023 API Updates
The July 2023 API updates ensure data privacy and security by giving developers ownership of the generated outputs and ensuring that API data is not used for training models.
## Using Function Calling Capability in Applications
Developers can use the function calling capability by defining functions and sending their descriptions to the model, which generates JSON outputs. These outputs can then be parsed to execute the corresponding function calls, such as querying a database or triggering an external service.
## URL for Detailed Information on OpenAI's July 2023 API Updates
More detailed information on OpenAI's July 2023 API updates can be found at [https://openai.com/blog/function-calling-and-other-api-updates](https://openai.com/blog/function-calling-and-other-api-updates).
### Citation sources:
- [Function Calling and Other API Updates](https://openai.com/blog/function-calling-and-other-api-updates) - Official URL
Updated: 2025-03-27