Closed
Description
Also aliased as functions
and function_call
in deprecated parameters.
https://platform.openai.com/docs/api-reference/chat/create#chat-create-tools
After #1756 is merged (thanks @Tostino!), it should be straightforward to add this as a core parameter to OpenAI compatible service. This will help unlock client libraries using similar interface. Do note that the underlying model need to support function calling (e.g. OpenHermes) and prompt engineering might be needed.
Also see @dongxiaolong's example here: #1756 (comment)