File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \AI \Agent \Toolbox \Tool \SimilaritySearch ;
15
15
use Symfony \AI \Agent \Toolbox \Toolbox ;
16
16
use Symfony \AI \Fixtures \Movies ;
17
- use Symfony \AI \Platform \Bridge \OpenAI \Embeddings ;
18
- use Symfony \AI \Platform \Bridge \OpenAI \ GPT ;
19
- use Symfony \AI \Platform \Bridge \OpenAI \PlatformFactory ;
17
+ use Symfony \AI \Platform \Bridge \OpenAi \Embeddings ;
18
+ use Symfony \AI \Platform \Bridge \OpenAi \ Gpt ;
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
22
use Symfony \AI \Store \Bridge \Neo4j \Store ;
59
59
$ indexer = new Indexer ($ vectorizer , $ store );
60
60
$ indexer ->index ($ documents );
61
61
62
- $ model = new GPT ( GPT ::GPT_4O_MINI );
62
+ $ model = new Gpt (Gpt ::GPT_4O_MINI );
63
63
64
64
$ similaritySearch = new SimilaritySearch ($ platform , $ embeddings , $ store );
65
65
$ toolbox = new Toolbox ([$ similaritySearch ], logger: logger ());
You can’t perform that action at this time.
0 commit comments