Usage

After installing a Notebook Assistant we need to provide it with an OpenAI API key before being able to use it. To create an API key, one should set up an account on OpenAI. Once the key has been created, it can be set to be used by the Notebook Assistant by running

export OPENAI_API_KEY="<openai_key>"

in the environment in which the assistant is installed. Once this is done, we can simply spin up a Jupyter Lab Server by running

jupyter lab

This will start the server and, from the browser interface, we will be able to use the assistants from within a notebook by running the cell

import notebook_assistant

The same applies for all different flavours of the Notebook Assistant. This command will make a button appear in the top right corner of the interface and, by clicking it, we can open the tab in which the chat with the Assistant takes place.