chore: Update readme and template (#4480)

This commit is contained in:
Eric Dong
2026-03-24 09:42:45 -04:00
committed by GitHub
parent 3b5a8cad41
commit 28ce8f6d7a
3 changed files with 22 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# ![Google Cloud](https://avatars.githubusercontent.com/u/2810941?s=60&v=4) Google Cloud Vertex AI Samples # ![Google Cloud](https://avatars.githubusercontent.com/u/2810941?s=60&v=4) Google Cloud Vertex AI Samples
This repository contains notebooks, code samples, sample apps, and other resources that demonstrate how to use, develop and manage machine learning and generative AI workflows using Google Cloud Vertex AI. This repository contains notebooks, code samples, sample apps, skills, and other resources that demonstrate how to use, develop and manage machine learning and generative AI workflows using Google Cloud Vertex AI.
## Overview ## Overview
+7
View File
@@ -0,0 +1,7 @@
# Vertex AI Documentation
This directory contains deep-dive documentation, extended guides, and architectural references for Google Cloud Vertex AI infrastructure.
## Contents
- **`vertex-training-cluster/`**: Documentation and setup guides for configuring and managing Vertex AI training clusters.
+14 -5
View File
@@ -8,7 +8,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"# Copyright 2026 Google LLC\n", "# @title Copyright 2026 Google LLC\n",
"#\n", "#\n",
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"# you may not use this file except in compliance with the License.\n", "# you may not use this file except in compliance with the License.\n",
@@ -96,7 +96,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"! pip3 install --upgrade --quiet google-cloud-aiplatform" "! pip3 install --upgrade --quiet google-genai google-cloud-aiplatform"
] ]
}, },
{ {
@@ -119,7 +119,12 @@
"import os\n", "import os\n",
"import sys\n", "import sys\n",
"\n", "\n",
"import vertexai" "# Vertex AI SDK\n",
"# import vertexai\n",
"\n",
"# Gen AI SDK\n",
"# from google import genai\n",
"# from google.genai import types"
] ]
}, },
{ {
@@ -179,7 +184,7 @@
"id": "d95621cbf42f" "id": "d95621cbf42f"
}, },
"source": [ "source": [
"### Initialize Vertex AI SDK" "### Initialize Vertex AI SDK or Gen AI SDK"
] ]
}, },
{ {
@@ -190,7 +195,11 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"vertexai.init(project=PROJECT_ID, location=LOCATION)" "# Vertex AI SDK\n",
"# vertexai.init(project=PROJECT_ID, location=LOCATION)\n",
"\n",
"# Gen AI SDK\n",
"# client = genai.Client(vertexai=True, project=PROJECT_ID, location=LOCATION)"
] ]
}, },
{ {