embed

open suspend override fun embed(text: String): Vector(source)

Embeds the given text using the Ollama model.

Return

A vector representation of the text.

Parameters

text

The text to embed.