File tree Expand file tree Collapse file tree 9 files changed +18
-16
lines changed Expand file tree Collapse file tree 9 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 19
19
use Symfony \AI \Platform \Bridge \OpenAi \PlatformFactory ;
20
20
use Symfony \AI \Platform \Message \Message ;
21
21
use Symfony \AI \Platform \Message \MessageBag ;
22
- use Symfony \AI \Store \CacheStore ;
22
+ use Symfony \AI \Store \Bridge \ Local \ CacheStore ;
23
23
use Symfony \AI \Store \Document \Metadata ;
24
24
use Symfony \AI \Store \Document \TextDocument ;
25
25
use Symfony \AI \Store \Document \Vectorizer ;
Original file line number Diff line number Diff line change 19
19
use Symfony \AI \Platform \Bridge \OpenAi \PlatformFactory ;
20
20
use Symfony \AI \Platform \Message \Message ;
21
21
use Symfony \AI \Platform \Message \MessageBag ;
22
+ use Symfony \AI \Store \Bridge \Local \InMemoryStore ;
22
23
use Symfony \AI \Store \Document \Metadata ;
23
24
use Symfony \AI \Store \Document \TextDocument ;
24
25
use Symfony \AI \Store \Document \Vectorizer ;
25
26
use Symfony \AI \Store \Indexer ;
26
- use Symfony \AI \Store \InMemoryStore ;
27
27
use Symfony \Component \Uid \Uuid ;
28
28
29
29
require_once dirname (__DIR__ ).'/bootstrap.php ' ;
Original file line number Diff line number Diff line change 42
42
use Symfony \AI \Store \Bridge \Azure \SearchStore as AzureSearchStore ;
43
43
use Symfony \AI \Store \Bridge \ChromaDb \Store as ChromaDbStore ;
44
44
use Symfony \AI \Store \Bridge \ClickHouse \Store as ClickHouseStore ;
45
+ use Symfony \AI \Store \Bridge \Local \CacheStore ;
46
+ use Symfony \AI \Store \Bridge \Local \InMemoryStore ;
45
47
use Symfony \AI \Store \Bridge \Meilisearch \Store as MeilisearchStore ;
46
48
use Symfony \AI \Store \Bridge \MongoDb \Store as MongoDbStore ;
47
49
use Symfony \AI \Store \Bridge \Neo4j \Store as Neo4jStore ;
48
50
use Symfony \AI \Store \Bridge \Pinecone \Store as PineconeStore ;
49
51
use Symfony \AI \Store \Bridge \Qdrant \Store as QdrantStore ;
50
52
use Symfony \AI \Store \Bridge \SurrealDb \Store as SurrealDbStore ;
51
53
use Symfony \AI \Store \Bridge \Typesense \Store as TypesenseStore ;
52
- use Symfony \AI \Store \CacheStore ;
53
54
use Symfony \AI \Store \Document \Vectorizer ;
54
55
use Symfony \AI \Store \Indexer ;
55
- use Symfony \AI \Store \InMemoryStore ;
56
56
use Symfony \AI \Store \StoreInterface ;
57
57
use Symfony \Component \Config \Definition \Configurator \DefinitionConfigurator ;
58
58
use Symfony \Component \DependencyInjection \Attribute \Target ;
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store ;
12
+ namespace Symfony \AI \Store \ Bridge \ Local ;
13
13
14
14
use Psr \Cache \CacheItemPoolInterface ;
15
15
use Symfony \AI \Platform \Vector \Vector ;
16
16
use Symfony \AI \Store \Document \Metadata ;
17
17
use Symfony \AI \Store \Document \VectorDocument ;
18
18
use Symfony \AI \Store \Exception \RuntimeException ;
19
+ use Symfony \AI \Store \StoreInterface ;
19
20
use Symfony \Component \Uid \Uuid ;
20
21
use Symfony \Contracts \Cache \CacheInterface ;
21
22
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store ;
12
+ namespace Symfony \AI \Store \ Bridge \ Local ;
13
13
14
14
use Symfony \AI \Platform \Vector \Vector ;
15
15
use Symfony \AI \Store \Document \VectorDocument ;
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store ;
12
+ namespace Symfony \AI \Store \ Bridge \ Local ;
13
13
14
14
/**
15
15
* @author Guillaume Loulier <[email protected] >
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store ;
12
+ namespace Symfony \AI \Store \ Bridge \ Local ;
13
13
14
14
use Symfony \AI \Platform \Vector \Vector ;
15
15
use Symfony \AI \Store \Document \VectorDocument ;
16
+ use Symfony \AI \Store \StoreInterface ;
16
17
17
18
/**
18
19
* @author Guillaume Loulier <[email protected] >
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store \Tests ;
12
+ namespace Symfony \AI \Store \Tests \ Bridge \ Local ;
13
13
14
14
use PHPUnit \Framework \Attributes \CoversClass ;
15
15
use PHPUnit \Framework \Attributes \UsesClass ;
16
16
use PHPUnit \Framework \TestCase ;
17
17
use Symfony \AI \Platform \Vector \Vector ;
18
- use Symfony \AI \Store \CacheStore ;
19
- use Symfony \AI \Store \DistanceCalculator ;
20
- use Symfony \AI \Store \DistanceStrategy ;
18
+ use Symfony \AI \Store \Bridge \ Local \ CacheStore ;
19
+ use Symfony \AI \Store \Bridge \ Local \ DistanceCalculator ;
20
+ use Symfony \AI \Store \Bridge \ Local \ DistanceStrategy ;
21
21
use Symfony \AI \Store \Document \VectorDocument ;
22
22
use Symfony \Component \Cache \Adapter \ArrayAdapter ;
23
23
use Symfony \Component \Uid \Uuid ;
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace Symfony \AI \Store \Tests ;
12
+ namespace Symfony \AI \Store \Tests \ Bridge \ Local ;
13
13
14
14
use PHPUnit \Framework \Attributes \CoversClass ;
15
15
use PHPUnit \Framework \Attributes \UsesClass ;
16
16
use PHPUnit \Framework \TestCase ;
17
17
use Symfony \AI \Platform \Vector \Vector ;
18
- use Symfony \AI \Store \DistanceCalculator ;
19
- use Symfony \AI \Store \DistanceStrategy ;
18
+ use Symfony \AI \Store \Bridge \Local \DistanceCalculator ;
19
+ use Symfony \AI \Store \Bridge \Local \DistanceStrategy ;
20
+ use Symfony \AI \Store \Bridge \Local \InMemoryStore ;
20
21
use Symfony \AI \Store \Document \VectorDocument ;
21
- use Symfony \AI \Store \InMemoryStore ;
22
22
use Symfony \Component \Uid \Uuid ;
23
23
24
24
#[CoversClass(InMemoryStore::class)]
You can’t perform that action at this time.
0 commit comments