Add Python Google GenAI plugin integration guide - #4991
Open
brianstrauch wants to merge 2 commits into
Open
Conversation
Add AI, Google, Gemini, and Vertex to the Temporal.Headings exceptions, following the pattern set in #4983. Without them, headings that name a model platform ("Run against Vertex AI") are flagged as title case. Verified: repo-wide Temporal.Headings suggestions stay at 481, and the headings-good / headings-bad fixtures are unchanged in outcome. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Document the GoogleGenAIPlugin shipped in Temporal Python SDK 1.31.0, mirroring the structure of the Google ADK and LangGraph plugin guides: calling a model from a Workflow, tools as Activities, chat, structured output, MCP tool servers, streaming, files, the Interactions API and managed agents, Vertex AI, and Activity timeouts and retries. Code blocks use the python-google-genai-* Snipsync IDs from the samples and are pre-populated so the page renders before the next sync. The samples live in temporalio/samples-python#319, which is not merged yet, so the blob/main links 404 until it lands. Also add the page to the Python sidebar, the Python landing page, and the integrations grid. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📖 Docs PR preview links
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Documents the
GoogleGenAIPluginshipped in Temporal Python SDK 1.31.0, asdocs/develop/python/integrations/google-genai.mdx.The page mirrors the structure of the existing Google ADK and LangGraph plugin guides and covers: calling a model from a Workflow, tools as Activities (
activity_as_toolvs. plain Workflow methods), multi-turn chat, structured output, MCP tool servers, streaming viaWorkflowStream, the Files API, the Interactions API and managed agents, Vertex AI, and Activity timeouts and retries.Also adds the page to the Python sidebar, the Python landing page, and the integrations grid.
Notes to reviewers
Blocked on temporalio/samples-python#319. Every code block on the page uses a
python-google-genai-*Snipsync ID from that PR, and the source links point atsamples-pythonmain. Until #319 merges:blob/main/google_genai/...links 404The blocks are pre-populated with the extracted code, so the page renders correctly today — but this should land after #319 or alongside it.
Two other things worth a look:
AI,Google,Gemini, andVertexto theTemporal.HeadingsVale exceptions, following the pattern from fix(vale): reduce Temporal.Headings false positives on proper nouns #4983. Without them the "Run against Vertex AI" heading is flagged as title case. It's split into its own commit so it's easy to drop if you'd rather I rename the heading instead. Repo-wideTemporal.Headingssuggestions stay at 481.Agent framework, matching how Pydantic AI and the OpenAI Agents SDK are tagged, though the Gen AI SDK is really a model API rather than an agent framework. Happy to change it if there's a better tag.yarn buildpasses andvale --config .vale-ci.iniis clean on the new page.🤖 Generated with Claude Code
┆Attachments: EDU-6845 Add Python Google GenAI plugin integration guide