EmbeddingPart typedef

EmbeddingPart = ({Uint8List bytes, EmbeddingPartKind kind})

One part of an embedding request: the UTF-8 of prefix + text for a text part, the encoded file for an image or audio part.

Implementation

typedef EmbeddingPart = ({EmbeddingPartKind kind, Uint8List bytes});