Skip to content

Commit ef82b5a

Browse files
committed
minor #617 Remove extra semicolon (OskarStark)
This PR was squashed before being merged into the main branch. Discussion ---------- Remove extra semicolon | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- 68cd6b2 Remove extra semicolon
2 parents bcf76e0 + 68cd6b2 commit ef82b5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/ollama/indexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
$platform = PlatformFactory::create(env('OLLAMA_HOST_URL'), http_client());
2424
$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());
2626
$indexer = new Indexer(
2727
loader: new TextFileLoader(),
2828
vectorizer: $vectorizer,

examples/ollama/rag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\AI\Agent\Toolbox\Tool\SimilaritySearch;
1515
use Symfony\AI\Agent\Toolbox\Toolbox;
1616
use Symfony\AI\Fixtures\Movies;
17+
use Symfony\AI\Platform\Bridge\Ollama\Ollama;
1718
use Symfony\AI\Platform\Bridge\Ollama\PlatformFactory;
1819
use Symfony\AI\Platform\Message\Message;
1920
use Symfony\AI\Platform\Message\MessageBag;
@@ -24,7 +25,6 @@
2425
use Symfony\AI\Store\Document\Vectorizer;
2526
use Symfony\AI\Store\Indexer;
2627
use Symfony\Component\Uid\Uuid;
27-
use Symfony\AI\Platform\Bridge\Ollama\Ollama;
2828

2929
require_once dirname(__DIR__).'/bootstrap.php';
3030

0 commit comments

Comments
 (0)