LlmStreamGenerator typedef
LlmStreamGenerator =
Stream<String> Function(String prompt, {required Iterable<Attachment> attachments})
A function that generates a stream of text based on a prompt and attachments.
Implementation
typedef LlmStreamGenerator =
Stream<String> Function(
String prompt, {
required Iterable<Attachment> attachments,
});