Settings

Theme

A generative AI extension for JupyterLab

github.com

3 points by amts 2 years ago · 4 comments

Reader

albert_e 2 years ago

Off topic

I am struggling to upgrade JupyterLab 3 to JupyerLab 4 on my local Anaconda base environment.

Feel frustrated by the amount of package management I need to do to keep my dev environment up to date.

I was going to spend this weekend installing and trying out the Jupyter AI plugin. Instead I tried and failed to upgrade jupyter and jupyterlab after spending hours on it.

I also tried this on Amazon Sagemaker Studio in my personal AWS account and ran into what looked like permissions issues preventing me from installing this extension.

  • amtsOP 2 years ago

    I updated conda with this: $ conda update -n base -c defaults conda

    Or to minimize the number of packages updated during conda update use

        $ conda install conda=23.7.3
    
    Or conda update -all

    But I thought using the openai API key for jupyter_ai will be free as with ChatGPT 3.5.

    • albert_e 2 years ago

      you can create a free account with OpenAI and generate an APi key for yourself

      you will get a free usage credit of $18 with new account

      this should allow you to use the APIs for light usage for a few days

      they will require you to setup a payment method or load prepaid credits to get access to some models like GPT-4 or go beyond the $18 credit or API limits imposed on free accounts

      note that this payment method and charges are just for APi usage (a few fractions of a cent per 1000 tokens) ... and is different from the ChatGPT Plus subscription that costs flat $20 per month

albert_e 2 years ago

Question --

Is there an equivalent extension for VS Code?

I have reduced the usage of JupyterLab for my personal projects ever since VS Code started supporting inline notebook cells in .py files using the #%% syntax.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection