ianarawjo / ChainForge

An open-source visual programming environment for battle-testing prompts to LLMs.
https://chainforge.ai/docs
MIT License
2.38k stars 181 forks source link

`functions` are deprecated by OpenAI #287

Open izziaraffaele opened 5 months ago

izziaraffaele commented 5 months ago

OpenAI deprecated functions a while ago. You should use tools instead: https://platform.openai.com/docs/api-reference/chat/create#chat-create-functions

To avoid breaking changes you could just switch using tools instead of functions under the hood.