DEV Community

Cover image for ๐Ÿช„ Put magic in your Notebook w/ Jupyter-AI
adriens
adriens

Posted on

๐Ÿช„ Put magic in your Notebook w/ Jupyter-AI

โ” 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

Top comments (10)

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •
Collapse
 
adriens profile image
adriens •

Add Kaggle to supported platforms #577

โ” About

I discovered your tool thanks to a tweet and wanted to give it a try before to use it for some data-story-tellings. I use Kaggle for my blogs, and gave a (succcessful try. Si I thought it could be interesting to mention Kaggle as a supported platform.

๐Ÿ‘‰ This PR adds Kaggle as a supported platform.

๐Ÿ”– Resources

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •

Collapse
 
adriens profile image
adriens •