Skip to content

Commit 8390c6b

Browse files
committed
stack
1 parent 2cd4ab4 commit 8390c6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/commands/stores.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Symfony\AI\Store\Bridge\Neo4j\Store as Neo4jStore;
2525
use Symfony\AI\Store\Bridge\Postgres\Store as PostgresStore;
2626
use Symfony\AI\Store\Bridge\Qdrant\Store as QdrantStore;
27+
use Symfony\AI\Store\Bridge\Redis\Store as RedisStore;
2728
use Symfony\AI\Store\Bridge\SurrealDb\Store as SurrealDbStore;
2829
use Symfony\AI\Store\Bridge\Typesense\Store as TypesenseStore;
2930
use Symfony\AI\Store\Bridge\Weaviate\Store as WeaviateStore;
@@ -88,6 +89,10 @@
8889
env('QDRANT_SERVICE_API_KEY'),
8990
'symfony',
9091
),
92+
'redis' => static fn (): RedisStore => new RedisStore(new Redis([
93+
'host' => env('REDIS_HOST'),
94+
'port' => 6379,
95+
]), 'symfony'),
9196
'surrealdb' => static fn (): SurrealDbStore => new SurrealDbStore(
9297
httpClient: http_client(),
9398
endpointUrl: env('SURREALDB_HOST'),

0 commit comments

Comments
 (0)