Skip to content

Commit cd43fa0

Browse files
Create new READMEs for top level directories
1 parent 5709da5 commit cd43fa0

9 files changed

Lines changed: 75 additions & 87 deletions

File tree

.cloud-build/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Cloud Build
2+
3+
This directory contains files related to Google Cloud Build, including build configurations, scripts, and related resources.
4+
5+
Cloud Build is a service that executes your builds on Google Cloud Platform infrastructure. You can use it to build, test, and deploy applications.
6+
7+
The files in this directory are used to define and customize the build process for projects within this repository.

.github/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GitHub Configuration
2+
3+
This directory contains GitHub-specific configuration files for the repository.
4+
5+
These files include:
6+
- **Issue templates**: Standard templates for reporting bugs or requesting features.
7+
- **Workflow definitions**: Automated processes using GitHub Actions for tasks like linting, testing, and deploying.
8+
- **CODEOWNERS**: Specifies individuals or teams responsible for code in different parts of the repository.
9+
- Other GitHub-related settings and configurations.

audio/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Audio Processing
2+
3+
This directory contains resources and examples related to audio processing on Google Cloud.
4+
5+
It includes materials for various audio tasks, such as:
6+
- **Speech Recognition**: Converting spoken language into text.
7+
- **Speech Synthesis**: Generating human-like speech from text.
8+
- Other audio analysis and manipulation tools and techniques.
9+
10+
Explore the subdirectories for specific examples and use cases.

genkit/README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# Genkit
1+
# Genkit with Google Cloud
22

