generate method
Generates embeddings for the given inputs.
input
- The input to embed.
Implementation
@override
Future<List<List<double>>> generate(List<Embeddable> input) async {
List<String> docs = _toDocs(input);
List<List<double>> embeddings = await _toEmbeddings(docs);
return embeddings;
}