Error In Jupyter AI

Hi Team

i am trying to install Jupyter Ai and i am getting below error

image

In logs i can see error → jupyter_ai | extension failed loading with message: ValueError(‘Failed to retrieve model’)

Request you to guide how we can resolve this error and reset the configuration of Jupyter AI.

Regards,
Akash

A couple of things you can try.

  1. install jupyterlab and jupyter-ai only and see if you still see this error. I see this error if installing both jupyter-ai and voila. So, there may be a version conflict in the dependency libraries, you can find it by installing your top-level libraries one at a time.

  2. try to move this file “C:\Users<User Name>\AppData\Roaming\jupyter\jupyter_ai\config.json” elsewhere and restart jupyterlab, which will create a new config.json file. The config file saves the model selection and keys. When I did not set up my models and keys correctly, I saw this error.

1 Like