symfony/ai-vertex-ai-platform
Google Vertex AI platform bridge for Symfony AI, enabling Gemini inference, text embeddings, and ADC authentication for Symfony applications.
max_output_tokens knob is now mapped to each bridge’s own field name. For a PM this means per-provider output caps can be tuned to directly bound response length, latency, and spend per feature (e.g., short caps on autocomplete, higher caps on long-form generation) without fighting an abstraction that flattens provider behavior.symfony/ai-agent to build autonomous AI agents that interact with Vertex AI for decision-making, workflow automation, or task execution (e.g., customer onboarding, IT troubleshooting).Adopt if:
DeltaInterface support).MultiPartResult for combined outputs).symfony/ai-* packages should be upgraded in lockstep.Look elsewhere if:
symfony/ai-openai-platform for OpenAI.symfony/ai family. If your org requires frozen dependencies for 12+ months, defer to a 1.0 tag."This package lets us integrate Google’s Vertex AI—including Gemini models—into our PHP applications with minimal dev effort, like adding a pre-built Lego block. Here’s why it’s a strategic move for our roadmap:
Example Business Impact:
Risk Mitigation:
Ask: Should we allocate $20K for a 3-month pilot to validate use cases like semantic search or chatbots?*
"This package gives us Symfony-native access to Google Vertex AI with key advantages over raw SDKs or custom code:
What We Gain:
ChatCompletion, Embedding interfaces) instead of context-switching between SDKs.DeltaInterface (e.g., progressive content loading).http-client, logging, and error handling.symfony/ai-agent for autonomous workflows or symfony/ux for UI components.What Changed in v0.15.0 (and why it matters to us):
max_output_tokens → bridge-specific wire field. The canonical option name is gone; each bridge now uses its provider’s own option name. Concretely: any config or code passing max_output_tokens will silently stop capping output until renamed. That’s a real (if small) behavioral regression risk — an uncapped generation endpoint can blow a token budget.symfony/ai-* packages must move together; pinning one and lagging another will produce constraint conflicts.Action Items for the Upgrade:
grep -r "max_output_tokens" across config and app code; rewrite to the Vertex AI bridge field name.symfony/ai-* constraints to ^0.15 in one PR.Tradeoffs:
Proposed Approach:
Critical Questions for the Team:
symfony/ai-*, or will 0.15-style renames pile up untested?symfony/ai-test)?Next Steps:
v0.14.0...v0.15.0 against our own integration to size the rename work.How can I help you explore Laravel packages today?