Giter Site home page Giter Site logo

juno's Introduction

juno

Juno is an AI collaborator for your Jupyter notebooks. Ask juno to write full cells of code and answer questions about your data. Juno understands your notebook context, and can even auto-debug your code as you go.

Demo May 20th 2023

juno-demo.mp4

Getting Started Guide

To use Juno, you need to install the Juno package.

pip install juno-ai

Or you can also install directly from your Jupyter notebook.

%pip install juno-ai

Load the extension

Load the extension into your current Jupyter notebook.

%load_ext juno

For those new to Jupyter extensions, note you must load the extension at the top of each notebook.

Using Juno

You can ask Juno to write code for you by running %juno followed by your prompt in a cell.

It can write functions, create plots, or do data analysis in pandas. It knows about the variables you have defined in your notebook, so you ask it to work with your data without giving additional context.

For example, you can ask it to sample a random number from 1-10 by running the following cell:

%juno sample a random from 1-10

And Juno will write the following code for you:

import random

# sample a random number from 1-10
random_number = random.randint(1, 10)
random_number

You can also ask Juno to edit code for you by clicking the โœŽ button, adding a prompt after %edit text, and running the cell. For example, you could ask it to sample from 1-100 instead and run the cell to have Juno edit the cell above:

# %edit sample from 1-100 instead
import random

# sample a random number from 1-100
random_number = random.randint(1, 100)
random_number

Finally, you can also use Juno to help debug errors in your code. Anytime you run into an exception in your Jupyter notebook, a Debug button will appear. When you click it, Juno will take a look at your error and try to fix it in a new cell.

Thanks for trying Juno! If you have any questions or feedback, please reach out to us at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.