Using Jupyter AI Labs
Explore JupyterAI with ease using the guide!

What can you do with Jupyter AI?
✔️ Generate code using generative AI models within Jupyter notebook kernels.
✔️ Chat with generative AI using a chat UI within Jupyter Lab.
✔️ Utilize various generative models including OpenAI, Hugging Face, Gemini, and more.
Try out Jupyter AI right now using the templates provided by runyour AI!
Step 1. Machine Rental / Template Selection

When you select your desired machine from the GPU Cloud list, you will proceed to the template selection step. Choose the jupyter-AI-Labs template and click the rent button at the top.
You can check the rented machine on My Page > Dashboard.
Step 2. Access to Jupyter Lab WebUI

If you click on the rented machine, you can check the SSH / Web UI access function and the PEM key download function.

Click the SSH / WEB button among the two buttons.

Among the two access methods, click the 'HTTP' > 'Jupyter Lab' button to access the Web UI directly.
Step 3. Utilize OpenAI API using Jupyter AI
1. Create Jupyter Notebook to use
Click the Notebook > Python 3 button on the screen and create a new notebook file.

2. Enter the following Code on the notebook file.
%reload_ext jupyter_ai
3. Enter the Key issued by OpenAI.
import os
os.environ['OPENAI_API_KEY']='enter the Key issued by OpenAI'
4. You can use the Chat GPT by using the following code.
Line Graph Example
%%ai chatgpt --format code
Demonstrate how to plot a line graph based on a pandas dataset, including sample data
Result

Scatter Graph Example
%%ai chatgpt --format code
Demonstrate how to plot a scatter graph based on a pandas dataset, including sample data
Result

Result

Last updated