generate method

Stream<String> generate(
  1. String prompt, {
  2. int? maxOutputTokens,
})

Streams generated text from the active conversation.

Implementation

Stream<String> generate(String prompt, {int? maxOutputTokens}) {
  throw UnsupportedError('LiteRT-LM runtime requires a native platform.');
}