embed
//ellmental/com.theagilemonkeys.ellmental.embeddingsmodel/EmbeddingsModel/embed
embed
abstract suspend fun embed(text: String, params: Params? = null): Embedding
Embeds the given text into a vector space.
Return
An Embedding object containing the embedding vector.
Parameters
jvm
text | The text to embed. |
params | Additional parameters to use when embedding the text (implementation specific). |