Skip to content

Commit

Permalink
Rename method call to improve clarity in default embedding retrieval.
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhhui committed Dec 15, 2024
1 parent e8a20ff commit 446f683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ModelMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function getDefaultModel(): ModelInterface

public function getDefaultEmbeddingModel(): EmbeddingInterface
{
return $this->getModel($this->defaultEmbeddingModel);
return $this->getEmbeddingModel($this->defaultEmbeddingModel);
}

/**
Expand Down

0 comments on commit 446f683

Please sign in to comment.