Skip to main content

Vertex AI and Generative AI

Docs: Vertex AI overview

Services at a Glance​

ServiceWhat It Does
Gemini on Vertex AIGoogle's multimodal LLM (text, image, audio, video) via API
Model GardenBrowse, evaluate, and deploy 150+ models (Google + open-source)
Agent BuilderBuild RAG-powered search apps and conversational AI agents
Vertex AI PipelinesOrchestrate end-to-end ML workflows (based on Kubeflow Pipelines)
Vertex AI Model RegistryVersion, track, and manage deployed models
Vertex AI ExplainabilityFeature attributions and explanations for model predictions
AI HypercomputerInfrastructure for large-scale distributed ML training (TPUs, GPUs)
Recommendations AIPre-built personalised product recommendations for retail
Model ArmorSafety filters and guardrails applied to LLM inputs/outputs
ImagenText-to-image and image-editing model; generates, edits, and upscales images

Pre-built AI APIs (no ML expertise needed)​

APIUse Case
Vision APIImage labelling, OCR, SafeSearch, face detection, landmark recognition
Video Intelligence APIScene detection, object tracking, transcription, explicit content detection in video
Natural Language APIEntity recognition, sentiment analysis, content classification
Speech-to-Text v2 (Chirp 2)Audio transcription β€” best accuracy across 100+ languages, streaming with word-level timestamps
Text-to-SpeechSynthesise natural-sounding speech; WaveNet and Neural2 voices
Document AIStructured data extraction from documents (invoices, forms)
Translation APIText translation across 100+ languages

Vision API vs Imagen β€” Key Distinction​

Vision APIImagen
DirectionImage in β†’ analysis outText prompt in β†’ image out
TaskClassify, label, detect objects in existing imagesGenerate, edit, or upscale images
Use caseContent moderation, OCR, catalogue taggingCreative assets, product visualisation, synthetic data
Exam signal"Detect", "classify", "extract text from" images"Generate", "create", "edit" images

Docs: Vision API Β· Imagen on Vertex AI

Audio β€” Speech APIs​

APIWhen to Use
Speech-to-Text v2 (Chirp 2)Long-form transcription, multilingual support, noisy audio, call centre recordings; streaming with word-level timestamps
Text-to-SpeechSynthesise narration, IVR prompts, accessibility features

Exam signal: "Transcribe audio/video files" β†’ Speech-to-Text. "Voice-enable an IVR" β†’ Text-to-Speech + Dialogflow CX. "High accuracy across many languages" β†’ Chirp model.

Docs: Speech-to-Text overview Β· Text-to-Speech overview

Decision Guide​

"Build a chatbot / conversational assistant with access to our content" β†’ Vertex AI Agent Builder. Combines Gemini with RAG (Retrieval-Augmented Generation) over your data sources (Cloud Storage, BigQuery, websites). No ML expertise needed.

"Fine-tune or use a large language model for custom tasks" β†’ Gemini via Vertex AI for Google models, or browse Model Garden for open-source alternatives (Llama, Mistral, etc.) that can be deployed on managed endpoints.

"Automate our ML training β†’ evaluation β†’ deployment pipeline" β†’ Vertex AI Pipelines. Define pipeline steps as components; schedule, monitor, and reuse pipelines. Integrates with Cloud Storage, BigQuery, and the Model Registry.

"Train very large models (billions of parameters) on GPU/TPU clusters" β†’ AI Hypercomputer. Tightly coupled GPU/TPU clusters with high-bandwidth networking (InfiniBand). Supports distributed training frameworks (JAX, PyTorch, TensorFlow).

"Detect and filter harmful content in user-generated or AI-generated content" β†’ Video Intelligence API (for video), Vision API SafeSearch (for images), Model Armor (for LLM input/output guardrails).

"Explain why the model made a specific prediction (auditability requirement)" β†’ Vertex AI Explainability. Provides feature attributions (SHAP, Integrated Gradients) for tabular, image, and text models.

"Generate images from text descriptions or edit existing images" β†’ Imagen on Vertex AI. Use for product visualisation, creative asset generation, or synthetic training data. Not Vision API (which analyses, not generates).

