generate method

Future<List<String>> generate({
  1. required String prompt,
  2. double? temperature,
  3. int? seed,
  4. int? topK,
  5. int? candidateCount,
  6. int? maxOutputTokens,
})

Generates a list of strings based on a prompt using the on-device model.

Implementation

Future<List<String>> generate({
  required String prompt,
  double? temperature,
  int? seed,
  int? topK,
  int? candidateCount,
  int? maxOutputTokens,
}) {
  throw UnimplementedError('generate() has not been implemented.');
}