Skip to content

refactor: introduce decoupled platform layer and convert models to state objects #387

refactor: introduce decoupled platform layer and convert models to state objects

refactor: introduce decoupled platform layer and convert models to state objects #387

Triggered via pull request October 13, 2024 22:25
Status Failure
Total duration 34s
Artifacts

pipeline.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

20 errors
tests (8.3, highest)
Process completed with exit code 255.
tests (8.4, highest)
The job was canceled because "_8_3_highest" failed.
tests (8.4, highest)
Process completed with exit code 255.
tests (8.2, highest)
The job was canceled because "_8_3_highest" failed.
tests (8.2, highest)
Process completed with exit code 255.
tests (8.2, lowest)
The job was canceled because "_8_3_highest" failed.
tests (8.2, lowest)
Process completed with exit code 255.
tests (8.3, lowest)
The job was canceled because "_8_3_highest" failed.
tests (8.3, lowest)
The operation was canceled.
tests (8.4, lowest)
The job was canceled because "_8_3_highest" failed.
qa: examples/embeddings-openai.php#L24
Cannot call method getDimensions() on iterable|object|string.
qa: examples/embeddings-voyage.php#L24
Cannot call method getDimensions() on iterable|object|string.
qa: tests/DocumentEmbedderTest.php#L35
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.
qa: tests/DocumentEmbedderTest.php#L36
Parameter #2 $embeddings of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Model\EmbeddingsModel, PhpLlm\LlmChain\Tests\Double\TestStore given.
qa: tests/DocumentEmbedderTest.php#L37
Parameter #3 $store of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Store\StoreInterface, Symfony\Component\Clock\MockClock given.
qa: tests/DocumentEmbedderTest.php#L55
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.
qa: tests/DocumentEmbedderTest.php#L56
Parameter #2 $embeddings of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Model\EmbeddingsModel, PhpLlm\LlmChain\Tests\Double\TestStore given.
qa: tests/DocumentEmbedderTest.php#L57
Parameter #3 $store of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Store\StoreInterface, Symfony\Component\Clock\MockClock given.
qa: 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.
qa: tests/DocumentEmbedderTest.php#L73
Parameter #1 $platform of class PhpLlm\LlmChain\Embedder constructor expects PhpLlm\LlmChain\Platform, PhpLlm\LlmChain\Tests\Double\TestEmbeddingsModel given.