TextEmbedderResult
class TextEmbedderResult : TaskResultRepresents the embedding results generated by MPPTextEmbedder. *
-
The
MPPEmbedderResultinstance containing one embedding per embedder head. *Declaration
Swift
var embeddingResult: EmbeddingResult { get } -
Initializes a new
MPPTextEmbedderResultwith the givenMPPEmbeddingResultand timestamp (in milliseconds).Declaration
Swift
init(embeddingResult: EmbeddingResult, timestampInMilliseconds: Int)Parameters
embeddingResultThe
MPPEmbeddingResultinstance containing one set of results per classifier head.timestampInMillisecondsThe timestamp (in millisecondss) for this result.
Return Value
An instance of
MPPTextEmbedderResultinitialized with the givenMPPEmbeddingResultand timestamp (in milliseconds). -
Undocumented
-
Undocumented