diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..5cb424448 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "Gemini Cookbook Dev Container", + "image": "mcr.microsoft.com/devcontainers/universal:2", + "waitFor": "onCreateCommand", + "updateContentCommand": "python3 -m pip install ipywidgets", + "customizations": { + "vscode": { + "extensions": [ + "ms-toolsai.jupyter", + "ms-python.python", + "eamodio.gitlens" + ] + } + }, + + "postCreateCommand": "sudo cp .devcontainer/welcome.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt" +} diff --git a/.devcontainer/welcome.txt b/.devcontainer/welcome.txt new file mode 100644 index 000000000..37aacd7fc --- /dev/null +++ b/.devcontainer/welcome.txt @@ -0,0 +1,6 @@ +👋 Welcome to the Gemini API Cookbook! This repo is a collection of all the guides and examples for the Gemini API. + - To get started, make sure you have an API Key from [Google AI + studio](https://aistudio.google.com/app/apikey) + - Note that the notebooks were written to run in Google Colab, so they may + not always work in Codespaces + - Check out the 'README.md' file to know more