File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
23
23
$ platform = PlatformFactory::create (env ('OLLAMA_HOST_URL ' ), http_client ());
24
24
$ store = new InMemoryStore ();
25
- $ vectorizer = new Vectorizer ($ platform , $ embeddings = new Ollama (env ('OLLAMA_EMBEDDINGS ' )), logger ());;
25
+ $ vectorizer = new Vectorizer ($ platform , $ embeddings = new Ollama (env ('OLLAMA_EMBEDDINGS ' )), logger ());
26
26
$ indexer = new Indexer (
27
27
loader: new TextFileLoader (),
28
28
vectorizer: $ vectorizer ,
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 \Ollama \Ollama ;
17
18
use Symfony \AI \Platform \Bridge \Ollama \PlatformFactory ;
18
19
use Symfony \AI \Platform \Message \Message ;
19
20
use Symfony \AI \Platform \Message \MessageBag ;
24
25
use Symfony \AI \Store \Document \Vectorizer ;
25
26
use Symfony \AI \Store \Indexer ;
26
27
use Symfony \Component \Uid \Uuid ;
27
- use Symfony \AI \Platform \Bridge \Ollama \Ollama ;
28
28
29
29
require_once dirname (__DIR__ ).'/bootstrap.php ' ;
30
30
You can’t perform that action at this time.
0 commit comments