Monday, September 16, 2024

OpenAI Function (API) Calling

Function Calling - OpenAI API

Learn how to connect large language models to external tools.

"Function calling allows you to connect models like gpt-4o to external tools and systems. This is useful for many things such as empowering AI assistants with capabilities, or building deep integrations between your applications and the models.

In August 2024, launched Structured Outputs. When you turn it on by setting strict: true, in your function definition, Structured Outputs ensures that the arguments generated by the model for a function call exactly match the JSON Schema you provided in the function definition."

No comments: