Skip to content

llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector #2408

llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector

llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector #2408

Triggered via pull request December 28, 2024 09:27
Status Failure
Total duration 2m 0s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Build Examples
cannot use model (variable of type *"github.com/tmc/langchaingo/llms/mistral".Model) as embeddings.EmbedderClient value in argument to embeddings.NewEmbedder: *"github.com/tmc/langchaingo/llms/mistral".Model does not implement embeddings.EmbedderClient (missing method CreateEmbedding)
Build Examples
Process completed with exit code 2.
Lint: llms/mistral/mistralembed_test.go#L14
unnecessary leading newline (whitespace)
Lint: llms/mistral/mistralembed_test.go#L57
Function TestMistralEmbed missing the call to method parallel (paralleltest)
Lint
issues found
Build and Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Examples
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636