embed

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

Simulates an embedding call. Captures input parameters and returns the predefined embedResult.


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

Simulates a batch embedding call. Captures input parameters and returns the predefined batchEmbedResult.