refactor: introduce decoupled platform layer and convert models to state objects #387
Annotations
10 errors
PHPStan:
examples/embeddings-openai.php#L24
Cannot call method getDimensions() on iterable|object|string.
|
PHPStan:
examples/embeddings-voyage.php#L24
Cannot call method getDimensions() on iterable|object|string.
|
PHPStan:
tests/DocumentEmbedderTest.php#L35
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L36
Parameter #2 $embeddings of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Model\EmbeddingsModel, PhpLlm\LlmChain\Tests\Double\TestStore given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L37
Parameter #3 $store of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Store\StoreInterface, Symfony\Component\Clock\MockClock given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L55
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L56
Parameter #2 $embeddings of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Model\EmbeddingsModel, PhpLlm\LlmChain\Tests\Double\TestStore given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L57
Parameter #3 $store of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Store\StoreInterface, Symfony\Component\Clock\MockClock given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L58
Parameter #4 $clock of class PhpLlm\LlmChain\Embedder constructor expects Symfony\Component\Clock\ClockInterface|null, PHPUnit\Framework\MockObject\MockObject&Psr\Log\LoggerInterface given.
|
PHPStan:
tests/DocumentEmbedderTest.php#L73
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.
|
Loading