VoyageAIEmbeddingProvider
org.llm4s.llmconnect.provider.VoyageAIEmbeddingProvider
object VoyageAIEmbeddingProvider extends EmbeddingProviderDescriptor
Embedding provider implementation for the Voyage AI embedding API.
Generates text embeddings by posting batched input to the Voyage AI /v1/embeddings endpoint. Unlike Ollama, Voyage accepts multiple inputs in a single request, so all texts are sent in one HTTP call.
Requires a valid Voyage AI API key in the provider configuration.
Voyage's entry in the embedding half of the provider SPI.
Voyage is the case that shapes the SPI: it supplies embeddings and no chat client at all, which is why org.llm4s.llmconnect.spi.EmbeddingProviderDescriptor is a separate trait rather than a method on the chat descriptor.
Attributes
- See also
-
EmbeddingProvider for the common embedding interface
- Graph
-
- Supertypes
- Self type
Members list
In this article