-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for OpenAI >= 1 #189
Conversation
I've tried to test, but I've got something else: pip uninstall keybert
pip install -U git+https://github.com/MaartenGr/KeyBERT@openai_fix Then I tried the following:
I've specified the model because the default is here the output:
If I specify to use model="gpt-3.5-turbo"
I get the following error:
|
@lfoppiano Have you set |
Not initially. Sorry. I just tried: client = openai.OpenAI()
lc_chatgpt = OpenAI(client, model="gpt-3.5-turbo", chat=True) I get a similar error:
Perhaps, using ChatCompletion, the responses should be extracted using |
@lfoppiano Thanks for trying it out! It seems that there is still some issue which I believe I just fixed. Could you test it? |
It works! 👍 Thanks! |
No description provided.