Skip to content

Commit d9b5436

Browse files
authored
ci: update aiplatform sample model (googleapis#16133)
1 parent ae90234 commit d9b5436

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

google/cloud/aiplatform/samples/samples.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,18 @@ void AutoRun(std::vector<std::string> const& argv) {
152152

153153
std::cout << "Executing GeminiGenerateFromTextInput sample:\n";
154154
GeminiGenerateFromTextInput(
155-
{project_id, "us-central1", "gemini-2.0-flash-001",
155+
{project_id, "us-central1", "gemini-2.5-flash",
156156
"What's a good name for a flower shop that specializes in selling "
157157
"bouquets of dried flowers?"});
158158

159159
std::cout << "\nExecuting GeminiGenerateWithImage sample:\n";
160-
GeminiGenerateWithImage({project_id, "us-central1", "gemini-2.0-flash-001",
160+
GeminiGenerateWithImage({project_id, "us-central1", "gemini-2.5-flash",
161161
"What's in this photo?", "image/png",
162162
"gs://generativeai-downloads/images/scones.jpg"});
163163

164164
std::cout << "\nExecuting GeminiVideoWithAudio sample:\n";
165165
GeminiVideoWithAudio(
166-
{project_id, "us-central1", "gemini-2.0-flash-001",
166+
{project_id, "us-central1", "gemini-2.5-flash",
167167
"Provide a description of the video.\n"
168168
"The description should also contain anything important which people "
169169
"say in the video.",

0 commit comments

Comments
 (0)