embed abstract method

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

Generates a single embedding vector for text.

When normalize is true, the backend returns an L2-normalized vector.

Implementation

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