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.value(handler(prompt, options, ++_callCount));
}