Skip to content

Commit 95977af

Browse files
committed
feat(Platform): implement ProviderFactory and ProviderConfigFactory (RFC #402)
1 parent c62f466 commit 95977af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/src/Factory/ProviderFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function fromDsn(string $dsn): object
2828
if ('azure' === $providerKey) {
2929
$engine = strtolower($config->options['engine'] ?? 'openai');
3030
$factoryFqcn = match ($engine) {
31-
'openai' => \Symfony\AI\Platform\Bridge\Azure\OpenAI\PlatformFactory::class,
31+
'openai' => \Symfony\AI\Platform\Bridge\Azure\OpenAi\PlatformFactory::class,
3232
'meta' => \Symfony\AI\Platform\Bridge\Azure\Meta\PlatformFactory::class,
3333
default => throw new \InvalidArgumentException(\sprintf('Unsupported Azure engine "%s". Supported: "openai", "meta".', $engine)),
3434
};

0 commit comments

Comments
 (0)