File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ def grounded_generation_inline_vais_sample(
143143 # Format: projects/{project_number}/locations/{location}
144144 location = client .common_location_path (project = project_number , location = "global" ),
145145 generation_spec = discoveryengine .GenerateGroundedContentRequest .GenerationSpec (
146- model_id = "default " ,
146+ model_id = "gemini-2.5-flash " ,
147147 ),
148148 # Conversation between user and model
149149 contents = [
@@ -215,7 +215,7 @@ def grounded_generation_google_search_sample(
215215 # Format: projects/{project_number}/locations/{location}
216216 location = client .common_location_path (project = project_number , location = "global" ),
217217 generation_spec = discoveryengine .GenerateGroundedContentRequest .GenerationSpec (
218- model_id = "default " ,
218+ model_id = "gemini-2.5-flash " ,
219219 ),
220220 # Conversation between user and model
221221 contents = [
@@ -274,7 +274,7 @@ def grounded_generation_streaming_sample(
274274 # Format: projects/{project_number}/locations/{location}
275275 location = client .common_location_path (project = project_number , location = "global" ),
276276 generation_spec = discoveryengine .GenerateGroundedContentRequest .GenerationSpec (
277- model_id = "default " ,
277+ model_id = "gemini-2.5-flash " ,
278278 ),
279279 # Conversation between user and model
280280 contents = [
You can’t perform that action at this time.
0 commit comments