Vertex AI의 모든 생성형 AI 코드 샘플
이 페이지에는 Vertex AI의 생성형 AI 코드 샘플이 포함되어 있습니다. 다른 Google Cloud 제품의 코드 샘플을 검색하고 필터링하려면 Google Cloud 샘플 브라우저를 참조하세요.
동영상에서 텍스트 생성
이 샘플은 Gemini API를 사용하여 동영상에서 텍스트를 생성하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- Node JS
- 자바
- 자바스크립트
- C#
- 샘플
챗봇으로 대화형 텍스트 스트림 생성
이 샘플은 Gemini 모델을 사용하여 대화형으로 텍스트 스트림을 생성하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Node JS
- 자바스크립트
- Python
- 샘플
OpenAI SDK를 사용하여 Gemini로 함수 호출 사용
이 코드 샘플은 OpenAI SDK의 Chat Completions API를 사용하여 Gemini에서 함수를 호출하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Google 검색에 Gemini 모델 응답 그라운딩
이를 사용하여 Gemini 모델 출력을 Google 검색 결과에 그라운딩합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- C#
- 샘플
안전 설정으로 이미지에서 텍스트 생성
이 샘플은 안전 설정으로 Gemini 모델을 사용하여 이미지에서 텍스트를 생성하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 자바스크립트
- 자바
- Go
- C#
- Node JS
- 샘플
프롬프트의 토큰 수 계산
이 샘플은 Vertex AI Gemini API를 사용하여 프롬프트의 토큰 수를 계산하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Node JS
- Python
- 자바스크립트
- C#
- 자바
- Go
- 샘플
Vertex AI Search 데이터 스토어에 Gemini 그라운딩
Gemini 출력을 Vertex AI Search 데이터 스토어에 저장된 자체 데이터로 그라운딩하는 데 사용합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- C#
- Python
- 샘플
Gemini를 사용하여 PDF 파일 요약하기
이 샘플은 Gemini를 사용하여 PDF 파일의 요약을 생성하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Gemini 1.5 Pro로 오디오 파일 요약하기
이 샘플은 오디오 파일을 사용하여 팟캐스트를 요약하는 방법을 보여줍니다. 이 샘플은 Gemini 1.5 Pro에서만 작동합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- 자바
- Go
- 자바스크립트
- Node JS
- C#
- Python
- 샘플
멀티모달 프롬프트에서 텍스트 생성
이 샘플은 Gemini 모델을 사용하여 멀티모달 프롬프트에서 텍스트를 생성하는 방법을 보여줍니다. 프롬프트는 이미지 세 개와 텍스트 프롬프트 두 개로 구성됩니다. 모델은 이미지와 텍스트 프롬프트를 설명하는 텍스트 응답을 생성합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- Go
- Node JS
- 자바스크립트
- C#
- 자바
- 샘플
Gemini 및 Chat Completions API를 사용하여 스트리밍 텍스트 생성
OpenAI 라이브러리를 사용하여 Vertex AI 모델에 요청을 전송할 수 있는 Chat Completions API를 사용하여 스트리밍 텍스트를 생성합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Gemini를 사용하여 YouTube 동영상 요약하기
이 샘플은 Gemini를 사용하여 YouTube 동영상을 요약하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Vertex AI 감독형 미세 조정을 사용하여 생성형 AI 모델 미세 조정
Google Cloud의 Vertex AI SFT (지도 미세 조정)를 사용하여 Gemini 모델을 자동으로 조정합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Gemini API의 MIME 응답 유형 지정
생성된 응답이 해당 유형을 준수하도록 Gemini API의 MIME 응답 유형을 지정합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Go
- C#
- Python
- 자바
- 샘플
Gemini 1.5 Pro로 오디오 파일 스크립트 작성
이 샘플에서는 오디오 파일을 사용하여 타임스탬프가 포함된 팟캐스트 스크립트를 생성하는 방법을 보여줍니다. 이 샘플은 Gemini 1.5 Pro에서만 작동합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Node JS
- 자바
- C#
- 자바스크립트
- Go
- Python
- 샘플
Gemini AI 모델을 사용한 함수 호출
코드 샘플은 Vertex AI 생성 모델을 사용하여 함수를 호출하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
고급 사용 사례를 위한 맞춤 설정을 사용하여 Gemini 미세 조정
고급 매개변수를 사용하여 Vertex AI 지도 조정을 통해 생성형 AI 모델을 조정합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
채팅 시나리오에서 외부 함수 호출과 함께 Gemini API를 사용하여 텍스트 응답 생성
외부 함수 호출과 함께 Gemini API를 사용하여 텍스트 응답을 생성합니다. 이 예에서는 함수 2개와 순차적 프롬프트 2개가 있는 채팅 시나리오를 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Node JS
- 자바스크립트
- Python
- 샘플
Gemini AI 모델을 사용한 함수 호출
코드 샘플은 Vertex AI 생성 모델을 사용하여 함수를 호출하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Node JS
- Go
- 자바스크립트
- 샘플
Gemini 1.5 Pro로 오디오가 포함된 동영상 파일 요약하기
이 샘플은 오디오가 포함된 동영상 파일을 요약하고 타임스탬프가 포함된 챕터를 반환하는 방법을 보여줍니다. 이 샘플은 Gemini 1.5 Pro에서만 작동합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Go
- C#
- Python
- C++
- 자바
- Node JS
- 자바스크립트
- 샘플
Gemini 및 Chat Completions API를 사용하여 이미지 설명
OpenAI 라이브러리를 사용하여 Vertex AI 모델에 요청을 전송할 수 있는 Chat Completions API를 사용하여 이미지의 텍스트 설명을 생성합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Gemini 모델로 텍스트 일괄 예측
Gemini 모델을 사용하여 일괄 텍스트 예측을 실행하고 출력 위치를 반환합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Go
- Python
- 샘플
Gemini 및 Chat Completions API를 사용하여 텍스트 생성
OpenAI 라이브러리를 사용하여 Vertex AI 모델에 요청을 전송할 수 있는 Chat Completions API를 사용하여 텍스트를 생성합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Gemini 1.5 Pro로 이미지, 동영상, 오디오, 텍스트 처리
이 샘플은 이미지, 동영상, 오디오, 텍스트를 동시에 처리하는 방법을 보여줍니다. 이 샘플은 Gemini 1.5 Pro에서만 작동합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Node JS
- Go
- 자바
- 자바스크립트
- Python
- C#
- 샘플
Gemini로 PDF 파일 처리
이 샘플은 Gemini를 사용하여 PDF 문서를 처리하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Node JS
- 자바스크립트
- Go
- Python
- C#
- 자바
- 샘플
이미지에서 텍스트 생성
이미지 및 텍스트 프롬프트로 Gemini 모델에 프롬프트를 표시하고 생성된 텍스트를 반환합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- Go
- 자바
- 샘플
시스템 안내를 Gemini 1.5 Pro로 설정
이 샘플은 시스템 안내를 Gemini 1.5 Pro로 설정하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Go
- Python
- Node JS
- C#
- 자바스크립트
- 자바
- 샘플
BigQuery 데이터를 사용하여 Gemini로 일괄 예측
BigQuery 데이터 소스를 입력으로 사용하여 Gemini로 일괄 텍스트 예측을 실행합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Node JS
- Python
- 자바
- Go
- 자바스크립트
- 샘플
이미지에서 텍스트 생성
이 샘플은 Gemini 모델을 사용하여 이미지에서 텍스트를 생성하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Node JS
- C++
- 자바
- 자바스크립트
- Python
- 샘플
Gemini를 사용하여 YouTube 동영상에서 중요한 부분 파악하기
이 코드 샘플은 Gemini를 사용하여 YouTube 동영상에서 중요한 순간을 식별하는 방법을 보여줍니다. YouTube 동영상 URL을 입력으로 받아 타임스탬프와 함께 주요 장면 목록을 반환합니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Gemini의 토큰 집계
코드 샘플은 Vertex AI Generative Models API를 사용하여 프롬프트에서 토큰 수를 세고 Gemini 모델을 사용해 콘텐츠를 생성하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Go
- Python
- 샘플
GCS 데이터를 사용하여 Gemini로 일괄 예측
GCS 데이터 소스를 입력으로 사용하여 Gemini로 일괄 텍스트 예측을 실행합니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Node JS
- 자바스크립트
- 자바
- 샘플
챗봇으로 대화형 텍스트 생성
이 샘플은 Gemini 모델을 사용하여 대화형으로 텍스트를 생성하는 방법을 보여줍니다.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 자바
- Go
- C#
- 샘플
Gemini 모델 매개변수 구성
Gemini 모델을 사용하여 이미지에서 텍스트를 생성하고 생성된 텍스트를 반환합니다. 이 예시에서는 모델 구성 매개변수를 설정하는 방법을 보여줍니다.
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
그라운딩을 사용하여 텍스트 생성에 Gemini 1.0 Pro 모델 사용
Vertex AI Search 데이터 스토어 또는 Google 검색의 그라운딩과 함께 Gemini 1.0 Pro 모델을 사용하여 텍스트를 생성합니다.
- Vertex AI의 생성형 AI
- Python
- 샘플
Generate text from multimodal prompt
This sample demonstrates how to generate text from a multimodal prompt using the Gemini model. The prompt consists of three images and two text prompts. The model generates a text response that describes the images and the text prompts.
- Vertex AI의 생성형 AI
- Google Cloud
- Google Gen AI SDK
- Python
- 샘플
Use Gemini to summarize YouTube videos
This sample demonstrates how to use Gemini to summarize YouTube videos.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Google Cloud
- Python
- 샘플
Generate text with Gemini Live API
This sample demonstrates how to generate text using Gemini Live API
- Google Cloud
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Generate text from a video
This sample demonstrates how to use the Gemini API to generate text from a video
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Google Cloud
- Python
- 샘플
Batch Predict with Gemini using BigQuery data
Perform batch text prediction with Gemini using BigQuery data source as input.
- Google Gen AI SDK
- Google Cloud
- Vertex AI의 생성형 AI
- Python
- 샘플
Summarize a video file with audio with Gemini Multimodal
This sample shows you how to summarize a video file with audio and return chapters with timestamps.
- Google Cloud
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Process a PDF file with Gemini
This sample shows you how to process a PDF document using Gemini.
- Google Cloud
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Use Gemini to summarize local video file
This sample demonstrates how to use Gemini to summarize a local video file.
- Google Cloud
- Google Gen AI SDK
- Vertex AI의 생성형 AI
- Python
- 샘플
Generate text with safety settings
This sample demonstrates how to use the Gemini model with safety settings to generate text.
- Google Gen AI SDK
- Google Cloud
- Vertex AI의 생성형 AI
- Python
- 샘플
Batch text prediction with Gemini model using Google Cloud Storage
Perform batch text prediction using Gemini model and returns the output location.
- Google Cloud
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Python
- 샘플
Generate text from an image
This sample demonstrates how to use the Gemini model to generate text from an image.
- Vertex AI의 생성형 AI
- Google Gen AI SDK
- Google Cloud
- Python
- 샘플
Getting Started with Grounding with Gemini in Vertex AI
Generate content grounded in your own documents and data using Vertex AI's generative text models.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Batch Predictions with the Gemini API using BigQuery input
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Function Calling with the Gemini API & Python SDK
Use Gemini, Google DeepMind's multimodal generative AI model, to call functions by describing them in code and receiving matching function names in the response.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Gemini 2.0 Pro
Learn how to use Google's Gemini 2.0 Pro for coding and general knowledge tasks.
- Vertex AI의 생성형 AI
- Python
- 노트북
Introduction to Long Context Window with Gemini on Vertex AI
Explore the expanded context window capabilities of Gemini 1.5 LLMs for improved performance in various applications.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Gemini 2.0 Flash-Lite
Explore Gemini 2.0 Flash-Lite, a fast and cost-effective flash model, through an introductory YouTube video.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Batch Predictions with the Gemini API
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Context Caching with the Gemini API
Use the Gemini API's context caching feature to store and reuse input tokens, thereby reducing redundant requests and improving efficiency.
- Vertex AI의 생성형 AI
- Python
- 노트북
Responsible AI with Gemini API in Vertex AI: Safety ratings and thresholds
Explore the capabilities and limitations of large language models.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Controlled Generation with the Gemini API
Explore Google DeepMind's Gemini, a family of generative AI models enabling controlled generation of structured or unstructured data for various applications.
- Vertex AI의 생성형 AI
- Python
- 노트북
Spatial understanding with Gemini 2.0
Learn object detection and spatial understanding using the Gemini API in Vertex AI.
- Vertex AI의 생성형 AI
- Python
- 노트북
Create High Quality Visual Assets with Imagen and Gemini
Generate high-quality images from text descriptions using Imagen on Vertex AI.
- Vertex AI의 생성형 AI
- Python
- 노트북
Hugging Face DLCs: Serving Gemma 2 with multiple LoRA adapters with Text Generation Inference (TGI) on Vertex AI
Use pre-built, optimized deep learning containers to simplify the configuration of lightweight, state-of-the-art open Gemini family models.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with Gemini 2.0 Flash Thinking Mode
Demonstrate how to use Gemini 2.0 Flash Thinking mode to solve complex tasks that require multiple rounds.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting started with Gemini 2.0 in Vertex AI using REST API
Use REST API in cURL commands to interact with the Gemini 2.0 Flash model.
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised Fine Tuning with Gemini 1.5 Flash for change detection using the Google Gen AI SDK
Fine-tune Gemini model" component Fine-tune the Gemini 1.5 Pro model for change detection task (spot differences) with the Vertex AI "Fine-tune Gemini model" component.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Gemini 2.0 Flash
Use the Gemini 2.0 Flash multimodal generative ai model to create real-time vision and audio streaming applications.
- Vertex AI의 생성형 AI
- Python
- 노트북
Real-time Retrieval Augmented Generation (RAG) using the Multimodal Live API with Gemini 2.0
Learn to develop a real-time Retrieval Augmented Generation (RAG) system leveraging the Multimodal Live API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Generating and Executing Python Code with Gemini 2.0
Introduce the code execution capabilities of the Gemini 2.0 Flash model.
- Vertex AI의 생성형 AI
- Python
- 노트북
Building a Research Multi Agent System - a Design Pattern Overview with Gemini 2.0
Learn how to use Data Fusion to build a scalable and secure data lake for your organization.
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex Prompt Optimizer Notebook SDK (Preview) - Long Prompt Optimization
Use the Vertex AI prompt optimizer to optimize a long prompt for a Gemini model.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting started with Gemini using Vertex AI in Express Mode
Send API requests to the Gemini API in Vertex AI: - Non-streaming request - Streaming request - Function calling request
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised fine-tuning with Gemini 1.5 Flash for Q&A using the Google Gen AI SDK
Fine-tune the Gemini 1.5 Flash model using Vertex AI Supervised Tuning.
- Vertex AI의 생성형 AI
- Python
- 노트북
Scaled Video Analysis with the YouTube Data API, Gemini, and Batch Prediction
Explore how to search and analyze publicly available YouTube videos at scale, using the YouTube Data API, Vertex AI Batch Prediction with Gemini, and BigQuery.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with the Multimodal Live API in Vertex AI
Run this tutorial to get started with the Multimodal Live API in Vertex AI, which enables low-latency bidirectional voice and video interactions with Gemini.
- Vertex AI의 생성형 AI
- Python
- 노트북
Patents Document Understanding with Gemini 2.0
Train custom machine learning models for a Document Understanding Pipeline using AutoML.
- Vertex AI의 생성형 AI
- Python
- 노트북
Creating Marketing Assets using Gemini 2.0
Get started with the Google Gen AI SDK on Vertex AI
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex Prompt Optimizer Notebook SDK (Preview) - Tool usage
optimize prompt template for tool usage with a Gemini model
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised Fine Tuning with Gemini 1.5 Flash for change detection
Fine-tune Vision Model" colab template Fine-tune Gemini 1.5 Pro model for change detection task (spot differences)
- Vertex AI의 생성형 AI
- Python
- 노트북
Create a multi speaker podcast with Gemini Controlled Generation & Text-to-Speech
Use the Gemini API in Vertex AI to generate an engaging multi-speaker podcast using studio voices Text-to-Speech API" notebook. Generate an engaging multi-speaker podcast using studio voices Text-to-Speech API.
- Vertex AI의 생성형 AI
- Python
- 노트북
AI Agents for Engineers (Evolution of AI Agents)
Demonstrate 3 different approaches to generating essays using the Gemini API in Google AI Studio
- Vertex AI의 생성형 AI
- Python
- 노트북
Resume Generation
Generate resumes using the Gemini 1.5 Flash model and LLM prompting
- Vertex AI의 생성형 AI
- Python
- 노트북
Guess who or what app using Hugging Face Deep Learning container model on Vertex AI
Create a simple "Guess who or what" application which combines an image generation open model with Gemini to answer and represent subjects of Guess who or what riddles.
- Vertex AI의 생성형 AI
- Python
- 노트북
Monitor batch prediction with Gemini API
Orchestrate and monitor Gemini batch prediction jobs using Vertex AI Pipelines."
- Vertex AI의 생성형 AI
- Python
- 노트북
Enhance Imagen prompts with Gemini
Optimize or rewrite your image generation prompts with Gemini based on a subject, action, scene, and style, or generate enhanced prompts from an initial image.
- Vertex AI의 생성형 AI
- Python
- 노트북
Stage 2: Building MVP: - 03 RAG
Build the core retrieval and generation components of a Multimodal Retrieval Augmented Generation (RAG) system using the Vertex Gemini API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Build Your Own AI Podcasting Agent with LangGraph & Gemini
target="_blank">Generate an audio overview of a document</a> 🔈🔈
- Vertex AI의 생성형 AI
- Python
- 노트북
Stage 2: Building MVP: - 02 Chunk & Embeddings
Build a simple text-based search engine using the Vertex Gemini API
- Vertex AI의 생성형 AI
- Python
- 노트북
Stage 2: Building MVP: - 01 Data Processing
Process diverse data and generate summaries for a multimodal retrieval augmented generation (RAG) system using the Gemini API in Vertex AI.
- Vertex AI의 생성형 AI
- Python
- 노트북
From API to Report: Building a Currency Analysis Agent with LangGraph and Gemini
Build an AI-powered currency analysis agent using LangGraph and the Gemini API in Vertex AI
- Vertex AI의 생성형 AI
- Python
- 노트북
Anomaly Detection of Infrastructure Logs using Gemini and BigQuery Vector Search
Learn how to process large volumes of logs using Gemini, vector embeddings and BigQuery Vector Search for anomaly detection
- Vertex AI의 생성형 AI
- Python
- 노트북
Basic prototyping of the solution with Gemini API in Vertex AI
Learn how to use the Gemini 1.5 Pro model to perform text summarization.
- Vertex AI의 생성형 AI
- Python
- 노트북
Video Thumbnail Generation using Gemini 1.5 Pro (API & Python SDK)
to create a thumbnail video from thumbnails
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with RAGAS & Vertex AI Gemini API
Evaluate your RAG pipelines with Ragas.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with DeepEval & Vertex AI Gemini API
Use the DeepEval framework to evaluate LLMs with unit tests and metrics.
- Vertex AI의 생성형 AI
- Python
- 노트북
YouTube Video Analysis with Gemini
Learn how to do direct analysis of publicly available YouTube videos with Gemini.
- Vertex AI의 생성형 AI
- Python
- 노트북
Evaluating prompts at scale with Gemini Batch Prediction API
Use Apache Beam to perform batch ETL on Google Cloud Platform.
- Vertex AI의 생성형 AI
- Python
- 노트북
Building a Weather Agent with AutoGen and Gemini
Build a weather agent using Autogen and the Gemini 1.5 Flash model on Vertex AI
- Vertex AI의 생성형 AI
- Python
- 노트북
Multimodal Function Calling with the Gemini API & Python SDK
Learn how to use Gemini's multimodal function calling capability to predict function calls and function parameters based on various inputs like images, audio, and text.
- Vertex AI의 생성형 AI
- Python
- 노트북
Migrate from PaLM to Gemini model
Evaluate PaLM and Gemini foundation models using multiple metrics in an `EvalTask` to support decisions around migrating from one model to another.
- Vertex AI의 생성형 AI
- Python
- 노트북
Narrate a Multi-character Story with Text-to-Speech and Gemini
Demonstrate how to use the Text-to-Speech API to read a story with each character having a distinct voice.
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised Fine Tuning with Gemini 1.5 Flash for Q&A
Fine-tune the Gemini 1.5 Flash model using the Vertex AI Supervised Tuning feature.
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised Fine Tuning with Gemini 1.5 Pro for Image Captioning
Fine-tune the Gemini 1.5 Pro Model for Vision task using Vertex AI Supervised Tuning.
- Vertex AI의 생성형 AI
- Python
- 노트북
Question Answering with Generative Models on Vertex AI
Evaluate a Gemini model using various metrics"
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex Prompt Optimizer Notebook SDK (Preview)
optimize a simple prompt for a Gemini model using your own metrics
- Vertex AI의 생성형 AI
- Python
- 노트북
LlamaIndex RAG Workflows using Gemini and Firestore
Learn how to use LlamaIndex workflows to build AI systems that go beyond simple question-answering
- Vertex AI의 생성형 AI
- Python
- 노트북
Use Retrieval Augmented Generation (RAG) with Gemini API
Augment output from Gemini API by bringing in external knowledge using Code Retrieval Augmented Generation(RAG) pattern using Google Cloud's Generative AI github repository as external knowledge.
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex Prompt Optimizer Notebook SDK (Preview) - Custom metric
optimize a prompt for a Gemini model using your own metric
- Vertex AI의 생성형 AI
- Python
- 노트북
Evaluate Gemini with AutoSxS using custom task
Demonstrate how to use Vertex AI automatic side-by-side (AutoSxS) with custom task (translation) to evaluate the performance between Gemini on Vertex AI and PaLM API in a media newspaper company for translation scenario.
- Vertex AI의 생성형 AI
- Python
- 노트북
Evaluate Generative Model Tool Use
evaluate the Gemini model tool use quality with Vertex AI Python SDK for Gen AI Evaluation Service
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Batch Predictions with the Gemini API
Run batch prediction with the Vertex AI Gemini API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with LangChain 🦜️🔗 + Vertex AI Gemini API
Vertex AI Gemini: A Large Language Model Platform" by Google AI Learn how to use LangChain components and use cases of LangChain with the Vertex AI Gemini API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex AI Supervised Tuning token count and cost estimation.
Use this notebook to estimate token counts for tuning costs for tuning `gemini-1.0-pro-002`.
- Vertex AI의 생성형 AI
- Python
- 노트북
Product attributes extraction and detailed descriptions from images using Gemini 1.5 Pro
Build a general agent to extract different product attributes or detailed product descriptions from an image input
- Vertex AI의 생성형 AI
- Python
- 노트북
Introduction to Long Context Window with Gemini on Vertex AI
Use this notebook to test the performance of Gemini LLMs with a 1 million token context window.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Context Caching with the Gemini API
Use the Gemini context caching API to cache frequently used input tokens to improve performance.
- Vertex AI의 생성형 AI
- Python
- 노트북
Call Gemini by using the OpenAI Library
Learn how to call Gemini by using the OpenAI library.
- Vertex AI의 생성형 AI
- Python
- 노트북
Code Vulnerability Scanning & Automated Remediation using Vertex AI Gemini API (Gemini Pro 1.5)
Learn how to use Gemini 1.5 Pro, a generative AI model for codebase analysis.
- Vertex AI의 생성형 AI
- Python
- 노트북
Building a Multimodal Chatbot for Warranty Claims using Gemini and Vector Search in Vertex AI
Build a warranty claims chatbot that utilizes Vector Search and the Gemini API in Vertex AI in Google Cloud.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Controlled Generation with the Gemini API
Use this notebook to control the generation of text, images, and other content from a pre-trained multimodal language model.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting started with Vertex AI Gemini 1.5 Flash
Run a sentiment analysis model on a text file with Vertex AI Gemini API
- Vertex AI의 생성형 AI
- Python
- 노트북
Product listing generation with Gemini 1.5 Pro
Learn about the Gemini 1.5 Pro language model, which introduces a long context window of up to 1 million tokens and can seamlessly analyze large amounts of information.
- Vertex AI의 생성형 AI
- Python
- 노트북
Product image background generation with Gemini 1.5 Pro and Imagen 2
Use the Imagen 2 model on Vertex AI to generate images from text.
- Vertex AI의 생성형 AI
- Python
- 노트북
Introduction to ReAct Agents with Gemini & Function Calling
Illustrate how a ReAct agent coordinates between reasoning and acting.
- Vertex AI의 생성형 AI
- Python
- 노트북
Code migration from PaLM to Gemini
Migrate the Vertex AI SDK for Python from using the PaLM API to using the Gemini API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Working with Parallel Function Calls and Multiple Function Responses in Gemini
Use the Gemini API to call a function from your code and get the function's return value.
- Vertex AI의 생성형 AI
- Python
- 노트북
Document Processing with Gemini
Learn how to process documents with Apache Beam.
- Vertex AI의 생성형 AI
- Python
- 노트북
Video Analysis with Gemini
Use this notebook to learn how to use the Google Cloud Natural Language API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Generate a mock auto owner's manual using Gemini
Create a dataset with a column of the number of days between two dates.
- Vertex AI의 생성형 AI
- Python
- 노트북
Building and Deploying a Google Maps API Agent with Reasoning Engine
Use Gemini to generate function names in your code.
- Vertex AI의 생성형 AI
- Python
- 노트북
Supervised Fine Tuning with Gemini for Article Summarization
Fine-tune the Gemini generative model using Vertex AI Supervised Tuning.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with Chat with the Gemini Pro model
Demonstrate how to send chat prompts to the Gemini 1.0 Pro model using the Vertex AI SDK for Python and LangChain.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with Grounding with Gemini in Vertex AI
Use this notebook to learn how to ground your generative language model in your own data using Vertex AI Search.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Function Calling with the Gemini API & Python SDK
Learn how to call functions from Gemini, a family of generative AI models developed by Google DeepMind.
- Vertex AI의 생성형 AI
- Python
- 노트북
Using Gemini in Education
Explore a variety of use cases enabled by Gemini models in the context of education.
- Vertex AI의 생성형 AI
- Python
- 노트북
Augment Gemini Output with Vector Embeddings from BigQuery
Create text embeddings for publicly available abstracts from patents data and use them in our LLM search
- Vertex AI의 생성형 AI
- Python
- 노트북
Responsible AI with Vertex AI Gemini API: Safety ratings and thresholds
Detect and mitigate risks of unintended and unforeseen outputs from large language models.
- Vertex AI의 생성형 AI
- Python
- 노트북
Sheet Music Analysis with Gemini
Extract metadata from sheet music PDFs using Gemini.
- Vertex AI의 생성형 AI
- Python
- 노트북
Gemini: An Overview of Multimodal Use Cases
Explore multimodal use cases with Gemini 1.0 Pro Vision and the Vertex AI Gemini API.
- Vertex AI의 생성형 AI
- Python
- 노트북
Analyzing movie posters in BigQuery with Gemini 1.0 Pro and Gemini 1.0 Pro Vision
Demonstrate how to use Gemini models for analysis in BigQuery.
- Vertex AI의 생성형 AI
- Python
- 노트북
Analyze a codebase with the Vertex AI Gemini 1.5 Pro
Analyze an entire codebase with Gemini 1.5 Pro and prompt it with a single code file.
- Vertex AI의 생성형 AI
- Python
- 노트북
Create High Quality Visual Assets with Imagen and Gemini
Learn how to generate high-quality images from text descriptions with Imagen on Vertex AI.
- Vertex AI의 생성형 AI
- Python
- 노트북
Vertex AI Search - Querying Blended Data Apps and Summarization with Gemini
Create a search app with Vertex AI Search.
- Vertex AI의 생성형 AI
- Python
- 노트북
Document QnA using Gemini and Vertex Vector Search
Perform RAG to perform Q&A over a document filled with both text and images.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intra Knowledge QnA
Get started with the Gemini 1.0 Pro model for natural language tasks, multi-turn text and code chat, and code generation.
- Vertex AI의 생성형 AI
- Python
- 노트북
ReAct (Reasoning + Acting) + Custom tool for Healthcare NL API + Gemini 1.0 Pro + Langchain
Use the GenAI medical coding model to suggest accurate medical codes for healthcare claims.
- Vertex AI의 생성형 AI
- Python
- 노트북
Intro to Building and Deploying an Agent with Reasoning Engine in Vertex AI
Use the Gemini language model to generate code for a function that takes an image of a cat and returns the breed of the cat.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with the Gemini Pro Model
Use the Vertex AI Gemini API to generate text, images, and audio using multimodal prompts.
- Vertex AI의 생성형 AI
- Python
- 노트북
Multimodal Retrieval Augmented Generation (RAG) using Vertex AI Gemini API
Perform multimodal RAG where you will perform Q&A over a financial document filled with both text and images.
- Vertex AI의 생성형 AI
- Python
- 노트북
Multimodal Retrieval Augmented Generation (RAG) with Gemini, Vertex AI Vector Search, and LangChain
Perform multimodal RAG with Gemini to perform Q&A over a financial document filled with both text and images.
- Vertex AI의 생성형 AI
- Python
- 노트북
Forced Function Calling with Tool Configurations in Gemini
Demonstrate forced Function Calling in the Gemini model.
- Vertex AI의 생성형 AI
- Python
- 노트북
Using Gemini Function Calling to Get Real-Time Company News and Insights
Use the Function Calling in Gemini API to create a description of a function in your code, then pass that description to a language model in a request.
- Vertex AI의 생성형 AI
- Python
- 노트북
Multimodal retail recommendation: using Gemini to recommend items based on images and image reasoning
Create a multimodal recommendation system using Gemini 1.0 Pro Vision model
- Vertex AI의 생성형 AI
- Python
- 노트북
Working with Data Structures and Schemas in Gemini Function Calling
Create a description of a function in your code, then pass that description to a language model in a request. The response from the model includes the name of the function, its arguments, and its return type
- Vertex AI의 생성형 AI
- Python
- 노트북
Synthetic Data Generation using Gemini APIs
Use the Vertex AI Gemini API to generate creative text, translate languages, and write different kinds of creative content.
- Vertex AI의 생성형 AI
- Python
- 노트북
Getting Started with the Vertex AI Gemini API with cURL
Use the Vertex AI Gemini API to generate text, images, and videos from prompts.
- Vertex AI의 생성형 AI
- Python
- 노트북