generateContentStream abstract method

Future<Stream<GenerateContentResponse>> generateContentStream(
  1. List<Content> prompt
)

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

prompt is a group of Contents to send to the model.

Implementation

Future<Stream<GenerateContentResponse>> generateContentStream(List<Content> prompt);