llms/mistral: Implementing embeddings.EmbedderClient for Mistral and an example with PGVector #2408
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
|