Skip to content
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

🐛 chatgpt not available anymore in 2.16.0 : _"Cannot determine model provider from model ID openai-chatgpt."_ #803

Closed
adriens opened this issue May 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@adriens
Copy link
Contributor

adriens commented May 22, 2024

Description

All OpenAI models seem like broken in '2.16.0

Open AI models have disappeared from %ai list , but here are the available alias :

image

image

Reproduce

image

Run the following code :

%%ai openai-chatgpt
Hello

Get the follwoing output :

Cannot determine model provider from model ID openai-chatgpt.

To see a list of models you can use, run %ai list

If you were trying to run a command, run %ai help to see a list of commands.

Expected behavior

It should answer.

Context

  • Operating System and version: Kaggle
  • Browser and version:N/A
  • JupyterLab version: N/A
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@adriens adriens added the bug Something isn't working label May 22, 2024
@adriens adriens changed the title 🐛 chatgpt not availables anymore in 2.16.0 : _"Cannot determine model provider from model ID openai-chatgpt."_ 🐛 chatgpt not available anymore in 2.16.0 : _"Cannot determine model provider from model ID openai-chatgpt."_ May 22, 2024
@adriens
Copy link
Contributor Author

adriens commented May 22, 2024

image

@3coins
Copy link
Collaborator

3coins commented May 24, 2024

@adriens
Make sure you have the langchain-openai package installed if you want to use OpenAI models. Also, you seem to using the wrong alias in your example here. These should work once you install the correct packages required.

%%ai chatgpt
Hello
%%ai gpt4
Hello

@adriens
Copy link
Contributor Author

adriens commented May 24, 2024

Working it on it roght now. I will let you know hopefully within a few minutes 🤞

@adriens
Copy link
Contributor Author

adriens commented May 24, 2024

btw, is openai still requried ?

@adriens
Copy link
Contributor Author

adriens commented May 24, 2024

It worked 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants