callInternal method

  1. @override
Future<String> callInternal(
  1. String prompt, {
  2. LLMOptions? options,
})
override

Method which should be implemented by subclasses to run the model.

Implementation

@override
Future<String> callInternal(
  final String prompt, {
  final LLMOptions? options,
}) {
  return Future<String>.value(responses[_i++ % responses.length]);
}