🪄 Put magic in your Notebook w/ Jupyter-AI

adriens - Feb 14 - - Dev Community

❔ About

I recently saw this tweet on my thread:

👉 Quite immediately I was excited to give it a try.

Sometimes, you may need to seamlessly call various AI inferences... so it may look like en embedded pair-programming that keeps your notebook clean, compact, smart and still highly understandable** so people (including yourself) can focus on the storytelling.

🪝 Teaser

This notebook is dedicated to a (not so) short jupyterlab/jupyter-ai unboxing so anyone can enjoy this kind of magic (and much much more):

%%ai gpt4 -f markdown
Write a haiku about Python.
Enter fullscreen mode Exit fullscreen mode

.. and get the output in the next cell:

Python code so clean,
Logic flowing like a stream,
In data, we glean.
Enter fullscreen mode Exit fullscreen mode

🧙 Tricks you don't want to miss

... and many other cool tricks like:

🍿 Demo time

🔖 Resources

Image description

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .