From b3c1a6886507bf732436b08a56d49934e6e8b67b Mon Sep 17 00:00:00 2001 From: Christopher Hertel Date: Fri, 10 Oct 2025 00:58:53 +0200 Subject: [PATCH] Fix codestyle issues in demo --- demo/src/Audio/Chat.php | 1 - demo/src/Blog/Command/QueryCommand.php | 2 +- demo/src/Video/TwigComponent.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/demo/src/Audio/Chat.php b/demo/src/Audio/Chat.php index b198d004c..efd107351 100644 --- a/demo/src/Audio/Chat.php +++ b/demo/src/Audio/Chat.php @@ -12,7 +12,6 @@ namespace App\Audio; use Symfony\AI\Agent\AgentInterface; -use Symfony\AI\Platform\Bridge\OpenAi\Whisper; use Symfony\AI\Platform\Message\Content\Audio; use Symfony\AI\Platform\Message\Message; use Symfony\AI\Platform\Message\MessageBag; diff --git a/demo/src/Blog/Command/QueryCommand.php b/demo/src/Blog/Command/QueryCommand.php index eecaae0b7..589c49576 100644 --- a/demo/src/Blog/Command/QueryCommand.php +++ b/demo/src/Blog/Command/QueryCommand.php @@ -47,7 +47,7 @@ public function __invoke(SymfonyStyle $io): int $vector = $this->vectorizer->vectorize($search); $queryResponse = $collection->query( - queryEmbeddings: [$vector->getData()], /** @phpstan-ignore-line until https://github.com/symfony/ai/issues/768 */ + queryEmbeddings: [$vector->getData()], /* @phpstan-ignore-line until https://github.com/symfony/ai/issues/768 */ nResults: 4, ); diff --git a/demo/src/Video/TwigComponent.php b/demo/src/Video/TwigComponent.php index d8cc18820..d7fc5245b 100644 --- a/demo/src/Video/TwigComponent.php +++ b/demo/src/Video/TwigComponent.php @@ -11,7 +11,6 @@ namespace App\Video; -use Symfony\AI\Platform\Bridge\OpenAi\Gpt; use Symfony\AI\Platform\Message\Content\Image; use Symfony\AI\Platform\Message\Message; use Symfony\AI\Platform\Message\MessageBag;