101101use Symfony \AI \Store \Document \VectorizerInterface ;
102102use Symfony \AI \Store \Indexer ;
103103use Symfony \AI \Store \IndexerInterface ;
104+ use Symfony \AI \Store \ManagedStoreInterface ;
104105use Symfony \AI \Store \StoreInterface ;
105106use Symfony \Component \Clock \ClockInterface ;
106107use Symfony \Component \Config \Definition \Configurator \DefinitionConfigurator ;
@@ -985,6 +986,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
985986 ->setLazy (true )
986987 ->setArguments ($ arguments )
987988 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
989+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
988990 ->addTag ('ai.store ' );
989991
990992 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1031,6 +1033,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
10311033 $ store ['table ' ],
10321034 ])
10331035 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1036+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
10341037 ->addTag ('ai.store ' );
10351038
10361039 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1065,6 +1068,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
10651068 ->setLazy (true )
10661069 ->setArguments ($ arguments )
10671070 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1071+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
10681072 ->addTag ('ai.store ' );
10691073
10701074 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1106,6 +1110,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11061110 ->setLazy (true )
11071111 ->addTag ('ai.store ' )
11081112 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1113+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11091114 ->setArguments ($ arguments );
11101115
11111116 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1129,6 +1134,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11291134 ->setLazy (true )
11301135 ->setArguments ($ arguments )
11311136 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1137+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11321138 ->addTag ('ai.store ' );
11331139
11341140 $ serviceId = 'ai.store. ' .$ type .'. ' .$ name ;
@@ -1170,6 +1176,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11701176 ->setLazy (true )
11711177 ->setArguments ($ arguments )
11721178 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1179+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11731180 ->addTag ('ai.store ' );
11741181
11751182 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1200,6 +1207,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12001207 ->setLazy (true )
12011208 ->setArguments ($ arguments )
12021209 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1210+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12031211 ->addTag ('ai.store ' );
12041212
12051213 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1235,6 +1243,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12351243 ->setLazy (true )
12361244 ->setArguments ($ arguments )
12371245 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1246+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12381247 ->addTag ('ai.store ' );
12391248
12401249 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1265,6 +1274,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12651274 ->setLazy (true )
12661275 ->setArguments ($ arguments )
12671276 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1277+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12681278 ->addTag ('ai.store ' );
12691279
12701280 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1306,6 +1316,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13061316 ->setLazy (true )
13071317 ->setArguments ($ arguments )
13081318 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1319+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13091320 ->addTag ('ai.store ' );
13101321
13111322 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1368,6 +1379,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13681379 ->setLazy (true )
13691380 ->setArguments ($ arguments )
13701381 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1382+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13711383 ->addTag ('ai.store ' );
13721384
13731385 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1395,6 +1407,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13951407 $ store ['distance ' ],
13961408 ])
13971409 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1410+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13981411 ->addTag ('ai.store ' );
13991412
14001413 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1437,6 +1450,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14371450 ->setLazy (true )
14381451 ->setArguments ($ arguments )
14391452 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1453+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14401454 ->addTag ('ai.store ' );
14411455
14421456 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1467,6 +1481,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14671481 ->setLazy (true )
14681482 ->setArguments ($ arguments )
14691483 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1484+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14701485 ->addTag ('ai.store ' );
14711486
14721487 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1487,6 +1502,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14871502 $ store ['collection ' ],
14881503 ])
14891504 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1505+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14901506 ->addTag ('ai.store ' );
14911507
14921508 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1531,6 +1547,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
15311547 ->setLazy (true )
15321548 ->setArguments ($ arguments )
15331549 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1550+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
15341551 ->addTag ('ai.store ' );
15351552
15361553 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
0 commit comments