embed

open override fun embed(text: String): Result<List<Double>, EmbeddingClientException>

Embeds the given text.

Return

A result containing the embedding or an exception.

Parameters

text

The text to embed.