openai-cookbook
openai-cookbook copied to clipboard
Function call cookbook
trafficstars
Summary
Update function call cookbook with latest model and API specifications
Motivation
The function call cook book updated to newer model 'GPT-4o' and used the latest API specification to invoke the Chat Completions API with "role":"tool" (rather than using "role":"function")
All comments addressed! Thanks for reviewing :)