LiteRtLmWebEmbedding typedef

LiteRtLmWebEmbedding = ({List<double> embedding, int inputLength, int numChunks, int? truncatedLength})

EmbeddingResponse: the vector and what the engine counted.

Implementation

typedef LiteRtLmWebEmbedding = ({
  List<double> embedding,
  int inputLength,
  int? truncatedLength,
  int numChunks,
});