Skip to content

Commit 1e7c686

Browse files
committed
Add example output for Maps
1 parent 984931f commit 1e7c686

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

genai/tools/tools_google_maps_with_txt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def generate_content() -> str:
3232

3333
response = client.models.generate_content(
3434
model="gemini-2.5-flash-preview-05-20",
35-
contents="Recommend a good restaurant in San Francisco",
35+
contents="Recommend a good restaurant in San Francisco.",
3636
config=GenerateContentConfig(
3737
tools=[
3838
# Use Google Maps Tool
@@ -51,7 +51,7 @@ def generate_content() -> str:
5151

5252
print(response.text)
5353
# Example response:
54-
# 'The next total solar eclipse in the United States will occur on ...'
54+
# 'San Francisco boasts a vibrant culinary scene...'
5555
# [END googlegenaisdk_tools_google_maps_with_txt]
5656
return response.text
5757

0 commit comments

Comments
 (0)