embed
Converts the given document into its vector representation.
Return
A vector representation of the document.
Parameters
document
The document to be embedded.
Embeds the given text into a vector representation.
Return
A vector representation of the provided text.
Parameters
text
The text to embed.