embed

abstract suspend fun embed(document: Document): Vector(source)

Converts the provided document into its vector representation.

Return

A vector representing the embedded form of the provided document.

Parameters

document

The document to be embedded into a vector representation.