File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ concurrency:
1515 cancel-in-progress : true
1616
1717env :
18- REQUIRED_PHP_EXTENSIONS : ' mongodb'
18+ REQUIRED_PHP_EXTENSIONS : ' mongodb, redis '
1919
2020jobs :
2121 examples :
Original file line number Diff line number Diff line change @@ -168,3 +168,6 @@ SUPABASE_MATCH_FUNCTION=match_documents
168168# Pogocache (message store)
169169POGOCACHE_HOST = http://127.0.0.1:9401
170170POGOCACHE_PASSWORD = symfony
171+
172+ # Redis (store)
173+ REDIS_HOST = http://127.0.0.1
Original file line number Diff line number Diff line change 2424use Symfony \AI \Store \Bridge \Neo4j \Store as Neo4jStore ;
2525use Symfony \AI \Store \Bridge \Postgres \Store as PostgresStore ;
2626use Symfony \AI \Store \Bridge \Qdrant \Store as QdrantStore ;
27+ use Symfony \AI \Store \Bridge \Redis \Store as RedisStore ;
2728use Symfony \AI \Store \Bridge \SurrealDb \Store as SurrealDbStore ;
2829use Symfony \AI \Store \Bridge \Typesense \Store as TypesenseStore ;
2930use Symfony \AI \Store \Bridge \Weaviate \Store as WeaviateStore ;
8889 env ('QDRANT_SERVICE_API_KEY ' ),
8990 'symfony ' ,
9091 ),
92+ 'redis ' => static fn (): RedisStore => new RedisStore (
93+ new \Redis ([
94+ 'host ' => env ('REDIS_HOST ' ),
95+ 'port ' => 6379 ,
96+ ]),
97+ 'symfony '
98+ ),
9199 'surrealdb ' => static fn (): SurrealDbStore => new SurrealDbStore (
92100 httpClient: http_client (),
93101 endpointUrl: env ('SURREALDB_HOST ' ),
Original file line number Diff line number Diff line change 66 "require" : {
77 "php" : " >=8.2" ,
88 "ext-pdo" : " *" ,
9+ "ext-redis" : " *" ,
910 "async-aws/bedrock-runtime" : " ^1.1" ,
1011 "codewithkyrian/chromadb-php" : " ^0.4.0" ,
1112 "codewithkyrian/transformers" : " ^0.6.2" ,
You can’t perform that action at this time.
0 commit comments