docs: add Symfony AI integration guide - #129
Merged
Merged
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: Comment |
MVS-source
force-pushed
the
victor/symfony-integration-guide
branch
from
September 25, 2026 10:14
f273045 to
8d0700f
Compare
MVS-source
force-pushed
the
victor/symfony-integration-guide
branch
from
September 25, 2026 12:50
8d0700f to
1f34486
Compare
This branch was successfully deployed
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
Symfony AI shipped an official Eden AI bridge in v0.14.0, released 25 September 2026. This adds the guide, under AI Frameworks.
symfony.mdxsymfony/ai-eden-ai-platformSame format as the last integration PRs: frontmatter plus
<TechArticleSchema>,docs.jsonnav registration, and acurrentColorline icon in the style of the existing small ones. The page lands last in its group, matching the add-order that group already uses.Why this one is worth more than a chat wrapper
The bridge covers both halves of the V3 API, which is unusual for a framework integration:
/v3/chat/completionsand/v3/embeddings, with streaming and tool calling./v3/universal-ai: OCR, document parsing, text to speech, speech to text, image analysis and image generation.Two behaviours that are worth having written down: binary content is uploaded through
/v3/uploadtransparently before the request, and async transcription returns a job handle instead of blocking insideinvoke(), so it can be stored and resumed by a worker, or resolved from a webhook.Where the configuration comes from
Lifted from the merged upstream code, not reconstructed from memory.
The code samples come from the runnable scripts in
examples/edenai/in symfony/ai, fromdocs/components/platform/edenai.rst, and from the bridge source undersrc/platform/src/Bridge/EdenAi/. Namespaces, factory methods and result classes match the released package.The streaming, tool calling, resume parsing and job timeout sections are built on
stream.php,toolcall.php,resume-parser.phpandspeech-to-text-upload.phprather than on the shorter snippets in the reference page, so the guide shows what the bridge actually does in an application: an Agent with a toolbox, a local PDF uploaded transparently, and a job handle stored for a worker when the wait times out.The YAML block was checked against
src/ai-bundle/config/platform/edenai.php, which declaresapi_keyas required and an optionalhttp_clientservice id, and against the platform example indocs/bundles/ai-bundle.rstfor the nesting.Verification
feature/subfeature/providercombinations, all present withis_workingtrue.audio/tts/...where our catalogue names the subfeaturetext_to_speech.currentColorformat.docs.jsonparses.References