ChatSessionStreamContentAsync Method

Overload List

StreamContentAsync(GenerateContentRequest, CancellationToken) Streams content generation results asynchronously based on a given request and optional cancellation token.
StreamContentAsync(IEnumerableContent, CancellationToken) Streams generated content as an asynchronous enumerable based on the provided request.
StreamContentAsync(IEnumerablePart, CancellationToken) Streams content generation based on a GenerateContentRequest asynchronously.
StreamContentAsync(String, CancellationToken) Streams content generation based on a string message.
StreamContentAsync(String, String, String, CancellationToken) Streams content generation asynchronously based on the given input prompt, file URI, and MIME type.

See Also