embed

open suspend override fun embed(text: String, model: LLModel): List<Double>(source)

Embedding is not supported by the Anthropic API.

Throws


open suspend override fun embed(inputs: List<String>, model: LLModel): List<List<Double>>(source)

Batch embedding is not supported by the Anthropic API.

Throws