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

No 'OpenAI' model in model selection. #719

Closed
TeeGitH opened this issue Apr 8, 2024 · 3 comments
Closed

No 'OpenAI' model in model selection. #719

TeeGitH opened this issue Apr 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@TeeGitH
Copy link

TeeGitH commented Apr 8, 2024

JupyterLab = 4.1.5
Jupyter-ai 2.13.0

There are no openai model in model selection. Thanks.

jupyter_ai

Description

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
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.
@TeeGitH TeeGitH added the bug Something isn't working label Apr 8, 2024
Copy link

welcome bot commented Apr 8, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@TeeGitH
Copy link
Author

TeeGitH commented Apr 8, 2024

I have found the solution. Basically some integrations in LangChain have been splited and that happens to be the cases for, example, langchain_openai , langchain_anthropicand some others. After installing these, all works fine. I captured some screenshots for clarification.
1  No AiExtension
2  No LangChain OpenAI
3  Langchain GitHub
4  pip install langchain_openai
5  langchain_openai installed
6  Here we go

@TeeGitH TeeGitH closed this as completed Apr 8, 2024
@logless
Copy link

logless commented Sep 28, 2024

None of the above worked for me. However, installing jupyter-ai using the following command:

pip install jupyter-ai[all]

solved all dependency issues.

Using pip install langchain-openai breaks new versions of jupyter-ai.

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