llm-client-sdk icon indicating copy to clipboard operation
llm-client-sdk copied to clipboard

Add OpenAI functions support

Open uripeled2 opened this issue 11 months ago • 0 comments

You can see here the openai-cookbook for using functions with openai-python. The biggest problem for adding support for it in OpenAIClient through chat_completion is that openai functions return an object containing the name of the function and the arguments and not just a string like in regular chat.

uripeled2 avatar Jul 22 '23 20:07 uripeled2