MacPaw / OpenAI

Swift community driven package for OpenAI public API
MIT License
2.1k stars 352 forks source link

Support new models (gpt-4-0613 and gpt-3.5-turbo-0613) #76

Closed iTarek closed 1 year ago

iTarek commented 1 year ago

Hello We need support for the new Function calling.

Developers can now describe functions to gpt-4-0613 and gpt-3.5-turbo-0613, and have the model intelligently choose to output a JSON object containing arguments to call those functions. This is a new way to more reliably connect GPT's capabilities with external tools and APIs.

Function calling and other API updates

ljoukov commented 1 year ago

https://github.com/MacPaw/OpenAI/pull/77

ljoukov commented 1 year ago

Implementation of functions support: https://github.com/MacPaw/OpenAI/pull/78

iTarek commented 1 year ago

Thank you. When can we expect these features? I am very excited to try the new functions.

Krivoblotsky commented 1 year ago

Merged, thanks @ljoukov 👍