102102use Symfony \AI \Store \Document \VectorizerInterface ;
103103use Symfony \AI \Store \Indexer ;
104104use Symfony \AI \Store \IndexerInterface ;
105+ use Symfony \AI \Store \ManagedStoreInterface ;
105106use Symfony \AI \Store \StoreInterface ;
106107use Symfony \Component \Clock \ClockInterface ;
107108use Symfony \Component \Config \Definition \Configurator \DefinitionConfigurator ;
@@ -986,6 +987,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
986987 ->setLazy (true )
987988 ->setArguments ($ arguments )
988989 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
990+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
989991 ->addTag ('ai.store ' );
990992
991993 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1032,6 +1034,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
10321034 $ store ['table ' ],
10331035 ])
10341036 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1037+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
10351038 ->addTag ('ai.store ' );
10361039
10371040 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1066,6 +1069,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
10661069 ->setLazy (true )
10671070 ->setArguments ($ arguments )
10681071 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1072+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
10691073 ->addTag ('ai.store ' );
10701074
10711075 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1107,6 +1111,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11071111 ->setLazy (true )
11081112 ->addTag ('ai.store ' )
11091113 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1114+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11101115 ->setArguments ($ arguments );
11111116
11121117 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1130,6 +1135,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11301135 ->setLazy (true )
11311136 ->setArguments ($ arguments )
11321137 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1138+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11331139 ->addTag ('ai.store ' );
11341140
11351141 $ serviceId = 'ai.store. ' .$ type .'. ' .$ name ;
@@ -1171,6 +1177,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
11711177 ->setLazy (true )
11721178 ->setArguments ($ arguments )
11731179 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1180+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
11741181 ->addTag ('ai.store ' );
11751182
11761183 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1201,6 +1208,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12011208 ->setLazy (true )
12021209 ->setArguments ($ arguments )
12031210 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1211+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12041212 ->addTag ('ai.store ' );
12051213
12061214 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1236,6 +1244,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12361244 ->setLazy (true )
12371245 ->setArguments ($ arguments )
12381246 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1247+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12391248 ->addTag ('ai.store ' );
12401249
12411250 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1266,6 +1275,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
12661275 ->setLazy (true )
12671276 ->setArguments ($ arguments )
12681277 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1278+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
12691279 ->addTag ('ai.store ' );
12701280
12711281 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1307,6 +1317,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13071317 ->setLazy (true )
13081318 ->setArguments ($ arguments )
13091319 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1320+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13101321 ->addTag ('ai.store ' );
13111322
13121323 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1369,6 +1380,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13691380 ->setLazy (true )
13701381 ->setArguments ($ arguments )
13711382 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1383+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13721384 ->addTag ('ai.store ' );
13731385
13741386 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1396,6 +1408,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
13961408 $ store ['distance ' ],
13971409 ])
13981410 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1411+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
13991412 ->addTag ('ai.store ' );
14001413
14011414 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1438,6 +1451,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14381451 ->setLazy (true )
14391452 ->setArguments ($ arguments )
14401453 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1454+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14411455 ->addTag ('ai.store ' );
14421456
14431457 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1468,6 +1482,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14681482 ->setLazy (true )
14691483 ->setArguments ($ arguments )
14701484 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1485+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14711486 ->addTag ('ai.store ' );
14721487
14731488 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1488,6 +1503,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
14881503 $ store ['collection ' ],
14891504 ])
14901505 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1506+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
14911507 ->addTag ('ai.store ' );
14921508
14931509 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
@@ -1532,6 +1548,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
15321548 ->setLazy (true )
15331549 ->setArguments ($ arguments )
15341550 ->addTag ('proxy ' , ['interface ' => StoreInterface::class])
1551+ ->addTag ('proxy ' , ['interface ' => ManagedStoreInterface::class])
15351552 ->addTag ('ai.store ' );
15361553
15371554 $ container ->setDefinition ('ai.store. ' .$ type .'. ' .$ name , $ definition );
0 commit comments