OptionalCancellationToken?: AbortSignalOptionaldimensions?: numberOptional output dimension override. See EmbedTextParams.dimensions.
OptionalinputType?: EmbeddingInputTypeOptional retrieval role of the texts. See EmbedTextParams.inputType.
OptionalmaxInputTokens?: numberOptional input-length cap in tokens. See EmbedTextParams.maxInputTokens.
Optional signal for cancelling the request. See
EmbedTextParams.CancellationToken. Once it fires, no further text or batch is sent.