Open AIEmbedding Client
class OpenAIEmbeddingClient(openAIEmbeddingClientProperties: OpenAIEmbeddingClientProperties) : EmbeddingClient
An embedding client which uses the OpenAI API to embed text.
Parameters
open AIEmbedding Client Properties
The properties for the client.
Functions
Link copied to clipboard
open override fun batchEmbed(texts: List<String>): Result<List<List<Double>>, EmbeddingClientException>
Embeds the given texts.