embed method

Future<List<double>> embed(
  1. String text
)

Generate text embeddings (optional - check capabilities.embedding).

Implementation

Future<List<double>> embed(String text) {
  throw UnsupportedError('Embedding not supported by this LLM');
}