feat(genai): add new code-execution code samples#13763
feat(genai): add new code-execution code samples#13763msampathkumar wants to merge 16 commits intomainfrom
Conversation
These code samples demonstrate usage of Gemini's ability to dynamically generate required code and then execute it.
|
Here is the summary of changes. You are about to add 3 region tags.
This comment is generated by snippet-bot.
|
Also update template folder files.
iennae
left a comment
There was a problem hiding this comment.
Missing Image Sources & Context
Thanks for the work on this. We need to establish a clear audit trail for the images included in this PR, specifically regarding their origin.
Please add a file named IMAGE_SOURCES.md that references every image file. For each image, please specify:
Source Type: (e.g., AI Generated, Stock/Licensed, or Self-Created).
Origin/Context:
- If AI Generated: Please provide the tool used and the prompt/context.
- If External: Provide the direct link and license type.
- If Self-Created: Just confirm it was created manually by you.
The file could have something like
| File Name / Path | Source Type | Origin / Link | Context / Attribution / Prompt |
|---|---|---|---|
example.png |
AI Generated | Midjourney | Prompt: "A futuristic city skyline..." |
example.jpg |
External | [Link to source] | CC0 License / Author Name |
example.svg |
Manual | Self | Created in Figma |
[Real Image 1] |
|||
[Real Image 2] |
Simplify the code footprint by using samples available in GCS bucket.
Hi @iennae, Thank you for detailed information. Sadly, the team decided to use GCS images directly instead of local images. Now I have removed all the images attached in this PR. |
|
CICD has 429 Error. Need to retry at a later time. |
| @@ -1,4 +1,4 @@ | |||
| # Copyright 2025 Google LLC | |||
There was a problem hiding this comment.
You shouldn't update the year on existing files here, it should stay the same based on its existence. If this is not meant to be a standalone and it's the template, it shouldn't have a license header that needs to get updated each year.
These code samples demonstrate usage of Gemini's ability to dynamically generate required code and then execute it.
Description
Fixes b479135143
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
nox -s py-3.9(see Test Environment Setup)nox -s lint(see Test Environment Setup)