embed
Embeds the given text using the Ollama model.
Return
A vector representation of the text.
Parameters
text
The text to embed.
model
The model to use for embedding. Must have the Embed capability.
Throws
if the model does not have the Embed capability.