"Transcribe call recordings or meeting audio at scale" β†’ Speech-to-Text v2 (Chirp 2). Handles noisy audio and 100+ languages. Pair with Natural Language API if you need entity extraction or sentiment from the transcript.

"Add product recommendations to a retail platform quickly" β†’ Recommendations AI. Pre-built and tuned for e-commerce; faster to implement than custom Vertex AI models. Use custom Vertex AI when you need full control over the model.

"Apply safety guardrails to prompts and responses from any LLM" β†’ Model Armor. Works as a layer on top of any model, detecting prompt injection, jailbreaks, and unsafe content categories.

"Use an open-source model (Llama, Mistral) or specialised model without managing infrastructure" β†’ Model Garden. Deploy a managed endpoint in a few clicks; no custom training needed. Use Model Garden when the task is well-served by an existing model and you want to avoid training costs.

"Let employees query internal knowledge bases or research documents conversationally" β†’ NotebookLM Enterprise. Grounds responses in your uploaded sources and cites them. No coding required. Use Vertex AI Agent Builder instead when you need programmatic API access or custom retrieval logic.

Gemini Cloud Assist​

An AI assistant built directly into the Google Cloud Console, gcloud CLI, and Cloud Shell. It helps architects, developers, and operators with:

  • Explaining resources β€” ask "what does this Cloud Run service do?" and get a contextual summary
  • Generating configurations β€” describe what you want in natural language; Gemini Cloud Assist produces Terraform, gcloud commands, or YAML
  • Troubleshooting β€” paste an error message or describe a problem; receive guided remediation steps
  • Log analysis β€” summarise recent log activity or help write log queries

Exam context: Gemini Cloud Assist appears in Section 1.2 (Technical Requirements) and Section 5.1 (Advising Teams). Exam questions about it typically ask when it would help an operations team β€” the answer is accelerating operational tasks like troubleshooting, writing IaC, and understanding unfamiliar resources, not for building custom AI features (use Vertex AI for that).

Docs: Gemini Cloud Assist overview


Conversational AI and Agent Services​

These three services are the most commonly confused in the exam. The right choice depends on how much customisation you need and what the user interaction model looks like.

Gemini on Vertex AI​

Gemini is Google's multimodal foundation model, accessible via API through Vertex AI. It processes and generates text, code, images, audio, and video.

Intended purpose: The underlying intelligence layer. You call Gemini directly when you need a general-purpose LLM capability β€” summarisation, translation, code generation, question answering over a prompt β€” and you are building the surrounding application logic yourself.

Key variants:

  • Gemini 2.0 Flash β€” low latency, high throughput, cost-efficient for high-volume tasks
  • Gemini 2.0 Pro β€” best reasoning and complex instruction following
  • Gemini 2.0 Flash-Lite β€” cheapest option for simple classification or extraction tasks

When to use over Agent Builder: When you need raw LLM access, are building a custom orchestration layer, or need multimodal inputs (e.g., analysing video frames alongside text).

Docs: Gemini on Vertex AI


Vertex AI Agent Builder​

A managed platform for building RAG-powered search applications and multi-turn conversational agents without writing orchestration code.

Intended purpose: Grounding LLM responses in your data. Agent Builder connects Gemini to your data sources (Cloud Storage documents, BigQuery tables, websites, third-party connectors) so it can answer questions with citations from your content rather than relying solely on training knowledge.

Two main capabilities:

CapabilityWhat It Does
SearchEnterprise search over your documents and data with LLM-generated summaries
Conversation (Agent)Multi-turn chatbot grounded in your content; can call tools and APIs

Key features:

  • Built-in chunking, embedding, and vector indexing of your documents
  • Grounding with citations β€” responses link back to source documents
  • Multi-agent orchestration via Agent Engine for complex workflows
  • No need to manage a vector database manually

When to use over raw Gemini: When the requirement is "answer questions based on our content / knowledge base" or "build a support chatbot with access to our documentation". Agent Builder handles the RAG plumbing; you don't build it yourself.

Docs: Vertex AI Agent Builder


Dialogflow CX​

A dedicated platform for building structured, flow-based conversational agents β€” voice IVR systems, contact centre bots, and complex multi-turn dialogue with strict conversation control.

