embedBatch abstract method

Future<List<List<double>>> embedBatch(
  1. int contextHandle,
  2. List<String> texts, {
  3. bool normalize = true,
})

Generates embedding vectors for all texts in order.

When normalize is true, each returned vector is L2-normalized.

Implementation

Future<List<List<double>>> embedBatch(
  int contextHandle,
  List<String> texts, {
  bool normalize = true,
});