Skip to content

Commit 549b34e

Browse files
committed
refactor(examples): Redis added for commands
1 parent cbf59a2 commit 549b34e

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

examples/commands/stores.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
'symfony',
9191
),
9292
'redis' => static fn (): RedisStore => new RedisStore(
93-
new \Redis([
94-
'host' => env('REDIS_HOST'),
93+
new Redis([
94+
'host' => 'localhost',
9595
'port' => 6379,
9696
]),
9797
'symfony'

examples/compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ services:
134134

135135
redis:
136136
image: redis:8.0.3
137-
restart: unless-stopped
138137
ports:
139138
- '6379:6379'
140139

examples/rag/redis.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
use Symfony\AI\Agent\Toolbox\Tool\SimilaritySearch;
1515
use Symfony\AI\Agent\Toolbox\Toolbox;
1616
use Symfony\AI\Fixtures\Movies;
17-
use Symfony\AI\Platform\Bridge\OpenAi\Embeddings;
1817
use Symfony\AI\Platform\Bridge\OpenAi\PlatformFactory;
1918
use Symfony\AI\Platform\Message\Message;
2019
use Symfony\AI\Platform\Message\MessageBag;

0 commit comments

Comments
 (0)