Intended purpose: Conversations that follow defined paths with explicit states, intents, and transitions. Built for enterprise contact centres and voice interfaces where the dialogue structure must be precisely controlled and audited.

Key features:

  • Visual flow builder β€” design conversation states and transitions graphically
  • Intent detection β€” classify user utterances into defined categories
  • Entity extraction β€” pull structured data (dates, names, order numbers) from natural language
  • Native integration with CCAI (Contact Center AI) and telephony systems
  • Supports voice (via Telephony Gateway) and text channels

Dialogflow CX vs Agent Builder β€” When to Choose:

Dialogflow CXAgent Builder
Conversation structureExplicit flows and statesOpen-ended, LLM-driven
Grounding in documentsLimitedCore feature (RAG)
Voice / telephonyNativeLimited
Contact centre use caseYesNot primary use
Dev skill requiredFlow design + intentsMinimal (managed)
Best whenRegulated, auditable dialogue; voice IVRKnowledge base Q&A; support chatbots

Docs: Dialogflow CX overview


Gemini Enterprise Features​

Gemini Enterprise is the Google Workspace tier that includes advanced AI capabilities for productivity workflows.

AI Agents in Workspace​

Gemini AI Agents automate multi-step workflows across Google Workspace apps (Docs, Sheets, Drive, Gmail). They can be triggered by events (new email, sheet update) and execute actions across apps.

Exam context: When the requirement is "automate repetitive knowledge-worker tasks without writing custom code" β€” Gemini Workspace Agents. When you need a custom API-integrated agent or data grounding β€” Vertex AI Agent Builder.

Gemini Workspace AgentsVertex AI Agent Builder
Target userBusiness user / low-codeDeveloper
IntegrationGoogle Workspace appsAny API or data source
GroundingDrive/Docs contentCloud Storage, BigQuery, web
Custom logicLimitedFull (code, tools, APIs)

Docs: Gemini for Google Workspace

NotebookLM Enterprise​

An AI-powered research tool that grounds responses strictly in documents you upload (PDFs, Docs, Slides, URLs). It generates summaries, answers questions with citations, and creates audio overviews of your sources.

Exam signal: "Employees need to query internal policy documents / research papers without hallucination" β†’ NotebookLM Enterprise. Responses are scoped to uploaded sources and include source citations β€” minimises hallucination risk.

NotebookLM vs Agent Builder:

  • NotebookLM β€” no-code, end-user product, sources are uploaded directly; best for knowledge workers
  • Agent Builder β€” developer API, supports dynamic data connectors (BigQuery, GCS, websites), best for production apps

Docs: NotebookLM Β· NotebookLM Enterprise


Model Garden Integration​

Model Garden is the Vertex AI hub for discovering and deploying pre-trained models without custom training.

What's available:

  • Google models β€” Gemini, Imagen, Chirp, MedLM, Codey
  • Open-source models β€” Llama 3, Mistral, Falcon, Stable Diffusion (deployed on managed endpoints)
  • Third-party models β€” Anthropic Claude, AI21, etc. (via Model Garden partner hub)

Integration patterns:

PatternHow
Managed endpointOne-click deploy β†’ call via Vertex AI Prediction API (no infra management)
Fine-tuningStart from a Model Garden base model, fine-tune on your data, deploy to registry
Batch predictionRun inference over large datasets without a persistent endpoint
Model evaluationCompare multiple Model Garden models on your benchmark dataset before choosing

Exam signal: "Use Llama 3 without managing GPU instances" β†’ Model Garden managed endpoint. "Fine-tune an open-source LLM on proprietary data" β†’ Model Garden + Vertex AI custom training. "Evaluate which model fits our accuracy/cost requirements" β†’ Model Garden evaluation.

Docs: Model Garden


Vertex AI Pipelines vs Custom Training Jobs​

PipelinesCustom Training
Use forMulti-step ML workflowsSingle training run
ReproducibilityHigh (versioned, tracked)Manual
SchedulingBuilt-inManual / Cloud Scheduler
Best whenContinuous retraining neededOne-off experimentation

Official Documentation​