[Chat completion API] Support tools and tool_choice#437
[Chat completion API] Support tools and tool_choice#437gdorsi44 wants to merge 3 commits intoTheoKanning:mainfrom
Conversation
|
Nice. Thanks. The unit test looks a bit lengthy. Just saying. |
Sure, I have simplified a bit the test. |
|
Hi all, is this PR being reviewed? will it be merged soon? I have a project that uses it to access the OpenAI-compatible Anyscale (anyscale.com). Regular chat completion works just fine, but function calling doesn't work. It does work on the real OpenAI. Also, function calling works on Anyscale when using the Python openai library. The reason is that the Anyscale, which has OpenAI-compatible API probably doesn't support the deprecated function calling syntax. I verified that the Python code uses the new syntax (tools, tool_choice), while openai-java uses the old one (functions, function_call). |
HI @the-gigi , this project seems to be not more maintained. |
|
The owner of this project has no activities in 2024.... |
See #424 for original issue request.
Thanks.