sendMessageStream abstract method

Stream<GenerateContentResponse> sendMessageStream(
  1. Content prompt
)

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

@param prompt A Content to send to the model.

Implementation

Stream<GenerateContentResponse> sendMessageStream(Content prompt);