Skip to content

Commit b43f1bd

Browse files
committed
minor #769 [Demo] Fix codestyle issues in demo (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Demo] Fix codestyle issues in demo | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | | License | MIT Follows #760 Commits ------- b3c1a68 Fix codestyle issues in demo
2 parents 91d507e + b3c1a68 commit b43f1bd

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

demo/src/Audio/Chat.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace App\Audio;
1313

1414
use Symfony\AI\Agent\AgentInterface;
15-
use Symfony\AI\Platform\Bridge\OpenAi\Whisper;
1615
use Symfony\AI\Platform\Message\Content\Audio;
1716
use Symfony\AI\Platform\Message\Message;
1817
use Symfony\AI\Platform\Message\MessageBag;

demo/src/Blog/Command/QueryCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function __invoke(SymfonyStyle $io): int
4747

4848
$vector = $this->vectorizer->vectorize($search);
4949
$queryResponse = $collection->query(
50-
queryEmbeddings: [$vector->getData()], /** @phpstan-ignore-line until https://github.com/symfony/ai/issues/768 */
50+
queryEmbeddings: [$vector->getData()], /* @phpstan-ignore-line until https://github.com/symfony/ai/issues/768 */
5151
nResults: 4,
5252
);
5353

demo/src/Video/TwigComponent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace App\Video;
1313

14-
use Symfony\AI\Platform\Bridge\OpenAi\Gpt;
1514
use Symfony\AI\Platform\Message\Content\Image;
1615
use Symfony\AI\Platform\Message\Message;
1716
use Symfony\AI\Platform\Message\MessageBag;

0 commit comments

Comments
 (0)