3-
This repository contains solutions using [Firebase Genkit](https://firebase.google.com/docs/genkit).
3+
This directory contains examples and solutions demonstrating the use of [Firebase Genkit](https://firebase.google.com/docs/genkit) integrated with Google Cloud services.
4+
5+
Genkit is an open-source framework that helps developers build, deploy, and manage AI-powered applications. The examples here showcase how Genkit can be leveraged for various generative AI tasks on Google Cloud.
46

57
## Directory Structure
68

7-
- **generate-synthetic-database/**: This directory contains the source code for a Google Cloud Function that generates a synthetic database.
8-
- **postcard-generator/**: This directory contains the source code for a Next.js app that generates postcard images based on a journey
9+
- **generate-synthetic-database/**: Contains the source code for a Google Cloud Function that uses Genkit to generate a synthetic database.
10+
- **postcard-generator/**: Features a Next.js application that utilizes Genkit to generate postcard images based on a user's journey.
11+
12+
Explore these examples to understand how to build robust AI applications with Genkit and Google Cloud.

multimodal-dataset/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Multimodal Datasets
2+
3+
This directory contains resources and examples related to multimodal datasets on Google Cloud.
4+
5+
Multimodal datasets are collections of data that involve multiple types of information, such as images, text, audio, and video. The materials in this directory may include:
6+
- Notebooks demonstrating how to work with specific multimodal datasets.
7+
- Information on accessing and utilizing public or sample multimodal datasets.
8+
- Examples of preprocessing and preparing multimodal data for use in machine learning models.
9+
10+
Explore the contents to learn more about leveraging multimodal datasets for your generative AI projects.

partner-models/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Partner Models
2+
3+
This directory contains models and resources provided by Google Cloud partners.
4+
5+
These models can be integrated with Vertex AI and other Google Cloud services to enhance your machine learning projects. Each subdirectory typically corresponds to a specific partner or model.

setup-env/README.md

Lines changed: 10 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,14 @@
1-
# Setup instructions to use Generative AI on Google Cloud
1+
# Environment Setup for Generative AI on Google Cloud
22

3-
This folder contains instructions on:
3+
This directory provides comprehensive instructions for setting up your environment to work with the generative AI examples and resources in this repository.
44

5-
- Setting up your Google Cloud project
6-
- Notebook environments
7-
- Setting up Colab
8-
- Setting up Vertex AI Workbench
9-
- Python SDK for Vertex AI
5+
The primary content of this directory is this README file, which guides you through:
106

11-
## Setting up your Google Cloud project
7+
- **Google Cloud Project Configuration**: Steps to select or create a Google Cloud project, enable billing, and activate necessary APIs like Vertex AI and Google Cloud Storage.
8+
- **Notebook Environments**: Detailed instructions for setting up popular notebook environments:
9+
- **Google Colab**: How to use notebooks from this repository in Colab, including authentication.
10+
- **Vertex AI Workbench**: How to create and use user-managed notebook instances on Vertex AI Workbench, and clone this repository.
11+
- **Local Development**: Information on installing the Google Cloud SDK and authenticating for local development.
12+
- **Python SDK for Vertex AI**: How to install the `google-cloud-aiplatform` library and initialize it for use with your project.
1213

13-
1. [Select or create a Google Cloud project](https://console.cloud.google.com/cloud-resource-manager).
14-
When you first create an account, you get a $300 free credit towards your compute/storage costs.
15-
16-
2. [Make sure that billing is enabled for your project](https://cloud.google.com/billing/docs/how-to/modify-project).
17-
18-
3. [Enable the Vertex AI API and Google Cloud Storage API](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com,storage.googleapis.com).
19-
20-
## Notebook environments
21-
22-
### Colab
23-
24-
[Google Colab](https://colab.research.google.com/) allows you to write and execute Python in your browser with minimal setup.
25-
26-
To use Colab with this repo, please click on the "Open in Colab" link at the top of any notebook file in this repo to launch it in Colab. Then follow the instructions within.
27-
28-
For Colab you will need to authenticate so that you can use Google Cloud from Colab:
29-
30-
```py
31-
from google.colab import auth
32-
auth.authenticate_user()
33-
```
34-
35-
When using the vertexai Python SDK, you will also need to initialize it with your Google Cloud `project_id` and `location`:
36-
37-
```py
38-
PROJECT_ID = "your-project-id"
39-
LOCATION = "" #e.g. us-central1
40-
41-
import vertexai
42-
vertexai.init(project=PROJECT_ID, location=LOCATION)
43-
```
44-
45-
### Vertex AI Workbench
46-
47-
[Vertex AI Workbench](https://cloud.google.com/vertex-ai-workbench) is the JupyterLab notebook environment on Google Cloud, which enables you to create and customize notebook instances. You do not need extra authentication steps.
48-
49-
#### Creating your notebook instance on Vertex AI Workbench
50-
51-
To create a new JupyterLab instance on Vertex AI Workbench, follow the [instructions here to create a user-managed notebooks instance](https://cloud.google.com/vertex-ai/docs/workbench/user-managed/create-new).
52-
53-
#### Using this repository on Vertex AI Workbench
54-
55-
After launching the notebook instance, you can clone this repository in your JupyterLab environment. To do so, open a Terminal in JupyterLab. Then run the command below to clone the repository into your instance:
56-
57-
```sh
58-
git clone https://github.com/GoogleCloudPlatform/generative-ai.git
59-
```
60-
61-
#### Local development
62-
63-
- Install the [Google Cloud SDK](https://cloud.google.com/sdk).
64-
65-
- Obtain authentication credentials. Create local credentials by running the following command and following the oauth2 flow (read more about the command [here](https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login)):
66-
67-
```bash
68-
gcloud auth application-default login
69-
```
70-
71-
## Python library
72-
73-
Install the latest Python SDK:
74-
75-
```sh
76-
%pip install google-cloud-aiplatform --upgrade
77-
```
78-
79-
You will need to initialize `vertexai` with your `project_id` and `location`:
80-
81-
```py
82-
PROJECT_ID = "your-project-id"
83-
LOCATION = "" #e.g. us-central1
84-
85-
import vertexai
86-
vertexai.init(project=PROJECT_ID, location=LOCATION)
87-
```
14+
Following these instructions will ensure your environment is correctly configured to run the generative AI examples provided throughout this repository.

translation/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Translation
2+
3+
This directory contains resources related to translation models and tools on Google Cloud.
4+
5+
You can find examples, notebooks, and scripts demonstrating how to use Vertex AI Translation services and models for various translation tasks.

workshops/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Workshops
2+
3+
This directory contains materials and resources for various workshops related to Google Cloud generative AI.
4+
5+
The subdirectories include hands-on labs, code examples, and presentations covering different topics and technologies.
6+
7+
Explore the workshop materials to learn about:
8+
- AI Agents
9+
- Question Answering Operations (QA-Ops)
10+
- Retrieval Augmented Generation Operations (RAG-Ops)
11+
- And more.

0 commit comments

Comments
 (0)