Skip to content

Commit 8d1354e

Browse files
committed
Text generation(genai): use latest SDK
Update to Youtube example region tag
1 parent 81a5e1b commit 8d1354e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==0.7.0
1+
google-genai==0.8.0

genai/text_generation/textgen_with_youtube_video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717

1818
def generate_content() -> str:
19-
# [START genai_text_generation_youtube]
19+
# [START genai_text_generation_youtube_video]
2020
from google import genai
2121
from google.genai import types
2222

@@ -43,7 +43,7 @@ def generate_content() -> str:
4343
# We all know the struggle: you're rushing in the morning, and lunch is the
4444
# last thing on your mind...
4545

46-
# [END genai_text_generation_youtube]
46+
# [END genai_text_generation_youtube_video]
4747
return response.text
4848

4949

0 commit comments

Comments
 (0)