You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension. # Rebuild extension Typescript source after making changes Jupyter server extension enable jupyter_ai # Server extension must be manually installed in develop mode # Link your development version of the extension with JupyterLab # Clone the repo to your local environment # Change directory to the jupyter_ai directory # Install package in development mode The jlpm command is JupyterLab's pinned version of Note: You will need NodeJS to build the extension package. The extension UI, verify that the frontend extension is installed: jupyter labextension list If the server extension is installed and enabled, but you don't see That the server extension is enabled: jupyter server extension list If you can see the extension UI, but it is not working, check To remove the extension, execute: $ pip uninstall jupyter_ai With pip $ pip install jupyter_aiįirst, install conda and create an environment that uses Python 3.11: $ conda create -n jupyter-ai python=3.11 See our documentation for details about what you'll need. If you're using macOS on an Apple Silicon-based Mac (M1, M1 Pro, M2, etc.), we strongly recommend using conda.īefore you can use Jupyter AI, you will need to install any packages and set environment variables with API keys for the model providers that you will use. You can use conda or pip to install Jupyter AI. This extension is composed of a Python package named jupyter_aiįor the server extension and a NPM package named jupyter_ai
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |