JupyterLab has unveiled its latest integration with Jupyter, allowing users to seamlessly harness the power of generative AI within Jupyter environments. This innovative tool introduces the %%ai magic, transforming Jupyter notebooks into reproducible AI platforms compatible with various interfaces like JupyterLab, Google Colab, and VSCode.
Here’s a short overview of its functions
The %%ai Magic Command:
By integrating this, one can potentially introduce AI functions into a notebook. It’s designed to be compatible across different platforms.
Conversational Element:
There’s a native chat UI in JupyterLab that presents the idea of interacting with an AI model conversationally.
Support for Various Models:
The tool claims compatibility with a range of AI providers like AI21, Anthropic, Cohere, Hugging Face, OpenAI, SageMaker, and more.
I’d love to hear your thoughts. Has anyone here experimented with it? If so, how was your experience? For those who haven’t, do you think this could be a useful addition to your toolkit?
Disclaimer: I want to clarify that I have no affiliation with Jupyter AI or any related products. I just found it interesting and thought it might be worth a discussion here.
Specify an endpoint name as the model ID. In addition, you must include the --region_name, --request_schema, and the --response_path arguments. For more information, see the documentation about SageMaker endpoints deployment and about using magic commands with SageMaker endpoints.
I’ve finally had some time to play around with this, and in the meantime, they’ve updated it quite a bit. It now has support for langchain and vector databases. So far, it seems very easy to use.