symfony/ai-amazee-ai-platform
Symfony AI bridge for the amazee.ai Platform. Connect Symfony AI to LiteLLM proxy endpoints and OpenAI-compatible providers through amazee.ai, enabling centralized AI access and management. Links to docs, issues, and contributions in the main Symfony AI repo.
DeltaInterface (v0.7.0), improving type safety and developer experience for real-time applications (e.g., chatbots). However, this may require updates to existing streaming handlers in Laravel.symfony/ai bundle. For Laravel, compatibility is limited due to:
ProviderInterface support.AiEvent may not integrate cleanly without middleware.DeltaInterface) may require client-side updates for existing Laravel apps.DeltaInterface improves streaming, broader type safety (e.g., non-streaming responses) may need validation, especially in Laravel’s loosely typed environment.Provider abstraction and DeltaInterface integrate cleanly with Symfony AI’s existing tooling.HttpClient within Laravel for API calls, bypassing full bundle integration.Client in a Laravel service provider.// app/Providers/AmazeeAiServiceProvider.php
public function register()
{
$this->app->singleton('amazee.ai.client', function ($app) {
return new \Symfony\AI\Client(
new \Symfony\AI\Provider\AmazeeAiProvider(
$app['config']['amazee.ai.key']
)
);
});
}
ProviderInterface to Laravel’s container.symfony/dependency-injection) with Laravel equivalents.AiEvent may not integrate without custom middleware.symfony/ai and symfony/ai-amazeeai-platform.symfony/ai bundle.HttpClient for API calls without full bundle adoption.config/ structure differs from Symfony’s; may need adapters.ProviderInterface may not resolve cleanly in Laravel’s container.symfony/ai, symfony/ai-amazeeai-platform).How can I help you explore Laravel packages today?