embed method
- String text
Generates embeddings for the given text.
Returns a list of doubles representing the vector embedding. Throws UnsupportedError if the provider doesn't support embeddings.
Implementation
Future<List<double>> embed(String text) {
throw UnsupportedError('$name does not support embeddings');
}