Draft: Greenfield integration (with potential BC layer)
My plan
-
Introduce configurable AIPlatform plugins as wrappers around Provider factories in the Symfony AI Platform component
- We want users to configure Platform connections via the UI, similar to how AI Providers are currently configured
- These plugins would still act as the bridge between the Key module (credential storage API) and the Symfony component
- Configurable plugins would allow storing credentials (Key entity references) per plugin instance
- This unlocks multiple connections to the same platform and enables using the same model with different credentials and rate limits behind the scenes, essentially addresses a known limitation of AI Providers at the moment
-
POC integration with Gemini provider (requires API key with static models) and Generic Provider (which requires extensive configuration form ,since models have to be defined for this provider).
-
Use plugin derivatives to expose AIPlatform plugin instances as AI Providers
- This allows existing components that depend on the current APIs to leverage the new AI Platform capabilities indirectly
- There may be limitations, since newer Platform APIs would be abstracted behind the existing Provider APIs
TODO / to be considered
- Add diagrams to explain the essential differences between AI Providers and the AI Platform
- Introduce a
setupAiPlatformconfiguration action
Closes #3574187
Edited by Dezső Biczó