Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 662 Bytes

File metadata and controls

31 lines (27 loc) · 662 Bytes

Migration-Example

  • This repository contains an example of migration of a Gemini API example from Python To Javascript using Deno and Jupyter notebook.

Prerequisites

  • Operating System: Windows, macOS, or Linux.
  • Jupyter: Jupyter Notebook or JupyterLab must be installed.

for macOS and Linux:

curl -fsSL https://deno.land/install.sh | sh

for windows Powershell

iwr https://deno.land/install.ps1 -useb | iex

Verify kernel installation

jupyter kernelspec list

Add dependencies using the deno.json file For example

{
    "imports": {
      "@google/genai": "npm:@google/genai"
    }
  }