Can I load a new Jupyter extension? and if so, How?

I want to try out the Jupyter AI extension. I tried pip install jupyter-ai, which completes. However I am expecting a new extension symbol to appear in the left sidebar, which it doesn’t, and the %%ai magic isn’t there, which leads me to the conclusion that I haven’t actually installed the extension. Is it possible for a user to do this, and if so, how? I am looking for a more integrated coding and AI interface

There are two types Jupyerlab extensions. Front-end (menus etc), and server extensions. Most extensions include both components.

The front-end extension can be installed after jupyterlab starts, and can show up if you refresh the page, as long they are installed in the environment running jupyterlab.

The server extension part however needs to be installed before jupyterlab starts, and hence a user cannot add them.

It looks like jupyter-ai has two parts. When I installed it and refreshed the page, I see the icon show up on the left side (front-end part), but it does not work, because it needs the server-side part, which needs to be installed before jupyter lab starts.

1 Like