Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Conversation

gdorsi44
Copy link

See #424 for original issue request.

Thanks.

@terryyin
Copy link

Nice. Thanks. The unit test looks a bit lengthy. Just saying.

@gdorsi44
Copy link
Author

Nice. Thanks. The unit test looks a bit lengthy. Just saying.

Sure, I have simplified a bit the test.

@the-gigi
Copy link

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).

@gdorsi44
Copy link
Author

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.
If you are interested you can review my fork and use it, let me know in case of difficulties.

@swumao
Copy link

swumao commented Feb 21, 2024

The owner of this project has no activities in 2024....
@Tudor44

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants