startChatStream method

Stream<String> startChatStream(
  1. GenerativeModel generativeModel,
  2. String prompt, {
  3. List<ChatMessage>? history,
})

Generates a streaming response from the backend with the provided Contents.

Implementation

Stream<String> startChatStream(
  GenerativeModel generativeModel,
  String prompt, {
  List<ChatMessage>? history,
}) async* {
  throw UnimplementedError('startChatStream() has not been implemented.');
}