TextEmbedderResult
class TextEmbedderResult : TaskResult
Represents the embedding results generated by MPPTextEmbedder
. *
-
The
MPPEmbedderResult
instance containing one embedding per embedder head. *Declaration
Swift
var embeddingResult: EmbeddingResult { get }
-
Initializes a new
MPPTextEmbedderResult
with the givenMPPEmbeddingResult
and timestamp (in milliseconds).Declaration
Swift
init(embeddingResult: EmbeddingResult, timestampInMilliseconds: Int)
Parameters
embeddingResult
The
MPPEmbeddingResult
instance containing one set of results per classifier head.timestampInMilliseconds
The timestamp (in millisecondss) for this result.
Return Value
An instance of
MPPTextEmbedderResult
initialized with the givenMPPEmbeddingResult
and timestamp (in milliseconds). -
Undocumented
-
Undocumented