EmbedResponse constructor

EmbedResponse({
  1. required List<Embedding> embeddings,
})

Implementation

EmbedResponse({required List<Embedding> embeddings}) {
  _json = {'embeddings': embeddings.map((e) => e.toJson()).toList()};
}