embed
Embeds the given text using into a vector of double-precision numbers.
Return
A list of floating-point values representing the embedding.
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.