-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Example from readme not working #746
Comments
@jaanli Thanks for reaching out to us! It looks like you're running a line magic, starting with one percent sign (
I ran the prompt above in a new notebook with a newer version of the code than was used to create the sample notebooks. I got an HTML square, albeit with a warning about an obsolete module (see #394). Are you able to run the cell magic commands with the Anthropic model provider? |
Thanks so much @JasonWeill ! Yep, that's my bad on incorrectly transcribing the command from the screenshot -- appreciate you catching that. Updated: Now I am getting a more informative error:
|
Make sure you have the |
Yes! That works, thank you so much @JasonWeill !! Really excited to have gotten this working :) I guess it would be nice if the Readme used examples that were self-contained to help people get started with more of a WYSIWYG feel from the screenshot? I couldn't find the langchain requirement in the readme - https://github.com/jupyterlab/jupyter-ai Result (I guess there's still a warning): Will save a lot of time in debugging the dashboards I've been making, thank you 🙏 such as https://jaanli.github.io/new-york-real-estate/ |
Description
Hi! This is such a helpful library - thank you!
Unfortunately, cannot reproduce the Readme example: https://github.com/jupyterlab/jupyter-ai/blob/main/docs/source/_static/sample-html-math.png
Any tips on how to get this example working please? Need it for several projects I am blocked on.
Screenshot:
Attempt at reproduction leads to this trace:
Notebook:
https://github.com/jaanli/language-model-notebooks/blob/b90f6697a26f22ca3b5bcad74fd9aab63c655a48/notebooks/getting-started.ipynb
https://colab.research.google.com/github/jaanli/language-model-notebooks/blob/b90f6697a26f22ca3b5bcad74fd9aab63c655a48/notebooks/getting-started.ipynb
Screenshot:
Reproduce
jupyter lab notebooks/getting-started.ipynb
and open the jupyter lab in a browser.Expected behavior
The readme works
Context
Troubleshoot Output
Command Line Output
The text was updated successfully, but these errors were encountered: