embedBatch method

Future<List<List<double>>> embedBatch(
  1. List<String> texts
)

Batch embeddings for efficiency.

Implementation

Future<List<List<double>>> embedBatch(List<String> texts) async {
  return Future.wait(texts.map(embed));
}