mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
chore: Update readme and template (#4480)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#  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
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -8,7 +8,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Copyright 2026 Google LLC\n",
|
||||
"# @title Copyright 2026 Google LLC\n",
|
||||
"#\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",
|
||||
@@ -96,7 +96,7 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"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 sys\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"
|
||||
},
|
||||
"source": [
|
||||
"### Initialize Vertex AI SDK"
|
||||
"### Initialize Vertex AI SDK or Gen AI SDK"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -190,7 +195,11 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"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)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user